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

learn more… | top users | synonyms

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
367 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
537 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
733 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
579 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

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
461 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
3k 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 ...
5
votes
5answers
4k views

Find (and kill) old processes

Basically I need to be able scan the process tree and find processes that match a certain name and started running more than a week a go. Once I have them, I need to kill them. All the processes are ...
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
2answers
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
947 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 ...
3
votes
3answers
664 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
335 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
580 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
403 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
353 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
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
1answer
762 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
783 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
4answers
197 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
1k 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
236 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
260 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
2k 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
416 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
1answer
202 views

Changing time or offsetting it in OpenVZ contained server

I am trying to run a VPS, a Debian box contained in an OpenVZ container. Obviously, I cannot use time --set or any such command, as the time must be set via the parent node. The owner of the parent ...
2
votes
2answers
737 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
783 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
553 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
2answers
969 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
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 ...
2
votes
3answers
1k views

Is debian lenny-backports safe to use on lenny?

I want to upgrade my packages to newer versions but my server is still on lenny. I've read a bit that lenny-backports may come in help here. Could you please tell me what to do to upgrade to ...
2
votes
4answers
895 views

Debian and dotdeb packages

I'm not very experienced with servers administration. I want to give a try to Debian Squeeze for one of our servers (rather than an Ubuntu) to experience the real differences ;) After reading a lot ...
2
votes
2answers
808 views

Linux IPv6 loopback routes getting automatically added

We have a router running Debian Lenny that has been happily routing IPv6 for several months. Our upstream has advised that our address range is changing, and both are currently operational, so I ...
2
votes
1answer
1k views

Postfix “SASL authentication failure: No worthy mechs found”

Trying to use postfix with smtp to connect to google's smtp. When trying to send mail, I get this error: Sep 15 14:04:41 zedsaid postfix/smtp[20271]: certificate verification failed for ...
2
votes
2answers
4k views

Is adding users to the group www-data safe on Debian?

Many PHP applications do self-configuration and self-updating. This requires apache to have write access to the PHP files. While chgrp'ing them all to www-data appears like a good practice to avoid ...
2
votes
3answers
6k views

Setting Up FTP user accounts on Debian

I'm trying to set up an FTP account on my server which is running a Debian install and proftpd. I'm in need of some basic commands that will allow me to view, edit, create ftp users. I'm also not ...
2
votes
7answers
6k views

Why am I getting “write queue file: No space left on device” from postfix when there's 5GB of free space on disk?

It started happening today... all of a sudden, no apparent reason! Here's the output from df: assp:~# df -k Filesystem 1K-blocks Used Available Use% Mounted on /dev/simfs ...
2
votes
3answers
205 views

Is there a big difference in working with Fedora and Debian servers?

Is there a big difference in working with Fedora and Debian servers? Does either have better community support?
2
votes
4answers
637 views

how different are ubuntu and debian (generally) for servers?

curious as to how debian (lenny) and ubuntu (Hardy) differ in their server versions? This is an open question I know, but if there are general differences or major areas that one can point out to me ...
2
votes
2answers
3k views

Python simple http server and virtual machines - can't connect. Ip changed?

I sometimes use python -m SimpleHTTPServer one liner to serve files from my vms for download to my host. Today i tried to use it inside virtualbox vm that is under NAT network settings - i typed this ...
2
votes
3answers
2k views

CentOS, Debian or Fedora for an Ubuntu User? [closed]

I've got the choice of these three systems for a VPS package I think I'm going to go with. My main experience is with Ubuntu so what do you recommend to go with? The VPS will basically be used for ...
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
vote
2answers
341 views

cannot reinstall python2.6

I am trying to reinstall python2.6 on debian 6 but I get: root@ff: apt-get install --reinstall python2.6 Reading package lists... Done Building dependency tree Reading state information... ...
1
vote
1answer
121 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 \ ...
1
vote
1answer
260 views

How to add nginx file upload module to Debian Squeeze?

I need to use nginx upload module in my Debian Squeeze server. I already have installed nginx and nginx-extras. the nginx version is 1.4.2. From the package description of nginx-extras, it seems that ...
1
vote
5answers
4k views

After installing Mysql 5.6 the server can't start

The mysql server is installed on a clean install of Debian 7 Have tried this serveral times each time on a clean install of Debian installation # apt-get update && apt-get upgrade # ...