login: root

Latest posts

Script: populating the domainips file for the exim automatically (DirectAdmin)

Script for populating /etc/virtual/domainips records for the exim. Exim configuration change is described here It takes IP that is assigned to that domain in Directadmin and adds it to the domainsip file. Here is the script (Please note: it always overwrites the domainips file!!!):

note: You may add this script to cron, for automatic ‘domainips’ updates.

php5-fpm socket permission denied.

After updating the system, one error occured, despite that everything worked before.

The reason of it is that despite the defined user:

The php startup script still created the socket with the owner of root, and nginx was not able to reach it:

The fix is to add the socket owner with these lines:

And that’s it. Site is up and running again.

changing mysql to innodb_file_per_table=1 with lvm and replication almost without downtime

This conversion was made with mysql 5.5, but it should work with older versions, as replications on mysql were introduced since mysql 3.23.15. Don’t forget the Disclaimer !!! It requires more than the basic knowledge in linux, lvm and mysql. I do NOT take ANY responsibility for Your data loss!!! Long story short:

LET’S BEGIN:

insmod: error inserting ‘/lib/xenblk.ko’: -1 Operation not permitted () when booting XEN VM

When getting error

Try to rebuild initrd for VM (it also forces resymlinking of kernel in use):

How-to start two skype instances on linux

Basically, for starting the second skype process, You need to have a separate skype data path. So it can be started like that:

If You need all the history or settings of an existing skype, You may just copy that dir:

p.s. You may start even more instances in the same way.

client denied by server configuration: owncloud and directadmin

If got error with owncloud when using owncloud application (custombuild managed structure):

Solution is to enable PUT requests.

Close
%d bloggers like this: