RSS feed

Counting up to the UNIX Epoch time reading 1,234,567,890!

February 9th, 2009 | Posted in Blog, Debian, FreeBSD, Linux | No Comments

Unix time, or POSIX time, is a system for describing points in time, defined as the number of seconds elapsed since midnight Coordinated Universal Time (UTC) of January 1, 1970, not counting leap seconds. It is widely used not only on Unix-like operating systems but also in many other computing systems. It is neither a [...]

Read More

 



Travian

February 9th, 2009 | Posted in Blog, Linux | No Comments

Travian is a browser game with a world full of thousands of users who all begin as the leaders of small villages… you can wage wars with your enemies, trade with far far away exotic villages.. all from the comfort of your browser! http://www.travian.co.uk/?uc=ukx_524 Signup today, new game just commenced!

Read More

 



MySQL Replication

February 8th, 2009 | Posted in Blog, Linux, MySQL | No Comments

MySQL database replication allows you to have an exact copy of a database on another server which allows you to setup an application to read from, i.e. auth. All changes to the “master” server is replicated across to the “slave” server instantaneously. This is not a backup technique… any accidental DELETE queries on the master [...]

Read More

 



PowerDNS 2.9.22 RPM’s

February 5th, 2009 | Posted in Linux, PowerDNS | No Comments

The latest (dynamic) RPM’s for PowerDNS can be downloaded below. Please note, these RPM’s only include the MySQL and pipe backend!   pdns-2.9.22-1.i386.src.rpm pdns-2.9.22-1.i386.rpm

Read More

 



Grep Highlighting

January 23rd, 2009 | Posted in Linux | No Comments

If you’ve ever wanted your search string highlighted when grepping through masses of logs etc you can add the following alias to ~/bashrc to do just this.   alias grep=’grep –color=auto’

Read More

 



PowerDNS 2.9.21-2 RPM's

January 17th, 2009 | Posted in Linux, PowerDNS | No Comments

The latest (dynamic) RPM’s for PowerDNS can be downloaded below. Please note, these RPM’s only include the MySQL and pipe backend!   pdns-2.9.21-2.x86_64.src.rpm pdns-2.9.21-2.i386.src.rpm pdns-2.9.21-2.x86_64.rpm pdns-2.9.21-2.i386.rpm   Or you can download the GPL source tarball which includes the spec files for both x86_64 and i386   pdns-2.9.21-2.tar.gz

Read More

 



PTY allocation request failed on channel 0

January 16th, 2009 | Posted in Debian, Linux, Xen | No Comments

After creating a new VM on Debian Lenny, I got the following when trying to ssh into the DomU; PTY allocation request failed on channel 0 stdin: is not a tty Run the following to fix the issue; apt-get install udev

Read More

 



Policyd Build Error

December 21st, 2008 | Posted in Debian, Linux | No Comments

policyd error Your OS doesnt support MSG_NOSIGNAL or SO_NOSIGPIPE apt-get install g++ gcc policyd.h:52:19: error: mysql.h: No such file or directory apt-get install libmysqlclient15-dev

Read More

 



repair corrupted journal

December 21st, 2008 | Posted in Linux | No Comments

boot from cd – linux rescue sh-3.1# umount /mnt/sysimage/data sh-3.1# tune2fs -O ^has_journal /dev/sda6 sh-3.1# e2fsck -y /dev/sda6 sh-3.1# mount -t ext3 /dev/sda6 /mnt/sysimage/data sh-3.1# rm -f /mnt/sysimage/data/.journal sh-3.1# umount /mnt/sysimage/var sh-3.1# tune2fs -j /dev/sda6 sh-3.1# exit

Read More

 



umount: device is busy

December 17th, 2008 | Posted in Linux | No Comments

To see what processes are accessing the disk partition you can use either lsof or fuser. lsof /tmp mysqld 13103 mysql 6u REG 8,6 0 12 /tmp/ibisfIna (deleted) mysqld 13103 mysql 7u REG 8,6 504 13 /tmp/ibjWhwnX (deleted) mysqld 13103 mysql 8u REG 8,6 0 14 /tmp/ibi5qTnK (deleted) mysqld 13103 mysql 12u REG 8,6 0 [...]

Read More

 




Categories