Sarath June 30, 2013 0

Innodb disabled – MySQL

First check for any disable options for innodb in /etc/my.cnf like skip-innodb and remove them if there is any. Then restart mysql: If that doesn’t work, try # /etc/init.d/mysql stop…

Sarath June 30, 2013 0

Unblock an IP from IPTABLES

To check if an IP is blocked in iptables, use the command : # iptables -nL | grep IP  Sample output : DROP       all  —    x.x.x.x    0.0.0.0/0If the IP…

Sarath June 30, 2013 0

Dual PHP Kloxo – CentOS

I came across a situation this week where a client wanted to install Zend Optimizer on his VPS as his website needed it. But the default PHP version installed on…

Sarath June 30, 2013 0

Restart Tomcat script

Here is a simple script that is tested on CentOS and Ubuntu. It will work on all other UNIX like platforms. You can make modifications to this script to restart…