We use cookies to keep our site relevant and easy to use, your continued use of this site is consent that we may set several cookies (see our Privacy & Cookie Policy), click to always allow cookies from our site (and not see this notifcation on your next visit) or read more.Allow Cookies

EU legislation requires that all websites clearly specify if cookies are being used and their purpose, You can read more about how we use cookies (and which cookies we use) in our Privacy and Cookie Policy.

You will see this notification the first time you visit our website unless you accept cookies (in which case we'll set a cookie to remember thay you're happy for us to to set cookies!).

Archive for Linux

Linux : Delete files older than specific date with a specific extension

Today I needed to find a bunch of files that hadn’t been touched in a while and had a very specific extension on one of our servers.

by Keiron on December 11th, 2014 | Linux | No Comments » |

Tethering Android Droid/Milestone without Root!

Two posts on the same day and both techie – don’t be put off, normal ranty service may well be resumed soon… I’ve used my Windows Mobile in the past as a tethered modem for my eee pc when out and about without WiFi, it’s not always been easy but has been handy to have around! I reinstalled my eee today, and was looking around for how I’m going to achieve this same functionality with the Milestone on Android, almost everything screamed “root your device” at me. I’m not a fan of rooting it for a lot of reasons the biggest being I don’t want to brick the device – so that’s a non-starter. Then I spotted a handy guide… Continue reading »

by Keiron on March 11th, 2010 | Linux, Mobile Phones | 3 Comments » |

Neomail and mbox -> maildir

As far as webmail goes, I’m a Neomail user, have been for a long while. I don’t know what it is about it – it’s clean interface and quick loading speed maybe? But the time has come for change as cPanel are deprecating the mbox format, why I hear you ask? Reasons for Deprecating mbox The new system has several benefits, – It’s the way forward – Better performance – Improved mailbox locking; – Simultaneous IMAP account access – Use of open source code. Is it Necessary? It is expected that cPanel will continue to support mbox, but will switch to maildir as the default soon. As such I feel I’m probably going to have to take the plunge. We… Continue reading »

by Keiron on October 9th, 2007 | Linux | No Comments » |

MyTop broken!

In a post way back in January of 2005, I discussed the software MyTop for monitoring connections on your MySQL server. I’ve had it installed and use it semi-regularly – however, it doesn’t always work – often I am greeted with the following error: Cannot connect to MySQL server. Please check the: * database you specified “test” (default is “test”) * username you specified “root” (default is “root”) * password you specified “” (default is “”) * hostname you specified “localhost” (default is “localhost”) * port you specified “3306″ (default is 3306) * socket you specified “” (default is “”) The options my be specified on the command-line or in a ~/.mytop config file. See the manual (perldoc mytop) for… Continue reading »

by Keiron on July 5th, 2007 | Linux | No Comments » |

Exim Restarting – PRM

Paragonhost has a very useful post on setting up custom PRM rules (Process Resource Monitor). I think this maybe the cause of so much load on one of my servers recently, as the exim process is getting killed early and not being allowed to finish a queue run – resulting in a backlog of mail on the queue and an ever decreasing circle (not good!). I’ve made a tweak and will see how it goes!

by Keiron on March 2nd, 2007 | Linux | No Comments » |

Restarting Apache/httpd

Did a little bit of Apache reading after a client query yesterday, it seems restarting httpd is not all that it seems! start – start httpd startssl – start httpd with SSL enabled stop – stop httpd restart – restart httpd if running by sending a SIGHUP or start if not running fullstatus – dump a full status screen; requires lynx and mod_status enabled status – dump a short status screen; requires lynx and mod_status enabled graceful – do a graceful restart by sending a SIGUSR1 or start if not running Is the normal course of events from apachectl, but what about if we want to restart with SSL? A route around this as sugeested by someone is to remove… Continue reading »

by Keiron on March 2nd, 2007 | Linux | 1 Comment » |

Are magic quotes on?

One way to check if magic_quotes is running is to run get_magic_quotes_gpc(). It will return a 1 if it is on, or a 0 if it is off. You can use this result to print out the magic_quotes status, or to decided if you should run another function, such as addslashes. Read more at http://www.psychicperformer.com < ?php if (get_magic_quotes_gpc()==1) { Print “Magic Quotes gpc is turned on” ; } else { Print “Magic Quotes gpc is turned off” ; } ?>

by Keiron on February 28th, 2007 | Linux | No Comments » |