Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Plesk won’t start or gives 500 error  (Read 2978 times)

0 Members and 1 Guest are viewing this topic.

Aby

  • Guest
Plesk won’t start or gives 500 error
« on: January 26, 2014, 10:22:07 pm »
Plesk won’t start or gives 500 errorPlesk wont start or gives 500 error on loading in browser.


service sw-cp-server start

The status will be failed

Starting SWsoft control panels server… stale pidfile. [FAILED]

Check the Plesk error log /var/log/sw-cp-server/error_log.

tail -f /var/log/sw-cp-server/error_log

2013-06-26 20:51:20: (network.c.371) can’t bind to port: 127.0.0.1 10001 Address already in use
2013-06-26 20:53:45: (log.c.166) server started
2013-06-26 20:53:45: (network.c.371) can’t bind to port: 127.0.0.1 10001 Address already in use
2013-06-26 20:53:45: (log.c.166) server started
2013-06-26 20:53:45: (network.c.371) can’t bind to port: 127.0.0.1 10001 Address already in use
2013-06-26 20:53:50: (log.c.166) server started
2013-06-26 20:53:50: (network.c.371) can’t bind to port: 127.0.0.1 10001 Address already in use

Check what is open on port 10001.

lsof -i tcp:10001

COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
sw-cp-ser 14726 sw-cp-server 5u IPv4 4145375026 0t0 TCP localhost:scp-config (LISTEN)

Stop The Plesk service.
service sw-cp-server stop

Stoppping SWsoft control panels server… not running. [ OK ]

Remove the Plesk PID.
rm -rf /var/run/sw-cp-server.pid

Check if the Plesk process is still running.

ps aux | grep sw-cp-server | grep -v grep
14726 ? S 0:00 /usr/sbin/sw-cp-serverd -f /etc/sw-cp-server/config

Kill the process.
ps ax | grep sw-cp-server | grep -v grep | xargs kill -9

Start Plesk.
service sw-cp-server start
===