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

learn more… | top users | synonyms

1
vote
4answers
1k views

Is there any reason to use 64bit MySQL (and OS) on small databases?

I have a relatively small and happy MySQL 5.1 database living on a FreeBSD 7.1 64bit install. Because of incompatibility with our backup software and FreeBSD, I have to move the databases to a Linux ...
3
votes
3answers
13k views

Apache + LDAP Auth: access to / failed, reason: require directives present and no Authoritative handler

Can't solve this one, here's my .htaccess: AuthPAM_Enabled Off AuthType Basic AuthBasicProvider ldap AuthzLDAPAuthoritative on AuthName "MESSAGE" Require ldap-group cn=CHANGED, cn=CHANGED ...
6
votes
3answers
5k views

Linux only detects 2gb of RAM with 4 installed - i386 Debian Lenny

I have a machine with 4gb of RAM, but Linux is only detecting two in top and free. The BIOS reports 4. Running i386 Debian Lenny.
0
votes
2answers
1k views

Multiple MySQL instances via mysqlmanager under Debian

Has anyone got multiple MySQL instances running on Debian with mysqlmanager? Problem is, Debian doesn't ship with init.d script that takes mysqlmanager into account. Oh, and it doesn't work for me. ...
2
votes
3answers
2k views

apt-get upgrade failing on debianutils

Using apt-get dist-upgrade to upgrade software on a server, I get the following error: Extracting templates from packages: 100% Preconfiguring packages ... (Reading database ... 28575 files and ...
2
votes
4answers
2k views

Explain the output of dmesg

I am running a Debian system, and find the output of the dmesg command very helpful. Can somebody explain to me what information is output by the dmesg command? Is it a 1:1 correlation to the kern.* ...
0
votes
1answer
715 views

Debian update confuses GRUB with md0 not sda1

I removed a software RAID setup on a server I took over several years ago and everything worked fine until I upgraded the kernel the other day. It seems when debian updated the grub menu.lst file it ...
2
votes
3answers
846 views

Weird load issues running Courier IMAP inside Linode VPS

So... I see some very weird load issues on our e-mail server. It starts spiking around 8-9am (coincidentally that's when people start working), but it goes down around 11am or so. CPU usage remains ...
1
vote
2answers
4k views

Debian Lenny and php4 (along with php5)

PHP4 was removed from lenny package lists. Any suggestions what might be the best approach to install php4 (Apache mod and cli) on a lenny box without breaking php5? And possibly still having the ...
2
votes
2answers
325 views

What user/group should I make my web folders?

Server: debian4 / apache2 / php5 I have a vps and i usually only run websites that I administer, so I have loaded everything up under one username. Now I have an external developer doing some work, ...
3
votes
3answers
952 views

How can I get LAMP up and running with Debian?

I need to install Debian for a webserver on a dual-Xeon machine, and it must be as "secure" as possible, with whatever programs and features are available (Firewall, Antivirus, etc). I need basic ...
4
votes
5answers
13k views

How to use Active Directory to authenticate linux users

What are the best-practices for using Active Directory to authenticate users on linux (Debian) boxes? The way I would like it to work would be to add AD users to a group - say linux administrators or ...
14
votes
5answers
68k views

Huge amount of TIME_WAIT connections says netstat

Okay, this is creeping me out - I see about 1500-2500 of these: root@wherever:# netstat Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 ...
87
votes
8answers
76k views

How can I run Debian stable but install some packages from testing?

Say you're running a server and you don't want to upgrade to Testing (Squeeze) from Stable (Lenny) to just install a required package or two. What's the best way of installing only certain packages ...
19
votes
8answers
16k views

Should I have to enable automatic update on Debian lenny stable?

I have installed a new Linux Debian lenny server that will be a LAMP and a Subversion server. Should I have to enable automatic updates? If I enable it, I am sure that I have the latest security ...
2
votes
3answers
549 views

Constantly varying download rate with a complex xen networking setup, why?

The network configuration in my Xen setup is the following: the dom0 has 3 network cards (eth0, eth1, eth2), 3 brigdes (xenbrE, xenbrI, xenbrD) and each brigde integrates the corresponding network ...
0
votes
4answers
329 views

Mongrel cluster stops silently on EC2 instance running Debian 5.0.1

The problem doesn't occur very often, but still it surely exists and I'm not sure where to start from. I have grepped for the mongrel PIDs in /var/log/ and the only messages that contained them are ...
0
votes
2answers
513 views

set an expiration for ssh cache?

I use ssh to connect to a remote site (from ubuntu desktop to debian server). When I first connect a dialog pops up (probably from gnome or seahorse) asking for the passphrase, but from then on it ...
0
votes
3answers
378 views

cygwin termcap issue running top?

When logging in to a Debian Sarge install from cygwin, if I run top the output is "double spaced" for lack of a better word. The end result is that I can see the last few lines for the last few ...
3
votes
3answers
2k views

bad interpreter: Text file busy

For ages I've gotten used to editing Perl CGI scripts in "vi" and simultaneously having a browser open to test them. Lately, I've been getting "500" server errors when I do that, and when I run the ...
5
votes
3answers
3k views

Transactions and Rollback with Debian

I don't know if it is common knowledge, but RPM has support for rollbacking to a previous installation after performing an upgrade (which breaks something for instance). You can pass rpm the ...
46
votes
9answers
11k views

What's the difference between apt-get and aptitude?

I don't get why there are two different programs in a minimal install to install software. Don't they do the same thing? Is there a big difference? I have read everywhere to use aptitude over apt-get ...
6
votes
4answers
2k views

USB storage media - data integrity issues on linux

I've always been somewhat paranoid about verifying data backed up to removable media, so after copying stuff to a USB flash drive or portable HDD, I invariably unmount the drive, remount it and diff ...
9
votes
5answers
27k views

Why does apt-get update tell me to run apt-get update?

So I have this going on: # apt-get update Get:1 http://ftp.us.debian.org etch Release.gpg [1032B] Hit http://ftp.us.debian.org etch Release ...
4
votes
5answers
566 views

Do I need to stop services (Apache, MySQL) during software RAID 1 reconstruction on Linux?

Do I need to stop or limit services (Apache, MySQL, ...) during software RAID 1 reconstruction on Linux ? Is there a risk of corrupting or losing data ? I am using Linux MD devices (with mdadm) on ...
11
votes
7answers
22k views

Debian: Too many open files

I have long running process at Debian. At some point in throw an error "Too many open files". ulimit -a shows open files (-n) 1024 I wish to increase number of open ...
3
votes
5answers
2k views

Broken upgrade of debian, causing perl issues

So I stuffed an upgrade of debian, both upgrade and dist-upgrade. I am more used to yum but thats no excuse. Now things are being silly. The majority of things work, however, my bugzilla install ...
0
votes
3answers
247 views

Problem with samba shares / smtp server on local machine after apt-get upgrade

I have a pressing issue... I was silly and ran apt-get upgrade on our debian domain controller / internal smtp server and now the users (on WinXP & Vista) cannot access the network shares or smtp ...
0
votes
4answers
1k views

Copying from external device very slow

i am running debian lenny on my machine. The problem is when I try to copy data from usb device to my hdd, The transfer rate is very very slow, Even if i put 10MB file to copy it takes arround 15min ...
1
vote
1answer
409 views

Oracle Database character set issue with the audit tables on Debian

I've got Oracle XE installed on Debian linux and the character set is configured to AL32UTF8. There are several client applications that connects to a database from Windows with the different locales ...
4
votes
4answers
304 views

Halp! I screwed up Apache!

So I was adding a new site to my debian+apache2 setup and managed to blow up apache! Investigating the error logs revealed that I had forgotten to create the directory for the log files: [Tue Jun 02 ...
1
vote
3answers
383 views

How to start a linux distribution and hide the starting notice?

For some usrs, i'm installing a Debian 5.0 on their laptops. And when the system starts, they are scared of all the 'hacking-like' codes that the system notices. It is useful for me, but not for ...
3
votes
3answers
1k views

What is the format of specifying 'http' repositories in /etc/apt/sources.list?

After specifying the url of the repository, what do the tags like 'stable','non-free' mean in the entries of /etc/apt/sources.list ? If we know the url of a repository, how do we decide about these ...
4
votes
3answers
3k views

Preventing specific packages from getting installed in Debian

I've got several Debian servers, and I want to ensure that an X server never gets installed on them. Sometimes when I'm installing a package, it has dependencies that include X. Is there any good way ...
4
votes
2answers
8k views

BIND error - loading configuration: unexpected end of input

This is the error I get when executing /etc/init.d/bind9 restart Jun 1 10:43:29 local-dns named[2922]: starting BIND 9.5.1-P1 -u bind Jun 1 10:43:29 local-dns named[2922]: found 1 CPU, using 1 ...
0
votes
2answers
8k views

“mount: RPC: Timed out” when attempting to mount NFS filesystem

Following a reboot of an NFS server, client machines are unable to mount it, returning the message"mount: RPC: Timed out" I've ruled out iptables rules by clearing them /etc/exports on the server is ...
0
votes
5answers
1k views

Debian 5 Install Login Password

I just installed Debian 5 however the install didn't ask me for a root password. At any rate I can't log in because I don't know the root password. Is there any way to regain access or do I have to ...
0
votes
3answers
3k views

Boot Debian Linux from image on external USB drive

I have an external USB hard drive with one big VFAT partition. In order to run Linux occasionally on a Windows system, I'd like to maintain a Debian Linux installation in one big file (say ...
0
votes
5answers
568 views

Any up to date tutorial on how to setup Postfix + Dovecot with virtual users on Debian? [closed]

Any up to date tutorial (for dummys) on how to setup Postfix + Dovecot with virtual users on Debian?
0
votes
4answers
816 views

Personal repository address on netinstall

We've got a working lenny repository in our office. This is the sources.list line from a machine where the repo works fine: deb http://fai.foo.com/ftp.es.debian.org/debian lenny main contrib non-free ...
7
votes
3answers
7k views

How to stop git-daemon on debian

I'm running debian lenny server, and I've installed git on it. Now there is a git-daemon process (and appropriate opened port), but there is no /etc/init.d/git script that I could stop. I know there ...
1
vote
3answers
552 views

udev makes /dev/null unwritable?

Had two Debian stable (as of 2009-05-28) servers suddenly broken, when /dev/null became unwritable. It appeared that when I restart udev it sometimes (randomly) changes /dev/null permissions sometimes ...
4
votes
3answers
7k views

How can I enable X11 forwarding to a Debian server box?

I want to connect to a server with SSH (a Debian installation in a VMware image). On that server I want to call gitk a repository viewer for git. What do I need to do to make this work?
10
votes
4answers
19k views

How to add a script to startup and shutdown in debian?

the title pretty much sums it up. how do I add a startup.sh and shutdown.sh of my server app to the startup and shutdown sequence of the Debian OS?
2
votes
3answers
150 views

where would be a sane place to put the jre folder?

I'm installing a debian server. The server needs a specific version of java, so I'm installing from the self-extracting file. But I'm new to the linux world and I want to put the jre in a place that ...
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 ...
1
vote
4answers
281 views

Shutting down a Linux based NAS remotely and reliably

I have a Linux based (Debian 5.0) NAS that I need to shutdown reliably. When ssh'd into the NAS box I issue the following command: sudo shutdown -h now I've also tried 'poweroff' and su'ing into ...
35
votes
7answers
41k views

What is the debian-sys-maint MySQL user (and more)?

I have been bitten several times by the 'debian-sys-maint' user that is installed by default on the mysql-server packages installed from the Ubuntu repositories. Generally what happens is I pull a ...
1
vote
8answers
484 views

Easy to use server 'virtualization' software

I'm about to order a fresh server and I'd like to do some virtualizing on the server so that I can have "Virtual Dedicated' servers, what application would be recomended as an easy to user and ...
4
votes
4answers
2k views

How to switch from a custom Linux kernel to a distribution kernel

In my spare time, I help administer a hosted Debian Linux server that serves a variety of websites and hosts email for a few people. It doesn't see huge volumes of traffic, but of course we want to do ...