• 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 Can't access Plesk and can't start sw-cp-service

StefMG

New Pleskian
Hi, after adding an IP to the firewall whitelist i can't access to Plesk. (Message ERR_CONNECTION_REFUSED)
I try to plesk repair installation but it fail because service sw-cp-service can't restart

this is journalctl -xe
Unit sw-cp-server.service has begun starting up. Apr 13 15:51:52 serv.name.com sw-cp-serverd[930]: nginx: [emerg] "fastcgi_busy_buffers_size" must be less than the size of all "fastcgi_buffers" minus one buffer in /etc/sw-Apr 13 15:51:52 serv.name.com sw-cp-serverd[930]: nginx: configuration file /etc/sw-cp-server/config test failed Apr 13 15:51:52 serv.name.com systemd[1]: sw-cp-server.service: control process exited, code=exited status=1 Apr 13 15:51:52 serv.name.com systemd[1]: Failed to start Startup script for Plesk control panel server. -- Subject: Unit sw-cp-server.service has failed -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit sw-cp-server.service has failed. -- -- The result is failed. Apr 13 15:51:52 serv.name.com systemd[1]: Unit sw-cp-server.service entered failed state. Apr 13 15:51:52 serv.name.com systemd[1]: sw-cp-server.service failed. Apr 13 15:51:53 serv.name.com unix_chkpwd[947]: password check failed for user (root) Apr 13 15:51:55 serv.name.com sshd[911]: Disconnected from 42.192.94.81 port 57356 [preauth] Apr 13 15:51:57 serv.name.com systemd[1]: sw-cp-server.service holdoff time over, scheduling restart. Apr 13 15:51:57 serv.name.com systemd[1]: Stopped Startup script for Plesk control panel server. -- Subject: Unit sw-cp-server.service has finished shutting down -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit sw-cp-server.service has finished shutting down. Apr 13 15:51:57 serv.name.com systemd[1]: Starting Startup script for Plesk control panel server... -- Subject: Unit sw-cp-server.service has begun start-up -- Defined-By: systemd -- -- Unit sw-cp-server.service has begun starting up. Apr 13 15:51:58 serv.name.com sw-cp-serverd[1008]: nginx: [emerg] "fastcgi_busy_buffers_size" must be less than the size of all "fastcgi_buffers" minus one buffer in /etc/swApr 13 15:51:58 serv.name.com sw-cp-serverd[1008]: nginx: configuration file /etc/sw-cp-server/config test failed Apr 13 15:51:58 serv.name.com systemd[1]: sw-cp-server.service: control process exited, code=exited status=1 Apr 13 15:51:58 serv.name.com systemd[1]: Failed to start Startup script for Plesk control panel server. -- Subject: Unit sw-cp-server.service has failed -- Defined-By: systemd -- Unit sw-cp-server.service has failed. -- -- The result is failed. Apr 13 15:51:58 serv.name.com systemd[1]: Unit sw-cp-server.service entered failed state. Apr 13 15:51:58 serv.name.com systemd[1]: sw-cp-server.service failed. Apr 13 15:51:58 serv.name.com postfix/smtpd[15774]: connect from unknown[31.210.20.93]

Can you give me any help?
 
Last edited:
Have you modified default lines:

fastcgi_buffers 16 16k;
fastcgi_buffer_size 32k;

in /etc/sw-cp-server/config ?
 
Yes, I have modify this value but in other file /etc/nginx/nginx.conf
how can restore default value?

I had try to restore this lines and restart nginx and sw-cp-service but sw-cp-service fail
 
Last edited:
Ok, thank you @IgorG
I fix it modify the value in the file /etc/sw-cp-server/config
Them /etc/init.d/psa restart and all services start
 
Back
Top