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

learn more… | top users | synonyms

4
votes
2answers
4k 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
6k 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
2answers
9k 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, ...
4
votes
3answers
8k 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 ...
3
votes
0answers
2k 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 ...
3
votes
1answer
1k 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 ...
3
votes
2answers
731 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 ...
3
votes
1answer
6k 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 ...
3
votes
1answer
348 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

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 ...
3
votes
1answer
2k 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
857 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
220 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
1k 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
2answers
234 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. ...
2
votes
3answers
768 views

Ulimit file descriptor limits not being applied for particular process

I recently checked one of our redis processes to what ulimits where applied using: cat /proc/<redis-pid>/limits And was suprised to learn that is was at the low default value: Limit ...
2
votes
2answers
134 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
5answers
2k 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 ...
2
votes
1answer
4k 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 ...
2
votes
1answer
1k 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
5k 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
427 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
0answers
450 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
2answers
3k 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 ...
2
votes
2answers
166 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
15k 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 ...
2
votes
3answers
5k 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
2answers
5k 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
2answers
647 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
3answers
13k 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 ...
1
vote
2answers
117 views

Minimal backups of a Debian server

(This was originally asked on SuperUser --- they pointed me here as being more appropriate.) I have a shiny new Debian server running in an Amazon EC2 instance. I've spent a while setting it up and ...
1
vote
2answers
4k 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 ...
1
vote
1answer
404 views

Xen in routed mode: start fails

When Xen is configured in routed mode, restarting xend fails because the script hotplugpath.sh is missing. ~ # /etc/init.d/xend restart Restarting Xen daemons: xend/etc/xen/scripts/network-route: ...
1
vote
1answer
2k 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
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 ...
1
vote
1answer
2k 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
2answers
1k views

Debian root partition resizing

I just noticed that the root partition of my not-so-long-ago configured server is only 5gb thats not much seeing as i allready use 4gb and still need to install a lot of things... i was foolish ...
1
vote
2answers
468 views

sshd_config adding a delay between login attempts?

Is there a configuration for this without installing 3rd party software?
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
2answers
965 views

linux timestamp permission error with winscp

I added a user to a group and set the file and dir content to 775. When i use winscp to modify a file it complains it cant set the timestamp bc of a permission error. But it is able to update the file ...
1
vote
2answers
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
4answers
450 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
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
1
vote
8answers
939 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 ...
0
votes
1answer
87 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 ...
0
votes
1answer
351 views

SSH login with LDAP users over NSLCD works after restarting server

I have a working nslcd setup running on many servers. I distributed this config to many servers almost all of which are working without problems. However I forgot to install libnss-ldapd and ...
0
votes
2answers
70 views

IPtables - Sensible and non-contradictory rules?

This is my IPtable rules for my webserver with SSH installed, i've had help to get this far. My question is, are my rules contradictory. For example, I've been recommended to use these two lines: # ...
0
votes
2answers
3k views

KVM with one host IP and a different subnet for machines

I've already setup a KVM host with proper IP configurations, but my host had me create DHCP and use that to assign the IP's to the machines. I want to see if there's an easier way to do it (or ...
0
votes
2answers
651 views

Debian Etch and ESXi slow network speeds

I have 2 etch virtual machines. One's a clean Etch r9, the other is one of our server builds. On EtchR9 network speeds are 1Gbps. But on our server build we are only getting a max of 100Mbps, both ...