Category Archives: linux
If You got messed up with PHP in CentOS with plesk 10.4, You might get such error: # httpd -t Syntax error on line 65 of /var/www/vhosts/domain.tld/conf/13353493930.96968200_httpd.include: Wrapper /var/www/cgi-bin/cgi_wrapper/cgi_wrapper cannot be accessed: (2)No such file or directory Small fix to make it work:
Small fix if You have an error when You try to turn on startup programs. for example: # chkconfig -s ssh on /sbin/insserv: No such file or directory Fix is simple, just to add symlink: # ln -s /usr/lib/insserv/insserv /sbin/insserv
To create debian template for lxc you need fresh copy of debian system. Well, we do have one installed recently on guruplug. All debian install on guruplug steps are here.
You can make a bridge by changing network configuration file: # cat /etc/network/interfaces # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface allow-hotplug eth0 [...]
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: Could not chdir to home directory /home/nsc: Permission denied /bin/bash: Permission denied Connection to 192.168.1.13 closed. All permissions of home directory were correct, as to be [...]