[tag:debian] is a popular Linux distribution. Squeeze is also known as version 6.0.

learn more… | top users | synonyms (2)

17
votes
1answer
1k views

Why does unpartitioned Hitachi HDS5C3020 drive start consuming 50% more power 15 minutes after boot?

In a Debian 6.0.6 system there are 74 pieces of 2TB Toshiba DT01ABA200 drives. These drives are identified as Hitachi HDS5C3020BLE630 drives running firmware revision MZ4OAAB0. 64 Drives attached via ...
10
votes
3answers
22k views

How can I upgrade PHP to a higher version for Debian Squeeze?

Currently, my PHP is on 5.3.3, how can I upgrade it? Also how can I upgrade anything? For example, if I want to upgrade phpMyAdmin as well?
10
votes
1answer
3k views

How to use a custom status command for a service in puppet?

I am using debian squeeze with PostgreSQL 9.1 from backports. Puppet has version 2.7.14. Unfortunatly the init script returns the wrong exit code for status. Therefore I wrote a custom status command ...
10
votes
2answers
871 views

Does Debian 6.0 (Squeeze) have buffer overflow protection mechanisms?

My question is: Which buffer overflow / stack smashing defenses (if any) are enabled by default in Debian 6.0 (Squeeze)? Ubuntu has a handy summary table showing the main security features of each ...
9
votes
3answers
849 views

mdadm raid5 recover double disk failure - with a twist (drive order)

Let me acknowledge first off that I have made mistakes, and that I have a backup for most but not all of the data on this RAID. I still have hope of recovering the rest of the data. I don't have the ...
8
votes
3answers
2k views

Linux- Is an MTA required?

My VPS image (Debian 6) comes pre-installed with sendmail as the MTA. I will use this server as a web server, and maybe other usages but not as a mail server. I want to remove as many unneeded ...
8
votes
1answer
4k views

Why does Cacti keep waiting for dead poller processes?

I am currently setting up a new Debian (6.0.5) server. I put Cacti (0.8.7g) on it yesterday and have been battling with it ever since. Initial issue The initial issue I was observing, was that my ...
7
votes
5answers
5k views

How can I automatically restart a process after it terminates?

I've got a golang program that I want to restart after it terminates on a Debian Squeeze box. The thing is serving HTTP behind an Apache 2 mod_proxy setup. I don't expect the process to fail, but ...
7
votes
1answer
2k views

rkhunter error message, how to fix?

I am receiving the following errors from rkhunter. I have recently upgraded my server from lenny to squeeze and this may have caused the problem. How do I fix this or hide the error messages? ...
7
votes
1answer
509 views

Do /usr/local and /usr/local/bin need to be group-writable? If so, why?

While it's possible that it's a fluke of a package I installed or the VPS image, it appears that /usr/local and /usr/local/bin (both of which are owned by root:staff) are group-writable by default on ...
6
votes
2answers
3k views

How do I provide dpkg configuration parameters to aptitude or apt-get?

When installing gitolite I find that: # aptitude install gitolite The following NEW packages will be installed: gitolite 0 packages upgraded, 1 newly installed, 0 to remove and 29 not upgraded. ...
6
votes
1answer
220 views

Syslog produces hundreds of lines

I have recently been "promoted" to lab admin, as I have the most experience with linux. My logcheck keeps sending me emails with hundreds of lines stemming from my syslog file. It repeats itself over, ...
5
votes
3answers
2k views

Postfix decides that it does not have enough disk space

FINAL RESULT I fixed this problem by resizing my xvda partition from 700MB to 10GB. I used Linode’s control panel to do that, which involved shutting down the VPS, running the resize operation, and ...
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
2k views

Debian server loses default gateway sporadically

I'm unsure of what's causing my instability but here's what I know: The server is running Debian with no GUI. I have a static IP, and /etc/network/interfaces is configured with a 'gateway x.x.x.1' ...
5
votes
3answers
992 views

SSH Kerberos authentication fails with “Wrong principal in request/Got no client credentials” on debian squeeze

I have a debian squeeze host where I can't log in with kerberos without a password prompt. An identically configured ubuntu 12.04 host works fine and can log in without getting a password prompt. ...
5
votes
2answers
288 views

Weekly cron executing 2 times:

I have placed a .sh file that runs a php script weekly. This script should run only once, but every sunday it runs at: 1:30 am 6:50 am Any way to fix this? OH CRAP in the first email the user ...
4
votes
4answers
634 views

How can I view updatedb database content, and then exclude certain files/paths?

The updatedb database on my debian (squeeze) server is quite slow. where is the database located how can I view its content and find out if there are some paths with useless stuff, that I could add ...
4
votes
1answer
181 views

Upgrade issue from Debian Server Squeeze 6 to Wheezy 7 - still on kernel 2.6

I upgraded from Debian Squeeze 6 to Wheezy 7 but it seems i am using the old kernel. # uname -r 2.6.32-042stab072.10 But i have the newer kernel installed # dpkg --get-selections | grep ...
4
votes
1answer
298 views

Raid5 with 3 / 2TB drives shows only 2TB capacity buy fdisk reports 4

Debian Squeeze 64 Dell R510. Can someone explain why df -h shows my raid 5 sata with 3 / 2TB drives shows up as 2.0T capacity but when I do fdisk -l it shows something different me@scf:/mnt/raid5$ ...
4
votes
7answers
13k views

How to fix locale settings in Debian squeeze

I occasionally get locale errors and I've tried to run dpkg-reconfigure locales to fix the problem. Here's the output: :~$ sudo dpkg-reconfigure locales perl: warning: Setting locale failed. perl: ...
4
votes
3answers
701 views

Remove Exim version number

I'm trying to get rid of the version number that you see when you get an email sent from Exim. Received: from user1 by site.org with local (Exim 4.72) I'v tried editing smtp_banner in these two ...
4
votes
1answer
2k views

Why does Debian squeeze forget its static IP address and seek a DHCP lease?

Hi have a Debian Squeeze box with eth0 and eth1. In /etc/network/interfaces is: auto eth1 iface eth1 inet static address 10.1.2.208 netmask 255.255.255.0 gateway 10.1.2.1 But every 24 hours, ...
4
votes
1answer
296 views

Can I disable all TTYs in an EC2 instance?

I am maintaining an ec2 bootstrapping script for debian squeeze on github. The setup has become very minimal and I try to justify all my changes to the standard setup. Currently I am wondering ...
4
votes
3answers
1k views

Run application as root without sudo

I have an application (VirtualBox) which I need to run as root user. I can run sudo VirtualBox just fine, but I want to have a shortcut on my Desktop which I only have to click on to start VirtualBox ...
4
votes
1answer
225 views

How can I get sudo to authorize me on multiple pty's with one password?

I'm running sudo version 1.7.4 on Debian squeeze. In this version, unlike some older versions, every pty has to be authorized separately with a password and timeout. In older versions, one password ...
4
votes
3answers
1k views

Is there a safer way to stop mysql(d)?

I'm running very hard php script on my cheap virtual machine, which has about half million page views a week so it's a bit problematic. I restart my mysql twice a day. That wouldn't be problem, but ...
4
votes
1answer
2k views

Software Interrupts CPU time is high and keeps growing

My system is a Debian 6.0.3 x86_64 box w/kernel 2.6.32-5-openvz-amd64, it hosts a number of OpenVZ containers. I have recently migrated from LXC/newer kernel from backports repo to the stable OpenVZ ...
4
votes
2answers
2k views

Error authenticating git repository with Redmine

I've setup Redmine 2.1 on my Debian Squeeze server following this Tutorial HowTo configure Redmine for advanced git integration (I tried to use the grack path). Redmine server is running properly, but ...
4
votes
1answer
849 views

Add image support to GD on Debian

I've recently replaced our aging (386) monitoring machine with something a bit more recent and because I had driver issues with CentOS I decided to use Debian 6 (Squeeze) instead. While in the past ...
3
votes
5answers
3k views

How do I setup a secondary incoming mail server?

I currently have a server running Debian 6, with postfix and dovecot handling email. This server hosts email for a number of domains and users, so I use MySQL as my backing store for users and ...
3
votes
3answers
798 views

Disabling a startup service

I am using insserv -r nfs-common to disable RPC. How do I know if it worked? Is there a way to list the services starting up? Is it supposed to disappear from /etc/init.d (because it still there)?
3
votes
1answer
3k views

manually rotating logfile with rsyslogd

I want to force logfile rotation using logrotate -f /var/log/syslog, but it's only return tones of: error: syslog:1 unknown option 'May' -- ignoring line error: syslog:1 unexpected text I know that ...
3
votes
2answers
2k views

Complete solution to upgrade PostgreSQL on debian production server

I'm using Debian 6 (Squeeze) in production for a couple of websites. I decided to use postgresql backports so that I could use PostgreSQL 9.0 features. I thought that it would remain 9.0 and receive ...
3
votes
2answers
812 views

Why does cron.weekly not run?

When I noticed that the backupscript I placed in /etc/cron.weekly on my Debian6 server isn't executed I placed this small script in it, to see if the weekly cronjob is executed at all: #!/bin/bash ...
3
votes
2answers
568 views

Why are some web clients requesting a page named “cache”?

We see errors like this in the apache error log: [Thu May 17 14:32:35 2012] [error] [client 192.168.1.1] File does not exist: /home/www-data/mywebsite.com/r/cache, referer: ...
3
votes
1answer
408 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
1k views

How do you set up RAID1 with both disks bootable on Debian/Ubuntu?

In Debian 6, new installation, what is the recommended way of setting up a software RAID1 array so that the system is bootable from both disks? I have heard that people that don't know what they are ...
3
votes
3answers
2k views

Why does TERM=xterm have to be set for my script to work correctly when remotely executed?

I'm attempting to automate the installation of a Debian server (debian 6.0 squeeze 64bit). Part of the installation requires the Sun JRE package to be installed. This package has a licence ...
3
votes
2answers
408 views

How to install package version that was removed from backports?

There is only one version of the libreoffice package in Debian Squeeze Backports: apt-cache madison libreoffice libreoffice | 1:3.5.4-7~bpo60+1 | http://backports.debian.org/debian-backports/ ...
3
votes
1answer
818 views

Why Is PHP-FPM Only Using One Process?

Looking at my PHP-FPM stats page, it looks like only one process is handling all of the connections right now. My guess is that requests are being executed so quickly, thus far, that it doesn't need ...
3
votes
4answers
2k views

How does ulimit come into effect on the fly?

I have added 2 lines in /etc/security/limits.conf myuser soft nofile 16384 myuser hard nofile 16384 ...which has no effect: su - sysctl -p su myuser ulimit -n 1024 It is important that this ...
3
votes
2answers
308 views

Linux shared writable directory recursively

How can I make a directory recursively read/writable to a group of users? PROBLEM: This is a directory used by apache so access rights should be fairly strict. The only way I could make it ...
3
votes
1answer
1k views

Very slow write performance on Debian 6.0 (AMD64) with DMCRYPT/LVM/RAID1

I'm seeing very strange performance characteristics on one of my servers. This server is running a simple two-disk software-RAID1 setup with LVM spanning /dev/md0. One of the logical volumes ...
3
votes
2answers
2k views

How to mount vfat drive on Linux with ownership other than root?

I'm running into trouble mounting an iPod on a newly upgraded Debian Squeeze. I suspect either a protocol has changed or I've tickled a bug, which I don't know where to report. I'm trying to mount ...
2
votes
2answers
653 views

How to set up Logwatch to receive high level messages immediately?

I have set up Logwatch on my (Debian) system. Mailing etc works well. What I would like to is to get a daily report of the system once a day And; To receive any high level (failed login attempts, ...
2
votes
4answers
511 views

Shutdown goes to uninterruptible sleep after sending wall message

I have a server which I'm administrating remotely over SSH, for various reasons, it needs to be restarted. However, when I try to do so, shutdown goes to uninterruptible sleep almost immediately after ...
2
votes
4answers
423 views

How important is it to keep size of log files down?

I have a LAMP server where logrotate does its job once per week, and I notice some logs tend to get quite large. For example, the apache access-log is 73MB. Is it better that I tell logrotate to ...
2
votes
3answers
15k views

How to investigate unexpected Linux server shut down?

In a new Xeon 55XX server with 4xSSD at raid 10 with Debian 6, I have experienced 2 random shut downs within two weeks after the server being built. Looking at bandwidth logs before shut down does not ...
2
votes
1answer
154 views

Abnormally high number of safe-upgrade packages on debian squeeze

One of our webservers which is running Debian Etch Squeeze (6.0.7) and which we regularly maintain with safe-upgrades (normally it's only a few safe-upgrade packages per week) now shows an abnormally ...