Archive for Sysadmin

Installing Subversion on a cPanel Server

It should be easy right? Just “yum install subversion”.

Nope. You get this error message:

Error: Missing Dependency: perl(URI) >= 1.17 is needed by package

Read the rest of this entry »


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 <lambda>
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 the rest of this entry »


exim on another port for smtp

When a business I know had trouble with their broadband I was fortunately able to get them back online by using the redundant mobile broadband on the router.

The only issue then was that they couldn’t send email on port 25 through the Three mobile network.

The solution is to change the outgoing SMTP from port 25 to port 587.

Because I keep forgetting myself, here’s how you do it on cPanel:

Read the rest of this entry »


The specified network name is no longer available samba

I keep getting this error:

Error Copying File or Folder

Cannot copy xxx: The specified network name is no longer available.


Read the rest of this entry »

Comments (3)

Scan to Excel

This week I’ve mostly been trying to figure out a way to digitalise some of my bank statements to make accountancy and archiving easier.

I figured there must be a way to scan them in using a document scanner, then use OCR software to render the data into Excel.

Of course, nothing does this natively, but there are ways to do it.

Read the rest of this entry »

Comments (1)

Ident Spoofing

Today I wrote about Oidentd on Wikipedia. Ident as per RFC 1413 is used for a few different services, in particular IRC. A feature of oidentd that my users find useful is ident spoofing.

Read the rest of this entry »



W32Dasm (or Win32DASM) doesn’t seem to exist on the map any more, but it’s still a very useful programmers tool, especially if you like reverse engineering.

W32Dasm is a Windows 32-bit (Win32) disassembler. What it does is display the programs routines in assembly code, which makes it easier for you to trace what the software is doing.

I like to use this software every once in a while, but recently I found there were no decent sources for this software.

Read the rest of this entry »

Comments (2)


I’ve been meaning to publish a post about Pingotron for some time now, but now I fear it’s already too late.

Quite a few months back I was looking for an application that could sit on my desktop and tell me instantly if any of my servers had stopped responding by ping.

Read the rest of this entry »


Customising the Netgear DG834G

I started writing this article a long time ago, however after researching the DG834G I soon found many more articles and sites dedicated to hacking or customising the Netgear DG834G router.

Recently I have discovered that many of these sources are now going offline. The thing is about this router, even though it has been around since at least 2004, is that it is still in use and more importantly, still available to purchase, yet hardly changed in price.

So, the purpose of this article is to provide you with information on how to customise your Netgear DG834G router. I hope you find it useful.

Read the rest of this entry »


« Previous entries Next Page » Next Page »