MySQL is disabled by sys admin while restarting MySql service

Sometimes it may happen that while restarting mysql service on server you are getting below error. mysql is disabled by sys admin Try running below script to bring mysql up again /scripts/mysqlup If it’s Up then ok, but sometime it will give below error Updates for mysql /etc/mysql disabled If it is not working then go to /etc folder cd /etc Run the […]

See More

How to install ioping in linux server !!!

This tool lets you monitor I/O latency in real time. It shows disk latency in the same way as ping shows network latency. Login to SSH. Go to the folder where you want to download it. cd /usr/local/src Download the installation file. https://ioping.googlecode.com/files/ioping-0.6.tar.gz Extract that file using below command. tar -xzvf ioping-0.6.tar.gz Go inside that […]

See More

How to restore crashed directadmin server from old HDD !!!

First of all mount the crash disk. In my case I am mounting it in /mnt Now, you have to copy the data from old disk to new disk using below commands cp -avprf /mnt/etc/passwd /etc/ cp -avprf /mnt/etc/group /etc/ cp -avprf /mnt/etc/shadow /etc/ cp -avprf /mnt/etc/gshadow /etc/ cp -avprf /mnt/etc/my.cnf /etc/ cp -avprf /mnt/etc/exim* […]

See More