Resetting MySQL Admin Password In Windows server?

Steps to reset mysql admin password in windows server:

1) Log on to the Windows System where MySQL is running as Administrator. Stop MySQL server if it is running. Go to the Services manager:
Start Menu -> Control Panel -> Administrative Tools -> Services
Find MySQL service in the list and stop it.
2) Create a text file and place the following command within it on a single line:
SET PASSWORD FOR root@’localhost = PASSWORD(NewPassword);
Save the file with any name. For example the file will be C:\mysql-pass.txt.
3) Open the DOS command prompt:
Start Menu -> Run -> cmd
4) If MySQL is installed in C:\mysql. At the DOS command prompt execute this command:
C:\> C:\mysql\bin\mysqld-nt init-file=C:\mysql-pass.txt
If MySQL is installed in another location, adjust the following commands accordingly
5) The contents of the file named by the init-file option are executed at server startup, changing the root password. After the server has started successfully.
6) Stop the MySQL server and restart it in normal mode again. If MySQL server is ran as a service, start it from the Windows Services window.
7) Connect to MySQL server by using the new password.

Address already in use: make_sock: could not bind to address [::]:443

(98)Address already in use: make_sock: could not bind to address [::]:443
(98)Address already in use: make_sock: could not bind to address
no listening sockets available, shutting down
Unable to open logs

Also check if Apache logs have exceeded 2GB of limit.

1)Kill All nobody process running on the server. Use the following script for doing that.
cijo@server [~]#for i in `ps auwx | grep -i nobody | awk {‘print $2’}`; do kill -9 $i; done
cijo@server [~]#for i in `lsof -i :80 | grep http | awk {‘ print $2’}`; do kill -9 $i; done
2) If apache is not restarting after this. Remove semaphore using the following script.
cijo@server [~]#for i in `ipcs -s | grep nobody | awk ‘{print $2}’`; do ipcrm -s $i; done
3) Restart apache.


The ionice command Is used to set I/O scheduling class and priority for a program.

The I/O schedule for a program can be changed to the following:

  1. CFQ
  2. Noop scheduler
  3. Anticipatory
  4. Deadline

Continue reading…

Webmail Shows Plesk Default Page

Some time  your websites webmail shows Plesk  Default Page. This may occur because of webmail upgrade.


1.  Log into your domains control panel.

2.  Move on to Mail ->Mail settings.

3.  Under "Webmail" select "None" and click "OK".

4.  Select the "Mail settings" icon again.

5.  Under "Webmail" select "SmarterMail" or "MailEnable" or "Horde" and click "OK".

Continue reading…