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

learn more… | top users | synonyms

1
vote
1answer
738 views

Disable Xserver autostart on Debian

How to disable Xserver autostart? I tried update-rc.d -f gdm remove but after reboot it started again...
1
vote
1answer
188 views

installing debian with debootstrap and lxc instead of debootstrap and chroot

So I need to 'install' (or rather prepare a root filesystem for) a Debian system and that was done with debootstrap and chroot before. However due to the not-very-existent isolation of chroots (with ...
1
vote
1answer
441 views

Can't configure PAM + LDAP on Debian Lenny - Getting error=49 on server logs

I've been migrating some servers and desktops using Ubuntu 10.04 from getting the users from an old OpenLDAP implementation to a newer Centos Active Directory. I haven't had any problems so far, until ...
1
vote
1answer
598 views

Unknown error executing gpgv

I have a single deb entry: # cat /etc/apt/sources.list deb ftp://debian.uchicago.edu/debian testing main contrib non-free I get this glitch when I update: #aptitude update ... W: GPG error: ...
1
vote
2answers
152 views

Software RAID 1 issue

I have a SW RAID 1 with 3 partitions and one of them seem not to be able to re-sync after a HDD failure/replacement. Here's some info: more /proc/mdstat Personalities : [raid0] [raid1] [raid6] ...
1
vote
0answers
113 views

My IPSec VPN isn't allowing me to connect

I'm following this guide to create an IPsec VPN on a debian server. I followed all the steps, and it still isn't working. If I try connecting to it, I get an error. I've looked for the logs, but I'm ...
1
vote
0answers
175 views

Lighttpd mod_accesslog not logging fastcgi requests

I have recently installed a lighttpd for serving a python script via mod_fastcgi. Everything works fine except that I don't get the requests handled by mod_fastcgi logged in the access.log file ...
1
vote
1answer
30 views

Can't start clear enviroment in debian

I want to clear all enviroment variables for a specific user. So when the user logins it should be the same as he called env -i /bin/bash i've tried to put this line in .bash_profile but it ...
1
vote
1answer
178 views

Courier IMAP stucks after authentication in Debian

I just updated my Debian and Courier imap is not logging in anymore. Pop3 service works fine. In the logs I can see that authdaemon authenticates, but imapd gets stuck and does not return OK. Logs: ...
1
vote
0answers
128 views

mini-dinstall chmod 0600 changes file: Operation not permitted

I'm getting "Operation not permitted" in the mini-dinstall.log everytime a new debian package has been uploaded on the custom debian repository using dput. The deb file is installed successfuly but ...
1
vote
1answer
931 views

Dovecot+AD not work

I have Windows Server 2008 R2 as AD server and Debian Squeeze with Dovecot 1.2.15 as IMAP server. When I try to login with telnet, Dovecot is freezing and do nothing. # telnet localhost 143 Trying ...
1
vote
0answers
554 views

Debian package performance on XFS, btrfs, ext3, ext4

I did 4 clean installations of debian 6 and measured time of installing some average virtual package. FS options are default. time apt-get install build-essential I got very strange results ...
1
vote
1answer
298 views

How do i setup exim4 to deliver email to my cyrus (sasl) and forward a copy of them to gmail?

Currently, exim4 forwards all email at my domains to my gmail account. (And my brothers' to their accounts.) Using a split configuration, (/etc/exim4/conf.d/routers/350_exim4-config_vdom_aliases) uses ...
1
vote
0answers
463 views

Heavy disk write on a Debian VPS gives “ata1: lost interrupt (Status 0x50)”

I have a new Debian VPS that appears to fail almost every time I run a heavy disk write test on ext4 filesystem. The filesystem goes to read-only mode and "ata1: lost interrupt (Status 0x50)" is ...
1
vote
1answer
262 views

Linux-Vserver: How to do upgrade Debian 5.0 to 6.0 on vservers and main machine?

I have server with debian lenny. I installed vserver on this server a few years ago. Summary I have 5 guest of vservers and main system, now. Each guest is debian lenny. Now, I'm wanting upgrade from ...
1
vote
1answer
636 views

Why is Jenkins not pulling in a browser?

I installed Jenkins on my debian server. It is set on port 8080 and when I try connecting to it nothing happens. I know it is running because when I do: root@jini01:/etc/default# /etc/init.d/jenkins ...
1
vote
2answers
70 views

Manage cron to clear cached directories

What would be the best way to manage a cron job which deletes files from multiple locations every week? When I say manage, I mean the different locations ideally this would work best in a MySQL ...
1
vote
1answer
163 views

Migration of dhcp server from windows 2008 server R2 to Linux Server

Right now we are running dhcp server on windows 2008 r2 server. We are planning to migrate it to debian / ubuntu based system. can any one tell me how to migrate the scopes & filters which are ...
1
vote
1answer
482 views

Debian virtual memory reaching limit

As a relative newbie to systems, I inherited a Debian server and I've noticed that virtual memory is very high (around 95%!). The server has been running slow for around 6 months, and I was wondering ...
1
vote
2answers
765 views

Using Squid on Debian, Cannot Connect Error

I am trying to set up Squid on Debian and am getting a connection refused error: squidclient http://www.apple.com/ > test client: ERROR: Cannot connect to 127.0.0.1:3128: Connection refused Here ...
1
vote
1answer
154 views

SSH stops at “using username” with IPTables in effect

We used UFW but couldn't make the Source Dedicated ports open, which was weird, so we purged UFW and switched to IPTables, using Webmin to configure. If the inbound chain is on DENY and SSH port open ...
1
vote
1answer
661 views

How to make uploading large (more than 1MB) files work with nginx, rails and uploadify

I have problem with my production nginx configuration (on my development machine with mongrel everything works). My environment is: nginx as proxy, rainbows as backend running rails 3.1 application ...
1
vote
2answers
356 views

Debian Squeeze, bash hangs after successful login

My problem seems to be identical to the question ssh hangs on "Last login" line , but the questions author did not post a solution. So basically: - I can login - I can see the successful ...
1
vote
1answer
698 views

Setting http auth type in phpMyAdmin on Debian

I'm trying to set-up the fresh phpMyAdmin install on my Debian 6 server to use http authentication rather than the cookie based auth that is default when it is installed. To do this, I edited the ...
1
vote
1answer
103 views

File permissions: Problems with SGID

I have set a directory's SGID and every file created in this directory get the directory's group instead of the users one. That works perfect. But i want to do the same when a user edits the file. ...
1
vote
0answers
51 views

install whitelist of packages using unstable in debian

i want to just some packages installation from unstable version of debian. apt-get -t unstable install myspecialpackage but when i apt-get upgrade it will wanting to download some packages from ...
1
vote
1answer
536 views

Error updating Percona Server

I'm getting errors doing a regular aptitude safe-upgrade of percona-server-server-5.5, I'm already running a version of percona server 5.5 Setting up libmysqlclient18 (5.5.20-rel24.1-217.squeeze) ...
1
vote
0answers
169 views

Nginx equivalent to lighttpd “evhost.path-pattern”

I'm setting up a new server for my personal stuff. On the old box I've used lighttpd for almost two years now. I've read a bit about it and most people tend to switch to nginx since it's development ...
1
vote
2answers
317 views

Setting up Nginx + PHP / MySQL on Debian 6 with current versions

I am trying to make the switch to nginx from apache, but I am not very experienced with bash so I am having some trouble. I am trying to install on the latest stable version of nginx, PHP 5.3.10, and ...
1
vote
1answer
1k views

Can't install new database in OpenLDAP 2.4 with BDB on Debian

I'm trying to install an openldap server (slapd) on a Debian EC2 instance. I have followed all the instructions I can find, and am using the recommended slapd-config approach to configuration. It all ...
1
vote
1answer
413 views

DebianEDU repaire broken ldap database & dhcp server

We a have DebianEDU 5.0.9 codename lenny Last week it crashed, DHCP I get error: Cannot find host LDAP entry dhcp (&(objectClass=dhcpServer)(cn=dhcp)) LDAP: no space left on device, ...
1
vote
1answer
174 views

Re-uploading file with unicode filename creates identical duplicate

I'm running a Django site on a Debian 6 system, with a gunicorn server and nginx 0.7.67 handling static files. The filesystem locale is set to sv_SE.UTF-8. I got a problem where another user uploaded ...
1
vote
1answer
378 views

Linux LTO-4/5 Drive Encryption

For a number of reasons I have been trying to find a way to encrypt my backup tapes. I'm currently running Bacula for my backups and it's support for Drive based encryption is I have to call a script ...
1
vote
2answers
713 views

ext3 will trim be supported?

Current linux kernel version supports trim however Debian Squeeze uses an old version that does not. As I understand, the trim support is in the linux kernel itself and not a specific filesystem. ...
1
vote
1answer
1k views

debian boot to recovery mode

I wrote a start up script that goes to an infinite loop but I forgot to start the process as a separate thread (&). Because the script runs as a daemon, it also gets stuck when shutting down. Now ...
1
vote
1answer
61 views

Dedicated Debian Package Server

We've got a series of debs for different projects and different environments to install them in: dev, build/test qa (less formal), qa (formal), and production. I would really like to create a system ...
1
vote
0answers
162 views

Truncated output from PHP, no errors

I've installed SugarCRM Community Edition on Debian 6.0.3 connecting to MSSQL with FreeTDS. I can use the system as normal except for one deal-breaker problem. On login, I get a blank page outputted. ...
1
vote
2answers
374 views

Some questions on UDP send receive buffer, and networking

I have two debian servers located on the same subnet. They are connected by a switch. I am aware the UDP is unreliable. Question 1: I assume the link layer is ethernet. And MTU from a standard ...
1
vote
3answers
291 views

Modify Debian firewall rules programmatically

I'm currently deploying on Rackspace Cloud Servers with Debian installs. I have an application that uses a remote coordinator which communicates with all of my servers in order to start various ...
1
vote
0answers
425 views

XFS Project Quotas on Debian Squeeze

I'm trying to set up project quotas with XFS on a debian box and run in some problems when defining the quotas i get back an error cannot set limits: function not implemented Am i missing something? ...
1
vote
1answer
226 views

NGINX server_name issues

I have the following simple server block on NGINX: server { listen 80; listen 8090; server_name domain.com; autoindex on; root /home/docroot; ...
1
vote
0answers
585 views

Can Samba veto files,except specified directory?

OS:debian 6.0.3 kernel:2.6.32-5-adm64 samba 3.6.1 here is my smb.conf [global] workgroup = Workgroup server string = Share Server hosts allow = 192.168.1.0/24 wins support = yes dns ...
1
vote
1answer
485 views

How to install bundler gem on Hetzner server?

I am trying to install bundler using the following command: gem install bundler but recieve this error: ERROR: could not find gem bundler locally or in a repository Running command gem list ...
1
vote
1answer
237 views

Why does this preseed for gitolite fail?

I'm installing gitolite on a Debian Squeeze box with the following preseed: gitolite gitolite/gituser string git gitolite gitolite/adminkey string ssh-rsa AAAAB3ECT ...
1
vote
2answers
443 views

Uploading to a Samba Share at less than a MB/s?

I have a Debian box on which iv plugged in a usb external hard drive formated with NTFS. This HDD is 2TB. I mounted that usb drive using mount: mount -t ntfs-3g /dev/sdf1 /media/backup I then ...
1
vote
1answer
438 views

Static networking not working with Squeeze KVM guest

I just installed Debian Squeeze as guest on an Ubuntu Server KVM host with bridged networking. I have other Ubuntu Server guests running on the same host, all the VM use static IPs. When I use DHCP, ...
1
vote
0answers
391 views

Debian 6.0.3, Freeradius 2.1.10, PostgreSQL 8.4 High memory Usage

We are running a Freeradius server on a VMware server and we have a high memory usage that I am trying to troubleshoot. We are running the PostgreSQL 8.4 as the database backend on the same server for ...
1
vote
1answer
332 views

top vs vmstat on Debian squeeze/xen

I'm running a squeeze DomU on xen 4.0.1 which is completely unloaded. I notice a difference in cpu states between iostat and top like: top (in every iter): Cpu0 : 0.2%us, 2.0%sy, 0.0%ni, ...
1
vote
2answers
255 views

Postfix & amavis on a dedicated server

I have 3 servers: server 1 and 2 are listed as mx servers for different domains and server 3 is for amavis/spamd/clamd filtering for both server 1 & 2. My plan is to have 'first pass' postfix ...
1
vote
1answer
301 views

Server went to sleep mode

I've setup a new Dell Poweredge R410 server with debian squeeze. If the server is idle for a longer time it seems to go to sleep mode. If I ping the server, it doesn't answer for 10-20 seconds and ...