34 votes
Accepted

"Cannot set terminal process group" during su to another user as login shell

su - username is interpreted by your su to mean "run username's shell as an interactive login shell" su username - is interpreted by your su to mean "run the following non-interactive command (-) as ...
user avatar
  • 456
33 votes

Do some debian builds not have lsb_release?

Not all Debian builds have lsb_release. For example, even the official Ubuntu Docker image does not have lsb_release. The alternative is to use cat /etc/os-release.
user avatar
  • 929
16 votes

How to fix locale settings in Debian squeeze

first: sudo apt-get purge locales then: sudo aptitude install locales and the famous: sudo dpkg-reconfigure locales This rids the system of locales, then re-installs locales and downgrades libc6 ...
user avatar
  • 369
13 votes
Accepted

modprobe not found at all

Update for 2016, debian Jessie (re)install kmod package
user avatar
  • 246
10 votes

logrotate won't rotate my logs automatically

I had a similar issue but crontab was working and for some of the log directories logrotate worked but for some it didn't. When I tried to run the logrotate manually, I got some error messages. user@...
user avatar
  • 101
10 votes

ldap_modify: Insufficient access (50)

As I had a quite similar problem, I tried daff interesting solution but to no avail. Contrary to Lynn Owens I failed to add a password to the admin in olcDatabase={0}config,cn=config. I finally ...
user avatar
  • 414
7 votes

How to patch CVE-2015-0235 (GHOST) on Debian Lenny and Squeeze?

Install devscripts Get the patch for lenny from http://pastebin.com/Hhsut197 (based on the official glibc patch, removed ChangeLog, NEWS stuff, adapted Makefile for lenny, removed patch #2 for ...
user avatar
  • 71
6 votes
Accepted

Is it possible to enable TLS v 1.2 in Debian squeeze

OpenSSL supports TLSv1.2 since version 1.0.1. However, the latest version for Squeeze is 0.9.8. You can find backport here or build it from source.
user avatar
  • 181
5 votes

AMaViS: missing X-Spam-Status header

(This is really a comment to the previous answer, but the reputation system won't let me) Setting @local_domains_acl = ( "." ) worked for me, but it seemed like a rather blunt instrument (i.e., spam ...
user avatar
5 votes
Accepted

PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525/apc.so'

If you are not planning to use APC then this can be safely removed from your PHP configuration. First, find your php.ini file and edit it. Find "apc" in the php.ini file, you should find a line that ...
user avatar
  • 296
4 votes

Why Monit does not work with my MySQL configuration file?

On Ubuntu 20.04 LTS, I found that pid-file and socket were commented out in /etc/mysql/mysql.conf.d/mysqld.cnf. I uncommented those two lines then restarted mysql with service mysql restart and monit ...
user avatar
  • 91
4 votes

Postgres connection establishment slow

I had a similar issue. I was trying to connect to local database: psql -U postgres -h localhost This was extremely slow for me. Changing localhost to 127.0.0.1 made an immense difference. Connection ...
user avatar
  • 151
4 votes

OpenLdap: Why slapd tell me there's no DB_CONFIG when there is one

Maybe others person may hit the same problem. For me, the version of openldap: openldap.x86_64 2.4.40-13.el7 @base openldap-clients.x86_64 2.4.40-13....
user avatar
4 votes
Accepted

Apache Segmentation fault after logrotation on debian squeeze

There can be different reasons for such a failure and rather then assuming something, I would suggest that you take a little time to debug both the logrotate script and make a coredump of apache to ...
user avatar
  • 8,771
4 votes
Accepted

Update PHP 5.3 to PHP 5.6 on Debian Squeeze

Sven's comment needs to be an answer: Squeeze is end of life since 2016-02-29. You should get to a version with security or LTS updates, currently Stretch or maybe Jessie. I do not have a problem ...
user avatar
3 votes

Update Apache2 to 2.4 on Debian 6

Apache 2.4 is currently only available on Jessie (testing) and sid (unstable). But it isn't really difficult to use the package on squeezy (or wheezy) without apt-pinning. Download the source code ...
user avatar
  • 240
3 votes
Accepted

dget complains that public key not found

Running the following command solves the problem. $ gpg -k As far as I can tell, the problem lies in gpg complaining about not being configured. In the end the following command is run: cat ...
user avatar
  • 1,755
3 votes
Accepted

mongod service not starting

Check to see if your network interface is up. With a binding error like that you have two major options: Something is already listening on that port. (Not the case for you) You don't have the ...
user avatar
  • 32.2k
3 votes
Accepted

What is eating my hdd on vps server after a few minutes?

This is likely coming from a cron job meant to eliminate old PHP session data from the web site in /var/www/virtual/webpult.hu. You can speed this up considerably if you change this cron job to run ...
user avatar
  • 96.7k
3 votes

NFS share problems - RPC: fragment too large: xxxxx

A rpc message (and NFS is rpc based service) can be split into multiple frames (chunks). Any RPC server has a limit on frame size as well as a limit on message size. "RPC: fragment too large: " ...
user avatar
  • 4,208
3 votes

How to patch CVE-2015-0235 (GHOST) on Debian Lenny and Squeeze?

You can also use the eglibc patch from Squeeze LTS to build patched Lenny packages: http://sources.debian.net/data/main/e/eglibc/2.11.3-4+deb6u4/debian/patches/any/cvs-gethostbyname.diff Put it in ...
user avatar
2 votes

php cli memory limit

While testing a CLI php version 5.5.9 it appears that in cli it has unlmited memory limit by default, and specifying php -d memory_limit=4G my_script.php will set a limitation to that.
user avatar
  • 987
2 votes

logrotate won't rotate my logs automatically

I know I know. 5 year-old thread. Just thought if it still comes up quite high in the searches, I'll contribute and give my solution to the problem I encountered. My logrotate jobs were not handled ...
user avatar
  • 21
2 votes

How to investigate unexpected Linux server shut down?

There are a number of logs files in /var/log directory (and it's subdirectories), including /var/log/boot and /var/log/boot.log Start with the files above.
user avatar
  • 21
2 votes
Accepted

Randomly getting Postfix SSL_accept error / Dovecot TLS handshaking Disconnected

All evidence so far is pointing to a client-side problem, so I'll just leave it at that. Additional info: According to this page, there are 9 steps to establish secure channel Step 1: Client sends ...
2 votes

How to investigate unexpected Linux server shut down?

You can find if system know about fact that it was going down with next commands sudo last -1x reboot sudo last -1x shutdown If no info => then it could be lose of power or something else external ...
user avatar
2 votes

Unable to import Virtuabox VM onto Headless Server

Here's a vboxmanage manual on import section, they say to you do the import in two steps: It is therefore recommended to first run the import subcommand with the --dry-run or -n option. This will ...
user avatar
2 votes
Accepted

preseed command string fail with newline character using virt-install initrd-inject

As far as I can tell: The backslash is an escape character for newlines in the preseed file format. If you need a backslash to appear in a shell command, the only solution I've found is to base64 ...
user avatar
2 votes

Is it possible to assign a nice and ionice priority to all scripts executed by cron daemon?

You may want to setting the crond service to run with nice and ionice already set. http://b.zekjur.net/2012/09/23/systemd-ionice.html However, I haven't tested that one, so I can't vouch for it one ...
user avatar
2 votes

AMaViS: missing X-Spam-Status header

The output of command head -n 1 /etc/mailname must be your domain, like example.com. If the output is something like mail.example.com, that's the bug. So, you can fix this by changing the file /etc/...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible