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

learn more… | top users | synonyms

6
votes
1answer
878 views

Time too quick in debian, 72 minutes pass in system date in one real world second

Having trouble with system date/time in GNU/Linux/Debian: Time goes too fast for date, time, cron. The sleep command works fine, file modification times are correct. The issue explained via commands: ...
5
votes
3answers
11k views

How to force Linux to reacquire a new IP address from the DHCP server?

The environment is Debian, although the answer will apply to all distros.
5
votes
7answers
10k views

What is a recommended way to patch the Shellshock Bash bug on an unsupported Ubuntu server?

I maintain an out-of-support Ubuntu Quantal server (12.10), don't ask me why please, and we need to patch the Shellshock Bash security bug. As upgrades are not available anymore, what is the ...
5
votes
8answers
4k views

How do I add outbound only mail service for local tools to a 'minimal' debian system?

I have several servers running applications on debian. Each has the packages it requires for the application, and no more. Currently, none have mail sending capability. However, I would like the ...
5
votes
6answers
3k views

What is the perfect setup for a small Linux virtual server?

I have my own email server, and it serves a couple of dozen users. I need to replace it right now, and I want the replacement to be a virtual server image running under a hypervisor. My plans for ...
5
votes
5answers
2k views

Disable/Remove Apt(-get)

Is there anyway to disable/remove apt-get on a debian based server. I'd prefer to use aptitude, and don't want the other users to be installing packages with apt-get, to avoid package/database issues. ...
5
votes
2answers
588 views

Load Average above 20 for single core vps on debian

OS: Debian 6.0 RAM:3072 M, CPU:single core. top: top - 08:56:43 up 21 days, 12:37, 1 user, load average: 28.38, 22.48, 15.95 Tasks: 8 total, 1 running, 7 sleeping, 0 stopped, 0 zombie ...
5
votes
2answers
7k views

How to completely remove a package in Debian?

I tried to use this: aptitude remove denyhosts And it seemed successfully but after a reboot after I use: ps aux | grep "denyhosts" I see denyhosts is still loaded after startup. So what am I ...
5
votes
3answers
2k views

How can I uprade my software RAID1 set of drives?

I've got two 600GB drives in a software RAID1 setup on a physical Debian server. I want to be able to upgrade the capacity of the server by cloning the drives to a matching pair of 2TB drives. I can ...
5
votes
2answers
628 views

Low memory application priority

I'm running Debian on a machine that has limited memory and no option to add swap space. The machine serves as a web and database server. The problem I'm seeing is that when multiple web requests come ...
5
votes
4answers
409 views

“The Right Way” to enable modules / virtualhosts in Apache

Debian systems (and perhaps others) have the following layout in /etc/apache2/ mods-available/ mods-enables/ sites-available/ sites-enabled/ The default setup has a tonne of files in both ...
5
votes
4answers
4k views

Check integrity of Debian system after possible rootkit?

I have a system that was possibly rootkited (the IRC bot was installed and +ai attributes were set on /usr/bin, /usr/sbin, /bin, /sbin). The IRC bots were deleted and system was upgraded to 5.0.4 from ...
5
votes
4answers
6k views

Locate and updatedb doesn't work. What should I do?

My locate command doesn't work, but I found out I had to run updatedb. However, upon invoking that command, bash says bash: updatedb: command not found. What should I do?
5
votes
2answers
868 views

How to version lock packages in Ubuntu? [duplicate]

On CentOS exists the yum versionlock option, where you can lock a package to a specific version, so it is never upgraded past that. I would like that puppet-server-2.7.19-1 puppet-2.7.19-1 stays ...
5
votes
2answers
2k views

SSH from PuTTy to Debian “authorized_keys is not a regular file” Error

I cannot connect from my Windows 7 computer using PuTTy to a newly configured Debian Squeeze server using SSH RSA key authentication. I get this error when running SSH in debug mode: User myuser ...
5
votes
3answers
262 views

Can I place my script in /usr/bin?

I wrote a small bash script for starting, stopping and restarting my java applications and I want to make it available to all users so they could run it. Should I just place it in /usr/bin to do that? ...
5
votes
2answers
2k views

push commits to git (gitolite) repository messes up file permissions (no more trac access)

already posted here so feel free to answer there. everytime i commit/push something to the git server the file permissions change (all added/edited files in the repository have no read and execute ...
5
votes
4answers
3k views

mysql connection is slow (5seconds)

After building my webapp on a first boot i create 2 connections to mysql on debian then 1-2 (r/w) for every page after that. The connection consistently take 5.2 seconds to connect. Debian is in a VM ...
5
votes
6answers
4k views

Why would anacron not be running?

I have a Ubuntu system that has anacron installed. However I'm pretty sure it's not running. It's not running the commands in /etc/cron.daily to rotate the syslog files (I'm using sysklog, which has ...
5
votes
3answers
11k views

NTP is running, system clock still not in time - what gives?

A Debian Stable (5.0.3) server is running ntpd, and connected to the internet. Still, the system clock is about 5 minutes wrong. $ /etc/init.d/ntp status NTP server is running.. Relevant parts (I ...
5
votes
2answers
2k views

init script is not getting installed to /etc/init.d

I have a source package where I want to add a simple init.d script. I know dh_installinit should help : when I run it, it creates examples of postrm, prerm, postinstall to perform an update-rc.d ...
5
votes
5answers
383 views

Generating erroneous traffic for testing

I remember that in Linux (when doing make menuconfig) somewhere there was an option that said something like this: Use this only if you want to generate network traffic, or if you want to ...
5
votes
1answer
3k views

How to reset sysctl to it's OS defaults?

I couldn't find an answer in the man pages for sysctl. My sysctl.conf file is still at it's default state, I'm testing several values and loaded new settings via sysctl -p newsettings.conf. I though ...
5
votes
1answer
1k views

how to enable ls highlighting in Debian

I'm a Centos user and have just started my first Debian install. In Centos the ls command lists output in color to indicate whether an item is a file, directory, symlink and if a file/directory is ...
5
votes
1answer
477 views

DHCP-Server - tell clients to renew lease

I have just set up a new DHCP server (dhcpd - package is dhcp3-server) on a Debian 6 box.The new server is up and running, and I have successfully connected a client. Formerly a router acted as the ...
5
votes
6answers
3k views

In Linux/Debian, did the passwords (/etc/passwd) ever been stored as plain text?

Someone is telling me so and I have some doubt but I can't find any information on the web.
5
votes
2answers
2k views

Dependencies from a .deb file

Given just a .deb file, how do I get the list of dependencies?
5
votes
3answers
4k views

debian 6 preseeding keeps asking “Write the changes to disks and configure LVM?”

I try to use an expert recipe configuring lvm for debian 6.0.5 netinstall. I don't want to be asked any questions, but it keeps asking me "Write the changes to disks and configure LVM?" Here is part ...
5
votes
1answer
4k views

HP DL380 G7 + Smart Array P410i + sysbench -> poor raid 10 performance

I have running system with low IO utilization: HP DL380G7 ( 24gb RAM ) Smart Array p410i with 512mb battary backed write cache 6x SAS 10k rpm 146gb drives in RAID10 Debian Squeze linux, ext4 + LVM, ...
5
votes
3answers
2k views

In Ubuntu Linux, how do I list packages installed from the “universe” repository?

On an Ubuntu 10.04 LTS server, I want to list installed packages and see what repository they come from. It’s easy to list installed packages, but it does not include the name of the repository (such ...
5
votes
5answers
2k views

Can anybody tell me how to create my own local package repository for my packages in Ubuntu?

I want to create a package repository for my packages in ubuntu and this repository will be using in multiple Ubuntu systems to install and update packages.
5
votes
3answers
212 views

Audit files on a Debian box

Is it possible to list every file on the system that does not belong to a package? or if they have been modified? Might need to use something like: apt-get, apt-files, dpkg-query, etc For context, ...
5
votes
4answers
1k views

What are the performance implications of running VMs on a ZFS host?

I'm considering migrating from ext3 to ZFS for data storage on my Debian Linux host, using ZFS on Linux. One killer feature of ZFS that I really want is its data integrity guarantees. The ability to ...
5
votes
2answers
513 views

Puppet sometimes can't find standard facts like osfamily

Quick brief - for testing purpose, I installed puppet agent on 5 nodes (Debian Squeeze + puppet 2.7.20-1puppetlabs1), and puppet master on 1 server (same version). On puppetmaster side in every ...
5
votes
1answer
3k views

Postfix TLS over SMTP - RCPT TO prompts renegotiation then 554 5.5.1 Error: no valid recipients

I've setup ispconfig3 on my debian six server, and here is a little smtp over ssl: The server is postfix AUTH PLAIN (LOL!) 235 2.7.0 Authentication successful MAIL FROM: lol@lol.com 250 2.1.0 Ok ...
5
votes
3answers
2k views

Debian: How do I check the last time package upgrades/updates were run?

I want to know when we last ran the package upgrades/updates on our Debian server.
5
votes
3answers
3k views

Rsync over ssh with root access on both sides

I have one older ubuntu server, and one newer debian server and I am migrating data from the old one to the new one. I want to use rsync to transfer data across to make final migration easier and ...
5
votes
1answer
896 views

Debian DNSSEC - howto secure a domain?

I have a beginner question about DNSSEC. I have much experience with TLS and cryptography-stuff and would like to try out this new technology. I have googled very much about this but I haven't found ...
5
votes
3answers
548 views

Clock is 10% faster than normal

I'm having some strange problem with the clock on my server – it's about 10% faster than normal. The problem started 2 days ago and I've not done anything special with the server. I tried to turn of ...
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 ...
5
votes
4answers
4k views

Amazon EC2 tools for Debian?

What is the recommended way of getting command-line Amazon EC2 tools on Debian? So, basically the same as this question, but for EC2 instead of S3. Ubuntu has ec2-ami-tools and ec2-api-tools, but I ...
5
votes
2answers
314 views

Logins take a long time

After upgrading to Debian 7.4 password authentication from any service take a long time. This is true for SSH logins, sudo'ing and authentication with dovecot (which is configured to use PAM). I am ...
5
votes
1answer
216 views

Doing a remote fsck - possible?

We've been deploying fanless PCs for a research study. Some of these are having HD issues as their OS runs from an SD card. I'm seeing cases where I need to fsck a folder or two. I've tried using ...
5
votes
2answers
10k views

How to install Mysql 5.6 on Debian 7 wheezy

I'm trying to install Mysql 5.6 on Debian 7 Wheezy.. After installing the mysql database/folder /var/lib/mysql/mysql is empty # groupadd mysql # useradd -r -g mysql mysql # apt-get install libaio1 # ...
5
votes
1answer
447 views

100% packets dropped on first RX queue on 3/5 raid6 iSCSI NAS devices using intel igb (resolved)

Edit : The issue is resolved. The Queues in question have been used for Flow Control Packets. Why the igb driver propagated FC packets up to have them dropped (and counted) is another question. But ...
5
votes
1answer
5k views

Gitolite clone not working as intended

I am running a Debian system, and have recently installed gitolite using the DEB package. Here is my problem: I have tried to clone the gitolite-admin.git repository (which is used for configuring ...
5
votes
5answers
7k views

Debian Squeeze Hyper-V Drivers

I have a fresh Debian 6.0.0 (Squeeze) server running on Hyper-V and I'm trying to get the synthetic drivers loaded into the kernel (2.6.32-5-amd64). The research I've done says that the Linux ...
5
votes
1answer
5k views

debconf: DbDriver “config”: /var/cache/debconf/config.dat is locked by another process

I ran apt-get upgrade on my debian/testing system and now I get the error above. How can I fix this? shell transcript follows: 136 upgraded, 0 newly installed, 0 to remove and 40 not upgraded. 1 not ...
5
votes
3answers
2k views

server virtualization: hypervisor (xen) or virtualbox?

Hey guys! I just set up a debian server for websites but now I need to install a windows server on the same machine because I need to run a game server (windows-only). Virtualbox is already installed ...
5
votes
2answers
116 views

debian, diff, config default

I want to know if is posible to get the diff on the original versus the current config files of installed debian packages. If found an answers which shows up the modified config files, but I find no ...