Bind error: zone example.com/IN: NS 'ns1.example.com' has no address records (A or AAAA)

Submitted by Druss on Thu, 2011-05-12 23:44

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)

I ran into the same errors when I checked the zone files themselves using:

Getting a list of all installed packages using aptitude

Submitted by Druss on Mon, 2011-05-09 22:20

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.

Setting up a Bind 9 DNS server in Debian/Ubuntu

Submitted by Druss on Tue, 2011-05-03 11:46

The Internet will go bust without DNS and the following is a guide to setting up your own DNS server to provide information about your domains and associated services. While this task can be accomplished very easily when using a hosting control panel, it is great fun to set things up on your own.

Installing htop (on CentOS or any other distro)

Submitted by Druss on Fri, 2011-04-29 19:18

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:

Choosing the right PHP version for Windows

Submitted by Druss on Sun, 2011-04-24 12:00

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 :)

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

Submitted by Druss on Fri, 2011-04-22 09:56

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)

CentOS: warning: ius-release-1.0-6.ius.el5.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 9cd4953f

Submitted by Druss on Wed, 2011-04-20 23:42

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.

CDisplayEx and full screen views

Submitted by Druss on Wed, 2011-04-13 13:25

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.

Closing all message windows in mIRC

Submitted by Druss on Sun, 2011-04-10 01:31

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:

Pages

Subscribe to languor.us RSS