Questions tagged [debian-squeeze]
Debian is a popular Linux distribution. Squeeze is also known as version 6.0.
472
questions
67
votes
3
answers
206k
views
php cli memory limit
I am getting a memory error in a php cron job:
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 71 bytes) in /opt/matrix/core/lib/DAL/DAL.inc on line 830
The ...
44
votes
2
answers
57k
views
Do some debian builds not have lsb_release?
A .deb package I am releasing expects that it can call lsb_release. One customer using Debian 6.0.5 indicated that the lsb_release command (even in the terminal) produces a command not found error. ...
24
votes
13
answers
65k
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: ...
20
votes
7
answers
122k
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 ...
20
votes
1
answer
5k
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 ...
17
votes
3
answers
78k
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?
16
votes
3
answers
39k
views
"Cannot set terminal process group" during su to another user as login shell
Note: Please read the updated information starting with "EDIT" near the halfway point of this post - the environment and background of this problem has changed
I've got a bog standard Debian 6.0 ...
16
votes
1
answer
48k
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 ...
15
votes
3
answers
11k
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 ...
14
votes
3
answers
97k
views
ldap_modify: Insufficient access (50)
I am running an OpenLDAP 2.4 server that uses the SSL service for communication. It works for lookups.
I am trying to add mirror mode replication.
So this is the command that I'm executing:
...
11
votes
5
answers
22k
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 I'...
11
votes
3
answers
4k
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 ...
11
votes
6
answers
36k
views
logrotate won't rotate my logs automatically
I have two different (i386 v AMD) Debian boxes and have the same problem. logrotate won't rotate my logs automatically. It works fine when i force it manually like
/usr/sbin/logrotate -f /etc/...
11
votes
2
answers
22k
views
order of nameservers in resolv.conf
In which oder are the nameservers stated in resolv.conf used for name resolution?
Is there a way to influence this order?
Is this behavior distribution dependent? (I'm using Debian Squeeze)
11
votes
1
answer
15k
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 ...
11
votes
2
answers
1k
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 ...
10
votes
1
answer
7k
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 ...
9
votes
3
answers
19k
views
AMaViS: missing X-Spam-Status header
I set up a mail server with Dovecot, Postfix and AMaViS on Debian Squeeze following the tutorial on workaround.org (ISPmail tutorial for Debian Squeeze). It uses virtual domains and stores the domains,...
9
votes
3
answers
12k
views
How to install packages with APT without user interaction?
I have a script that downloads and replaces kernel headers in Debian squeeze.
function fixHeaders(){
#Replace the kernel headers from OVH with standard kernel headers...
aptitude -y install ...
9
votes
2
answers
20k
views
modprobe not found at all
I know that a lot of people had problems finding modprobe which was mostely due to an unconfigured $PATH. This time however I logged into a machine (Linux mymachine 2.6.32-6-pve #1 SMP Mon Jan 23 08:...
9
votes
1
answer
5k
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?
Warning:...
9
votes
5
answers
31k
views
IPv6 only works after pinging the default gateway.
We now have 2013 and I thought it is long overdue to activate IPv6 on my server. But unfortunately, I ran in some problems. To be honest I only have litte experience with IPv6 So I hope you can help ...
8
votes
2
answers
7k
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
...
8
votes
3
answers
7k
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.
...
8
votes
4
answers
8k
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 ...
8
votes
2
answers
19k
views
Unable to authenticate using Apache and authnz_mod_ldap in Active Directory
I have a problem with Apache2 authentication using authnz_ldap_module in order to authenticate users from Active Directory.
My Apache version is 2.2.16-6+squeeze10.
Here is the configuration I am ...
8
votes
3
answers
25k
views
Is it possible to enable TLS v 1.2 in Debian squeeze
I am currently running a Debian Squeeze server with Apache. My OpenSSL version is 0.9.8, and I would like to get up to a version capable of running TLS v 1.2. So far my research shows that this is ...
8
votes
2
answers
15k
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.
...
8
votes
4
answers
28k
views
Access OpenVPN client network from server
I have setup an OpenVPN connection between a Windows 2012 Server and an Debian Linux machine.
The windows machine is the server and the linux machine is running openvpn as client.
I can ping and ...
7
votes
3
answers
13k
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 ...
7
votes
4
answers
4k
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 ...
7
votes
1
answer
2k
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 ...
7
votes
4
answers
5k
views
postfix check warns me that some files differ
If I run postfix check on my debian squeeze server, I get this:
postfix/postfix-script: warning: /var/spool/postfix/lib/libnss_nisplus-2.11.3.so and /lib/libnss_nisplus-2.11.3.so differ
postfix/...
7
votes
4
answers
10k
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' ...
7
votes
3
answers
13k
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 ...
6
votes
5
answers
9k
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 ...
6
votes
1
answer
29k
views
systemctl not found on debian squeeze
I want to execute
systemctl enable perl-fcgi.service
But I get
bash: systemctl: command not found
Why is there no systemctl on debian 6.0 and how can I get it?
6
votes
3
answers
46k
views
Remote desktop to my KVM virtual machine
I've got a dedicated server running Debian 6. I've set up a windows 7 virtual machine using KVM. Now I'm trying to get Remote desktop working. I'm guessing i have to do some port forwarding.
The ...
6
votes
3
answers
19k
views
NFS share problems - RPC: fragment too large: xxxxx
We have a virtual server with an NFS share that is written to by other servers. Today the NFS share became inaccessible. The syslog was full off messages like this:
RPC: fragment too large: 311176
...
6
votes
1
answer
55k
views
ifdown interface not configured (Debian 6) [duplicate]
My server is dedicated (non-virtual). I want to have 3+1 static IPs.
I used aliases (eth0:0, eth0:1) previously, but read that this method is deprecated. So I added another IP and reconfigured my ...
6
votes
1
answer
8k
views
Duplicate config files with .dpkg-dist extension
I have noticed a number of duplicate files such as the default Apache vHost, I have both:
- default
- default.dpkg-dist
Will Apache still read the .dpkg-dist file extension?
6
votes
2
answers
4k
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 ...
6
votes
1
answer
2k
views
preseed command string fail with newline character using virt-install initrd-inject
I am creating a new virtual machine using libvirt's virt-install command. The command pulls a local preseed file from the hypervisor using initrd-inject:
virt-install \
--autostart \
--name vm1 \
--...
6
votes
1
answer
6k
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 ...
6
votes
1
answer
5k
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 the ...
5
votes
2
answers
19k
views
Postgres connection establishment slow
If I wan to connect to postgres 9.1.1 db on debian lenny with PgAdmin, it takes >15 seconds until the connection is established. There is nothing to see in the logs why it takes so long.
Any ideas ...
5
votes
5
answers
6k
views
How to patch CVE-2015-0235 (GHOST) on Debian Lenny and Squeeze?
There is a right way to patch GHOST on Debian Lenny and Squeeze?
According to this link there are no plans to patch Lenny
https://security-tracker.debian.org/tracker/CVE-2015-0235
Thanks!
5
votes
1
answer
312
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
2
answers
5k
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, ...
5
votes
1
answer
1k
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 ...