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

learn more… | top users | synonyms

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
109 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
2answers
87 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
1answer
439 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 ...
2
votes
1answer
3k 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
806 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 ...
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
4k 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
324 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

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

How do I know what processes are using the network?

Sometimes I can see heavy usage of network in my Gnome System Monitor. I wonder what process is downloading/uploading data. Is there any tool which can show me: what processes are using the Internet ...
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
639 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
11k 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
103 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
387 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
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
445 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
893 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
32 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
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
455 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
604 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
797 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
616 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 ...
11
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 ...
10
votes
1answer
4k 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 ...
8
votes
3answers
2k views

Linux- Is an MTA required?

My VPS image (Debian 6) comes pre-installed with sendmail as the MTA. I will use this server as a web server, and maybe other usages but not as a mail server. I want to remove as many unneeded ...
6
votes
1answer
518 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 ...
3
votes
3answers
1k 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
389 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
660 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
483 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
1answer
526 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
2answers
425 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 ...