Category Archives: Unix and unixoid

XMPP S2S with Google and no TLS?

I’m running an ejabberd instance and it’s configured to use TLS in S2S (server to server) communications. It works perfectly fine with jabber.ccc.de, but Google’s server does not seem to like TLS. Very awkward. First I thought it may be … Continue reading

Posted in EN, IT Security, Linux, Software, Unix and unixoid | 3 Comments

Top ten disk space hogs in current folder

du -cks *|sort -rn|head -11|awk ‘{printf “%-8.2f MiB\t%s\n”, $1/1024, $2}’ NB: first item is the total size, so it outputs eleven lines. Update: a better version is this one: du -cks *|sort -rn|head -11|awk ‘{printf “%-8.2f MiB\t”, $1/1024;\ for(i=2; i

Posted in /dev/null, Bash, EN, Linux, Unix and unixoid | Leave a comment

More issues with MariaDB

… but solved. When trying to install WordPress 3.1 as a vanilla installation, it failed: WordPress database error: [Invalid default value for ‘comment_date’] … this got repeated for several columns in several tables and obviously table creation failed. However, WordPress … Continue reading

Posted in Linux, Unix and unixoid | Tagged , , , | 6 Comments

Installing MariaDB on Debian 6 (Squeeze)

Had some trouble installing MariaDB on Debian 6. The system was pretty much a vanilla Lenny (hadn’t used it much that’s why) upgraded to Squeeze only one week ago – and I wanted to install MariaDB instead of MySQL. This … Continue reading

Posted in EN, Linux, Unix and unixoid | Tagged , | 1 Comment

Debian bug 581612

etckeeper (go look it up, it’s very useful) is a tool I use. Now, some behavior in cron changed recently in Debian and apparently also Ubuntu, causing my log files to show the same as fetchmail in the bug report. … Continue reading

Posted in EN, Linux, Unix and unixoid | Leave a comment

fdupes

To remove all but the first of a number of duplicate files in a subfolder on Linux, use: yes 1|fdupes -rd <folder>

Posted in EN, Linux, Software, Unix and unixoid | Leave a comment

Network interfaces on cloned (KVM) VMs

Yesterday I was cloning a few KVM VMs and to my disappointment the clones did not have an eth0 but rather got an eth1 and clones of clones would actually get eth2 and so forth. Because my /etc/network/interfaces referred to … Continue reading

Posted in EN, Linux, Unix and unixoid | Leave a comment

Argh … must suppress hateful thoughts …

Great, looking for flex any web search is now tainted and will actually return results for Adobe Flex. // Oliver

Posted in EN, Linux, Programming, Unix and unixoid | 2 Comments

ecryptfs and sshd, again

In January I described an issue with ecryptfs and sshd. Now I wanted to get X11 forwarding to work with it, but the problem essentially remains the same. All I got this time was: /usr/bin/X11/xauth: timeout in locking authority file … Continue reading

Posted in EN, IT Security, Linux, Software, Unix and unixoid | Tagged , , , , , | 4 Comments

Not Valgrind, CDPATH

The problem I described just yesterday (here) seems not be to with Valgrind in particular. Today I was trying to build the file(1) utility and mysteriously failed with the same symptoms. So that made me curious. Apparently the cd command … Continue reading

Posted in EN, Linux, Programming, Unix and unixoid | Tagged , , , , , , | Leave a comment

Getting Valgrind to build on Debian 5.0.3

I’ve been trying this already several times over the last three months, but always failed to build the latest Valgrind from sources on my Debian box. At last I had success. The problem appears to be that for some unknown … Continue reading

Posted in EN, Linux, Programming, Unix and unixoid | Tagged , , , | 3 Comments

Annoying use of GNU make

Whenever I download some source code and find that the respective maintainer/author has a Makefile or makefile inside the source tree but requires GNU make specifically I can get really annoyed really fast. Dear maintainer/author: there are literally dozens of … Continue reading

Posted in EN, Linux, Programming, Unix and unixoid | Tagged , | Leave a comment

ecryptfs and sshd …

I just made a discovery on the Ubuntu box I run. After being unable to log into it using SSH and my public key which it refused with a laconic Permission denied (publickey), I tried to dig deeper. So obviously … Continue reading

Posted in EN, Linux, Unix and unixoid | Tagged , , , | Leave a comment