Linux : Guest VM time sync with Xen host

It’s possible to tell the kernel of your Xen guest VM to synchronize or not the clock with the physical host machine. There are numerous reason why you would or not to use this feature (such as your guest VM is behind or forward the clock over time). To find out the current setting, simply… Read More »

Linux : PHP Unable to load dynamic library ‘/usr/lib64/php/modules/module.so

Having this error on your RHEL/CentOS 6 Web server or issuing “php -v” command? PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/module.so’ – /usr/lib64/php/modules/module.so: cannot open shared object file: No such file or directory in Unknown on line 0 Then you probably have “php-mcrypt” module installed. Apparently, the “mcrypt.ini” file do not have… Read More »

Linux : Unable to connect to xend: No such file or directory. Is xend running?

Ending up with this kind of error booting a guest machine on your Xen hypervisor? Running: xm create /cloud/config/hjxmogr553e5jx Using config file “/cloud/config/hjxmogr553e5jx”. Error: Unable to connect to xend: No such file or directory. Is xend running? Fatal: Virtual machine has not been started on hypervisor Executing Rollback… The two possible causes would be the… Read More »

Mac : Show hidden files and folder in OSX

Here is a quick how to show hidden files and folders in OSX Mavericks 10.9. Using the terminal, do the following command to show a specific hidden folder. This example assume you want to display the “Library” folder contain in your user profile : sudo chflags hidden /Library/ ~/Library/ If you’d like to show all… Read More »

Category: Mac

Web : RoundCube failed to load magic database at ‘/usr/share/misc/magic’

Getting this error message with RoundCube Webmail in your Apache logs? [Sun Jan 12 05:53:51 2014] [error] [client 0.0.0.0] PHP Warning:  finfo_open(): Failed to load magic database at ‘/usr/share/misc/magic’. in /path/to/roundcube/program/lib/Roundcube/rcube_mime.php on line 727, referer: https://roundcube.domain.tld/?_task=mail&_action=preview&_uid=122332&_mbox=INBOX&_framed=1&_caps=pdf%3D1%2Cflash%3D1%2Ctif%3D0 Make sure the path to “libmagic” is correct. Edit your “config/main.inc.php” file. You might (by default) have the following… Read More »

Category: Web

JunOS : Cannot have the same local address on different units of an interface

Getting this error doing a commit after assigning a subnet to a L3-interface vlan on your Juniper device? user@EX4200# set interfaces vlan unit 100 family inet address 1.1.1.1/8 user@EX4200# commit synchronize comment “add subnet to vlan 100” [edit protocols] ‘bgp’ [edit protocols] ‘ospf3’ [edit interfaces vlan unit 100 family inet] ‘address 1.1.1.1/8’ Cannot have the… Read More »