To find out whether any particular IP is blocked or not on the server => # route -n |grep <IP Address> :: for example: #route -n |grep 58.8.66.156 To unblock an IP => # route del <IP Address> reject ::for...
Month: July 2009
mysql
Mysql commands
How to connect to Database for any user through Server # mysql -u DBNAME -p DBPASS command for taking mysql backup:=> #mysqldump databasename > file.sql command for restoring : => # mysql -u -p < or #mysql database name <...
How to
Restart Tomcat via SSH :
To start up 1] # cd /usr/local/jakarta/jakarta-tomcat-5.5.9/bin/ # ./startup.sh To shutdown 2] # cd /usr/local/jakarta/jakarta-tomcat-5.5.9/bin/ # ./shutdown.sh
How to
operation not permitted error
If you are trying to change the permission say admin folder by chmod 755 admin/ but it is giving you operation not permitted error then check for imutable # lsattr // it will show you all attributes under the current...