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

learn more… | top users | synonyms

1
vote
2answers
1k views

How to include Debian repository from different architecture

I am running AMD64 Debian. I need to install software from external vendor which supports i386 architecture only. While I can add their repository to sources.list, those i386 packages do not appear ...
1
vote
1answer
430 views

How can i run apache2 on EC2 Amazon Debain?

I want to install apache2 on EC2 Amazon instance and access it from internet . I have installed apache2 sucessfully using command apt-get install acache2 After that I checked status of apache2 ...
1
vote
2answers
1k views

Dovecot suddenly stopped working. HELP! “can't auth”

I am running out of ideas here.. I've been trying to fix this for 3 hours. Box is debian lenny. Mail.log contains the following: Can't connect to auth server at /var/run/dovecot/auth-master: No such ...
1
vote
1answer
2k views

saslauthd and PAM: “Too many open files” error - saslauthd restart fixes this - what is wrong?

I have a Postfix mail server running Debian Squeeze. SASL authentication for secure SMTP is supported by saslauthd which relies on pam, which relies on winbind. This pattern seems to be reoccuring ...
1
vote
2answers
464 views

Should I run 32 bit and 64 bit production applications on a 64 bit Debian server?

I need to run 2 proprietary C++ applications, one is 64 bit and the other is 32 bit ,on a production Debian GNU/Linux server. Both have a lot of dependencies for libraries provided by debian. Here ...
1
vote
1answer
2k views

KVM - Problem installing Windows 2003 guest on Debian Lenny 64bit Host

I have a Debian Lenny 64bit host and had kvm installed with a windows 2003 working just fine but i noticed how old the kvm version in the standard packages was so I decided to update using debian ...
1
vote
2answers
364 views

sendmail not working

I'm trying to use the mail() function in PHP on a Debain Linux server. I have 2 web servers running. One is in a chrooted setup. The server that's not chrooted works fine, the other one wont send ...
1
vote
2answers
457 views

How do I know what connections has my debian server blocked?

In short, I am actually looking for the log files to see any incoming connection being blocked in debian lenny server. Or any other way to know? I am using iptables
1
vote
1answer
137 views

Debian packaging, updates to a database

I've a planned consecutive updates on a debian package I have for internal use on several servers. Now, the updates have to happen one after each other at different times and some of the servers ...
1
vote
2answers
897 views

How can I disable default +t channel mode in ircd-hybrid?

I have a Debian server running ircd-hybrid, which gives every new channel +t flag, meaning that only channel operators can change channel topic. This is not very practical, since we use operator ...
1
vote
1answer
233 views

How to block users from seeing others processes?

Generally it's one of the functionalities of (For example) grsecurity - user sees only his own processes, and not all others. But - I'd prefer to avoid installing grsecurity - perhaps something like ...
1
vote
2answers
350 views

Debian: Way to forward ports to another server with original ip-address?

Imagine I have multiple (debian) servers in different locations which are not connected via LAN. I need to find a way to forward specific ports to one of the other servers but the server which ...
1
vote
2answers
129 views

Why is my newly created package not installing properly? Did I create a conflict?

I am on Debian Lenny and I had nginx 0.7.65 from lenny-backports installed. I needed the uwsgi module so I added the deb-src for lenny-backports and did apt-get source nginx. This grabbed the 0.7.67-3....
1
vote
1answer
719 views

How can I mount one of my linode boxes as a remote server to another?

I have two linode VPS's running debian lenny and I would like to use one of them for my production server and the other for static media ( nginx ). I have a django admin setup on my production server....
1
vote
2answers
2k views

Sendmail smrsh alias script piping problem on Ubuntu/Debian

I have been banging my head against this problem for 2 weeks. What I am trying to do is pipe a sendmail alias (catchall for a virtusal domain) to a php script. However, I always get the following ...
1
vote
3answers
3k views

SVN post-commit user permissions

I've a debian webserver with subversion running on it. I'm trying to use post-commit script to update my staging version of my site. #!/bin/sh /usr/bin/svn update /home/sites/example.com/www >&...
1
vote
2answers
472 views

How do I add swap automatically when creating instances on Ganeti 2?

I'm using the ganeti2 package on Debian 5. Instance creation goes pretty smoothly, except that it doesn't configure a swap disk automatically, and I'd like it to do so. Googling around, I found ...
1
vote
1answer
500 views

Looking for an addressbook (web)application that read/writes LDAP

In an existing infra-structure based on Debian/Cyrus/Exim/Horde/LDAP I'm trying to make all the clients (OSX and Windows 7, preferably also iPhone and blackberry) work with a centralized LDAP ...
1
vote
1answer
604 views

Lighttpd vhost config

I am running lighttpd on Debian. Is there a way I can place my virtual host designations outside of the /etc/lighttpd/lighttpd.conf file? I want to try for a cleaner approach, as my file is getting ...
1
vote
2answers
449 views

Ubuntu vs Debian for lighttpd and mysql servers

I am totally used to running a Debian system for my lighttpd server and MySQL. Would there be any benefits to running an Ubuntu 10.04 web and mysql server vs my Debian 5 web server any mysql servers? ...
1
vote
4answers
5k views

how to: rescue Data from MySQL (only files on HDD left)

After eventually managing to upgrade my debian virtual server from etch to lenny. (Read here for the full story: http://serverfault.com/questions/168808/debian-upgrade-from-etch-to-lenny-fails) I now ...
1
vote
2answers
1k views

linux timestamp permission error with winscp

I added a user to a group and set the file and dir content to 775. When i use winscp to modify a file it complains it cant set the timestamp bc of a permission error. But it is able to update the file ...
1
vote
1answer
5k views

Sysctl config for high performance, large activity

We have some server with a huge amount of visitors (every minute, every day). Basically we had a nice fine-tuned sysctl config for this purpose. (If you don't modify it, it starts to behave strangely)....
1
vote
1answer
3k views

Debian preseed late_command is not executed

On /var/log/installer/cdebconf/questions.dat i says this: Name: preseed/late_command Template: preseed/late_command Value: wget http://suportrecerca.barcelonamedia.org/Utilitats/preseed/postscript/...
1
vote
1answer
1k views

I've been hacked, and now I'm a bit confused about some things

I noticed yesterday that my site has been hacked, and I'm really confused about some things at this point. All of the files - as far as I can tell - that were edited or added were done so with a ...
1
vote
1answer
329 views

Remote Debian System Preventing Logon

I have a dozen or so single board computers on a network running Debian (squeeze) and access them via ssh (ssh server is dropbear). To give an idea of the hardware of these computers they're 1.2 GHz ...
1
vote
3answers
5k views

Write permissions on uploaded files - Linux, Apache, PHP

I am working on a PHP script that transfers files using FTP functions. It has always worked on my production server (which is a hosting service). The development server I have just setup (I am a ...
1
vote
2answers
4k views

Setting up a DNS name server for a mass virtual host with Bind9

I am trying to set up a chrooted DNS name server in a local LAN like this everyone connected in the LAN can have access to the mass virtual hosts defined for a development ambience without having to ...
1
vote
1answer
3k views

not able to install g++ and gcc on debian [closed]

I want to use directadmin as my web control panel and it needs several packages like g++ , gcc and etc... as usuall I started to type apt-get install g++ and there problems start : dependecy error......
1
vote
1answer
2k views

Xen won't start after it had been working

I've been setting up this Debian Stable system with a dom0 and 3 domUs. It was working fine for several days, and I'm almost ready to deploy it to the rack. But last night I shut it down with all ...
1
vote
1answer
6k views

Debian Apache2 SSL Issues - Error code: ssl_error_rx_record_too_long

I'm setting up apache on Debian lenny and having issues with SSL. I've been through numberous tutorials and i had this working on Ubuntu server, but for the life of me can't get anywhere with Debian. ...
1
vote
2answers
453 views

Suggest a sms-gateway

I'm looking for good SMS gateway to deploy on Debian machine. Can anyone please suggest good one. Which has UI. Because we are configuring to a client. Thanks in advance.
1
vote
4answers
15k views

NFS: Server says “authenticated mount request”, but client sees “access denied”

I have two machine, an NFS server (RHEL) and a client (Debian). The server has NFS set up, exporting a particular directory: server:~$ sudo /usr/sbin/rpcinfo -p localhost program vers proto port ...
1
vote
3answers
2k views

How to make an ISO copy of Linux-filesystem and user files of VPS Debian based?

I have a Debian-Based VPS on some hosting. I want to migrate from it and i need to make a full copy of all Linux-filesystem (and installed packages) + all home directory with website files. And then ...
1
vote
3answers
714 views

apache2 process hangs after some time

We have a dedicated server, with the following configuration: AMD Athlon (tm) 64 X2 Dual Core Processor 5600 + Memory: 4GB OS: Debian 4.0, kernel: 2.6.18-5-amd64 Apache/2.2.3 PHP/5.2.0-8 MYSQL: 5.0.32 ...
1
vote
2answers
2k views

Whats the cleanest way to get mod_xsendfile installed on debian lenny

I would like to get mod xsendfile installed on my debian lenny server but I can not seem to find a deb anywhere not even on backports When installing from source : http://tn123.ath.cx/mod_xsendfile/ ...
1
vote
3answers
254 views

What is the best way to upgrade my kernel in a debian stable production system?

I have a vps which runs a LAMP stack to serve mainly drupal installations. Today a new kernel version for debian has been released. What is the best way to upgrade my machine to minimise any risks?? ...
1
vote
1answer
904 views

Debian netboot via PXE required files

I'm trying to perform a netboot to install Debian on a spare PC I have. I'm using a Windows XP Pro box as the "server". It has a TFTP/DHCP server set up and running on it, but the information on which ...
1
vote
3answers
194 views

Make interface attachment permanent in Xen 3.2.1 Debian Lenny Dom0

I'm trying to add interfaces to a DomU (either on the fly or after reboot) and the attach-interface script works just fine. The problem is that when I reboot the DomU the interfaces added are "lost".....
1
vote
1answer
861 views

Running a shell script with its owner's privileges

On a Debian (5.0.3) server I have a user svnsync who owns a certain shell script: -rwsrwsr-x 1 svnsync users 119 Dec 21 13:45 mirror-svn.sh I'd like everyone in the users group to be able to ...
1
vote
3answers
97 views

how do you track transfer usage on a per account basis?

When you have a server that hosts websites for other people, curious how you track transfer usage per account? (debian/ubuntu)
1
vote
2answers
147 views

Make Aptitude respect get-selections list

We are several admins working on hundreds of debian servers. Some are using aptitude, some are using apt-get. To mark packages on hold, some use "echo $package hold | dpkg --set-selections", some use "...
1
vote
1answer
830 views

debian and apache2 install

I just logged in to my newly purchased VPS server that used debian and tried to install apache2, here what happens as a root: vs12-101:/# apt-get install apache2 Reading package lists... Done ...
1
vote
1answer
441 views

On Debian server, downloads stall out after one or two seconds using apt-get

I have a Debian server that is used primarily as a very low-traffic web server. Recently it began having some trouble regarding its network connection. I am able to use SFTP to upload a file to this ...
1
vote
1answer
530 views

Chrooting a ftp user to a particular directory

I would like to chroot a user to their home directory on a debian linux server. Im using vsftpd server. I've done it with a user before, and now cant remember how to do it. I've limited ssh access to ...
1
vote
6answers
432 views

Firefox execution fails from a root executed script with privilege drop

I can't run firefox from a sudoed python script that drops privileges to normal user. If i write # sudo python >>> import os >>> import pwd, grp >>> uid = pwd.getpwnam('norby')[2] >>> gid = grp....
1
vote
2answers
4k views

how to connect debian vmware from putty on the same pc

Hello all i install debian on vmware player , and its working fine now i like to connect with my putty to the vmware debian but i dont know how , when i do ifconfig -a im getting only my router ...
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 ...
1
vote
1answer
26 views

DIG domain ns couldn't be reached

I installed Powerdns with Debian Jessie and i added NS record and other DNS records in PowerAdmin when i test the record added with dig it gives no servers could be reached, i added both name servers ...
1
vote
1answer
26 views

Upgrade nginx from source

On debian Jessie, I installed nginx via apt-get. Now I want to upgrade to the latest nginx to take advantage of http2. I was unable to add it to the source.list file because it's a Raspberry PI. I ...