[Solved] error : virNetServerMDNSStart:460 : internal error Failed to create mDNS client: Daemon not running

Today I’m getting error when trying to start libvirtd with the following error messages from /var/log/libvirtd.log

2012-09-19 06:56:19.400+0000: 3749: error : virNetServerMDNSStart:460 : internal error Failed to create mDNS client: Daemon not running

Please use the following steps to fix it:
yum -y install avahi
service messagebus start
service avahi-daemon start
service libvirtd start

Avahi-daemon registers local IP addresses and static services using mDNS/DNS-SD and provides two IPC APIs for local programs to make use of the mDNS record cache the avahi-daemon maintains. First there is the so called “simple protocol” which is used exclusively by avahi-dnsconfd (a daemon which configures unicast DNS servers using server info published via mDNS) and nss-mdns (a libc NSS plugin, providing name resolution via mDNS). Finally there is the D-Bus interface which provides a rich object oriented interface to D-Bus enabled applications. (linux.die)


error_fpm

PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp)

This article referring to another article that not published yet, I had some issue with session.save_path in php-fpm setup. For security improvements¬† I want to make PHP execute under individual user accounts insted of a system user like nginx (default www user and group). In apache environments I can use suPHP or suExec and in Nginx I can use php-fpm with custom “pool” each web server and that makes PHP scripts executed by owner and groups that describe in each pool. Continue reading “PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp)” »


Compiz Logo

Solved Ubuntu icons close minimize maximize disappeared!

Compiz LogoTonight I have a plan to maintenance two servers in my office, but my laptop seems not good, sometimes desktop is freeze and can’t click anything, so I have to restart for several times. Ok, let’s change back from Unity to Gnome classic, and after changed to Gnome classic my desktop seems good. Something stupid make me broken, I’ve enable some effect in Compiz config manager and make some menus disappeared!. Where is “close, minimize, maximize” window menu? Continue reading “Solved Ubuntu icons close minimize maximize disappeared!” »