Could not start 'sw-cp-server' service: "No such file or directory"

Created:

2016-11-16 12:49:53 UTC

Modified:

2017-04-24 12:10:26 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Could not start 'sw-cp-server' service: "No such file or directory"

Applicable to:

  • Plesk for Linux

Symptoms

My Plesk Panel is down, I try to start sw-cp-server but it fails with error:

~# /etc/init.d/sw-cp-server start
Starting control panels server...:
(log.c.118) opening errorlog '/var/log/sw-cp-server/error_log' failed: No such file or directory
[FAILED]

Cause

Log file /var/log/sw-cp-server/error_log got deleted.

Resolution

  1. Create log directory if it is missing:

    # mkdir /var/log/sw-cp-server
  2. Create missing log file:

    # touch /var/log/sw-cp-server/error_log
  3. Try to start Plesk Panel again:

    # /etc/init.d/sw-cp-server start
    Starting control panels server...
    [ OK ]
Have more questions? Submit a request
Please sign in to leave a comment.