Archive for December 26th, 2011

cpanel/whm license error

First, check the license on http://verify.cpanel.net/ to ensure it is still licensed. If it is not, please contact who you purchase the license from directly. If it says it is valid, try the following as root via SSH: /etc/init.d/firewall stop rdate -s rdate.cpanel.net /usr/local/cpanel/cpkeyclt /etc/init.d/firewall start  

Installation of ionCube Loader

1. Download the program and store it on your server using wget or FTP. http://www.ioncube.com/loader_download.php 2. Unpack the program tar -zxvf ioncube_loaders.tar.gz 3. cd ioncube 4. copy ioncube-install-assistant.php to a web directory such as your hosting directory and open it in your browser window. cp ioncube-install-assistant.php /home/userdirectoryhere/www Then open it http://www.yourdomain.com/ioncube-install-assistant.php The output should be something similar to: Analysis of […]

Some useful linux commands

1) Backup download –>> rsync -av –progress –rsh=”ssh -l 3ixteam” star/ 66.7.205.226:star/ 2) To block 25 port by IP –>> root@server [~]# cat test netstat -n -p|grep 25|awk ‘{print $5}’|awk -F: ‘{print $1}’|sort|uniq|awk ‘{print “csf -d ” $1″/24″}’ root@server [~]# 3) To check pl file on the server(usernname) –>> tail -f /var/log/messages | grep ftp […]

httpd is not working: Unable to open logs

root@server# /etc/init.d/httpd restart Warning: DocumentRoot does not exist httpd not running, trying to start (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs Solution :– root@server [~] netstat -lnp | grep ‘0.0.0.0:80’ tcp        0      0 0.0.0.0:80       […]

httpd is not working : semget: No space left on device

PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_msql.dll’ – /usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_msql.dll: cannot open shared object file: No such file or directory in Unknown on line 0 semget: No space left on device Solution :– ipcs -s for i in `ipcs -s | awk ‘/nobody/ {print $2}’`; do (ipcrm -s $i); done OR ipcs -s […]