• 10 reasons to use Google Chrome

  • Here’s 10 reasons why I am using the Google Chrome web browser and why should should too…

    Read More »

  • Trac TCL for eggdrop

  • I've recently had some fun installing Trac project management software on CentOS5.

    After finally getting it successfully installed and setup I decided to have a play around with a TCL script for eggdrop.

    This eggdrop script will allow you to return ticket information from Trac to an IRC channel.

    Read More »

  • error: no dbpath has been set

  • I've recently been having trouble with a OpenVZ VPS upgraded from CentOS4 to CentOS5, here's what I'm seeing when trying to rum a yum install of mod_python:
    [[email protected] ~]# yum install mod_python
    Loaded plugins: fastestmirror
    error: no dbpath has been set
    error: cannot open Packages database in /%{_dbpath}
    Traceback (most recent call last):
    File “/usr/bin/yum”, line 29, in ?
    yummain.user_main(sys.argv[1:], exit_code=True)
    File “/usr/share/yum-cli/”, line 309, in user_main
    errcode = main(args)
    File “/usr/share/yum-cli/”, line 157, in main
    File “/usr/share/yum-cli/”, line 187, in getOptionsConfig
    File “/usr/lib/python2.4/site-packages/yum/”, line 664, in </div>
    conf = property(fget=lambda self: self._getConfig(),
    File “/usr/lib/python2.4/site-packages/yum/”, line 239, in _getConfig
    self._conf = config.readMainConfig(startupconf)
    File “/usr/lib/python2.4/site-packages/yum/”, line 804, in readMainConfig
    yumvars[‘releasever'] = _getsysver(startupconf.installroot, startupconf.distroverpkg)
    File “/usr/lib/python2.4/site-packages/yum/”, line 877, in _getsysver
    idx = ts.dbMatch(‘provides', distroverpkg)
    TypeError: rpmdb open failed
    Here's how to fix it:
    [[email protected] ~]# rm /dev/urandom
    rm: remove regular file `/dev/urandom'? y
    [[email protected] ~]# mknod -m 644 /dev/urandom c 1 9

    Nothing else seems to work, but this does indeed seem to solve the problem.

    Perhaps I’ll finally get Trac installed…

  • OpenVZ: Container already locked

  • f you received this message when you try and stop the VE…

    [[email protected] ~]# vzctl stop 104
    Container already locked
    Read More »

  • Find the ip address of a seized website

  • So your favorite site is now displaying the following message:

    This domain name has been seized by ICE – Homeland Security Investigations

    In this example we will use the recently seized domain “”.

    What “ICE” have done is changed the IP address that the domain resolved to, to one of their own.

    The easiest way to see what the IP address currently is, is by using the “ping” command:

    [[email protected]~]$ ping

    PING ( 56(84) bytes of data.

    — ping statistics —

    1 packets transmitted, 0 received, 100% packet loss, time 0ms

    Read More »

subscribe via RSS