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 ...
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 ...
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, ...
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
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
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
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.
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 ...
-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: ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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
votes
1answer
32 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 { ...
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 ...
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 ...
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 ...
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 ...
0
votes
1answer
24 views

Add a subdomain to my Debian Server

I created a subdomain of a ndd i got with the A and i redirect it to my server with the IP On my server i created an apache file to redirect that subdomain to the correct directory. Here is the ...
1
vote
1answer
29 views

Size of partition does not match files

I have a Debian Wheezy install that is currently showing 100% disk usage, yet the files in / do not seem to add up to the sum of the disk as reported in a df -h output (as tested with a du -sh /). I ...
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 ...
0
votes
0answers
11 views

Debian DEB package replace config files

I created a custom debian package which needs to replace certain configuration files like /etc/ssh/sshd.conf. If these files exist it does not replace them. What is the best way from a deb package to ...
1
vote
1answer
25 views

How do I find what PHP script is changing the file

I have apache installed with mod_php PHP5. I've been able to find out that apache process is changing my .htaccess and index.php files in /var/www directory. All files in this directory are owned by ...
0
votes
0answers
20 views

How to remove malware from Debian server? [duplicate]

We have one Debian server that is affected by a malware. It's adding some code to the .htaccess files in /var/www directory where all sites are stored. Here's the malicious code: RewriteEngine on ...
0
votes
1answer
17 views

htaccess redirect from one domain to another domains subdirectory [duplicate]

I want to redirect this way: from www.example.com/link.php?a=1&b=1 to www.example.net/subdirectory/link.php?a=1&b=1 I tried to use this .htaccess which isn't working: Options +FollowSymLinks ...
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 ...
-6
votes
0answers
40 views

Fix Crashed/Halted Apache server

I'm facing server issues in Apache. I'm using Debian version of Linux . So, my problem is:- In my API, various requests are made (POST,PUT,GET,DELETE) and all the POST requests are printed on the ...
1
vote
0answers
41 views

Redundant Debian Gateway

I have to configure a redundant gateway with Debian boxes and I would like to get some recommendation what's the best solution in my case. There are certain limitations in my setup and I have to go ...
0
votes
0answers
59 views

Open Xen Manager and XenCenter server connection

So, I've got server set up and running the Xen hypervisor version 4.1 with Debian Wheezy (7.5.0) as the host OS, along with xcp-xapi and all relevant services are running correctly. Problems arise ...
-1
votes
0answers
5 views

AllowGroup in proftpd not working

i want to limit ftp logins to only users from a specific group: in /etc/proftpd/proftpd.conf i have: <Limit LOGIN> AllowGroup ftpuser </Limit> but i can still connect to ftp ...
0
votes
0answers
22 views

Debian VM, two nics, can't ping Google.com [migrated]

I have a Debian based virtual machine running on VMWare Fusion with a OS X 10.9 host OS. In VMWare Fusion I have a private network setup that allows the Mac and the VM to communicate without access ...
0
votes
0answers
21 views

AR8151 eth0 heavy trouble

First I had really bad issue with network speed. There I got this good article: http://mindmapapp.blogspot.com/2012/01/use-atheros-ar8151-ethernet-card-on.html But now I have really crazy things ...
0
votes
1answer
24 views

Configuring Exim4 on Debian 7 and PHP

I followed this tutorial on Linode to setup a send only mail server: https://library.linode.com/email/exim/send-only-mta-debian-6-squeeze It works but with some oddities. Sending email with PHP ...
0
votes
0answers
8 views

Debian 7 remote access - grey background [migrated]

I Have got problem. After installing gnome/kde and vnc I have a problem while opening remote vnc-viewer. Grey background occeress http://i.imgur.com/QomWGIR.png What is the problem with it? ...
-1
votes
0answers
72 views

Debian 6, trouble with: apt-get -f install

I'm having trouble with installation of any package. This was occured after one failed installation with error "Data quota exceed"(df -H showed me 80% of free space). I've asked support team to fix ...
0
votes
0answers
26 views

OS X not resolving hostnames for SSH/HTTP [migrated]

I have a Debian server named neptune, with a static IP of 192.168.1.10 which provides SMB, Intranet and SSH services. On my Windows computer it resolves fine, yet on my Mac it appears under "Shared" ...
2
votes
1answer
82 views

Adding second IP to server

I have a Debian 7 box that will host multiple domains. I'm trying to add a second IP, but every time I try /etc/init.d/network stop && /etc/init.d/network start, I get this error: RTNETLINK ...
-1
votes
0answers
53 views

nginx 1.7 and php-fpm showing empty response

i have installed nginx as described here on my fresh new debian wheezy installation. Then i installed php5-fpm. I changed the www.conf of php5-fpm to use the socket connection. Then i created a file ...
0
votes
1answer
40 views

Debian hacked via Tomcat Manager [duplicate]

After Tomcat installation, before I even changed the default Tomcat Manager password, the attacker used Tomcat Manager to deploy his own software. Probably some DDOS tools and a file manager. I've ...
0
votes
0answers
40 views

IPv6 connection dropping on Debian 7

EDIT: I've tried something different based on searching around. This is now my /etc/network/interfaces: # This file describes the network interfaces available on your system # and how to activate ...
1
vote
1answer
25 views

NIDS on bridged firewall

I have a firewall (Debian Stable 7.5) which works in bridged mode. The interfaces eth0 (WAN) and eth1 (LAN) are linked with the bridge interface br0. Can I deploy a NIDS (eg. Snort) on this server? ...