Debian is a popular and influential GNU/Linux distribution. Questions here should generally be about Debian Server.

learn more… | top users | synonyms

1
vote
1answer
51 views

BIND9 wildcard and unqualified name

When an unqualified name (a name without a terminating dot) is encountered in a zone file, BIND9 appends the origin value ($ORIGIN directive) to it. Example: ns.domain.tld. IN A SERVER_IP ...
1
vote
1answer
2k views

Debian7 and tc qdisc issue : RTNETLINK answers: No such file or directory

I've been searching for few days now but couldn't find the solution to my problem. I have a VPS running Debian 7, and I have root access. I am trying to add some traffic shaping (using HTB), so the ...
-3
votes
1answer
68 views

debian - using apache virtual host as proxy [duplicate]

I have a server with debian 7.4 and apache2 installed. I have setup virtual hosts and all works well. Now instead of pointing the virtual host to a documentroot I need it to point to a port on the ...
2
votes
1answer
124 views

Remote logging to specific directory structure with rsyslog

I'm currently in the process of having all of our various servers send their syslog messages to a central server. I'd like to have the following directory structure on the central server that logs ...
0
votes
1answer
115 views

Postfix virtual mailbox base, uid, gid — good user and group choice?

I often see tutorials for setting up Postfix with the virtual mailbox delivery agent on Linux that instruct to create a new disabled-login user and group to own virtual mailboxes in ...
0
votes
0answers
28 views

Making proxies on Debian

Hi guys I am trying to create SOCKS Proxies on my VPS and currently am not getting too far so any help is well appreciated. Here's a few details on my VPS: It is running Debian linux, has 512mb ram ...
0
votes
2answers
26 views

How to synchronize different debian server

I'm developing a project that consists in a tomcat installation with a web app with many classes and libraries and a php side with many many folder and files. I've got two server debian wheeze and ...
1
vote
0answers
835 views

Munin dynamic graph zoom (dynazoom) not working (Nginx, PHP-FPM)

Debian 7.5 Nginx/1.6.0 PHP 5.6.0RC2 (fpm-fcgi) (built: Jul 11 2014 08:17:52) Munin v2.0.21-2 I been searching all over the net for a few days for answers to my problem but it seems like no one knows ...
-1
votes
1answer
74 views

Apache Tomcat standalone or with nginx or apache?

I will be rolling out a fairly big project that will be running on Tomcat. I will have a linux VPS for it (Debian). i wanted to know if it is recommended to run it by itself or behind a httpserver ...
1
vote
1answer
85 views

debconf is ignoring my default anwsers

I'm trying to set default anwsers to debconf to automate exim config. I'm setting up new values with debconf-set-selections, but debconf ignores it. I'm puzzled. Here is a short copy/paste of my ...
0
votes
0answers
71 views

Debian wheezy TKL (Turnkey Linux) missing php5-fpm conf

I have used a TKL AMI on an EC2 instance to quickly create a NGINX / PHP box. Details of the image are on the Amazon marketplace. It mostly works just as I'd expect it to except for a small caveat - ...
0
votes
0answers
78 views

IP failover on Proxmox

I have a dedicated server with OVH and I have ordered IP failover. Now I'm wondering how to add them to my Proxmox installation, I tried to add a network interface with a new ip but it didn't work. ...
0
votes
0answers
130 views

Preseeded RAID partitioning seems wrong

I'm trying to preseed an installation of Debian on a system with 12 HDD. Each drive have : a 1M GPT partition a 300MB RAID 1 /boot a 20GB RAID 6 / remaining space on a RAID 6 /data partition It ...
0
votes
1answer
144 views

FTP uploads have incorrect permissions when using vsftpd

I recently set up an FTP site using VSFTPD on Debian, and am running into an issue with uploaded directories not being able to be accessed. Files are okay but when I try to upload a directory or ...
0
votes
0answers
47 views

Incorrect mime type for CSV returned by file -i

On debian the file -i command is returning incorrect information for CSV files, when I run it the mime type is returned as below. $ file -i courses.csv courses.csv: text/plain; charset=utf-8 I've ...
0
votes
3answers
127 views

Suggested mechanisms for user-driven spam training?

I'm looking at having a way for my mail users to completely manage their own spam training. Before I get into it, my mail server details: Debian 7.5, postfix 2.9.6, dovecot 2.1.7, amavisd-new 2.7.1, ...
0
votes
0answers
132 views

openVPN on TCP 443 + sniproxy only for certain IPs - is it a way to do it?

I'm currently running sniproxy and https server. If user is known (IP is known) iptables just allows connection to sniproxy which redirects user to desired website or local https server (127.0.0.1 ...
0
votes
0answers
24 views

ssspl proxy server not working

So I install sss.pl following the guide found here http://ssspl.sourceforge.net/#install And when I run the line ./sss.pl 456.234.234.23 1080 WillB:ae2b1fca515949e5d54fb22b8ed95575, I get an error ...
0
votes
0answers
40 views

Cleanup after debconf-set-selections - no interaction installation

I have a problem with debconf-set-selections command. After I install percona server on my machine root password is located in several cache files. I am not sure if i can just delete this files or ...
1
vote
2answers
8k views

how to fix corrupt, not cleanly closed and upgrade needing tables in mysql

When I restart mysql server in Debian, I always have the below messages. How to make the messages disappear or fix the problem/corrupted tables? debian:~# /etc/init.d/mysql restart Stopping MySQL ...
1
vote
1answer
352 views

mysql can't use locks with log tables

When I run mysqlcheck command in Debian MySQL 5.1, I get the below messages: Debian:~# mysqlcheck --all-databases -u root -p Enter password: mysql.columns_priv OK ...
0
votes
0answers
101 views

How to get rid of libapache2-mod-php5filter?

I cannot get rid of this php mod from my Debian Wheeze on arm architecture. Package php5-common has dependence on 2 packages which are in conflict: libapache2-mod-php5 libapache2-mod-php5filter ...
1
vote
1answer
255 views

Configuring MariaDB to log to mysql.log using rsyslog

I'm a little stumped - there is something obvious I'm missing here. Recently I made the switch from mySQL to mariaDB. Everything is working so far - except for the logging, as I realized today. All ...
1
vote
1answer
240 views

SSH via terminal succeeds, but same SSH connection via Ansible fails on same machine?

Can anyone possibly shed any light on why this is happening? I am logged into machine A, the client, with user basicuser. When I try to run an ansible playbook on machine B (server machine, as ...
-1
votes
1answer
555 views

Opening port 587 on Debian running on Google Compute Engine

I'm attempting to use port 587 for my server mailing purposes. However, I can't seem to be able to unblock the port even after trying the following : Adding port 587 to the Google Cloud network ...
0
votes
0answers
84 views

ISC DHCP Server - Client Uplink Is Not Working

Running a DHCP server, client(s) does not have up-link (0Mbps) and has a downlink (50Mbps.) I am setting up a gateway/router on a PC running Debian Wheezy with ISC-DHCP. I have 1 WAN (eth0) and 2 LAN ...
0
votes
1answer
330 views

Apache authentification error

I've installed Apache 2.2 on my Debian-based distr (kernel 3.2.0-27) and apache2.2-common package with default configs. Trying to run simple script info.php I got the error found in ...
-3
votes
1answer
22 views

Is there anyway to specify the version of kernel update with apt-get? Debian 7 [closed]

Is possible to select the version of Kernel I need in apt-get? Actually, I need to update it but I had lot of configurations problems with 3.2. Or the only way is compiling the kernel? Thank you
2
votes
0answers
75 views

LibVirt (QEMU) Shutting down from inside guest

I am currently running LibVirt with Qemu on Debian Wheezy: Versions: libvirtd (libvirt) 1.2.4 qemu-x86_64 version 2.0.0 (Debian 2.0.0+dfsg-4~bpo70+1), Copyright (c) 2003-2008 Fabrice Bellard It's ...
0
votes
1answer
49 views

What could reset the hostname of a server? [closed]

After upgrading some servers to Debian Linux 6.0, from time to time I find the server hostname reset to (none). How could I track what process does that and avoid this situation? I am a programmer, ...
-2
votes
1answer
674 views

Bash script to install packages and report to log file [closed]

I want to be able to log result of running bash script to file. Script itself is pretty simple, its used to install basic packages on fresh install machines and it scheme looks like this sudo apt-get ...
-1
votes
5answers
395 views

Standard or best way to keep alive process started by init.d

I'm looking for a standard way or best practice to keep a daemon started by an init.d shell script alive. Or even better, is there a way to keep it alive directly from /etc/init.d? Specifically, I ...
0
votes
0answers
41 views

Debian server do not reboot when asked to

Debian GNU/Linux 7 (wheezy) We have an issue with our debian server when we initiate a reboot. The system does not reboot that simple. When we initiate reboot, this is the output in syslog: The ...
0
votes
4answers
511 views

How do you setup multiple instances of vsftpd to run on different listen ports?

I need to setup 2 different instances of vsftpd. Which will listen on 2 different ports such that one instance listens on the default port 21 and the other can listen on another port 1123. Please ...
5
votes
3answers
462 views

Monit failing to connect to Dovecot over SSL IMAP

I run Monit to keep check on processes on a Debian server. It's working as normal for all other services (Apache SSL, Postfix, SSH etc.) but Monit's checks on Dovecot are failing repeatedly. I think ...
3
votes
1answer
87 views

I just deleted /etc/rc?.d/ dirs, how can I restore/recreate them?

sysv-rc was installed to get a hold of systems autostart, but in the end it wasn't needed (as update-rc.d came in handy). So I dumbly do apt-get purge sysv-rc and type Yes, do as I say! to the apt ...
3
votes
1answer
49 views

Can I use mod_cband and mod_vhost_alias together?

Basically I run a VPS and host my clients' sites on it. I have mod_vhost_alias set up to use the domain as the client's user account home folder, eg /home/www.example.com. I'd like to use mod_cband to ...
1
vote
1answer
72 views

SVN customize 403 error message

How can I customize "403 Forbidden" message? For only this message I want add additional info, like this "403 Forbidden (you have no rights to [URL to repository])" . How to do it? I want to save ...
-3
votes
1answer
20 views

How to automate deletion of messages in the queue (selected by a keyword present in the corp email message) [closed]

Question Exim4 - DEBIAN : How to automate deletion of messages in the queue (selected by a keyword present in the corp email message) ? Thanks a lot.
0
votes
4answers
161 views

Create IP nullroute blacklist from text file

I've seen various guides out there for how to nullroute a single IP address, and I've done that before. However, I'm not sure how to nullroute a group of IP addresses. Going through each one ...
0
votes
1answer
652 views

Minimal Squid proxy configuration doesn't work

I have been trying in vain for the past few days to set-up a Squid3 proxy on my Debian box. I have done the usual stuff of install the software, adding in the config etc. My config looks like: acl ...
3
votes
0answers
60 views

What do you use for automated testing of Debian package installations and updates?

I am using a Debian repo (based on reprepro) for Wheezy and custom packages. I modify my custom packages from time to time and test them manually on different systems, e.g.: Test a) Installation of ...
0
votes
1answer
43 views

Dovecot MySQL Authentication SlowDown

I have an IMAP/POP3/Webmail server with Dovecot1 2.2.10 with a MySQL backend located on another server. The server runs with default configuration. ... driver = mysql default_pass_scheme = plain ... ...
1
vote
1answer
615 views

How to set ulimit value permanently?

On Debian Wheezy, ulimit -a gives: open files (-n) 1024 I add this to /etc/security/limits.conf * hard nofile 64000 then reboot. And ulimit -a ...
1
vote
1answer
1k views

mongod service not starting

I've installed mongodb in Debian Squeeze using this guide (guide here) Installed successfully. It was running well until I restarted the machine (using command "reboot"); After restart, mongodb is ...
2
votes
2answers
374 views

Trying to log with runit only returns 'unable to open supervise/ok'

Installed runit in Debian 7.4 in a Vagrant. My run script is working, but the moment I create a service/pants/log/ directory I start getting the following error: unable to open supervise/ok. My ...
0
votes
1answer
226 views

PAM Authentication with LDAP on Debian Jessie Not Finding LDAP Users

Debian Jessie (specifically, Debian Server Wheezy x64 with testing repos) OpenLDAP 2.4.39 libpam-ldapd 0.9.4-1 Upon installing libpam-ldapd, the dpkg configuration asked for my LDAP address ...
3
votes
2answers
550 views

Backup MX server used to queue mail

In short: I need to setup backup MX server, which will queue messages it receives for later delivery through original MX, AND it must only accept messages for mailboxes which will be listed in ...
1
vote
2answers
161 views

is there something similar like sa-learn-cyrus for dovecot?

I was looking whole morning and found nothing. I have a debian box running dovecot IMAP. I want to train the spamassassin with the users spam folders. is there something similar like sa-learn-cyrus ...
1
vote
2answers
45 views

run second mysqld instance for backup restore

I am trying to start a second mysqld instance to restore data from backup (innoDB). Following the manual I put together this: P="/var/lib/reoback/backups/2014-06-30/var/lib/mysql" cd $P mkdir tmp ...