login: root


apache [warn] module ssl_module is already loaded, skipping (Solved)

This happens, because ssl module is enabled in more than 1 place:

we load all needed modules in one place – /etc/httpd/conf/httpd.conf. So we can safely comment out in /etc/httpd/conf.d/ssl.conf file. edit /etc/httpd/conf.d/ssl.conf file and comment out this line:

save file, and problem fixed:

After upgrade: PHP Warning: PHP Startup: Unable to load dynamic library (Solved)

After upgrade to php53

solution is to go to “/etc/php.d”, and disable those .ini files:

Wrapper /var/www/cgi-bin/cgi_wrapper/cgi_wrapper cannot be accessed: (2)No such file or directory

If You got messed up with PHP in CentOS with plesk 10.4, You might get such error:

Small fix to make it work:

Ubuntu 12.04 64bit /sbin/insserv: No such file or directory

Small fix if You have an error when You try to turn on startup programs. for example:

Fix is simple, just to add symlink:

Adding bridge interface for lxc containers

You can make a bridge by changing network configuration file:

In this configuration I used br0 static configuration. If You need dhcp, You can use this configuration:

Could not chdir to home directory /home/nsc: Permission denied /bin/bash: Permission denied Connection to closed.

after creating lxc container, I wasn’t able to connect to it as a simple user. Also couldn’t change to simple user using “su”. All I got was an error:

All permissions of home directory were correct, as to be 100% sure, deleted user and created again. Still the same problem. The problem was / permissions. It was 700, so simple user couldn’t change to any directory. Small fix to make it working (with root user)

And that’s it, user is working!!!

%d bloggers like this: