Windows Server 2003:
Verify the KerioMailServer process “mailserver.exe” is running.
tasklist /svc | find /i “Kerio”
This command will also return the process id of the mailserver.
If the mailserver process is not listed you can query if its stopped by using:
sc queryEx KerioMailServer
Under STATE: You will see “STOPPED,STOP_PENDING,RUNNING,START_PENDING”
If the process is stopped you can see if it shutdown successfully by examining the WIN32_EXIT_CODE
This value should normally be 0 if the process exited normally.
To stop the Kerio mailserver Process you can use:
sc stop KerioMailServer
To start the Kerio mailserver Process you can use:
sc start KerioMailServer
If the Kerio process will not stop, you can at last resort before a reboot try a task kill:
taskkill /f /im mailserver.exe
to restart the service:
(wait 3-5 seconds before hitting any key to continue -which will [re]start the service).
sc stop KerioMailServer & pause & sc start KerioMailServer
Mac OS X v10.4
Verify the KerioMailServer process “mailserver” is running.
ps -awx | grep mailserve[r]
This command will also return the process id of the mailserver.
if the mailserver process is not listed you can attempt a start by using:
To stop the Kerio mailserver Process you can use:
sudo SystemStarter stop KerioMailServer
If the Kerio process will not stop, you can as last resort before a reboot try a KILL signal:
sudo launchctl unload ‘/Library/LaunchDaemons/com.kerio.watchkms.plist’
killall -9 mailserver
Remember to reload the com.kerio.watchkms when your ready to [re]start the service in lieu of just using “SystemStarter start…”
sudo launchctl load ‘/Library/LaunchDaemons/com.kerio.watchkms.plist’
To start the Kerio mailserver Process (Normally) you can use:
sudo SystemStarter start KerioMailServer
to restart:
sudo /Library/StartupItems/KerioMailServer/KerioMailServer restart
Mac OS X v10.5
Verify the KerioMailServer process “mailserver” is running.
This command will also return the process id of the mailserver.
ps -awx | grep mailserve[r]
To stop:
sudo launchctl unload ‘/Library/LaunchDaemons/com.kerio.watchkms.plist’
sudo /usr/local/kerio/mailserver/KerioMailServer stop
If the Kerio process will not stop, you can as last resort before a reboot try a KILL signal:
sudo launchctl unload ‘/Library/LaunchDaemons/com.kerio.watchkms.plist’
killall -9 mailserver
To start:
sudo launchctl load ‘/Library/LaunchDaemons/com.kerio.watchkms.plist’
To restart:
sudo /usr/local/kerio/mailserver/KerioMailServer restart