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

learn more… | top users | synonyms

6
votes
1answer
252 views

Correct usage of /srv on debian systems

I'm a bit confused about what goes inside /srv and looking for good practices about its usage on Debian. Acording to the FHS: "/srv contains site-specific data which is served by this system". ...
6
votes
2answers
3k views

25 Sidekiq processes for Gitlab

Looking at htop output on my server I see 25 sidekiq processes spawned by Gitlab. I use Gitlab privately, so there is never going to be any load, so I doubt all of those processes are required, but I ...
5
votes
4answers
5k views

Starting a script as another user

I've created a script in /etc/init.d/ which has to run several other scripts from other (non-root privileged) users from their home directories, as if they started them. I launch these scripts ...
5
votes
1answer
2k views

CentOS Tuned Equivalent For Debian

Running a few systems, a few are Debian which have been great. I have on the CentOS boxes tuned(tuned-adm) installed and setup for throughput. I searched all over Google and only found some articles ...
5
votes
1answer
5k views

How do I delete values from the debconf database?

Per this question I've now got wonky preseed values for my gitolite installations such that gitolite fails to install. I need to clear my debconf database of a few keys, but I see no way to accomplish ...
4
votes
2answers
1k views

update grub2 without hardware access (e.g. in a chroot)?

I'm writing a script that takes a master KVM image, converts it to VDI, makes a few changes to it, and offers it up for download. I need to update the kernel boot parameters for some of the newly ...
4
votes
7answers
55k views

WGET can't resolve host

I've got 2 machines on the same sub-net running Debian 5.0. They use the same DNS (/etc/resolv.conf), they route to the same gateway (#route) and they have the same iptables settings (#iptables -L). ...
3
votes
3answers
3k views

Using a proxy with Vagrant & Puppet

I'm trying to run a puppet manifest which depends on the target machine having proxy settings to access the Internet. I haven't been able to pass http_proxy_host as Puppet suggests (I believe its a ...
3
votes
1answer
8k 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).
2
votes
1answer
718 views

unattended-upgrades does not reboot

I am running Debian 7 stable with unattended-upgrades (every morning at 6 AM) to make sure I am always fully updated. I have the following config: $ cat /etc/apt/apt.conf.d/50unattended-upgrades // ...
2
votes
1answer
2k views

gitlab authentication using HTTP_REMOTE_USER environment variable

we have discovered gitlab, and I would like to integrate it in our global authentication process, which relies on apache HTTP_REMOTE_USER environment variable. I have seen very little documentation ...
2
votes
3answers
8k views

How to reinstall broken mysql package

Trying to fix a broken mysql installation, this happened after upgrading from debian 6.0 to 7.0. I have the dotdeb.org packages in my /etc/apt/sources.list. root@ginger:/var/log/mysql# apt-get ...
2
votes
3answers
12k views

VirtualBox: issue with symlinks in shared folders [closed]

Some time ago there was a thread to exact the same problem: Can't create symlinks in virtualbox shared folders. Now it's closed (why?). So I start a new one, because I've got this issue now and cannot ...
2
votes
3answers
656 views

Use apt-get source on a debian repo without using /etc/apt/source.list

I'm trying to use apt-get source as a regular user on a debian squeeze system. I want to retrieve the sources for cyrus-imapd-2.4 from the testing/wheezy repository. apt-get source works without ...
2
votes
2answers
3k views

Debian: How to use “apt-get install” without upgrading dependencies? [duplicate]

Possible Duplicate: How do I get apt-get to ignore some dependencies? I need to install some packages. The package A has the package B as a dependency and requires to be (>2.0). I have ...
2
votes
1answer
4k views

How to allow 6to4 through iptables firewall?

Im trying to allow 6to4 though my ipv4 firewall on Debian 6 (Squeeze) but without much luck, it seems most of the syntax used by other OS's isn't quite supported in Debian's iptables. I'v tried: (I ...
2
votes
3answers
8k views

How to fix mail server SSL?

Our mail server was originally set up using self-created certificates. However when those expired, and I tried to recreate them, the whole thing just blew up. Since I know it will be important, we are ...
1
vote
1answer
537 views

Using snapshots with reprepro to enable rollbacks

I'm using reprepro to maintain a Private Package Archive of internal packages. There is no straightforward way to keep multiple version of a package available using reprepro (see here), but it does ...
1
vote
1answer
2k views

lxc vm access outside the host

On Debian 64bit, I configured a lxc like this : host ip : 172.16.0.25 vm guest on this host : 172.16.0.44 I've done the bridge on my host auto eth0 iface eth0 inet manual up ...
1
vote
2answers
3k views

Dell PowerVault MD3200i dm-multipath configuration and performance snags in Debian 6.0 (squeeze)

I'll be using this iSCSI target for a couple of Debian-based KVM virtual machine hosts. Each of the target's redundant controllers has 4 ethernet ports; likewise for the initiators. I use two switches ...
0
votes
1answer
4k views

Multiple IP - different gateways - one interface - Debian Squeezy

i was reading many answers here and everywhere, but I cannot find the right one. I tried several solutions, but nothing works. I have a server with ONE Interface eth0. I have multiple IP's, but I ...
12
votes
1answer
4k views

Enable blowfish-based hash support for crypt

How do I enable crypt_blowfish support for shadowed passwords and PHP on a Linux (Debian) server? I'm referring to the OpenBSD-style Blowfish-based bcrypt, known in PHP as CRYPT_BLOWFISH. As far as ...
7
votes
1answer
7k 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 ...
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 ...
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, ...
5
votes
2answers
206 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 ...
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
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
837 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
4answers
4k views

limit bandwidth and space usage of each Virtual Host?

I am starting a small web hosting company to teach me about system administration and one of the problems I am having is how would I limit the bandwidth and disk space of each virtual host ...
4
votes
5answers
5k 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 ...
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
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
5answers
26k views

SSH fails: PTY allocation request failed on channel 0

So I googled the error and checked serverfault, but the solutions didn't fit. Most results were problems with /dev/pts, but that is mounted. Other results are errors with git, but there is no git on ...
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
1answer
267 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
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
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
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
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 ...
3
votes
1answer
316 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
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
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 ...
3
votes
3answers
915 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
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
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 ?
2
votes
1answer
190 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 ...