Using the spamassassin URIBL check on a primary nameserver

Usually on a primary nameserver for a number of domains, you shouldn’t be using the local nameserver for your DNS lookups. The reason for this is that if a domain is transferred away from the nameserver without your knowledge, any local lookups for that domain will continue to give the old results and this could… Continue reading Using the spamassassin URIBL check on a primary nameserver

cpan2rpm for CentOS 6.5

I’ve been attempting to build all the dependencies for Dancer on CentOS 6.5 and things just kept going wrong. Several of the modules complained about needing perl >= 5.006 even though CentOS 6.5 comes with Perl 5.10. [mockbuild@build6 ~]$ cpan2rpm Test::Simple — cpan2rpm – Ver: 2.028 — Upgrade check Fetch: HTTP — module: Test::Simple –… Continue reading cpan2rpm for CentOS 6.5

cpan2rpm on CentOS 6.4

I’ve just been building up a new server with CentOS 6.4 and noticed that cpan2rpm wouldn’t work for some Perl modules. The error you get is as follows. Metadata retrieval Can’t locate object method “interpolate” via package “Pod::Text” at /usr/bin/cpan2rpm line 522. Turns out it’s because Pod::Text changed between the version that comes with CentOS… Continue reading cpan2rpm on CentOS 6.4

IPv6 and Shartak

Over the last couple of weeks I’ve been trying to figure out IPv6. Having worked through some of the IPv6 certification at http://ipv6.he.net/ I now have an IPv6 enabled web server and mail server as well as IPv6 connectivity at home via tunnelbroker.net I thought I’d update Shartak to allow access via IPv6 as well… Continue reading IPv6 and Shartak

ip6tables and CentOS 5.6

Having just recently obtained an IPv6 address for my server, I figured it would be a good idea to setup a firewall on the IPv6 address. Although most services are bound to the main IPv4 address only, it doesn’t hurt to be cautious.

Compiling on a 64 bit Linux

I’m currently in the process of upgrading my old server to a nice new 64 bit CentOS 5 install and came across a few issues rebuilding some of the packages. In general I try not to use customised versions of packages since it makes updating the machine so much easier when there’s nothing to rebuild,… Continue reading Compiling on a 64 bit Linux

Upgrading CentOS4 to CentOS5 – rpm error

After a recent upgrade of a server from CentOS 4.4 to 5.1 using yum, I ran into a bit of a problem with rpm. Pretty much any rpm command would result in the following error: rpmdb: Program version 4.3 doesn’t match environment version error: db4 error(-30974) from dbenv->open: DB_VERSION_MISMATCH: Database environment version mismatch error: cannot… Continue reading Upgrading CentOS4 to CentOS5 – rpm error

SMF and the case of the missing pound signs

I’ve been helping a friend setup a new forum using Simple Machines Forum (SMF) and even though it worked fine on a previous installation I’d done, the pound signs (UK currency, not a #) just wouldn’t show up as anything but a ? once they were posted.

yum reports bad marshal data

I’ve been trying to check for updates on one of my CentOS machines using yum and got the following error. root:~# yum upgrade Loading “installonlyn” plugin Options Error: bad marshal data

Published
Categorized as Linux Tagged ,