Linux * MySQL

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 # mv /var/lib/mysql/ib_logfile0 /var/lib/mysql/ib_logfile0.bak # mv /var/lib/mysql/ib_logfile1 /var/lib/mysql/ib_logfile1.bak # /etc/init.d/mysql start  To check, get into mysql prompt and use the command : > show engines; […]

IPTABLES * Linux

Unblock an IP from IPTABLES

To check if an IP is blocked in iptables, use the command :  # iptables -nL | grep IP_ADDRESS_HERE Sample output: DROP all — x.x.x.x 0.0.0.0/0 If the IP is blocked in iptables, to see the rule: # iptables-save|grep IP_ADDRESS_HERE # iptables-save|grep 192.168.101.8 Sample output: -A LOCALINPUT -s 192.168.101.8 -i eth0 -j DROP   Take […]