vmk

Tag - linux

Entries feed - Comments feed

Friday, February 26 2010

Dataloss by hosteurope

Just a few day ago the host system for my virtual server at hosteurope had an unrecoverable raid-error...

Fortunately i trigged a backup a few hours before the crash in virtuzzo. Hosteurope was unable to handle a hard drive failure in the raid, all data on the production server has been lost. They restored my last backup. The backup was unbootable. What has happened? The backup function in virtuzzo changes/removes files in the backup. I customized the system to gentoo while still having a template for debian. I installed in the virtual machine postfix and dropbear. In the restored backup there exists now exim-user, a openssh-daemon was running, there was a x11-init-script and some folders under /var/lib disappeared. The directory for the runlevel has been deleted by virtuzzo. The support from hosteurope says to that all only: "You used an unsupported operating system. Because of virtualization there can happen things you noticed". A backup which modifies files is unsusable for production use. So i canceled the vps at hosteurope and i'm just migrating everything to my new provider netcup.de. I had some problems to install gentoo on their real linux vserver, but i found some very good tips for this on Gentoo on a linux-vserver partition with wrong initstyle. Fortunately again, that entry has been published on the same day i moved to netcup.de.

I will also switch the blog software from serendity to nucleus dotclear. While not having reimported the old entries to nucleus, the old blog is still available under blog.old.

Friday, November 21 2008

sK1 svn ebuild for gentoo

Do you know sK1? It is a open source vector graphics program, which can handle svg (Scalable Vector Graphic), ai (Adove Illustrator) and cdr (Corel Draw). There is also an article about sK1 on linux.com: sK1 vector in on good illustrations. I found a ebuild for gentoo on iandmyfriendgentoo. In the official forum there is was also a thread an user having some problems with the ebuild: sK1 Project forum. That ebuild has some bugs and was only for a static version 0.9. So i created an ebuild for the svn-trunk by sourceforce.net

Here it is: sK1-9999.ebuild

Feedback requested! Just write in the comments!

Wednesday, August 13 2008

getpwuid_r(): failed due to unknown user

Do you get in a multi-user enviroment this message:

GLib-WARNING **: getpwuid_r(): failed due to unknown user id (230)

This happens for openoffice, acroread from adobe and some other applications. The problem behind this warning is, the glib is unable to resolve your userid to a name. There is a simple fix to solve this problem. Just fire up nscd (name service cache daemon). As first opposed by many users, this daemon don't deal with ip name resolution. The nscd caches and also connects the resolution of usernames of passwd, groups, etc. So just do:

/etc/init.d/nscd start (start daemon)

rc-update add nscd default (for gentoo this will start nscd everytime you boot)

update:

The nscd-daemon conflicts with a running winbind-daemon. Perhaps this will be fixed in future releases.

Friday, July 18 2008

Linux vs Windows

Aus de.alt.netdigest:
> Das letzte mal als ich dachte "Ach, vielleicht steig ich doch auf Linux um"
> habe ich kurz darauf im Kölner HBF einen Bahnsteigs-Anzeiger[0]
> gesehen, bei dem nur der leere Bildschirm und der X-Windows-Cursor
> zusehen war... da dachte ich mir "Windows stürzt wenigstens
> mitvernünftigen Fehlermeldungen ab"


Linux schreibt die Fehlermeldungen wenigstens wohin, wo sie der Admin findet, nämlich in den Syslog. Und nicht in 2x5 Metern an den Bahnsteig. Um die dort zu sehen, müsste der Admin ja aus seinem Keller kommen

Stefan

aus d.a.n.

Saturday, May 17 2008

lighttpd + php randomly hangs

If your lighttpd + php (regardless of 1.4.x or 1.5.x) randomly hangs, then check if you have old php-cgi processes running. Check if there are really old php-cgi processes around with

'ps aux|grep php-cgi'

Look at the start date/time. If you are unsure, just stop lighttpd und look again with ps. When you found some old php-cgi, the only way to get rid if them is  seems to be a

'kill -9 $pid'

- page 1 of 2