"File not found" message is shown after logging into Plesk

Created:

2016-11-16 13:20:02 UTC

Modified:

2017-08-16 17:30:56 UTC

0

Was this article helpful?


Have more questions?

Submit a request

"File not found" message is shown after logging into Plesk

Applicable to:

  • Plesk Onyx for Linux
  • Plesk 11.x for Linux
  • Plesk 12.0 for Linux

Symptoms

Plesk upgrade was performed recently. The " File not found " message is shown after logging into Plesk.

In /var/log/sw-cp-server/error_log , there are the following messages:

2014/07/09 14:45:04 [error] 7422#0: *3551 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 91.204.25.4, server: , request: "GET /admin/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "91.204.25.4:8443", referrer: "https://91.204.25.4:8443/"

When restarting the sw-cp-server service, the following errors occur:

# service sw-cp-server restart
Stopping sw-cp-serverd: [FAILED]
Starting sw-cp-serverd: nginx: [emerg] bind() to 0.0.0.0:12443 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:12443 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:8443 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:8880 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:8443 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:8880 failed (98: Address already in use)
nginx: [emerg] still could not bind()
[FAILED]
# service sw-cp-server status
sw-cp-serverd is stopped

Cause

sw-cp-server processes are hung.

Resolution

Find the hung processes, stop them, then start the sw-cp-server service:

# ps axf|grep sw-cp|grep -v grep
14421 ? Ss 0:00 sw-cp-server: master process /usr/sbin/sw-cp-serverd -c /etc/sw-cp-server/config
14430 ? S 2:22 \\_ sw-cp-server: worker process
# kill -9 14421 14430
# service sw-cp-server start
Have more questions? Submit a request
Please sign in to leave a comment.