Debian-Lenny is the codename for Debian GNU/Linux version 5.0.

learn more… | top users | synonyms (2)

20
votes
3answers
35k views

apt-get update getting 404 on debian lenny

Here is my /etc/apt/sources.list ###### Debian Main Repos deb http://ftp.us.debian.org/debian/ lenny main contrib non-free ###### Debian Update Repos deb http://security.debian.org/ lenny/updates ...
17
votes
3answers
40k views

Debian 5.0 (lenny) apt sources fail?

For the past few days, I couldn't update our apt-sources on Debian 5.0 (lenny). I get the following errors. W: Failed to fetch http://ftp.debian.org/debian/dists/lenny/main/binary-amd64/Packages 404 ...
16
votes
7answers
25k views

Disable a service from starting at all runlevels?

I have a service foo which currently starts at runlevel 3 and above. How can I stop it from doing so, without using update-rc.d foo stop 3 ., which (if I understand it correctly) would turn off the ...
10
votes
3answers
10k views

Is there a “standard” way to make daemon in Debian?

I need to create a daemon from the application in Debian. Is there any standard tool for this in Debian like "upstart" in Ubuntu? I need only start-stop commands, to start a program as a daemon with ...
7
votes
2answers
5k views

Why does the Debian Lenny git package not install git?

If I run the following command on Debian Lenny: apt-get install git ... I'm unable to use git: # git --version bash: git: command not found
6
votes
4answers
5k views

Nginx + PHP 5.3.3 (with php-fpm) - memory usage?

I recently bought Xen VPS (linode.com) with Debian 5.0 Lenny (i386), 512MB RAM. At the moment I have only three small websites (built with Drupal) with about 600 users per day in total running on this ...
6
votes
2answers
5k views

Best sysctl.conf configuration for high load - extremely busy content streaming server

What is the best sysctl.conf configuration for a high load, extremely busy content streaming server ? The server fetches the content from remote servers like amazon, s3, etc. then uses php to ...
5
votes
4answers
934 views

where is the last commands file

When using the command line as root in Debian I get last commands executed as root. Where are those saved, what is the default file path and how can I find it? thanks
5
votes
2answers
17k views

How do I delete a svn repository?

So, I created a repository like so: svnadmin create /path/to/repository What's the equivalent for deleting? I couldn't find it.
5
votes
3answers
2k views

How valuable is TCP Window Scaling?

On a busy† Debian Lenny server of mine I am considering disabling TCP Window Scaling. Why? I'd like to enable syn cookies, which disables TCP Window Scaling. This server is locally firewalled and ...
5
votes
3answers
720 views

Where is my space on /var being used?

I'm a novice linux admin and now responsible for the OS of a 3 node Tomcat cluster. (Tomcat is handled by the DEVs luckily.) I got alarmed by our monitoring solution that /var on server01 has only ...
5
votes
3answers
8k views

How do I install a new schema for OpenLDAP on Debian 5 with dynamic config=cn backend?

I'm importing an openldap database from another server and while importing, I got some errors with some users, the problem is that the mozillaAbPersonAlpha is not a valid objectClass. #!ERROR [LDAP ...
5
votes
4answers
5k views

Debian Lenny to Debian Squeeze upgrade problems

Yesterday I made a dist-upgrade on my Debian Lenny server. I thought it will be easy as an usual upgrade, but it's not. I got a lot of problem after the update: # apt-get upgrade Reading package ...
4
votes
3answers
17k views

How do I install Python 2.6 on Debian 5.0 (lenny) using apt-get?

After some digging and experimentation, I figured out how to install Python 2.6 on Debian 5.0 using apt-get. So I thought it best to post on SF as a question and answer. I know this can be manually ...
4
votes
1answer
4k views

SSL certificate: unable to get local issuer certificate [closed]

I'm running Debian (Lenny). When I run this: curl --ssl https://www.google.com I get this error: curl: (60) SSL certificate problem: unable to get local issuer certificate More details here: ...
4
votes
3answers
3k views

/dev/fuse “permission denied” even when member of fuse group

I have a backup script scheduled on a Debian 5.0 x86 server, via sshfs. However, when I attempt to mount the remote directory, I receive: failed to open /dev/fuse: Permission denied ls -l /dev/fuse ...
4
votes
1answer
5k views

LVM is reporting I/O errors, but the disk reports no problems. Argh

I've started seeing errors reported by LVM on certain Logical Volumes (and by Xen when attempting to create virtual machines on these LVs). But I've run tests on the disk, and can't see any hardware ...
4
votes
2answers
1k views

mysql error 1062 'duplicate entry' when restoring backup

Sorry, I seen similar threads but I still couldn't find it addressing my issue plus, I needed some more info on this. Requirement: To create an exact replica 'db4' of an existing DB 'db3'. Procedure ...
4
votes
3answers
2k views

How should I upgrade debian/xen machines from etch to lenny

I manage a server that currently runs Debian/Etch, and Xen 3.0. Each virtual machine is also running Debian/Etch. Lenny is the next release of Debian, and includes Xen 3.2. Unfortunately, I believe ...
4
votes
2answers
699 views

Converting Debian fstab to use UUIDs via linux-base?

We have a few Debian 5 systems that are still using /dev/hda in the fstab. We'd like to covert them to using UUIDs. This is supposed to be done automatically via the "linux-base" package (postinst), ...
4
votes
1answer
419 views

Strange ifup/ifdown behaviour on Debian Lenny

First of all, here is my /etc/network/interfaces auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 10.10.4.142 netmask 255.255.255.0 gateway 10.10.4.1 auto eth1 iface ...
3
votes
4answers
869 views

Disk encryption in Debian

I have a Debian Lenny server running a production application. Recently, we are being asked by a consultant to enable disk encryption for data security. He believes full disk encryption will require ...
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
2answers
186 views

Can a faulty DNS record prevent networking?

My server's network interfaces are not available anymore since yesterday evening. I didn't change anything, but I added a new DNS-record shortly before. Unfortunately, the web interface I used to add ...
3
votes
2answers
1k views

Error with Apache2 on Debian Lenny: “Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName”

I installed apache2 in Debian Lenny but when I give the command sudo /etc/init.d/apache2 reload it gives me a statement saying "Could not reliably determine the server's fully qualified domain name, ...
3
votes
2answers
1k views

Debian Lenny, Python 2.7 and mod_wsgi

I am running a Debian Lenny box, which comes with Python 2.5.2. I would like to run Python 2.7 for my WSGI apps only, keeping 2.5 as default for the system, but I cannot get it to work. First, I ...
3
votes
1answer
449 views

Upgrading Lenny to Squeeze over ssh

I am running an ISPConfig3 server with Lenny which I want to upgrade the Squeeze, however... I am not at the terminal and the server is in my server-hall. Can I upgrade Lenny to Squeeze over SSH? I ...
3
votes
1answer
216 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
2answers
2k views

Can't get PostgreSQL to run in Debian Lenny

I'm trying to install PostgreSQL 8.3 on Debian Lenny (kernel 2.6.26-2-686) using the package manager: sudo apt-get install postgresql-8.3 postgresql-client-8.3 postgresql-contrib-8.3 ...
3
votes
1answer
1k views

Installing Mercurial 1.5.1 on Debian Lenny

What's the easiest way to install Mercurial 1.5.1 on Debian Lenny? Can I safely install the package from the sid repository using apt-get, or should I compile it from the sources?
3
votes
2answers
257 views

Load average at 1, even though I've stopped all services!

I have a virtual server running Debian 5 where any action is very slow (like password verification when logging in via SSH or doing su). I checked the load average, which is hovering around 1-2. Then ...
3
votes
1answer
2k views

How to change the temporary upload directory nginx/passenger?

When a user uploads /tmp/stream* files are created during the upload. How do I can I change the temporary upload directory from: /tmp to: /home/user/tmp Running: nginx 0.8.53 Phusion ...
3
votes
1answer
1k views

Can't make Dovecot communicate with Postfix using SASL (warning: SASL: Connect to private/auth failed: No such file or directory)

Solved. I will leave this as a reference to other people, as I have seen this error reported often enough on line. I had to change the path smtpd_sasl_path = private/auth in my ...
3
votes
1answer
4k views

Getting hp-snmp-agents on HP ProLiant DL360 on Lenny working [duplicate]

Possible Duplicate: System load by HP-SNMP-Agents is high After receiving our HP ProLiant DL360 I'd like to integrate the machine into our Munin system and thus enable ProLiant specific ...
2
votes
2answers
116 views

Log Problem and bash script

I have 11 Debian servers running on rackspace cloud hosting. All running VHCS2 for hosting management. 1 server is used for application and 10 are used for only smtp. My question is regarding smtp ...
2
votes
3answers
1k views

Best practices for users/groups in Debian servers

On my server/vps after I initially get the credentials I: adduser meder visudo in visudo, at the far bottom: meder ALL=(ALL) ALL And from then on I use meder, along with the sudo command. Is ...
2
votes
4answers
837 views

Debian-Installation without keyboard?

i have to install debian lenny right now, but i can't find my keyboard for the server (just use a laptop). Is there a way to install lenny without a keyboard? thank you!
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
1answer
3k views

Server Alias With wildcard subdomain

So i am using WordPress network sub-domain setup. I had to put a *.mydomain.com as a server alias but now i also have a site subdomain.mydomain.com that leads to another directory. Is there a way of ...
2
votes
4answers
481 views

how to know that RAID 1 is installed?

recently we have a server crash, so we decided to mount a RAID 1 in our server. so we asked to the hosting, they told us that was needed to reinstall all the system again. so we make it, and now i ...
2
votes
2answers
391 views

the server's certificate did not match its hostname multiple domains on same server

I have 3 websites host on a single server, and only one of those website is using SSL. I bought, configured and installed a GoDaddy certificate and it is working fine on all browsers (Chrome, FF, ...
2
votes
3answers
2k views

How do I build debian packages of kernel modules?

Specifically, I want to build a package for debian/lenny using the latest uvc drivers. I can compile and install them, but I want them packaged in the normal debian fashion. I imagine I want to use ...
2
votes
3answers
755 views

Upgrade from Debian Lenny to Squeeze with apt-get

I just upgraded my system from Lenny to Squeeze following the steps posted here. I followed all the steps using apt-get (in the upgrade from Etch to Lenny i used aptitude as suggested) and the upgrade ...
2
votes
2answers
277 views

Trouble with Debian Lenny and Sphinx

I've very basic understanding of linux systems, but I've a server which was setup a while ago to host some web apps. Recently I decided to test out and implement Sphinx but unfortunately I cant get ...
2
votes
3answers
2k views

Why isn't fail2ban blocking failures?

This below is the output of fail2ban log. Nothing more shows up, but in auth.log I see like hundreds of failures for root user login (someone is bad ass brute forcing). 2011-07-06 01:48:16,249 ...
2
votes
3answers
2k views

How to configure bind9 to accept connections from other machines

I'm sure this has been asked in some form before but I'm completely new to DNS and inexperienced with Linux, so bear with me :) I have a VPS from OVH hosting that I've managed to configure to suit my ...
2
votes
2answers
1k views

Can I dist-upgrade without breaking LAMP?

I have a Debian 5 VPS which runs a LAMP stack and Redmine (Ruby) and DokuWiki for myself and some clients to use for organisational purposes. A apt-get upgrade request says that a lot of packages ...
2
votes
2answers
2k views

dist-upgrade to squeeze wants to remove apt

why does dist-upgrade to squeeze want to remove apt and how can I fix it? $ sudo apt-get dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done ...
2
votes
4answers
2k views

How do I get url rewrites to work on Apache 2.2 on Debian Lenny

I am trying to get mod_rewrite rules to work under apache 2.2 on Debian Lenny. To try to get it to work first I put the rules in /etc/apache2/mods-enabled/rewrite.load: RewriteEngine On RewriteRule ...
2
votes
2answers
378 views

error installing php-pear on Debian Lenny

[ps]$ sudo apt-get install php-pear Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: php-pear 0 upgraded, 1 ...