Archive for the ‘ vps ’ Category

Disable suhosin

Suhosin for a domain can be disabled by 2 methods.

1) Using php.ini

2) Using .htaccess.

Following are the steps in order to
Read the rest of this entry

Even if the databases are created and existing on the server the cPanel sometimes does not show the DB’s.

To sort this just run the folowing command to map the databases:

[root@server ~]# /usr/local/cpanel/bin/setupdbmap
Once done you should be able to view the DB’s in the cPanel.

E: syslogd appears to be running, but not klogd which logs kernel firewall messages to syslog. You should ensure that klogd is running
R: nano -c /etc/init.d/syslog
Search the line below, (nearly at line # 42)

passed klogd skipped #daemon klogd $KLOGD_OPTIONS

Replace it with lines below,

#passed klogd skipped
daemon klogd $KLOGD_OPTIONS

Now search ‘status klogd’ (nearly at line #61) and uncomment it.

If you change the file, remember to restart syslog via /etc/init.d/syslog restart

Usually you supply public IP addresses to your containers. Sometimes you don’t want to do it (lack of IPs, etc.). This article describes how to use private IP addresses for containers.

Contents

Read the rest of this entry

Container already locked

If you received this message when you try and stop the VE…
[root@server ~]# vzctl stop 104
Container already locked

Here’s how to fix it:

  • Delete the lock file

[root@server ~]# rm /vz/lock/104.lck
rm: remove regular file `/vz/lock/104.lck'? y

  • Kill the checkpoint

[root@server ~]# vzctl chkpnt 104 --kill
Killing...