Trying to follow a guide on iRedMail’s installation, but I can’t get any further as I can’t install the FPM module for PHP. This is the error I get:
Aug 15 20:00:58 <my mail server> systemd[1]: Starting The PHP 7.0 FastCGI Process Manager...
Aug 15 20:00:58 <my mail server> php-fpm7.0[22519]: [15-Aug-2018 20:00:58] ERROR: [pool root] please specify user and group other than root
Aug 15 20:00:58 <my mail server> php-fpm7.0[22519]: [15-Aug-2018 20:00:58] ERROR: FPM initialization failed
Aug 15 20:00:58 <my mail server> systemd[1]: php7.0-fpm.service: Main process exited, code=exited, status=78/n/a
Aug 15 20:00:58 <my mail server> systemd[1]: Failed to start The PHP 7.0 FastCGI Process Manager.
Aug 15 20:00:58 <my mail server> systemd[1]: php7.0-fpm.service: Unit entered failed state.
Aug 15 20:00:58 <my mail server> systemd[1]: php7.0-fpm.service: Failed with result 'exit-code'.
dpkg: error processing package php7.0-fpm (--configure):
subprocess installed post-installation script returned error exit status 1
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello friend!
Have you made a custom configuration for php-fpm on this system? This line seems to suggest that it is configured to run as root:
Aug 15 20:00:58 <my mail server> php-fpm7.0[22519]: [15-Aug-2018 20:00:58] ERROR: [pool root] please specify user and group other than root
Ideally it should run as a privileged user (www-data is a common example), and it may not start when configured to run as the root user.
Kind Regards, Jarland
@jtittle Hello we need some help for our website on Digital Ocean. When we try to configure website via Wordpress/Flatsome Ux builder tool or when we try to import products via All Import plugin we are getting 504 errors. Digital Ocean Contol Panel is showing high PHP-FPM usage during proccesses. Now we can neither configure home page nor import products to our web site. Can you have a look to investigate the problem and suggest us a solution?
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.