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

learn more… | top users | synonyms

0
votes
1answer
2k views

Nginx running on Debian lenny, how to add SSL?

Some time ago I installed Nginx and Passenger on Debian lenny with... sudo apt-get install nginx sudo gem install passenger sudo passenger-install-nginx-module This is what I get when I do nginx -V ...
5
votes
2answers
2k views

Duplicate incoming TCP traffic on Debian Squeeze

I have to test a homebrew server that accepts a lot of incoming TCP traffic on a single port. The protocol is homebrew as well. For testing purposes, I'd like to send this traffic both : - to the ...
1
vote
2answers
646 views

terminate a processed launched by nohup

I have loaded debian etch into my NAS and I am trying to use it to routinely extract information from a website. Since there are quite a lot of pages to download, I used the nohup command, like this: ...
0
votes
1answer
904 views

Installing nginx get “Broken packages”

I'm trying to install nginx apt-get install nginx on my Debian Lenny, but I can't cause of this: The following information may help to resolve the situation: The following packages have unmet ...
0
votes
1answer
524 views

How to create backups when upgrading Debian?

I want to upgrade my Debian lenny to squeeze but as I'm doing it for the first time I was thinking how to create the backup mentioned in the release notes: The main things you'll want to back up ...
2
votes
2answers
1k views

Debian, mdadm, Degraded Array, disk became spare after re-added

Tonight i received a message generated by mdadm on my server: This is an automatically generated mail message from mdadm A DegradedArray event had been detected on md device /dev/md3. Faithfully ...
4
votes
1answer
530 views

Tie a process to specific CPU cores

I have a Debian server with software-RAID and a quad-core processor. Once all cores are under full load, the RAID system has a huge IO delay. The server is running some very CPU-expensive jobs. Is ...
1
vote
1answer
1k views

Logging on Debian (squeeze) broken

I just noticed that the logging system is broken on my debian machine, syslog is empty and nothing is begin added into the syslog. I need to fix this, but where do I start ? What would cause this ...
2
votes
1answer
1k views

Concerned about the content of ip_conntrack

Summary Server OS: Debian Squeeze Web Server: Apache2 IP Tables 'script': arno-iptables-firewall There are 170 entries in /proc/net/ip_conntrack on the server. At present, 134 of those relate to ...
1
vote
1answer
116 views

Vendor specific hardware in KVM hypervisor

We use KVM hypervisor on Debian Linux (current stable) on Fujitsu server. Is it possible to configure KVM in way that it mimicks normal Fujitsu hardware? We have some software that is Fujitsu only ...
2
votes
2answers
3k views

How do I enable characters like [Æ, Ø, Å] in PuTTY/Debian?

I'm using VIM through PuTTY to work on my development server, but it gets rather difficult when I have to work on files containing characters like those mentioned in the title. Not only does it make ...
0
votes
1answer
146 views

Response time for nginx different for Longest transaction and Shortest transaction

I run test for this nginx conf: server { listen 80; #error_log /var/log/debug.log debug; server_name test1.ostrovok.ru; location / { fastcgi_pass 127.0.0.1:12345; ...
0
votes
4answers
2k views

PHP not running scripts, downloading them instead

I know, a very typical problem, but I run out of ideas. Yes, the module is installed: # aptitude search libapache2-mod-php5 i libapache2-mod-php5 ...
3
votes
1answer
602 views

Is it possible to repartition a running Debian system without losing data

We need to resize the partition that is mounted to /var on a running machine. The only way to access it is via SSH, so live CD is not an option for us. Can we repartition the file system without ...
1
vote
2answers
881 views

php go-pear.phar on Debian Testing does nothing

I have a fairly fresh Debian Testing install, and I am trying to install PEAR / PECL but when I run the command nothing happens. I don't want to install the PEAR package in the Debian repositories ...
4
votes
2answers
1k views

Debian init script from scratch

I am trying to write an init script for the SCST iSCSI target software for Debian / Ubuntu. The current one in the download does not work and seems to be outfitted to work on SuSE and others. This ...
2
votes
1answer
377 views

Using OpenVPN on Two Linux Machines *not on the gateways* to link the networks over the internet

I am running OpenVPN linking two linux machines on two networks. These machines are not the networks' gateways. There are also separate DD-WRT routers which are acting as the gateways on both ...
2
votes
1answer
556 views

Connecting two networks together with OpenVPN

I have two Debian boxes sitting on two separate networks. I am trying to set up an OpenVPN link across the internet between the two and I've hit a little roadblock. I would like to set this up so ...
1
vote
2answers
785 views

VPS - The easiest way to start sending email

I have installed (clean) Debian 6 on VPS, and I am running a Django-powered application on it. Everything works fine, except that I need to set up SMTP to enable my application (meaning sender is ...
2
votes
1answer
343 views

60 second php mail() delay through browser / Apache, but no delay through commandline

I am having a problem on my server when the PHP mail() function is being used in a browser, so through Apache. When the script, lets call it mailtest.php, is being called through a browser, there is ...
10
votes
1answer
4k views

How can I tell if a disk is failing on ESXi / what do these errors mean?

I have a server running VMware ESXi v4.1.0 348481. It has a hardware RAID10 and a SATA backup drive. I have a VM running which has it's primary boot vmdk on the RAID10 datastore, and a 600 GB vmdk on ...
0
votes
2answers
2k views

cron doesn't execute its commands [duplicate]

I created an own small server with Debian. Last night i updated it. It created an error while generating the initrd and it didn't boot. Today i booted from another filesystem and did dpkg --configure ...
1
vote
2answers
482 views

lastcomm command shows no results

I'm trying to monitor a user's activities on my Debian server. I found, after Googling that the acct package should help me log all commands and let me filter them by user. I installed the package, ...
2
votes
1answer
1k views

Jailkit not allowing SSH connections

I'm trying to set up jailkit on one of my servers which is running Debian 5. I created a new ssh user (bob) and a chroot directory for him (/var/www/bob). I gave the chroot the extshellplusnet and ...
2
votes
1answer
111 views

What does the rm -rf recur do, when used in a cron?

I have a basic understanding of cron jobs, but I came across a tutorial today which recommends adding: 30 3 * * * wget http://www.mywebsite.com/bamboodir/index.php/recur 31 3 * * * rm -rf recur ...
1
vote
2answers
292 views

Copying a server to a local VirtualBox

I have customers with VPSs in various hosting companies, using the following OSes, Ubuntu, CentOs, Debian, and Suse I'd like to create VirtualBox images locally for testing purposes. What is the ...
0
votes
2answers
224 views

change htaccess password daily

I want to protect a sub domain where the user is only given access for 1 day. Is it possible to set up a cron job that will automatically update a .htpasswd file with a new password daily?
1
vote
2answers
383 views

Send weekly email with breakdown of hard disk space used/free

I would like a bash script that sends me a weekly email displaying the breakdown of disk space used based on a array of file list. Would this be possible using the df -h Had a look on Google to find ...
5
votes
1answer
847 views

Apache authentication against LDAP fails for passwords with umlauts

When authenticating against LDAP (Active Directory, Server 2008) from an Apache server I get the following message in the error log: authentication failure for "/": Password Mismatch This only ...
3
votes
2answers
5k views

How do I reset default .bashrc (debian wheezy)? [closed]

I messed up my .bashrc file. How do I get to the default one that was initially created with my home directory?
1
vote
2answers
543 views

Debian etch apt-get issues

I'm new to this area of Linux. I have a linux box which says kernel version is 2.6.18-4-amd64. It's been working as it for a long time. I needed to install subversion on the box, hence I tried ...
0
votes
1answer
397 views

Wildcard vhost subdomains with 301 redirect

At the moment I create a .htaccess file which redirects non-existent sub domains to the root URL. E.g <VirtualHost *:80> ServerAdmin www@example.co.uk ServerName example.co.uk ...
3
votes
1answer
384 views

KVM guests are very slow after host upgrade to Debian Squeeze

Yesterday I upgraded a Debian Lenny server to Squeeze. This server hosts two KVM guests. One has run Debian Squeeze itself all along, the other was originally Debian Lenny, upgraded to Squeeze the day ...
-1
votes
3answers
214 views

What's the best solution for 99.999% Up-time to end users? [closed]

I'm looking for a solution to make sure my site stays accessible as much as possible on a long term basic, what i might need is just a simple DNS management solution (I don't know but i would like ...
0
votes
1answer
361 views

Installing latest stable ruby (1.9.2 p290) with apt-get

This is on a debian server. But is this possible?
0
votes
2answers
241 views

Transferring mails and user setting to new mail server

We have a mail server running Debian 5.0. It is one year old now but we want to deploy a new server with Ubuntu Server 10.04. The problem is that we want to transfer all the user mails and settings to ...
0
votes
1answer
466 views

sources.list entry for mod_security testing release?

I have a debian "squeeze" installation, but the mod_security delivered with this release is quite old. So I'm thinking of adding an additional line to my sources.list to get the "wheezy" version ...
0
votes
3answers
786 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 ...
4
votes
2answers
1k views

Best practices for placing SSL certificates for use in Apache 2?

In an environment where a handful of Apache servers are running a bunch of sites using SSL certificates for HTTPS, where should these certificates be placed? In Debian or Ubuntu, should all relevant ...
1
vote
1answer
253 views

How to enable Chinese on Debian lenny? [closed]

I have already installed Chinese fonts $ sudo apt-cache search chinese $ sudo apt-get install ttf-arphic-bkai00mp ttf-arphic-bsmi00lp ttf-arphic-gbsn00lp ttf-arphic-gbsn00lp ... added locales $ ...
0
votes
2answers
1k views

Installing Proxmox VE with RAID on a MSI 890FXA-GD70 board

I'm trying to install Proxmox VE on my server with a MSI 890FXA-GD70 motherboard, the RAID array is a on-board SB850 array. My RAID setup is: 2x500gb Western Digital Caviar Blue Setup in RAID1 ...
2
votes
3answers
299 views

How can I run a batch of commands inside one “screen” window?

I'm using screen (LINUX) to run servers or task, but I want to put more than one task in one screen, is it impossible? Like: screen -A -m -d -S test_screen userdel -r user_test && useradd -m ...
0
votes
1answer
477 views

Node.js doesn't load after reboot using upstart on debian squeeze

I have been dabbling with Node.js lately, and I came across this article on how to get it to start automatically after a reboot: http://howtonode.org/deploying-node-upstart-monit In particular, the ...
7
votes
4answers
431 views

How to know what user belongs to what ip on debian

is there a way to get an overview of users logged in on my server and the ip they are connecting from ? I have the IP already, I want the user that is associated with it :)
1
vote
1answer
5k views

logrotate won't rotate my logs automatically

I have two different (i386 v AMD) Debian boxes and have the same problem. logrotate won't rotate my logs automatically. It works fine when i force it manually like /usr/sbin/logrotate -f ...
0
votes
2answers
1k views

LXC container network/routing issues

I have been experimenting with LXC virtualisation in order to run virtual machines on a dedicated server, but am having trouble setting up the networking properly. I am using veth bridged networking, ...
2
votes
2answers
923 views

Using postfix to relay/forward to gmail

I have set-up postfix on Debian 6 and I would like to forward emails to my gmail account. This is my /etc/postfix/main.cf file: # Debian specific: Specifying a file name will cause the first # line ...
1
vote
1answer
172 views

Warnings about partition tables on /dev/md? during preseed installation. (Debian Lenny)

I'm setting up an environment to install many Lenny machines at once and I need to avoid any dialog with the process, corner cases aside. One thing that consistently troubles me is that after my ...
2
votes
2answers
42 views

Are upgrades of system-critical libraries used immediately

Given a security fix for a system-critical library like libc. Debian-based distros will publish after a few hours / days packages for it. But is the library immediately used for already running ...
2
votes
2answers
101 views

Is there a way to add a ppa using the python apt module?

I need to add a ppa to remote servers using a python script. The bash equivalent of what I want to do is: $ add-apt-repository ppa:user/ppa-name I'm assuming it would look something like this: ...