• 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

[SOLVED] Plesk panel empty ? while sites are working

Erwin Fiten

Basic Pleskian
Hi, I'm using latest 12.5 build of plesk (Web Pro edition) on Debian 8.
Until now it was working like it should.

When I changed to Power User view, a got to the login screen, after login in as root, I'm seeing that everything is gone ? I'm getting like a first setup page :
plesk.png


I have 5 domains on this server, that are accessible without problems.
But the backend seems to be gone?
Is there anything I can do about it? should I restart Plesk to see what happens ?
But I don't want the sites to go offline after restart, now they are still working but i can't go to the backend.
Untill now, the enduser doesn't see the problem, when i restart, and the sites are gone, they will notice it.

I asked a customer, and he IS able to login to the backend part of his domain, so this is strange.

Erwin
 
Hi Erwin,

Could you check the content of your log?
/var/log/sw-cp-server/error_log and /var/log/sw-cp-server/sw-engine.log

See if there's any issue reported?

What I would do (I can't assure that it wont break anything but i'm really confident that apache/nginx etc will still run) is to run this command /etc/init.d/sw-cp-server restart and try again.
 
Code:
root@fiten:/home/efiten# cat /var/log/sw-cp-server/error_log and /var/log/sw-cp-server/sw-engine.log
2016/02/28 12:59:36 [error] 20269#0: *513 open() "/opt/psa/admin/htdocs/robots.txt" failed (2: No such file or directory), client: 66.249.78.154, server: , request: "GET /robots.txt HTTP/1.1", host: "www.on6zg.be:8443"
2016/02/29 23:04:10 [error] 20269#0: *550 open() "/opt/psa/admin/htdocs/robots.txt" failed (2: No such file or directory), client: 66.249.78.241, server: , request: "GET /robots.txt HTTP/1.1", host: "on6zg.be:8443"
cat: and: No such file or directory
root@fiten:/home/efiten#

This is the only thing in that log.
restarted without luck :
Code:
root@fiten:/home/efiten# /etc/init.d/sw-cp-server restart
[....] Restarting sw-cp-server (via systemctl): sw-cp-server.serviceJob for sw-cp-server.service failed. See 'systemctl status sw-cp-server.service' and 'journalctl -xn' for details.
failed!

Code:
root@fiten:/home/efiten# systemctl status sw-cp-server.service
● sw-cp-server.service - Startup script for Plesk control panel server
   Loaded: loaded (/lib/systemd/system/sw-cp-server.service; enabled)
   Active: failed (Result: exit-code) since Wed 2016-03-02 16:51:12 CET; 23s ago
  Process: 31933 ExecStart=/usr/sbin/sw-cp-serverd -c /etc/sw-cp-server/config (code=exited, status=1/FAILURE)
  Process: 31928 ExecStartPre=/usr/sbin/sw-cp-serverd -q -t (code=exited, status=0/SUCCESS)
Main PID: 622 (code=exited, status=0/SUCCESS)

Mar 02 16:51:11 fxx.eu sw-cp-serverd[31933]: nginx: [emerg] bind() to [::]:8443 failed (98: Address already in use)
Mar 02 16:51:11 fxx.eu sw-cp-serverd[31933]: nginx: [emerg] bind() to [::]:8880 failed (98: Address already in use)
Mar 02 16:51:12 fxx.eu sw-cp-serverd[31933]: nginx: [emerg] bind() to 0.0.0.0:8443 failed (98: Address already in use)
Mar 02 16:51:12 fxx.eu sw-cp-serverd[31933]: nginx: [emerg] bind() to 0.0.0.0:8880 failed (98: Address already in use)
Mar 02 16:51:12 fxx.eu sw-cp-serverd[31933]: nginx: [emerg] bind() to [::]:8443 failed (98: Address already in use)
Mar 02 16:51:12 fxx.eu sw-cp-serverd[31933]: nginx: [emerg] bind() to [::]:8880 failed (98: Address already in use)
Mar 02 16:51:12 fxx.eu sw-cp-serverd[31933]: nginx: [emerg] still could not bind()
Mar 02 16:51:12 fxx.eu systemd[1]: sw-cp-server.service: control process exited, code=exited status=1
Mar 02 16:51:12 fxx.eu systemd[1]: Failed to start Startup script for Plesk control panel server.
Mar 02 16:51:12 fxx.eu systemd[1]: Unit sw-cp-server.service entered failed state.


Code:
Mar 02 16:51:29 fxx.eu proftpd[32019]: processing configuration directory '/etc/proftpd.d'
Mar 02 16:51:29 fxx.eu proftpd[32019]: 127.0.0.1 (141.135.x.x[141.135.x.x]) - FTP session opened.
Mar 02 16:51:29 fxx.eu proftpd[32019]: pam_listfile(proftpd:auth): Couldn't open /etc/ftpusers
Mar 02 16:51:29 fxx.eu proftpd[32019]: pam_unix(proftpd:session): session opened for user weaxxx8ar by (uid=0)
Mar 02 16:51:29 fxx.eu systemd-logind[487]: New session c10790 of user on8areu.
-- Subject: A new session c10790 has been created for user onxxxeu
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation: http://www.freedesktop.org/wiki/Software/systemd/multiseat
--
-- A new session with the ID c10790 has been created for the user onxxxeu.
--
-- The leading process of the session is 32019.
Mar 02 16:51:29 fxx.eu proftpd[32019]: 127.0.0.1 (141.135.x.x[141.135.x.x]) - USER weatheron8ar: Login successful.
Mar 02 16:51:30 fxx.eu proftpd[32019]: pam_unix(proftpd:session): session closed for user weaxxx8ar
Mar 02 16:51:30 fxx.eu proftpd[32019]: pam_systemd(proftpd:session): Failed to connect to system bus: Permission denied
Mar 02 16:51:30 fxx.eu proftpd[32019]: 127.0.0.1 (141.135.x.x[141.135.x.x]) - FTP session closed.
Mar 02 16:51:30 fxx.eu systemd-logind[487]: Removed session c10790.
-- Subject: A session c10790 has been terminated
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation: http://www.freedesktop.org/wiki/Software/systemd/multiseat
--
-- A session with the ID c10790 has been terminated.
 
Last edited:
Code:
root@fiten:/home/efiten# cat /var/log/sw-cp-server/error_log and /var/log/sw-cp-server/sw-engine.log
2016/02/28 12:59:36 [error] 20269#0: *513 open() "/opt/psa/admin/htdocs/robots.txt" failed (2: No such file or directory), client: 66.249.78.154, server: , request: "GET /robots.txt HTTP/1.1", host: "www.on6zg.be:8443"
2016/02/29 23:04:10 [error] 20269#0: *550 open() "/opt/psa/admin/htdocs/robots.txt" failed (2: No such file or directory), client: 66.249.78.241, server: , request: "GET /robots.txt HTTP/1.1", host: "on6zg.be:8443"
cat: and: No such file or directory
root@fiten:/home/efiten#

This is the only thing in that log.
Restarting will i itry later today
You didnt get the result of the second file, there was a "and" between paths I sent.

Please provide result from "cat /var/log/sw-cp-server/sw-engine.log" too.
 
I can login as any user, and it works, user sees al his domains.
But when I try to login as admin or root I get the first screen from my mail.

Is it possible to give another user admin access by altering the database? so I can login to the backend again ? I really need to access it.
 
FYI, Plesk support logged in to my environment, created a new (dummy) site, and everything appeared again.
Then I deleted the dummy site, and it still works.
 
Back
Top