• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue 502 Bad Gateway, sw-engine start fails

sfa

New Pleskian
I'm using Plesk 12.5.30 on Ubuntu 14.04.

Trying to access Plesk panel, I get a 502 Bad Gateway since this morning.

/var/log/sw-cp-server/error_log has
2019/05/15 07:57:18 [crit] 15049#0: *3 connect() to unix:/var/run/sw-engine.sock failed (2: No such file or directory) while connecting to upstream, client: xxx.xxx.xxx.xxx, server: , request: "GET /smb/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "xxx.xxx.xxx.xxx:8443"

/etc/init.d/psa stopall && /etc/init.d/psa startall results in
Stopping tomcat service... not installed
Stopping apache service... done
Stopping virusfilter service... not installed
Stopping spamfilter service... not installed
Stopping mailer service... done
Stopping named service... done
Stopping mysql service... done
Stopping sw_cp_server service... done
Stopping sw_engine service... invoke-rc.d: initscript sw-engine, action "status" failed.
already stopped
Starting sw_engine service... invoke-rc.d: initscript sw-engine, action "status" failed.
done
Starting sw_cp_server service... invoke-rc.d: initscript sw-cp-server, action "status" failed.
done
Starting mysql service... already started
Starting named service... done
Starting mailer service... done
Starting spamfilter service... not installed
Starting tomcat service... not installed
Starting apache service... done
Starting superserver service... already started

/etc/init.d/sw-engine start gives me
* Starting Plesk engine pool manager sw-engine-fpm [fail]

/var/log/sw-cp-server/sw-engine.log is empty.

I've tried plesk-installer --select-release-current --reinstall-patch --upgrade-installed-components, but that fails with
***** problem report *****
===> Plesk database scheme was not upgraded completely. See installation log for details.

None of the logs at /var/log/plesk/install have any additional info.

/etc/fstab does have
shm /dev/shm tmpfs defaults 0 0

and I have tried remounting /dev/shm.

I have tried /usr/local/psa/bootstrapper/pp12.5.30-bootstrapper/bootstrapper.sh repair. It says
/usr/bin/sw-engine: error while loading shared libraries: libboost_filesystem-plesk.so.1.55.0: cannot open shared object file: No such file or directory

libboost-system.1.55.0, libboost-filesystem1.54.0 and sw-libboost-filesystem1.55.0 are installed.

Is there anything I can do to save this Plesk installation?
 
Nevermind. I have finally managed to destroy the server beyond repair trying to fix this. Currently installing a new image from scratch. On the bright side, I'll finally move to Onyx.
 
Back
Top