VinnyT
Regular Pleskian
This happened completely out of the blue. No changes were made to the system. The funny thing is that I loaded up a backup image from last week and I am having the same issue on that image as well. The panel has been working fine since last night. This is very strange. Anyway here are the logs:
Starting sw_engine service… failed
Logs:
sw-cp-server/sw-engine.log
[23-Jan-2016 03:47:42] ERROR: FPM initialization failed
[23-Jan-2016 23:13:50] ALERT: [pool www] user has not been defined
[23-Jan-2016 23:13:50] ERROR: failed to post process the configuration
sw-cp-server/error_log
2016/01/22 21:49:47 [error] 943#0: *1309 open() "/usr/local/psa/admin/htdocs/robots.txt" failed (2: No such file or directory), client: 198.20.69.74, server: , request: "GET /robots.txt HTTP/1.1", host: "162.243.221.200:8443"
2016/01/22 21:49:47 [error] 943#0: *1310 open() "/usr/local/psa/admin/htdocs/sitemap.xml" failed (2: No such file or directory), client: 198.20.69.74, server: , request: "GET /sitemap.xml HTTP/1.1", host: "162.243.221.200:8443"
2016/01/23 03:47:13 [crit] 943#0: *1329 connect() to unix:/var/run/sw-engine.sock failed (2: No such file or directory) while connecting to upstream, client: 127.0.0.1, server: , request: "POST /enterprise/control/agent.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "127.0.0.1:8443"
2016/01/23 03:47:13 [crit] 943#0: *1331 connect() to unix:/var/run/sw-engine.sock failed (2: No such file or directory) while connecting to upstream, client: 127.0.0.1, server: , request: "POST /enterprise/control/agent.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "127.0.0.1:8443"
2016/01/24 00:05:22 [crit] 956#0: *1 connect() to unix:/var/run/sw-engine.sock failed (2: No such file or directory) while connecting to upstream, client: 66.249.85.230, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "www.curvve.com:8443"
(i checked the file locations and all of those files are there, i’m not sure why they are not found)
/var/plesk/panel.log:
[2016-01-23 03:59:39] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/wpmng' '--user=nlsecurity' '--php=/opt/plesk/php/5.6/bin/php' '--' '--path=/var/www/vhosts/doamin.com/httpdocs' 'user' 'check-password' '' ''] with exit code [1]
[2016-01-23 03:59:39] ERR [panel] Unable to check WordPress admin credentials while reset cache: open /var/log/newrelic/newrelic-daemon.log: permission denied
PHP Notice: Undefined index: SERVER_NAME in /usr/share/plesk-wp-cli/php/WP_CLI/Runner.php(798) : eval()'d code on line 24
{"err_code":0,"err_message":"Invalid user ID, email or login: '’"}
ALSO -- THIS MIGHT BE IMPORTANT --
Now that I am running php-fpm /PHP 5.6, I have 2 versions of PHP on my server: 5.6 and the base version that is used for plesk. I can start php-fpm using the plesk-php56-fpm service, but I can NOT start the standard php-fpm service (i have never been able to).
systemd[1]: Starting The PHP FastCGI Process Manager...
php-fpm[11342]: [24-Jan-2016 03:20:29] ERROR: No pool defined. at least one pool section must be specified in config file
php-fpm[11342]: [24-Jan-2016 03:20:29] ERROR: failed to post process the configuration
php-fpm[11342]: [24-Jan-2016 03:20:29] ERROR: FPM initialization failed
systemd[1]: php-fpm.service: main process exited, code=exited, status=78/n/a
systemd[1]: Failed to start The PHP FastCGI Process Manager.
systemd[1]: Unit php-fpm.service entered failed state.
systemd[1]: php-fpm.service failed.
I have already tried the following:
'plesk repair all -y'
httpdmng reconfigure --server and reconfigure-all
/usr/local/psa/bootstrapper/pp12.5.30-bootstrapper/bootstrapper.sh repair
NONE of those worked.
Any help would be greatly appreciated.
Starting sw_engine service… failed
Logs:
sw-cp-server/sw-engine.log
[23-Jan-2016 03:47:42] ERROR: FPM initialization failed
[23-Jan-2016 23:13:50] ALERT: [pool www] user has not been defined
[23-Jan-2016 23:13:50] ERROR: failed to post process the configuration
sw-cp-server/error_log
2016/01/22 21:49:47 [error] 943#0: *1309 open() "/usr/local/psa/admin/htdocs/robots.txt" failed (2: No such file or directory), client: 198.20.69.74, server: , request: "GET /robots.txt HTTP/1.1", host: "162.243.221.200:8443"
2016/01/22 21:49:47 [error] 943#0: *1310 open() "/usr/local/psa/admin/htdocs/sitemap.xml" failed (2: No such file or directory), client: 198.20.69.74, server: , request: "GET /sitemap.xml HTTP/1.1", host: "162.243.221.200:8443"
2016/01/23 03:47:13 [crit] 943#0: *1329 connect() to unix:/var/run/sw-engine.sock failed (2: No such file or directory) while connecting to upstream, client: 127.0.0.1, server: , request: "POST /enterprise/control/agent.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "127.0.0.1:8443"
2016/01/23 03:47:13 [crit] 943#0: *1331 connect() to unix:/var/run/sw-engine.sock failed (2: No such file or directory) while connecting to upstream, client: 127.0.0.1, server: , request: "POST /enterprise/control/agent.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "127.0.0.1:8443"
2016/01/24 00:05:22 [crit] 956#0: *1 connect() to unix:/var/run/sw-engine.sock failed (2: No such file or directory) while connecting to upstream, client: 66.249.85.230, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "www.curvve.com:8443"
(i checked the file locations and all of those files are there, i’m not sure why they are not found)
/var/plesk/panel.log:
[2016-01-23 03:59:39] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/wpmng' '--user=nlsecurity' '--php=/opt/plesk/php/5.6/bin/php' '--' '--path=/var/www/vhosts/doamin.com/httpdocs' 'user' 'check-password' '' ''] with exit code [1]
[2016-01-23 03:59:39] ERR [panel] Unable to check WordPress admin credentials while reset cache: open /var/log/newrelic/newrelic-daemon.log: permission denied
PHP Notice: Undefined index: SERVER_NAME in /usr/share/plesk-wp-cli/php/WP_CLI/Runner.php(798) : eval()'d code on line 24
{"err_code":0,"err_message":"Invalid user ID, email or login: '’"}
ALSO -- THIS MIGHT BE IMPORTANT --
Now that I am running php-fpm /PHP 5.6, I have 2 versions of PHP on my server: 5.6 and the base version that is used for plesk. I can start php-fpm using the plesk-php56-fpm service, but I can NOT start the standard php-fpm service (i have never been able to).
systemd[1]: Starting The PHP FastCGI Process Manager...
php-fpm[11342]: [24-Jan-2016 03:20:29] ERROR: No pool defined. at least one pool section must be specified in config file
php-fpm[11342]: [24-Jan-2016 03:20:29] ERROR: failed to post process the configuration
php-fpm[11342]: [24-Jan-2016 03:20:29] ERROR: FPM initialization failed
systemd[1]: php-fpm.service: main process exited, code=exited, status=78/n/a
systemd[1]: Failed to start The PHP FastCGI Process Manager.
systemd[1]: Unit php-fpm.service entered failed state.
systemd[1]: php-fpm.service failed.
I have already tried the following:
'plesk repair all -y'
httpdmng reconfigure --server and reconfigure-all
/usr/local/psa/bootstrapper/pp12.5.30-bootstrapper/bootstrapper.sh repair
NONE of those worked.
Any help would be greatly appreciated.