Translate

Wednesday, July 7, 2010

Useful Plesk Commands

Plesk has various backend scripts to assist in correction any number of errors:

The most useful ones that we use here in Support are as follows:

Run Statistics Manually:

C:\Program Files\SWsoft\Plesk\admin\bin\statistics.exe


Re-build MailEnable according to Plesk DB:

mchk.exe --all --fix=all


Remove site from IIS:

websrvmng --remove-vhost --vhost-name=domainname.tld

Re-create Domain in IIS according to Plesk DB:

websrvmng --reconfigure-vhost --vhost-name=domainname.tld

or

websrvmng --reconfigure-all

Reset IUSR passwords (if particular site is prompting for password):

websrvmng --update-anon-password --domain-name=domainname.tld

Reset IUSR passwords For all accounts (if all sites are prompting for password)

websrvmng --update-anon-passwords-all


Fix webmail (404s)

"%plesk_bin%\defpackagemng.exe" --fix --type=webmail

For dnsmng related errors:

"%plesk_bin%\defpackagemng.exe" --fix --type=dnsserver
"%plesk_bin%\DNSMng.exe" update *

No comments:

Post a Comment

About Me

My photo
Greetings Friend! I am Linux scholar, trying to learn as much I can and share it with you. I am in mid of my Professional Career. Doing Good. :)

Followers