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

learn more… | top users | synonyms

7
votes
1answer
8k views

how to set up monit to monitor disk-space

I use monit on my server to monitor apache and mysql running. Now I want to add an alert if the disk gets too full. I added this for testing in /etc/monit/monitrc: check device rootfs with path /dev/...
6
votes
1answer
3k views

Why do I have so many apache2 processes?

I have a Debian 6.0.1 machine running GNU/kFreeBSD 8.1-1-amd64 and Apache. I installed apache2-mpm-worker using apt-get, and my apache2.conf file contains: <IfModule mpm_prefork_module> ...
6
votes
2answers
10k views

Apache heavy load VIRT vs RES memory

I have a Debian 5 server, which gets a lot of traffic. Right now the server has 4 GB of RAM and no swap memory. I see in top that Apache processes consume roughly 180 MB virtual memory (VIRT) each, ...
6
votes
1answer
6k views

How to set the hostname for a Debian Jessie system?

Debian Jessie comes with systemd. The recommendation to set the hostname is using hostnamectl for systemd. However, this command does not work (even to display the current hostname) on the Debian ...
6
votes
6answers
12k views

What is a recommended way to patch the Shellshock Bash bug on an unsupported Ubuntu server?

I maintain an out-of-support Ubuntu 12.10 (Quantal Quetzal) server (don't ask me why, please), and we need to patch the Shellshock Bash security bug. As upgrades are not available anymore, what ...
5
votes
2answers
3k views

After upgrade to wheezy apache fails to start

I have upgraded from lenny to wheezy and now apache fails to start: # /etc/init.d/apache2 start ...
5
votes
2answers
842 views

Load Average above 20 for single core vps on debian [closed]

OS: Debian 6.0 RAM:3072 M, CPU:single core. top: top - 08:56:43 up 21 days, 12:37, 1 user, load average: 28.38, 22.48, 15.95 Tasks: 8 total, 1 running, 7 sleeping, 0 stopped, 0 zombie ...
5
votes
1answer
3k 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 ...
5
votes
2answers
212 views

MySQL package upgrades (Debian apt-get) always break master-master replication due to changes in mysql schema

I have master-master replication set up on 2 Debian servers, and they replicate everything, including the mysql database itself (so that new users and such also replicate). This generally works very ...
4
votes
2answers
5k views

Can reprepro accept a new version of a package into the repository?

I have installed a package into my own debian package repository like so: $ sudo reprepro -b /var/packages/ubuntu includedeb maverick my-package_0.8-0_all.deb my-package_0.8-0_all.deb: component ...
4
votes
1answer
7k views

dropped packets on the interface

i am running centos 6.2 and one of the interfaces has high dropped packets. this is the info from ethtool, is this is a network issue?? [root@w native]# ifconfig eth1 eth1 Link encap:Ethernet ...
4
votes
6answers
8k views

System hangs while rebooting on Debian

I have Debian (Kernel 2.6.26-2-686) installed on two computers. On one of them it reboots quite finely but I am having following problem with rebooting Debian on my second computer. When i type ...
4
votes
3answers
20k views

Adding a second IP to Debian Server

I was given a second IP by my server provider. I am running Debian 5.0. I thought I knew how to add the IP to the system and configure with apache, but I have not yet been able to. The primary IP ...
4
votes
1answer
271 views

Will turning off htaccess have a noticable performance increase?

Will turning off override by htaccess in apache have a performance increase? I have had a look online and there is very little articles/reports on this. If this is the case how do I go about turning ...
4
votes
3answers
1k views

Clone/Mirror Live Linux (Debian) Server

I've probably read every serverfault article on this matter, but none seems to answer my specific question or they seem like dated methods. I have a live running debian (Lenny) system on Dell ...
4
votes
2answers
4k views

Can't connect to SMTP server

I have trouble connecting to an SMTP server from my PC. I use Debian sid. telnet mail.example.com 25 Trying 12.23.34.45... telnet: Unable to connect to remote host: Connection timed out While from ...
4
votes
3answers
9k views

Resize /var partition on a remote system (Linux Debian Lenny)

At a server that I only have access via ssh and vnc to (which means no booting from a "live" CD/DVD is possible), I would like to shrink the partition assigned to /var (in order to free some space for ...
4
votes
5answers
6k 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 ...
4
votes
1answer
6k views

Update openssl in debian squeeze

There is this CVE-2014-0224 bug in openssl so I would like to update my affected # openssl version OpenSSL 0.9.8o 01 Jun 2010 But there is no update for squeeze. I read the it is already fixed in ...
3
votes
3answers
3k views

Install VirtualBox Headless only

I want to install VirtualBox on a fresh debian box without having to install an X-Server. How can that be done ?
3
votes
4answers
2k views

Can I recover from “rm /*”?

I'm running Debian... And, I accidentally ran "rm /*" as root (hurray!) - luckily I didn't use -r, so the dirs are still intact. However, when trying to boot, I get... run-init: /sbin/init: No such ...
3
votes
1answer
375 views

My server doesn't seem to be caching anything well

I have a VPS from tocici (via BuildYourVPS). It's got 4 GB of RAM (2 GB of it "burst" RAM). This server has some severe performance issues, however. First, a quick explanation of what this server ...
3
votes
3answers
926 views

Debian apt-get repository

We have our own internal package repository hosted on a webserver running apache. Internal users who want to install one of these packages point these sources.list to the webserver & do a apt-get ...
3
votes
1answer
224 views

debian: upgrade from etch to lenny fails

The error message is: error processing /var/cache/apt/archives/debianutils_2.30_i386.deb (--unpack): trying to overwrite `/usr/sbin/add-shell', which is also in package passwd How can I solve ...
3
votes
1answer
342 views

apt-get install -t testing appX VS apt-get install appX/testing

I've been trying to understand the difference between these two commands and noticed that I get different results. apt-get install -t testing appX apt-get install appX/testing Background I setup ...
3
votes
1answer
3k views

Is there a way to disable IPv6 SLAAC on a per-interface basis in Debian?

I have a scenario where appliances running Debian may have multiple network interfaces. I want my eth0 interface to get its address via SLAAC configuration, but I want the remaining interfaces to ...
2
votes
2answers
185 views

How does directory complexity influences on i-nodes?

For single project, which uses a lot of images( ± 1k-3k per day) I use custom PHP script to process images and save them to server. Currenty PHP script processes them and saves in the following ...
2
votes
3answers
8k views

AMaViS: missing X-Spam-Status header

I set up a mail server with Dovecot, Postfix and AMaViS on Debian Squeeze following the tutorial on workaround.org (ISPmail tutorial for Debian Squeeze). It uses virtual domains and stores the domains,...
2
votes
1answer
238 views

How can I use Let's Encrypt (letsencrypt.org) as a free SSL certificate provider?

I have a few sites running with a StartSSL free certificate (CJSHayward.com, JobhuntTracker.com), and Firefox rejects StartSSL and displays an error page saying that my server is not properly ...
2
votes
2answers
271 views

Running “find” command generates high load

I run this command on a Debian server with SSD drives configured as RAID 1: ionice -c 3 find . -type f -amin -1440 -mmin +1441 -not -path custom/ -print0 on a path which contains over 1.7M files and ...
2
votes
4answers
1k views

Debian Hostname refusing to stick

I'm using VirtualBox for testing and have the latest stable Debian. When I try to set the hostname of the machine using both: hostname ayil and editing /etc/hostname and running /etc/init.d/...
2
votes
2answers
655 views

my first “production” debian server configuration

I have been using Debian for a year, mostly as the distro for my internal company server. Now I am making a public e-commerce website and I am planning to use a dedicated Debian server at a datacenter ...
2
votes
2answers
6k views

Postfix auto create Maildir

I've been beating my head against a wall for a while now on this one. Basically, here is the rundown: Our MX record points to a frontend SMTP server, which contains aliases for actually routing the ...
2
votes
1answer
2k views

systemd-journal in Debian Jessie LXC container eats 100% CPU

After creating fresh LXC based on Debian Jessie, on a Ubuntu 14.04, systemd-journal eats all CPU available. lxc-create -n jessie -t debian
2
votes
2answers
535 views

Backup Entire USB Drive Containing Bootable Partitions in Debian [duplicate]

What's the best way to backup a USB drive with bootable data on it? For instance, I have what's called an ESXi server on a bootable USB, it's basically a linux variant with multiple partiions. What'...
2
votes
2answers
4k views

How to update sources.list for Debian 4.0 Etch?

I am trying to update my /etc/apt/sources.list on my VPS. As I run apt-get update I get all kinds of 404s not found, for example: Failed to fetch http://debian.newdream.net/dists/etch/main/binary-...
2
votes
3answers
6k views

Linux - Migration from a server to another

Currently, I have Debian installed on a desktop computer with an Intel P4. It is a web server. As my website starts to be more and more popular, I want to migrate to a real server. So I bought a new ...
2
votes
0answers
538 views

Debian squeeze: SSH login works fine, SFTP login returns a Failed password error

I'm currently trying to setup SFTP on debian using openssh. I can still login with all my users using ssh, but as soon as i'm trying to login using an SFTP client like filezilla i'm getting an failed ...
2
votes
1answer
3k views

Remove exim local username

How can i remove the local username in the mail headers with exim4 running on debian 6? Received: from root by host.domain.com with local (Exim 4.72) (envelope-from <reply@domain.com>) id ...
1
vote
8answers
1k views

Turning off FTP

I'm setting up a new debian server and I don't need FTP so I want to remove it. According to netstat -tap, ftp isn't listening on anything. However when I do a port scan (nmap) externally it says the ...
1
vote
2answers
526 views

sshd_config adding a delay between login attempts?

Is there a configuration for this without installing 3rd party software?
1
vote
1answer
3k views

Limit bandwidth using tc, iptables, and htb

I'm running a Debian server and was wondering if there are good resources out there, to which you can point me, where I can read about traffic limitations. I have couple users sharing one server. ...
1
vote
1answer
383 views

Monitoring pacemaker with url trigger external agent

I have a HA setup, which now the only resource configured is Heartbeat with Active/Passive Configuration. Both running Debian 7, 64-bit in the cloud. Now i want to trigger an URL with the information ...
1
vote
3answers
2k views

Creating a partitioned raid1 array for booting a debian squeeze system

I'd like to have the following raid1 (mirror) setup: /dev/md0 consists of /dev/sda and /dev/sdb I created this raid1 device using mdadm --create --verbose /dev/md0 --auto=yes --level=1 --raid-...
1
vote
3answers
697 views

Apt-cacher and Apt-proxy

Does anyone know the differences between apt-proxy and apt-cacher or know of a better package proxy cacher for Ubuntu? I used apt-proxy, but it hangs in weird places and gives me weird errors ...
1
vote
4answers
469 views

Moving a Debian Setup

Greetings, I currently have a Debian Lenny server running (on a slow machine) and recently I bought a stronger server and need to move/copy the old debian setup to this new server as whole(accounts, ...
1
vote
1answer
2k views

Apache2 forward logs to rsyslog AND locally

Right now I'm storing apache2 logs locally: ErrorLog /var/log/apache2/one.error.log CustomLog /var/log/apache2/one.access.log common How can I keep storing the logs locally but also forward ...
1
vote
1answer
2k views

Clearer understanding for glusterfs for replication

On server01 I have installed and configured glusterfs-server and glusterfs-client to replicate directory /var/appdata to server02. It seems that anything works fine, but I'm not sure that I ...
1
vote
3answers
1k views

Amazon S3 tools for Debian?

I need to (programmatically, in a shell script) upload an EAR file to an Amazon S3 bucket on Debian (5.0.4). What, if any, Debian package provides simple, scriptable tools for that? Ideally this ...
1
vote
3answers
4k views

Debian Open port 81

I install lighttpd in one server using port 81. The problem is that the port is closed, and I don't know how to open the port. Regards, Pedro