Restarting plesk services using command line
Hello ,
If you are a server administrator and using Plesk control panel for managing your all domains.
Then, you must know about the important service of Plesk and how to manage these Plesk service from command line.
Here is the list of Plesk important service and how to stop, start and restart from command line:
1) Parallels Plesk Panel web interface service
To start the Plesk service from command line:
/etc/init.d/psa start
To stop the Plesk service from command line:
/etc/init.d/psa stop
To restart the Plesk service from command line:
/etc/init.d/psa restart
Or
In case if you forget the above command, then you just type:
Service psa stop
Service psa start
Service psa stop
DNS / Named / BIND
To start the Plesk service from command line:
/etc/init.d/named start
To stop the pservice from command line:
/etc/init.d/named stop
To restart the Plesk service from command line:
/etc/init.d/named restart
Courier-IMAP
To start the Plesk service from command line:
/etc/init.d/courier-imap start
To stop the Plesk service from command line:
/etc/init.d/courier-imap stop
To restart the Plesk service from command line:
/etc/init.d/courier-imap restart
QMail
To start the Plesk service from command line:
/etc/init.d/qmail start
To stop the Plesk service from command line:
/etc/init.d/qmail stop
To restart the Plesk service from command line:
/etc/init.d/qmail restart
Postfix
To start the Plesk service from command line:
/etc/init.d/postfix start
To stop the Plesk service from command line:
/etc/init.d/postfix stop
To restart the Plesk service from command line:
/etc/init.d/postfix restart
SpamAssassin
To start the Plesk service from command line:
/etc/init.d/psa-spamassassin start
To stop the Plesk service from command line:
/etc/init.d/psa-spamassassin stop
To restart the Plesk service from command line:
/etc/init.d/psa-spamassassin restart
Dr.Web antivirus
To start the Plesk service from command line:
/etc/init.d/drwebd start
To stop the Plesk service from command line:
/etc/init.d/drwebd stop
To restart the Plesk service from command line:
/etc/init.d/drwebd restart
Kaspersky antivirus
To start the Plesk service from command line:
/etc/init.d/aveserver start
To stop the Plesk service from command line:
/etc/init.d/aveserver stop
To restart the Plesk service from command line:
/etc/init.d/aveserver restart
Tomcat
To start the Plesk service from command line:
/etc/init.d/tomcat5 start
To stop the Plesk service from command line:
/etc/init.d/tomcat5 stop
To restart the Plesk service from command line:
/etc/init.d/tomcat5 restart
MySQL
To start the Plesk service from command line:
/etc/init.d/mysqld start
To stop the Plesk service from command line:
/etc/init.d/mysqld stop
To restart the Plesk service from command line:
/etc/init.d/mysqld restart
Postgresql
To start the Plesk service from command line:
/etc/init.d/postgresql start
To stop the Plesk service from command line:
/etc/init.d/postgresql stop
To restart the Plesk service from command line:
/etc/init.d/postgresql restart
xinetd
To start the Plesk service from command line:
/etc/init.d/xinetd start
To stop the Plesk service from command line:
/etc/init.d/xinetd stop
To restart the Plesk service from command line:
/etc/init.d/xinetd restart
Watchdog (monit)
To start the Plesk service from command line:
/usr/local/psa/admin/bin/modules/watchdog/wd –start
To stop the Plesk service from command line:
/usr/local/psa/admin/bin/modules/watchdog/wd –stop
To restart the Plesk service from command line:
/usr/local/psa/admin/bin/modules/watchdog/wd –restart
Apache
To start the Plesk service from command line:
/etc/init.d/httpd start
To stop the Plesk service from command line:
/etc/init.d/httpd stop
To restart the Plesk service from command line:
/etc/init.d/httpd restart
Mailman
To start the Plesk service from command line:
/etc/init.d/mailman start
To stop the Plesk service from command line:
/etc/init.d/mailman stop
To restart the Plesk service from command line:
/etc/init.d/mailman restart
AWstats
To start the Plesk service from command line:
/usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/DailyMaintainance/script.php
Webalizer:
To start the Plesk service from command line:
/usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/DailyMaintainance/script.php
psa-logrotate
To start the Plesk service from command line:
/usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/DailyMaintainance/script.php
Samba
To start the Plesk service from command line:
/etc/init.d/smb start
To stop the Plesk service from command line:
/etc/init.d/smb stop
To restart the Plesk service from command line:
/etc/init.d/smb restart
psa-firewall
To start the Plesk service from command line:
/etc/init.d/psa-firewall start
To stop the Plesk service from command line:
/etc/init.d/psa-firewall stop
To restart the Plesk service from command line:
/etc/init.d/psa-firewall restart
psa-firewall (IP forwarding)
To start the Plesk service from command line:
/etc/init.d/psa-firewall-forward start
To stop the Plesk service from command line:
/etc/init.d/psa-firewall-forward stop
To restart the Plesk service from command line:
/etc/init.d/psa-firewall-forward restart
psa-vpn
To start the Plesk service from command line:
/etc/init.d/smb start
To stop the Plesk service from command line:
/etc/init.d/smb stop
To restart the Plesk service from command line:
/etc/init.d/smb restart
Good luck .