VMWare: Debian NICs don’t come up after removing and adding virtual network card

A long time has passed after the last post to this blog. But I’m still alive and today there will be another. Yesterday I stumbled upon some problems in our virtual infrastructure regarding the Debian Linux Servers. For several reasons (most important is a dedicated network for NFS) i needed to add another virtual network [...]

Posted in: Uncategorized by Thorsten No Comments , ,

NIC bonding (aka NIC teaming) with Debian Lenny

In order to move our Nagios installation from a virtual server to a dedicated hardware machine i installed Debian Lenny on a HP Proliant DL 380 G5. This server has two integrated NICs which can easily be used together as a network bond. So if one way to or from the server failes, the machine [...]

Posted in: Uncategorized by Thorsten 3 Comments ,

Terminal not fully functional when using rxvt-unicode-256color

After reading some interesting articles about rxvt-unicode (often called urxvt) I wanted to try it out myself on my Archbox. Installation is quite simple via pacman and further customization can be done be modifying the .Xdefaults fine in your home directory. If you install the rxvt-unicode-256color package the TERM variable will be set to rxvt-256color [...]

Posted in: Uncategorized by Thorsten 4 Comments , , ,

monkey HTTP Server debianized

The “”famous” monkey http server has made it to the Debian Sid repository.
You can find it’s website here: http://packages.debian.org/sid/monkey

Thanks to Romain Beauxis from rastageeks.org and of course Eduardo Silva – the upstream developer.

 

Posted in: Uncategorized by Thorsten No Comments , ,

invoke-rc.d: initscript policyd-weight, action “stop” failed

If you try to remove the policyd-weight package via apt-get on Debian Etch the process will fail, if the policyd-weight daemon is currently not running.
The second time you enter the apt-get remove command it is successful, because the daemon was started before during the first try of uninstallation.

I reported a bug for this behaviour and the maintainer of the policyd-weight package released a new version.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=473225

Posted in: Uncategorized by Thorsten No Comments

Update: mini_httpd with PHP as CGI

I also reported this problem via reportbug to the Debian Package-Maintainer Marvin Stark.
He applied my patch and created a new debianized version of mini-httpd which will now work out of the box with PHP and CGI.

Here is the link: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=462930

Posted in: Uncategorized by Thorsten No Comments

mini_httpd with PHP as CGI

While playing around a bit with other webservers than Apache, I decided to give mini_httpd a try. The documentation is very "limited" and you have to find out the things yourself. So here are the steps I did to get mini_httpd running on Debian Etch. Downloading and extracting is very easy:

 wget 'http://www.acme.com/software/mini_httpd/mini_httpd-1.19.tar.gz' tar xzvf mini_httpd-1.19.tar.gz

Posted in: Uncategorized by Thorsten No Comments

Migrating MySQL dumps in default Debian installations

Debian uses a separate user for the maintanance of MySQL. That user is called debian-sys-maint and will be created automatically when you install MySQL. If you accidentally delete that user or import an old dump with the “mysql” user database, the MySQL init-script will complain with such an error-message:

Access denied for user ‘debian-sys-maint’@'localhost’ (using password: YES)

In that case you should recreate that user with the following steps:

1. Get the password of the user from /etc/mysql/debian.cnf

Posted in: Uncategorized by Thorsten No Comments , ,