By Druss , 12 May, 2011

While checking the logs of my server, I ran into the following errors:
May 11 18:00:04 named[31875]: zone example.com/IN: NS 'ns1.example.com' has no address records (A or AAAA)
May 11 18:00:04 named[31875]: zone example.com/IN: NS 'ns2.example.com' has no address records (A or AAAA)
May 11 18:00:04 named[31875]: zone example.com/IN: NS 'ns3.example.com' has no address records (A or AAAA)

By Druss , 9 May, 2011

Earlier today, I noticed - in htop - that a particular process, let's say 'foo-123', was running even though I had removed the package 'foo' many days earlier. I tried removing it again and found that I was right and that the package had already been removed. The package dependency list was way too long for me to go removing them one by one, or parsing them out and removing the lot.

IRC, however, was very obliging to my query and provided me with the below-pasted nifty solution that did not allow any odd gimmickry:
sudo aptitude search '~i' | grep foo

By Druss , 29 April, 2011

Unlike Top, its newer sibling - Htop is better in every way. It provides more detailed information, supports colours and is more configurable. Htop is available in the repositories of most distros. However, CentOS (and therefore, RHEL) is not one of them. While it it apparently available in the EPEL repositories, I could not find it for CentOS 4.9. In any event, what we have below are the (simple) steps to install it from the source packages:

By Druss , 24 April, 2011

PHP provides a number of different versions for install in Windows. There are versions which are tagged with VC6 and other with VC9. There are also thread-safe and non-thread-safe versions of the installer available for download. After some digging and trial & error fiddlery, my conclusion is that VC9 and non-thread-safe are for the Microsoft IIS webserver while the VC6 and thread-safe installers are for Apache and other non-IIS webservers.

Hope this helps :)

Tags Old
By Druss , 22 April, 2011

I installed MySQL on my local server today and when I went to access it via mysql_secure_installation to set my root password etc., I ran into the following curious error:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

While I initially thought that it was some kind of installation issue, after much scratching of pate, I realised that Occam was right and that I should be checking the simpler things first. Sure enough, after a quick check, I found that MySQL was not even running :/

By Druss , 20 April, 2011

I ran into the following warning while trying to install a package from the IUS third-party repository for CentOS:
warning: ius-release-1.0-6.ius.el5.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 9cd4953f.

This was caused because the IUS GPG key was not (correctly) installed. To fix, type:
sudo yum install yum-plugin-replace

This should prompt you to download and install the correct key. Once this is done, the installation of other packages should proceed smoothly.

By Druss , 13 April, 2011

I'm a big fan of comics and when on Windows, I tend to use CDisplayEx as my preferred reader of choice for .cbr and .cbz files. When on my desktop, I enjoy reading comics in full screen glory. I like each page fitting the entire width of my screen and scroll down the page, if need be, to reach any hidden panels. This allows me to realise the full impact of the art and makes for comfortable viewing.

Tags Old
By Druss , 9 April, 2011

I was up to no good on mIRC earlier today and found my screen full of message and fserv tabs/windows. While it certainly is fun clicking away at each window and closing it manually, that would only be if I had some sick fascination with RSI. A little digging unearthed a few commands that helped alleviate the process:

Tags Old
By Druss , 5 April, 2011

I ran into this curious predicament earlier today when I found that the numeric keypad was not working in Kubuntu. Now, I have a KVM setup here and therefore could easily verify that the keyboard itself was working fine. This meant that the problem was a software issue.

Tags Old

All times are UTC. All content licensed under the Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.