• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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