Archive for May, 2011

Excluding Packages from Yum Update

Posted on 09. May, 2011 by .

TweetWhen running a ‘yum update’ under CentOS, there are certain packages you may be running which you wish to remain static, or which can potentially cause errors with the update eg. Samba. In these situations it is useful to force yum to exclude certain packages from being updated under CentOS. Yum uses a configuration file [...]

Continue Reading

Fix corrupted RPM database on CentOS 5

Posted on 06. May, 2011 by .

TweetIf rpm / yum command hangs during operations or you see error messages – it means your rpm database corrupted. /var/lib/rpm/ stores rpm database just delete the same and rebuild rpm database: Command to rebuild rpm database rm -f /var/lib/rpm/__db* rpm –rebuilddb -v -v

Continue Reading

cPanel transfer restore error

Posted on 06. May, 2011 by .

TweetForcing the restore of a transfered cPanel account , even if the new system says the username is all ready in use /scripts/restorepkg –force –skipres <account.tar.gz>

Continue Reading

How to install CPAN libwww-perl

Posted on 02. May, 2011 by .

TweetWhen installing the CSF  firewall on your CentOS server, you need to make sure that you have libwww-perl installed This is easily done by installed it with yum on CentOS 5 yum install perl-libwww-perl

Continue Reading