Uninstall CloudLinux :: cPanel server

CloudLinux is a good tool however we had some issues with our test production server and had to remove it. Here are the steps to remove CloudLinux : CloudLinux Kb has below steps : https://helpdesk.cloudlinux.com/index.php?/Knowledgebase/Article/View/33/0/how-do-i-convert-back-to-centos yum remove liblve-devel cd /usr/local/src/ wget http://repo.cloudlinux.com/cloudlinux/sources/cln/centos2cl sh centos2cl -c After executing script from CloudLinux, you need to remove the… Continue reading Uninstall CloudLinux :: cPanel server

Directadmin :: httpd error Invalid command ‘php_admin_flag’

On Directadmin server httpd fails to start with below error : # service httpd restart Stopping httpd: [FAILED] Starting httpd: Syntax error on line 47 of /usr/local/directadmin/data/users/linuxbabu/httpd.conf: Invalid command ‘php_admin_flag’, perhaps misspelled or defined by a module not included in the server configuration Solution : Execute below commands to rebuild php and http config files.… Continue reading Directadmin :: httpd error Invalid command ‘php_admin_flag’

Eximstats too large

If the size of your eximstats database is too large, you can do the following steps to empty it. Login to mysql server from root. [root@srv1 ~]# mysql mysql> use eximstats; Database changed mysql> show tables; +———————+ | Tables_in_eximstats | +———————+ | defers | | failures | | sends | | smtp | +———————+ 4… Continue reading Eximstats too large

Disable ETags

To alleviate security risks arising from disclosure of information about files and their properties by Apache Web server, disable FileETag directive. For PCI Compliance it is required to disable ETags Create a file at /etc/httpd/conf.d/no-etags.conf with the following: Header unset ETag FileETag None Then of course restart Apache. http://httpd.apache.org/docs/2.2/mod/core.html#FileETag

How to verify matching private key with a certificate

The private key contains a series of numbers. Two of those numbers form the “public key”, the others are part of your “private key”. The “public key” bits are also embedded in your Certificate (we get them from your CSR). To check that the public key in your cert matches the public portion of your… Continue reading How to verify matching private key with a certificate

WHMCS Security Advisory

A potential security issue has been discovered whereby it may be possible for a malicious user to inject a specially crafted combination of variables leading to unexpected results. The issue revolves around the Smarty templating system and template related processing. > Patch Download Link: http://www.whmcs.com/go/21/download Patch will work for all versions of WHMCS 4.x. Buy… Continue reading WHMCS Security Advisory

Categorized as cPanel Tagged

Plesk 10.X fails to start after upgrade !

Service of the sw-cp-server cannot be started after the Parallels Plesk Panel upgrade. The sw-cp-server fails to start with the following error: /etc/init.d/sw-cp-server start Starting SWsoft control panels server…Duplicate config variable in conditional 0 global: var.sso_username 2011-04-14 05:48:16: (configfile.c.838) source: /usr/share/sw-cp-server/applications-conf.sh line: 72 pos: 11 parser failed somehow near here: (EOL) 2011-04-14 05:48:16: (configfile.c.838) source:… Continue reading Plesk 10.X fails to start after upgrade !

Flush DNS cache

This morning I was doing some work with one of my website transfer and to see the changes on my MacBook laptop I knew I would need to flush the DNS cache so I wouldn’t have to wait for the cache to expire. So for anyone else who needs to know the commands here they… Continue reading Flush DNS cache