• 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

Resolved plesk login times out

galaxy

Regular Pleskian
plesk version 12.5.30

I usually don't make many changes to a stable running system. But yesterday a client's email account was hacked and hundreds of thousands of emails were sent out. Took forever to clean it up.
Yesterday I enabled "outgoing mail limits" to test how that was going to work. I enabled it globally and then tweaked the values on some specific subscriptions & domains. So this morning I learned that webmail stopped working. I found that all the files in /etc/httpd/conf/plesk.conf.d/webmails/horde/ were missing, so for webmail they just got the default page. Knowing the only change I made was to enable outgoing mail limits, I disabled that from the main Tools page. It didn't have any effect. So I manually recreated the webmail files just to get it working. But now find that I can no longer log into plesk. When you pull up the page:
https://domain.com:8443/ page it just hangs and times out. I rebooted the server, no help. Everything else is running, but not the control panel.

I see in sw-engine.log:

[31-Aug-2016 13:53:15] NOTICE: fpm is running, pid 24672
[31-Aug-2016 13:53:15] NOTICE: ready to handle connections
[31-Aug-2016 13:53:15] NOTICE: systemd monitor interval set to 10000ms


and in /var/log/sw-cp-server/error_log:

2016/08/31 13:52:08 [error] 4942#0: *193 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: x.x.x.x, server: , request: "GET /login.php3?success_redirect_url=https%3A%2F%2Fdomain.com%3A8443%2F HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "domain.com:8443", referrer: "https://domain.com:8443/"
2016/08/31 13:52:08 [error] 4942#0: *197 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: x.x.x.x, server: , request: "GET /login.php3 HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "domain.com:8443"
2016/08/31 13:52:08 [error] 4942#0: *195 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: y.y.y.y, server: , request: "POST /enterprise/control/agent.php HTTP/1.0", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "z.z.z.z:8443"

The last line is the Odin Business Automation Server trying to talk, but that is failing too.

I figured it was still doing something and waited, but its been 6 hours now. So I don't see it coming back anytime soon.

Any suggestions?
 
I found & followed the instructions to https://kb.plesk.com/en/127157

# rm -rf /var/lock/lmlib/container_locks
# rm -f /usr/local/psa/var/cache/*
# service sw-engine restart
# service sw-cp-server restart

which cleared it up.
I need to find an alternative way to limit outgoing emails. I used to use cluebringer-v2.1 and it worked well. I didn't install it after the update expecting the built in one to work.
 
Back
Top