Unable to start sw-cp-server: (log.c.118) opening errorlog

Created:

2016-12-12 03:39:30 UTC

Modified:

2017-08-16 16:44:51 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable to start sw-cp-server: (log.c.118) opening errorlog

Applicable to:

  • Plesk 11.x for Linux

Symptoms

Unable to start sw-cp-server due to the following error:

# service sw-cp-server start
Starting control panels server...2016-10-19 18:48:38: (log.c.118) opening errorlog '/var/log/sw-cp-server/error_log' failed: No such file or directory

Cause

/var/log/sw-cp-server/ is missing.

Resolution

Recreate /var/log/sw-cp-server/ manually:

# mkdir /var/log/sw-cp-server/

Assign correct permissions:

# chown sw-cp-server:sw-cp-server /var/log/sw-cp-server/

Start the service:

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