Keeping processes alive using God’s power

Posted by Ktoso under coding, english, guide, terminal heroes (No Respond)

God is a nice “framework” and daemon to watch Linux processes and restart them if necessary. As I’ve configured it today to work on an ubuntu machine here’s a quick howto: First install ruby, gem and god. apt-get install ruby, rubygems gem install god Then paste this initscript into /etc/init.d/god: got init script. Configure it [...]

Tags: , , , , , , , ,

yum: TypeError: rpmdb open failed

Posted by Ktoso under coding (5 Responds)

I recently had this following fatal error on an CentOS VPS server: 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/yummain.py”, line 229, in user_main errcode = main(args) File “/usr/share/yum-cli/yummain.py”, line 84, in [...]

Tags: , , , , , , ,

Fedora: Installing single apps from Rawhide

Posted by Ktoso under coding, freedom (No Respond)

I really love the Exaile gnome music player, and not so long ago version 0.3.0 was released. First thing i did was of course wget && tar xzvf && make && su -c ‘make install’ ;-) but… I’d rather have a version from the repository, to update it easily. As no package for Fedora 11 [...]

Tags: , , , , , , ,