Could not start the POP3/SMTP daemon, how to start manually ?

Basic Diagnosis
If the status of the daemon is saying “Unable to check status“, dont get panic. Check in the /daemon/ folder. Check the permission of the /pid/ folder and it subfolders (i.e ./zpopd/ and ./zsmtpd/ subfolder). Ensure that they have enough permission. Make sure the permission is 777. If not, try CHMOD 777 to /pid/ folder and it subfolders. If this is done, then check back in your Webmaster Admin CP, refresh the page if necessary to get the latest information.
Also ensure that the following files have enough permission, at least 755 :
  • zsmtpd.sh
  • zpopd.sh
  • zsmtpd.pl
  • zpopd.pl

And the rest of the files (zsmtpd.config.pl and zpopd.config.pl) are chmod 777.

If the status still saying “Unable to check status“. This could be because your PHP is in safe-mode. If so, you wont be able to start/stop the daemon service from the admincp, you need to do it manually.
Start/Stop Service Manually
To start/stop or check the daemon status manually, firstly you need to be able to login to the server and be able to issue commands. Standard way of connecting to server (used by almost all hosting) is using SSH (secure shell) connection.
Assuming that you are able to SSH, you need to run the shell script. The syntax of the shell script is “sh zsmtpd.sh/zpopd.sh start/stop/status“. Below are the steps what you need to do:
  1. Change directory, go to the /daemon/ folder.
  2. To start, the commands are:

    (a) for POP3 server

    sh zpopd.sh start

    (b) for SMTP server

    sh zsmtpd.sh start

  3. To stop, the commands are:

    (a) for POP3 server

    sh zpopd.sh stop

    (b) for SMTP server

    sh zsmtpd.sh stop

If somehow you are unable to start/stop using the shell script (i.e. zsmtpd.sh and zpopd.sh file) as mentioned above or you are on Windows server, you may run the daemon script directly from the command line. The command is
perl zpopd.pl
and
perl zsmtpd.pl
for POP3 server and SMTP server respectively. However, running the server this way should be the last resort. This is because, to stop or to check for running services require you to have some system admin skills i.e. you are a techie abt the server.
If you are using SocketMail Pro, its recommended to do the xinetd/inetd integration rather than running the daemon. However, its your choice.
Explore posts in the same categories: install

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s


%d blogger menyukai ini: