Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Managing Services from the Command Line and Viewing Service Logs  (Read 2982 times)

0 Members and 1 Guest are viewing this topic.

linsonj

  • Guest
Managing Services from the Command Line and Viewing Service Logs
« on: November 01, 2013, 02:11:05 pm »

This section describes how to stop, start, and restart services managed by Panel, and access their logs and configuration files.

Parallels Plesk Panel web interface

To stop the service through command line:

net stop plesksrv

To start the service through command line:

net start plesksrv
net start poppassd


To restart the service through command line:

net stop plesksrv
net start plesksrv
net start poppassd


Panel's log file is located in:

%plesk_dir%\admin\logs\W3SVC<IIS site ID>\ex<date>.log

Panel's PHP configuration file is located in:

%plesk_dir%\admin\php.ini

Internet Information Services log file is accessible at:

IIS manager > Sites/Application Pools > PleskControlPanel

Presence Builder

%plesk_dir%\SiteBuilder\_logs


Configuration files are accessible at:

IIS manager > Sites/Application Pools > sitebuilder(default) / SiteBuilderSitesWebAppPool

phpMyAdmin

Log files are located in:

%plesk_dir%\admin\logs\W3SVC<IIS site ID>\ex<date>.log

Configuration files are accessible at:

%plesk_dir%admin\htdocs\domains\databases\phpMyAdmin\config.inc.php

ASP.Net Enterprise Manager

Configuration files are accessible at:

IIS manager > Sites > sqladmin(default)\mssql

myLittleAdmin 2000/2005

Configuration files are accessible at:

IIS manager > Sites > sqladmin(default)\myLittleAdmin

%plesk_vhosts%\sqladmin\myLittleAdmin\2005\config.xml

MailEnable

To stop the service through command line:

net stop meimaps && net stop melcs && net stop memtas && net stop mepops && net stop mepocs && net stop mesmtpcs

To start the service through command line:

net start meimaps && net start melcs && net start memtas && net start mepops && net start mepocs && net start mesmtpcs

To restart the service through command line:

net stop meimaps && net stop melcs && net stop memtas && net stop mepops && net stop mepocs && net stop mesptpcs && net start meimaps && net start melcs && net start memtas && net start mepops && net start mepocs && net start mesmtpcs

Log files are located in:

%plesk_dir%Mail Servers\Mail Enable\Logging

Configuration files are accessible at:

%plesk_dir%\Mail Servers\Mail Enable\Bin\MailEnable.msc

DNS / Named / BIND

To stop the service through command line:

net stop named

To start the service through command line:

net start named

To restart the service through command line:

net stop named && net start named

Log files are accessible through Windows Event Viewer.

Configuration files are accessible at:

%plesk_dir%\dns

MySQL

To stop the service through command line:

net stop plesksqlserver

To start the service through command line:

net start plesksqlserver

To restart the service through command line:

net stop plesksqlserver && net start plesksqlserver

Log files are accessible through Windows Event Viewer.

Configuration file is accessible at:

%plesk_dir%MySQL\Data\my.ini

SpamAssassin

Log files are accessible through Windows Event Viewer.

Configuration files are accessible at:

%plesk_dir%\Additional\Perl\site\var\spamassassin\3.003001

Dr.Web Antivirus

To stop the service through command line:

net stop DrWebCom

To start the service through command line:

net start DrWebCom

To restart the service through command line:

net stop DrWebCom && net start DrWebCom


Log file is located in:

%plesk_dir%DrWeb\drcom.log

FTP service

To stop the service through command line:

net stop iisadmin

To start the service through command line:

net start iisadmin

To restart the service through command line:

net stop iisadmin && net start iisadmin

Log files are located in:

%plesk_vhosts%Servers\<ID>\logs

Configuration files are accessible at:

IIS Manager > FTP sites > <IP address>

Kaspersky Antivirus

To stop the service through command line:

net stop kavsvc

To start the service through command line:

net start kavsvc

To restart the service through command line:

net stop kavsvc && net start kavsvc

Log file is accessible through Windows Event Viewer.

Internet Information Services

To stop the service through command line:

net stop iisadmin

To start the service through command line:

net start iisadmin


To restart the service through command line:

net stop iisadmin && net start iisadmin

Web server log file is accessible through Windows Event Viewer.

Website logs are available at:

%plesk_vhosts%<domain>\statistics\logs\<SITE ID>

Configuration is available through IIS Manager.

AWStats

Configuration file is accessible at:

%plesk_vhosts%\<domain>\statistics\webstat\AWStats\cgi-bin\awstats.<domain>.conf

Webalizer

Configuration file is accessible at:

%plesk_dir%\Additional\Webalizer\conf\webalizer.conf

Plesk Backup Manager

Backup log files are located in:

%plesk_dir%\PMM\<session>\psadump.log

%plesk_dir%\PMM\<session>\migration.log

%plesk_dir%\PMM\logs\migration.log

%plesk_dir%\PMM\logs\pmmcli.log

Restoration log files are located in:

%plesk_dir%\PMM\rsessions\<session>\conflicts.log

%plesk_dir%\PMM\rsessions\<session>\migration.log

%plesk_dir%\PMM\logs\migration.log

%plesk_dir%\PMM\logs\pmmcli.log


Plesk Migration Manager

Log files are located in:

%plesk_dir%\PMM\msessions\<session>\migration.log

%plesk_dir%\PMM\rsessions\<session>\migration.log

%plesk_dir%\PMM\rsessions\<session>\conflicts.log

%plesk_dir%\PMM\logs\migration.log

%plesk_dir%\PMM\logs\pmmcli.log

%plesk_dir%\PMM\logs\migration_handler.log


Horde

Log file is located in:

%plesk_dir%\tmp\horde

Configuration files are accessible at:

Web interface - IIS manager > Sites > webmail (horde)

PHP settings - %plesk_vhosts%\webmail\horde\php.ini

Application settings - %plesk_vhosts%\webmail\horde\config\

Atmail

Error log is located in:

%plesk_dir%\tmp\atmail

Configuration files are accessible at:

Web interface - IIS manager > Sites > webmail (atmail)

Application settings - %plesk_vhosts%\webmail\atmail\libs\Atmail\config.php