Get a core file from KMS by crashing the mailserver

Only do this while the mailserver is in the frozen state.

First, open Terminal, and become "root" by typing:

sudo bash

(The commands you type are in red.)

root# ps auxw | grep mailserver
root     29225  0.5  5.3 125892 27332 ?      Ssl  Jun30 218:43 /usr/local/kerio/mailserver/mailserver /usr/local/kerio/mailserver
root     29229  0.0  4.0 36108 20668 ?       Sl   Jun30   0:57 /usr/local/kerio/mailserver/plugins/avserver 32 37
root     29236  0.0  2.9 28020 15024 ?       Sl   Jun30   0:02 /usr/local/kerio/mailserver/plugins/spamserver 32 39
root       440  0.0  0.1  4360  648 pts/2    R+   16:48   0:00 grep mailserver
root# kill -s 6 29225
root# gzip /cores/core.29225
root# ls -l /cores/core.29225.gz
-rw-------  3 root wheel 5517819 Jul 30 16:49 /cores/core.29225.gz
root# 

In this example, the process showing "/usr/local/kerio/mailserver/mailserver /usr/local/kerio/mailserver" is the Kerio MailServer process. The PID for this process is 29225 in this example. It will be different every time.

The "kill" command is used to create the core file and terminate the process. You will need to start KMS again after doing this.

The "gzip" command is used to compress the core file so that it can be sent to us via FTP.

Gzip the most recent core, and send it to our FTP site. Call Kerio technical support for an FTP account.

How to FTP a file to the Kerio FTP server.