Archive for the ‘ Cpanel ’ Category

ow can I find all the file descriptors used by a process such as httpd (Apache web server) or mysqld (MySQL Database server)?

You can use /proc file system or the lsof command to find all the file descriptors used by a process.
Read the rest of this entry

sysctl -p

root@xxxxxx:~# sysctl -p /etc/sysctl.conf
got an error:

error: “net.bridge.bridge-nf-call-iptables” is an unknown key
error: “net.bridge.bridge-nf-call-arptables” is an unknown key

Fix:

sudo modprobe bridge

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.

Got a problem when you install mplayer:
Checking for yasm …
Error: yasm not found, use –yasm=” if you really want to compile without
Check “config.log” if you do not understand why it failed.
Read the rest of this entry