Zero Filling a Disk in Linux

Zero Filling a Disk in Linux

The simple way to wipe or zerofill a disk is: dd if=/dev/zero of=/dev/sd? bs=1M However I found an article describing how to zero-fill with a progress indicator using pipebench, installed on Debian/Ubuntu ...

Increasing CentOS LVM under VMWare

Increasing CentOS LVM under VMWare

Background: I had an existing CentOS machine as a virtual machine running on VMWare ESX Server and it was running out of space so for future reference I did the ...

SquidGuard LDAP User Search and Special Characters

SquidGuard LDAP User Search and Special Characters

So I had a problem with the ldapusersearch string as some eejit has created an OU with spaces and an apostrophe in the name. So the characters are represented as: comma ...

Flushing local client DNS cache

Flushing local client DNS cache

From info I found here. This is how to flush the local client DNS cache. Windows: ipconfig /flushdns Linux: sudo /etc/init.d/networking restart Mac: lookupd -flushcache

Browsing all articles from February, 2011

MySQL illegal field names in Mambo/Joomla Import

I had this problem when trying to import an SQL file which was a dump from a MySQL database for Mambo:  ERROR 1064 (42000) at line 142: You have an [...]

MySQL Collation and Character Set Notes

When I was importing SQL data files into MySQL 5 (exported from MySQL 3.23) I ran into problems with collation types receiving the following error: ERROR 1071 (42000) at line [...]

2404 MySql Database Search Class

The MySQL Search Class available from 2404.co.uk is a useful quick way to implement a database search in PHP. However there is an error when doing table joins on approx [...]

Joomla Latest Events Component Error

Using the Joomla Latest Events module I received the following error message:  Warning: array_key_exists(): The second argument should be either an array or an object in /path/to/website/modules/mod_events_latest.lib.php on line 241 [...]

Beginner Rsync

Rsync comes pre-installed on many systems including Red Hat, Ubuntu and Solaris. Rsync is a useful tool for performing remote backups. It is very efficient as it only backs up [...]

Solaris 8 NFS shares

Directories can be shared across the network using NFS on Solaris 8. I used the following to mount a directory from a remote system (named servermachine in the listings below) [...]

Defaulting SSH to a non-standard host port

If the SSH server on a host has been configured to listen on a non-standard port for example port 92 then normally we would connect with: ssh -p 92 theserver.tld [...]

Squid access.log file over 2Gb

I had a problem with Squid which required removing the access.log file as it had grown over 2Gb in size which has caused Squid to terminate and also stopped Squid [...]

Exchange 2007 Identifier Limits

Exchange 2007 Event Viewer reports errors such as: Failed to create a new named property for database "First Storage Group\Mailbox Database 1" because the number of named properties reached the [...]

CPAN Perl Modules – LWP failed with code

I had a little difficulty today installing some Perl modules from CPAN. I was getting messages like: Fetching with Net::FTP:  ftp://ftp.flirble.org/pub/CPAN/authors/01mailrc.txt.gzCouldn't fetch 01mailrc.txt.gz from ftp.flirble.org Fetching with LWP:  ftp://ftp.mirror.anlx.net/CPAN/authors/01mailrc.txt.gzLWP failed [...]