• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Can't start PHP-FPM support for nginx

samf_12

New Pleskian
I can't seem to start PHP-FPM support for nginx in Services Management. I've already installed the service via "Updates and Upgrades", but the upgrader says that it hasn't been installed:

Schermafbeelding 2013-07-31 om 02.10.44.png

When I try to install the service again it simple says "Installation will not continue". On another server the same thing is going on. There it says "Error: You already have the latest version of product(s) and all selected components
installed. Installation will not continue."

How can I fix this and use PHP-FPM support?
 
Do you have enabled repository with php-fpm >= 5.3.9 in your system? Recommended one is dotdeb for your system.
 
Sorry to bother you guys again.

There was a component update for PHP-FPM. I've tried updating it, but it just said "Installation will not continue". So I've removed the PHP-FPM support and tried to install it again, but now it just gives me the same errors as previously.

When I consulted the used PHP version via "php -v" it says:
PHP 5.3.27-1~dotdeb.0 with Suhosin-Patch (cli) (built: Jul 25 2013 19:30:39)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies
with XCache v3.0.1, Copyright (c) 2005-2013, by mOo
with the ionCube PHP Loader v4.2.2, Copyright (c) 2002-2012, by ionCube Ltd.
with Suhosin v0.9.33, Copyright (c) 2007-2012, by SektionEins GmbH
with XCache Cacher v3.0.1, Copyright (c) 2005-2013, by mOo

Is that PHP version too low, such as Nikolay says? How can I upgrade this? Aptitude upgrade gives me zero new upgrades.
 
PHP version is OK (though I talked about php-fpm version specifically). Posting here installation problems without posting content of /tmp/autoinstaller3.log is usually not very productive.
 
Excuse me, Nikolay. I've seem to have installed PHP-FPM by removing nginx and installing both components again.

However, now it seems Plesk can't create vhost configuration files when nginx is activated.

When I started the nginx-service it said:

Unable to configure the web server: Execution failed. Command: httpdmng Arguments: Array ( [0] => --reconfigure-all ) Details: Execution failed. Command: httpdmng Arguments: Array ( [0] => --reconfigure-domains [1] => domain.tld,domain.tld,domain.tld,domain.tld ) Details: 2013-08-01T03:40:57+02:00 ERR (3) [util_exec]: proc_close() failed 2013-08-01T03:40:58+02:00 ERR (3) [util_exec]: proc_close() failed 2013-08-01T03:40:59+02:00 ERR (3) [panel]: Apache config (13753212560.91517100) generation failed: Template_Exception: Destination directory '/etc/nginx/plesk.conf.d/vhosts' not exist file: /opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php line: 68 code: 0 Destination directory '/etc/nginx/plesk.conf.d/vhosts' not exist

Generating configuration files doesn't seem to fix the problem. It just says:
New configuration files for the Apache web server were not created due to the errors in configuration templates: Destination directory '/etc/nginx/plesk.conf.d/vhosts' not exist . The error message containing the detailed error descriptions was sent to you by e-mail. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files.

Commands like 'plesk bin repair --update-vhosts-structure' don't work either. Also says:
Details: 2013-08-01T03:48:10+02:00 ERR (3) [util_exec]: proc_close() failed
2013-08-01T03:48:11+02:00 ERR (3) [util_exec]: proc_close() failed
2013-08-01T03:48:12+02:00 ERR (3) [panel]: Apache config (13753216900.35693700) generation failed: Template_Exception: Destination directory '/etc/nginx/plesk.conf.d/vhosts' not exist

file: /opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 68
code: 0
Destination directory '/etc/nginx/plesk.conf.d/vhosts' not exist

Note that the websites are not offline, though. They seem to be running fine via apache. I really don't understand how this happened.
 
In order for anybody to help you now you need to describe exactly what you did prior to getting these errors. Looks like you've at least wrecked part of directories structure.
 
Back
Top