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

learn more… | top users | synonyms

0
votes
3answers
14 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
4answers
14k views

Downgrade PHP 5.4 to 5.3 in Debian

I had to do a Debian dist-upgrade on my server... in the process, PHP got upgraded to 5.4. We use ioncube which only supports up to 5.3 atm, and I'm having some trouble finding how to downgrade to ...
6
votes
1answer
53 views

Processes hanging indefinitely when calling read(2)

I have several Debian (Wheezy, x86_64) servers all exhibiting the following behavior: All of the servers have a set of cron jobs that, among other things, pull data from S3. These usually run fine, ...
1
vote
1answer
17 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 ...
1
vote
1answer
778 views

Best practices setting up Apache2 Virtualhosts with Aliases?

I'm setting my Apache2 Virtual Hosts, in a Debian Squeeze server, in this way: filename: whatever.mydomain.com Alias /whatever /var/www/whatever.mydomain.com <VirtualHost *:80> ...
1
vote
2answers
1k views

VPN PPTPD with MPPE Support for Debian or Ubuntu

Having an unencrypted vpn connection from a windows client to linux is pretty easy by using pptpd. When I was looking for an solution for encrypted (per MPPE) connection, I found a lot of information ...
0
votes
4answers
41 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
475 views

Fetching mails into postfix/dovecot via pop3/imap

I managed to set up my first Debian mail server using postfix and dovecot. I use roundcube to access my IMAP accounts which are defined by virtual users in a MySQL data base. Everything works ...
1
vote
1answer
647 views

bind9 zone transfer problem - not authoritive

I've been beating myself up trying to figure this out. ns1 seems to work as normal. ns2 however isn't receiving the zone transfers. Maybe I just need another eyeball on the issue! ns1 ...
4
votes
5answers
4k views

Outgoing only SMTP server

I want to setup an outgoing only SMTP server on Debian, so my Web-applications will be able to send e-mails via it. I don't want to use another hosts because of security and customizability of my own ...
1
vote
0answers
9 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
41 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
0answers
10 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
votes
0answers
9 views

Should I do data scrubbing on RAID arrays on Debian/Ubuntu Linux?

Should I be doing data scrubbing? Is it redundant to do data scrubbing myself when mdadm has a cron entry on Debian and Ubuntu that does this: /etc/cron.d/mdadm 57 0 * * 0 root if [ -x ...
1
vote
2answers
689 views

Using Squid on Debian, Cannot Connect Error

I am trying to set up Squid on Debian and am getting a connection refused error: squidclient http://www.apple.com/ > test client: ERROR: Cannot connect to 127.0.0.1:3128: Connection refused Here ...
-1
votes
0answers
13 views

Can't add user to gitolite server

I have gitolite server installed on debian 7. When I add users through the gitolite-admin repo, their keys appears in the /home/gitolite/.ssh/authorized_keys, however they can't login. Output from ...
-3
votes
1answer
17 views

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

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.
1
vote
2answers
1k views

cf3 Can't stat … in files.copyfrom promise

On the client: # cf-agent -KIv ... cf3 -> Handling file existence constraints on /etc/cfengine3 cf3 -> Copy file /etc/cfengine3 from /srv/cfengine/sysconf/server/inputs check cf3 No existing ...
0
votes
1answer
683 views

Debian Squeeze - Monitor outgoing traffic

I have a small webserver that running on Lighttpd 1.4 which steadily uses 250GB or less bandwidth for the past couple of months. But since May the traffic spikeed to more than triple of what it was. ...
2
votes
1answer
3k views

How to restart postgresql 8.4 on Debian Squeeze when there are no clusters defined?

How to restart postgresql 8.4 on Debian Squeeze? /etc/init.d/postgresql stop/start/restart does nothing (no output given).
0
votes
1answer
31 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 ...
-1
votes
0answers
19 views

OpenSMTPD does not deliver mails to MX without TLS

My OpenSMTPD trys to deliver a mail, which i sent locally from the system. But it stops transmitting when tls is not available on the target mx. Jul 4 12:44:50 troll smtpd[4229]: smtp-out: ...
3
votes
0answers
20 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
20 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 ... ...
0
votes
1answer
28 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 ...
2
votes
1answer
919 views

pure-ftpd debian, can't get www-data user working

I'm trying to add FTP access to the Apache web files, in the past I have done this with an ftpuser and group arrangement. This time I would like to make it possible to login directly as www-data (the ...
0
votes
2answers
35 views

NGINX pretty urls: No input file specified

I've been struggling with a NGINX configuration. I've set up a development environment (local laptop) with a configuration supporting search engine friendly (SEF) urls, but the same configuration ...
1
vote
2answers
555 views

Debian server: “sa-learn” process slows system down dramatically

On one of our debian squeeze servers, we use a setup of postfix + amavis + dovecot as mailserver. Spamassassin is part of amavis. Once a day, the process "sa-learn" is started. It is part of ...
0
votes
1answer
19 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 ...
1
vote
1answer
34 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 ...
0
votes
0answers
14 views

disable init.d script in systemd [migrated]

I changed the init system from sysvinit to systemd on a raspbian installation. The install boots fine, but now starts lightdm on boot. I don't want it to do that. I noticed lightdm.service is started ...
1
vote
2answers
30 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 ...
1
vote
2answers
29 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 ...
0
votes
0answers
15 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
60 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 ...
134
votes
3answers
86k views

What's the best way of handling permissions for apache2's user www-data in /var/www?

Has anyone got a nice solution for handling files in /var/www? We're running Name Based Virtual Hosts and the apache2 user is www-data. We've got two regular users & root. So when messing with ...
0
votes
2answers
36 views

Subdomains Always Redirect To Main Domain - Apache2 VirtualHosts & Debain

I want to set up a main site, and a sub-domain for development, using apache2 VirtualHosts. This is what my site.conf virtual host file looks like: <VirtualHost *:80> ServerName ...
5
votes
3answers
798 views

Poor write performance on Debian server running NFS with 22TB exported JFS filesystem

I am currently running a debian server that is exporting a large JFS filesystem (22TB) over NFS (nfs-kernel-server.) When attempting to write to the NFS share, the performance is very poor. The 22TB ...
-1
votes
1answer
31 views

Installing nginx + php-fpm - got Not found

I install nginx and php-fpm on new machine. But when i open my domain, i got an 404 Not Found. (static files accessible). File: /etc/nginx/sites-available/elfchat.net server { ...
2
votes
3answers
892 views

why hpacucli doesn't see my controller? “Error: No controllers detected.”

On an HP DL120G7 with HP P410, per some suggestion on a blog, I've installed the latest version of hpacucli from http://downloads.linux.hp.com/SDR/downloads/ProLiantSupportPack/Debian/pool/non-free/ ...
3
votes
3answers
707 views

Creating a fallback error page for nginx when root directory does not exist

I have set up an any-domain config on my nginx server - to reduce the amount of work needed when I open a new site/domain. This config allows me to simply create a folder in /usr/share/nginx/sites/ ...
0
votes
1answer
39 views

Inconsistent behavior with Nginx's auth_request_set and more_set_input_headers

I'm trying to use the auth_request module in conjunction with the more_set_input_headers to automatically login my users into web apps. Basically, it works like this: Users have some session cookie ...
2
votes
0answers
21 views

Kerberos, .k5login and sudo

Background: I am using a Debian 7 system which I have integrated with an LDAP+Kerberos system using libnss-ldap, libpam-krb5 and nscd. I have modified sudoers to permit an LDAP group the right to sudo ...
1
vote
2answers
35 views

start mysql service after syncing data dir to tmpfs

hej there! I'm maintaining a network of 8 Pandaboards. One of them is acting as server to host a php-based browser game, others are clients running that game. The server runs Debian Wheezy from SD ...
0
votes
3answers
2k views

Permission problems of mysql under Debian

After having had my huge hard drive crash (which was related to a LVM update of Debian, not the hardware) I am facing the next problem: I try to reinstall mysql after that crash and did a dpkg ...
2
votes
1answer
1k views

Connection problem between redmine and svn

I have server controlled by Debian 6.0. I installed and configured redmine some time ago, and now configured svn server. Now i'm trying to configure redmine to be able to view svn repository. URL ...
0
votes
2answers
1k views

Hostname and SSL (apache) issue on Debian

I have been trying to setup SSL virtual host ServerAdmin webmaster@mts.com ServerName moclm.tap.pt DocumentRoot /var/www/tapme/ <Directory /> Options ...
2
votes
2answers
919 views

Apache2 & .htaccess : Apache ignoring AccessFile

Hi there here is my server configuration: DEBIAN 32Bits / PHP 5 / Apache Server version: Apache/2.2.3 - Server built: Mar 22 2008 09:29:10 The AccessFiles : grep -ni AccessFileName * ...
46
votes
7answers
57k views

How to determine JAVA_HOME on Debian/Ubuntu?

On Ubuntu it is possible to have multiple JVMs at the same time. The default one is selected with update-alternatives. But this does not set the JAVA_HOME environment variable, due to a debian policy. ...
0
votes
1answer
6 views

autostart ppp connection when vlan comes up

I want to start a ppp connection on my router on startup, but i need to have a vlan activated before. The problem is that if i ifup the vlan in the ppp interface, the vlan is not up when pppoe tries ...