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

learn more… | top users | synonyms

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
632 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
4answers
9k 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
1answer
73 views

Cannot install grub, segmentation fault, unable to identify filesystem, superfluous RAID member, found two disks with same index — Debian 7

A server was recently transported from location A to B, a long journey that took six months. Things have gone wrong due to nothing being labeled prior to shipment. Yes, I know --- it was done by ...
1
vote
2answers
90 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
1answer
377 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
1k 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
876 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
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
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
443 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
866 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
2answers
2k 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
1answer
417 views

MAIL_HUB / LOCAL_RELAY for multiple domains

I'm running a debian server that hosts multiple domains, each of them using google apps. I managed to get sendmail to deliver the emails from domain1.com by using the following in ...
0
votes
2answers
554 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 ...
0
votes
3answers
754 views

I accidentally upgraded a server to a Debian testing distribution. Now what?

Once upon a time I introduced the following line in our sources.list file: deb http://ftp.ch.debian.org/debian/ testing main I did that because I needed version 3.4 of the octave package, whereas ...
0
votes
3answers
596 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 ...
10
votes
1answer
3k views

How to use a custom status command for a service in puppet?

I am using debian squeeze with PostgreSQL 9.1 from backports. Puppet has version 2.7.14. Unfortunatly the init script returns the wrong exit code for status. Therefore I wrote a custom status command ...
10
votes
1answer
3k 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 ...
6
votes
1answer
482 views

How can I apt-pin stable?

I changed my mind some time after install, and would prefer stable to testing for this particular system. Unfortunately, I currently have packages at old testing versions. I need to force a downgrade ...
5
votes
3answers
4k views

Troubleshooting linux server reboots?

I have a Linux server I've just set up, debian squeeze, 2.6.32-5-amd64, and over the past week it's rebooted three times, twice in one day. There was no power outage that I am aware of (and it's ...
5
votes
4answers
3k views

mysql connection is slow (5seconds)

After building my webapp on a first boot i create 2 connections to mysql on debian then 1-2 (r/w) for every page after that. The connection consistently take 5.2 seconds to connect. Debian is in a VM ...
4
votes
2answers
2k 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 ...
4
votes
4answers
2k views

apt-get update mdadm scary warnings

Just ran an apt-get update on one of my dedicated servers to be left with a relatively scary warning: Processing triggers for initramfs-tools ... update-initramfs: Generating ...
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
3answers
2k views

apt-get update/upgrade list without changing anything

I would like to view what packages are available for update/upgrade without actually changing any files becuase there are some packages I wouldn't like to update. Would it then be possible to apt-get ...
3
votes
3answers
835 views

Slow disk I/O in KVM with LVM and md raid5

I have been battling with a kvm setup under debian for two weeks now, specifically with guest I/O disk performance. The system: -Supermicro 1018d-73mtf (X10SL7-F motherboard) -16GB ECC/UB -Intel ...
3
votes
1answer
354 views

Troubles with Dovecot + Webmin on Debian 6.0

I installed Apache, PHP5, MySQL and Webmin on a vps. I host my website on that. I completely reinstalled whole VPS with fresh installation of Postfix and Dovecot. But Dovecot fails to start, so ...
3
votes
1answer
618 views

Straight-forward to Virtualise with XEN or KVM on IBM Server System x3650 M4 791562G?

I want to built a virtualised Server Environment using XEN or KVM. The virtual machines should be purely debian systems - so XEN or KVM should be a sane choice. Now while buying servers, I am ...
3
votes
2answers
439 views

How to install package version that was removed from backports?

There is only one version of the libreoffice package in Debian Squeeze Backports: apt-cache madison libreoffice libreoffice | 1:3.5.4-7~bpo60+1 | http://backports.debian.org/debian-backports/ ...
3
votes
2answers
375 views

select() hangs due to resource exhaustion - but what resource?

Connecting to my server via sftp sometimes results in a hang here: if (select(max+1, rset, wset, NULL, NULL) < 0) { which is line 1428 from openssh 5.2p1's sftp-server.c (main loop of ...
3
votes
4answers
1k views

How to config mysql-server for heavy load

Im in the process of setting up a new database server. I have been running a few mysql database servers before and it has been working okay. But i would like to hear the recommended setup for my ...
3
votes
2answers
3k views

Why do I get GPG error when running apt-update for lenny-backports?

Alright, so I'm trying to upgrade (if you could call it so) to lenny-backports as seen here, but I ran into this error when running apt-get update: W: GPG error: http://backports.debian.org ...
3
votes
1answer
854 views

Exim4 - temporarily freeze outgoing emails from specific user

I need to temporarily freeze outgoing emails from specific sender with exim4. The sender logs in with remote SMTP (i.e. over TCP/IP). What I want to do is to freeze (but not deny) all his emails so I ...
3
votes
3answers
883 views

How to set an environment variable for a process spawned by the webserver?

In my setup (debian etch, lighttpd), one one my websites is calling a program for some image manipulation via PHP, I think. I'd like to change the behavior of this program by setting an environment ...
2
votes
2answers
135 views

Email notifications about hardware RAID status

I have a server with HP Smart Array hardware RAID controller. To monitor its status, I use cpqarrayd. /etc/default/cpqarrayd contains DAEMON_OPTS="-t localhost:162" to send SNMP traps when something ...
2
votes
4answers
288 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 ...
2
votes
1answer
251 views

virt-install ignoring vnc port/listen?

I'm trying to create kvm machine on remote host. The host is running debian testing. Did use this command: virt-install --name debian-test \ --os-type=linux \ --os-variant=debianwheezy \ ...
2
votes
1answer
2k views

Nginx startup fails ssl no such file or directory

Here is the error I'm getting: Reloading nginx configuration: nginx: [emerg] SSL_CTX_use_certificate_chain_file("/path/to/cert.pem") failed (SSL: error:02001002:system library:fopen:No such ...
2
votes
1answer
337 views

HP System Management Email notification Linux

Does anyone know of a way for a HP Linux server to send and email when identifying issues such as hard disk failure? HP System manament is installed however I can only see SNMP and no email options. ...
2
votes
2answers
361 views

Remake SW RAID1 from a new HDD and an old HDD with bad blocks

I have a SW RAID1 and I just replaced /dev/sda with a new HDD as the old one failed. Now, upon trying to recreate the RAID array I discovered that the "good" HDD (/dev/sdb) has bad blocks with prevent ...
2
votes
2answers
3k 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
1answer
499 views

Online resize logicaldrive on Smart Array P410i

On my HP Proliant server I have hot added 2 extra drives. To expand the current raid 1 array I used the following commands: hpacucli ctrl slot=0 logicaldrive 1 modify raid=1+0 hpacucli ctrl slot=0 ld ...
2
votes
2answers
842 views

Multiple IP addresses assigned to one KVM VM

System: OS: Debian 6.0 64-bit with KVM installed from packages KVM is managed with Cloudmin 6.4.kvm I have a /29 subnet from my host. The bridge is setup properly for each VM to have its own IP, ...
2
votes
1answer
1k views

Can't figure out why hard drive is full [duplicate]

Possible Duplicate: How do I find out what is using up all the space on my / partition? No Free disk space so I have 2 hard drives in my server, one main one that is 10gb and then a ...
2
votes
1answer
627 views

encryptfs auto-mounting script

I'm trying to make a script, that creates and mounts encrypted directory using ecryptfs(on ssh logons(with passphrase sent via pipe) and by some other scripts). I know about ecryptfs-setup-private ...
2
votes
3answers
9k 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 ...