ERROR: Restart of php7.0-fpm failed

Hi all !
Help please, I can not understand what happened?


and
in one of the domain in error_log
2020/03/20 14:03:30 [crit] 12634#12634: *7031 open() "/home/****/web/*****/public_html/" failed (13: Permission denied)
any help thanks

Can you please provide more information? What did you try to do? What software do you have installed? PHP versions, single or multi-php, Hestia version etc?

Hi!
Hestia 1.1.0 ,nginx(template-joomla)+php fpm (Multi-PHP) PHP 7.3 debian 9
My actions
for the domain on Joomla (but not for the domain of the system administrator)
changed php.ini
changed the values:
memory_limit = 512M
post_max_size = 200M
upload_max_filesize = 200M

can you please run:

service php7.0-fpm restart

which will fail, and after that run:

journalctl -xe

and post the output of the latter? usually this gives some hint, what might be wrong, probably a missing conf file (or one too much) …

HI, falzo!Thank you for paying attention!
result journalctl -xe

hey, thanks for the screenshot.

these are the interesting lines, and we need the missing info that got cut off:

PS: I assume that this will point to a file that’s either missing or exists but might have wrong permissions etc.

I didn’t miss anything, everything is just like in a screenshot

no, sorry if I was not clear. I mean, these line will have more text… most likely it says something like ‘failed to open configuration file < xyz >’ - and we want to know which file it complains about :wink:

I’m sorry, I don’t speak English well. :pensive:
How can I give you more information?

no worries. that journalctl -xe command prints out the informations why the service could not get started. from that whole output the lines that are of interest are the ones with the ERROR:

in your screenshot not all text is visible, but that text contains the more important information about a config file that php7.0-fpm could not load. to help you solving that problem I need all of the text from these lines, so maybe you can copy the full text instead of a screenshot? :wink:

Falzo.I’m sorry, I don’t understand. This is all the text, it doesn’t give another. Maybe you need error.log?

will this help to understand the problem?

root@bostic:~# /usr/sbin/php-fpm7 -t
-bash: /usr/sbin/php-fpm7: No such file or directory
root@bostic:~# php-fpm7.2 -t
[22-Mar-2020 08:53:10] ERROR: failed to open configuration file '/etc/php/7.2/fpm/php-fpm.conf': No such file or directory (2)
[22-Mar-2020 08:53:10] ERROR: failed to load configuration file '/etc/php/7.2/fpm/php-fpm.conf'
[22-Mar-2020 08:53:10] ERROR: FPM initialization failed
root@bostic:~# sudo service php7.2-fpm status
● php7.2-fpm.service - The PHP 7.2 FastCGI Process Manager
   Loaded: loaded (/lib/systemd/system/php7.2-fpm.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sun 2020-03-22 08:17:48 MSK; 38min ago
     Docs: man:php-fpm7.2(8)
 Main PID: 14421 (code=exited, status=78)

Mar 22 08:17:48 bostic.ru systemd[1]: Starting The PHP 7.2 FastCGI Process Manager...
Mar 22 08:17:48 bostic.ru php-fpm7.2[14421]: [22-Mar-2020 08:17:48] ERROR: failed to open configurat
Mar 22 08:17:48 bostic.ru php-fpm7.2[14421]: [22-Mar-2020 08:17:48] ERROR: failed to load configurat
Mar 22 08:17:48 bostic.ru php-fpm7.2[14421]: [22-Mar-2020 08:17:48] ERROR: FPM initialization failed
Mar 22 08:17:48 bostic.ru systemd[1]: php7.2-fpm.service: Main process exited, code=exited, status=7
Mar 22 08:17:48 bostic.ru systemd[1]: Failed to start The PHP 7.2 FastCGI Process Manager.
Mar 22 08:17:48 bostic.ru systemd[1]: php7.2-fpm.service: Unit entered failed state.
Mar 22 08:17:48 bostic.ru systemd[1]: php7.2-fpm.service: Failed with result 'exit-code'.

seems like whatever program you are using to log in and manage your server sucks hardcore, because it does not wrap lines nor allows you to scroll to the right.

are you using VNC by any chance instead of a proper client like xshell? :grin:

let’s try a different approach, can you run

grep 'fpm.*ERROR' /var/log/syslog

for me and post the output? make your vnc window as wide as possible to get as much output as possible…

:grin: :grin:here
root@bostic:~# grep ‘fpm.*ERROR’ /var/log/syslog
Mar 22 07:36:02 bostic php-fpm7.2[13639]: [22-Mar-2020 07:36:02] ERROR: failed to open configuration file ‘/etc/php/7.2/fpm/php-fpm.conf’: No such file or directory (2)
Mar 22 07:36:02 bostic php-fpm7.2[13639]: [22-Mar-2020 07:36:02] ERROR: failed to load configuration file ‘/etc/php/7.2/fpm/php-fpm.conf’
Mar 22 07:36:02 bostic php-fpm7.2[13639]: [22-Mar-2020 07:36:02] ERROR: FPM initialization failed
Mar 22 07:36:04 bostic php-fpm7.1[14364]: [22-Mar-2020 07:36:04] ERROR: failed to open configuration file ‘/etc/php/7.1/fpm/php-fpm.conf’: No such file or directory (2)
Mar 22 07:36:04 bostic php-fpm7.1[14364]: [22-Mar-2020 07:36:04] ERROR: failed to load configuration file ‘/etc/php/7.1/fpm/php-fpm.conf’
Mar 22 07:36:04 bostic php-fpm7.1[14364]: [22-Mar-2020 07:36:04] ERROR: FPM initialization failed
Mar 22 07:36:06 bostic php-fpm7.0[15088]: [22-Mar-2020 07:36:06] ERROR: failed to open configuration file ‘/etc/php/7.0/fpm/php-fpm.conf’: No such file or directory (2)
Mar 22 07:36:06 bostic php-fpm7.0[15088]: [22-Mar-2020 07:36:06] ERROR: failed to load configuration file ‘/etc/php/7.0/fpm/php-fpm.conf’
Mar 22 07:36:06 bostic php-fpm7.0[15088]: [22-Mar-2020 07:36:06] ERROR: FPM initialization failed
Mar 22 07:37:44 bostic php-fpm7.2[15919]: [22-Mar-2020 07:37:44] ERROR: failed to open configuration file ‘/etc/php/7.2/fpm/php-fpm.conf’: No such file or directory (2)
Mar 22 07:37:44 bostic php-fpm7.2[15919]: [22-Mar-2020 07:37:44] ERROR: failed to load configuration file ‘/etc/php/7.2/fpm/php-fpm.conf’
Mar 22 07:37:44 bostic php-fpm7.2[15919]: [22-Mar-2020 07:37:44] ERROR: FPM initialization failed
Mar 22 07:37:45 bostic php-fpm7.1[16643]: [22-Mar-2020 07:37:45] ERROR: failed to open configuration file ‘/etc/php/7.1/fpm/php-fpm.conf’: No such file or directory (2)
Mar 22 07:37:45 bostic php-fpm7.1[16643]: [22-Mar-2020 07:37:45] ERROR: failed to load configuration file ‘/etc/php/7.1/fpm/php-fpm.conf’
Mar 22 07:37:45 bostic php-fpm7.1[16643]: [22-Mar-2020 07:37:45] ERROR: FPM initialization failed
Mar 22 07:37:47 bostic php-fpm7.0[17366]: [22-Mar-2020 07:37:47] ERROR: failed to open configuration file ‘/etc/php/7.0/fpm/php-fpm.conf’: No such file or directory (2)
Mar 22 07:37:47 bostic php-fpm7.0[17366]: [22-Mar-2020 07:37:47] ERROR: failed to load configuration file ‘/etc/php/7.0/fpm/php-fpm.conf’
Mar 22 07:37:47 bostic php-fpm7.0[17366]: [22-Mar-2020 07:37:47] ERROR: FPM initialization failed
Mar 22 07:37:52 bostic php-fpm7.2[18174]: [22-Mar-2020 07:37:52] ERROR: failed to open configuration file ‘/etc/php/7.2/fpm/php-fpm.conf’: No such file or directory (2)
Mar 22 07:37:52 bostic php-fpm7.2[18174]: [22-Mar-2020 07:37:52] ERROR: failed to load configuration file ‘/etc/php/7.2/fpm/php-fpm.conf’
Mar 22 07:37:52 bostic php-fpm7.2[18174]: [22-Mar-2020 07:37:52] ERROR: FPM initialization failed
Mar 22 07:37:53 bostic php-fpm7.1[18897]: [22-Mar-2020 07:37:53] ERROR: failed to open configuration file ‘/etc/php/7.1/fpm/php-fpm.conf’: No such file or directory (2)
Mar 22 07:37:53 bostic php-fpm7.1[18897]: [22-Mar-2020 07:37:53] ERROR: failed to load configuration file ‘/etc/php/7.1/fpm/php-fpm.conf’
Mar 22 07:37:53 bostic php-fpm7.1[18897]: [22-Mar-2020 07:37:53] ERROR: FPM initialization failed
Mar 22 07:37:54 bostic php-fpm7.0[19620]: [22-Mar-2020 07:37:54] ERROR: failed to open configuration file ‘/etc/php/7.0/fpm/php-fpm.conf’: No such file or directory (2)
Mar 22 07:37:54 bostic php-fpm7.0[19620]: [22-Mar-2020 07:37:54] ERROR: failed to load configuration file ‘/etc/php/7.0/fpm/php-fpm.conf’
Mar 22 07:37:54 bostic php-fpm7.0[19620]: [22-Mar-2020 07:37:54] ERROR: FPM initialization failed
Mar 22 07:37:58 bostic php-fpm7.2[20429]: [22-Mar-2020 07:37:58] ERROR: failed to open configuration file ‘/etc/php/7.2/fpm/php-fpm.conf’: No such file or directory (2)
Mar 22 07:37:58 bostic php-fpm7.2[20429]: [22-Mar-2020 07:37:58] ERROR: failed to load configuration file ‘/etc/php/7.2/fpm/php-fpm.conf’
Mar 22 07:37:58 bostic php-fpm7.2[20429]: [22-Mar-2020 07:37:58] ERROR: FPM initialization failed
Mar 22 07:38:00 bostic php-fpm7.1[21152]: [22-Mar-2020 07:38:00] ERROR: failed to open configuration file ‘/etc/php/7.1/fpm/php-fpm.conf’: No such file or directory (2)
Mar 22 07:38:00 bostic php-fpm7.1[21152]: [22-Mar-2020 07:38:00] ERROR: failed to load configuration file ‘/etc/php/7.1/fpm/php-fpm.conf’
Mar 22 07:38:00 bostic php-fpm7.1[21152]: [22-Mar-2020 07:38:00] ERROR: FPM initialization failed
Mar 22 07:38:02 bostic php-fpm7.0[21907]: [22-Mar-2020 07:38:02] ERROR: failed to open configuration file ‘/etc/php/7.0/fpm/php-fpm.conf’: No such file or directory (2)
Mar 22 07:38:02 bostic php-fpm7.0[21907]: [22-Mar-2020 07:38:02] ERROR: failed to load configuration file ‘/etc/php/7.0/fpm/php-fpm.conf’
Mar 22 07:38:02 bostic php-fpm7.0[21907]: [22-Mar-2020 07:38:02] ERROR: FPM initialization failed
Mar 22 07:42:29 bostic php-fpm7.2[23130]: [22-Mar-2020 07:42:29] ERROR: failed to open configuration file ‘/etc/php/7.2/fpm/php-fpm.conf’: No such file or directory (2)
Mar 22 07:42:29 bostic php-fpm7.2[23130]: [22-Mar-2020 07:42:29] ERROR: failed to load configuration file ‘/etc/php/7.2/fpm/php-fpm.conf’
Mar 22 07:42:29 bostic php-fpm7.2[23130]: [22-Mar-2020 07:42:29] ERROR: FPM initialization failed
Mar 22 07:42:31 bostic php-fpm7.1[23854]: [22-Mar-2020 07:42:31] ERROR: failed to open configuration file ‘/etc/php/7.1/fpm/php-fpm.conf’: No such file or directory (2)
Mar 22 07:42:31 bostic php-fpm7.1[23854]: [22-Mar-2020 07:42:31] ERROR: failed to load configuration file ‘/etc/php/7.1/fpm/php-fpm.conf’
Mar 22 07:42:31 bostic php-fpm7.1[23854]: [22-Mar-2020 07:42:31] ERROR: FPM initialization failed
Mar 22 07:42:32 bostic php-fpm7.0[24578]: [22-Mar-2020 07:42:32] ERROR: failed to open configuration file ‘/etc/php/7.0/fpm/php-fpm.conf’: No such file or directory (2)
Mar 22 07:42:32 bostic php-fpm7.0[24578]: [22-Mar-2020 07:42:32] ERROR: failed to load configuration file ‘/etc/php/7.0/fpm/php-fpm.conf’
Mar 22 07:42:32 bostic php-fpm7.0[24578]: [22-Mar-2020 07:42:32] ERROR: FPM initialization failed
Mar 22 07:42:37 bostic php-fpm7.2[25387]: [22-Mar-2020 07:42:37] ERROR: failed to open configuration file ‘/etc/php/7.2/fpm/php-fpm.conf’: No such file or directory (2)
Mar 22 07:42:37 bostic php-fpm7.2[25387]: [22-Mar-2020 07:42:37] ERROR: failed to load configuration file ‘/etc/php/7.2/fpm/php-fpm.conf’
Mar 22 07:42:37 bostic php-fpm7.2[25387]: [22-Mar-2020 07:42:37] ERROR: FPM initialization failed
Mar 22 07:42:39 bostic php-fpm7.1[26110]: [22-Mar-2020 07:42:39] ERROR: failed to open configuration file ‘/etc/php/7.1/fpm/php-fpm.conf’: No such file or directory (2)
Mar 22 07:42:39 bostic php-fpm7.1[26110]: [22-Mar-2020 07:42:39] ERROR: failed to load configuration file ‘/etc/php/7.1/fpm/php-fpm.conf’
Mar 22 07:42:39 bostic php-fpm7.1[26110]: [22-Mar-2020 07:42:39] ERROR: FPM initialization failed
Mar 22 07:42:40 bostic php-fpm7.0[26834]: [22-Mar-2020 07:42:40] ERROR: failed to open configuration file ‘/etc/php/7.0/fpm/php-fpm.conf’: No such file or directory (2)
Mar 22 07:42:40 bostic php-fpm7.0[26834]: [22-Mar-2020 07:42:40] ERROR: failed to load configuration file ‘/etc/php/7.0/fpm/php-fpm.conf’
Mar 22 07:42:40 bostic php-fpm7.0[26834]: [22-Mar-2020 07:42:40] ERROR: FPM initialization failed
Mar 22 07:42:44 bostic php-fpm7.2[27642]: [22-Mar-2020 07:42:44] ERROR: failed to open configuration file ‘/etc/php/7.2/fpm/php-fpm.conf’: No such file or directory (2)
Mar 22 07:42:44 bostic php-fpm7.2[27642]: [22-Mar-2020 07:42:44] ERROR: failed to load configuration file ‘/etc/php/7.2/fpm/php-fpm.conf’
Mar 22 07:42:44 bostic php-fpm7.2[27642]: [22-Mar-2020 07:42:44] ERROR: FPM initialization failed
Mar 22 07:42:46 bostic php-fpm7.1[28365]: [22-Mar-2020 07:42:46] ERROR: failed to open configuration file ‘/etc/php/7.1/fpm/php-fpm.conf’: No such file or directory (2)
Mar 22 07:42:46 bostic php-fpm7.1[28365]: [22-Mar-2020 07:42:46] ERROR: failed to load configuration file ‘/etc/php/7.1/fpm/php-fpm.conf’
Mar 22 07:42:46 bostic php-fpm7.1[28365]: [22-Mar-2020 07:42:46] ERROR: FPM initialization failed
Mar 22 07:42:47 bostic php-fpm7.0[29088]: [22-Mar-2020 07:42:47] ERROR: failed to open configuration file ‘/etc/php/7.0/fpm/php-fpm.conf’: No such file or directory (2)
Mar 22 07:42:47 bostic php-fpm7.0[29088]: [22-Mar-2020 07:42:47] ERROR: failed to load configuration file ‘/etc/php/7.0/fpm/php-fpm.conf’
Mar 22 07:42:47 bostic php-fpm7.0[29088]: [22-Mar-2020 07:42:47] ERROR: FPM initialization failed
Mar 22 07:54:56 bostic php-fpm7.2[30946]: [22-Mar-2020 07:54:56] ERROR: failed to open configuration file ‘/etc/php/7.2/fpm/php-fpm.conf’: No such file or directory (2)
Mar 22 07:54:56 bostic php-fpm7.2[30946]: [22-Mar-2020 07:54:56] ERROR: failed to load configuration file ‘/etc/php/7.2/fpm/php-fpm.conf’
Mar 22 07:54:56 bostic php-fpm7.2[30946]: [22-Mar-2020 07:54:56] ERROR: FPM initialization failed
Mar 22 07:54:58 bostic php-fpm7.1[31670]: [22-Mar-2020 07:54:58] ERROR: failed to open configuration file ‘/etc/php/7.1/fpm/php-fpm.conf’: No such file or directory (2)
Mar 22 07:54:58 bostic php-fpm7.1[31670]: [22-Mar-2020 07:54:58] ERROR: failed to load configuration file ‘/etc/php/7.1/fpm/php-fpm.conf’
Mar 22 07:54:58 bostic php-fpm7.1[31670]: [22-Mar-2020 07:54:58] ERROR: FPM initialization failed
Mar 22 07:54:59 bostic php-fpm7.0[32395]: [22-Mar-2020 07:54:59] ERROR: failed to open configuration file ‘/etc/php/7.0/fpm/php-fpm.conf’: No such file or directory (2)
Mar 22 07:54:59 bostic php-fpm7.0[32395]: [22-Mar-2020 07:54:59] ERROR: failed to load configuration file ‘/etc/php/7.0/fpm/php-fpm.conf’
Mar 22 07:54:59 bostic php-fpm7.0[32395]: [22-Mar-2020 07:54:59] ERROR: FPM initialization failed
Mar 22 07:56:58 bostic php-fpm7.2[5141]: [22-Mar-2020 07:56:58] ERROR: failed to open configuration file ‘/etc/php/7.2/fpm/php-fpm.conf’: No such file or directory (2)
Mar 22 07:56:58 bostic php-fpm7.2[5141]: [22-Mar-2020 07:56:58] ERROR: failed to load configuration file ‘/etc/php/7.2/fpm/php-fpm.conf’
Mar 22 07:56:58 bostic php-fpm7.2[5141]: [22-Mar-2020 07:56:58] ERROR: FPM initialization failed
Mar 22 07:57:00 bostic php-fpm7.1[6104]: [22-Mar-2020 07:57:00] ERROR: failed to open configuration file ‘/etc/php/7.1/fpm/php-fpm.conf’: No such file or directory (2)
Mar 22 07:57:00 bostic php-fpm7.1[6104]: [22-Mar-2020 07:57:00] ERROR: failed to load configuration file ‘/etc/php/7.1/fpm/php-fpm.conf’
Mar 22 07:57:00 bostic php-fpm7.1[6104]: [22-Mar-2020 07:57:00] ERROR: FPM initialization failed
Mar 22 07:57:01 bostic php-fpm7.0[6834]: [22-Mar-2020 07:57:01] ERROR: failed to open configuration file ‘/etc/php/7.0/fpm/php-fpm.conf’: No such file or directory (2)
Mar 22 07:57:01 bostic php-fpm7.0[6834]: [22-Mar-2020 07:57:01] ERROR: failed to load configuration file ‘/etc/php/7.0/fpm/php-fpm.conf’
Mar 22 07:57:01 bostic php-fpm7.0[6834]: [22-Mar-2020 07:57:01] ERROR: FPM initialization failed
Mar 22 07:57:42 bostic php-fpm7.0[9516]: [22-Mar-2020 07:57:42] ERROR: failed to open configuration file ‘/etc/php/7.0/fpm/php-fpm.conf’: No such file or directory (2)
Mar 22 07:57:42 bostic php-fpm7.0[9516]: [22-Mar-2020 07:57:42] ERROR: failed to load configuration file ‘/etc/php/7.0/fpm/php-fpm.conf’
Mar 22 07:57:42 bostic php-fpm7.0[9516]: [22-Mar-2020 07:57:42] ERROR: FPM initialization failed
Mar 22 08:17:38 bostic php-fpm7.2[11972]: [22-Mar-2020 08:17:38] ERROR: failed to open configuration file ‘/etc/php/7.2/fpm/php-fpm.conf’: No such file or directory (2)
Mar 22 08:17:38 bostic php-fpm7.2[11972]: [22-Mar-2020 08:17:38] ERROR: failed to load configuration file ‘/etc/php/7.2/fpm/php-fpm.conf’
Mar 22 08:17:38 bostic php-fpm7.2[11972]: [22-Mar-2020 08:17:38] ERROR: FPM initialization failed
Mar 22 08:17:48 bostic php-fpm7.0[14385]: [22-Mar-2020 08:17:48] ERROR: failed to open configuration file ‘/etc/php/7.0/fpm/php-fpm.conf’: No such file or directory (2)
Mar 22 08:17:48 bostic php-fpm7.0[14385]: [22-Mar-2020 08:17:48] ERROR: failed to load configuration file ‘/etc/php/7.0/fpm/php-fpm.conf’
Mar 22 08:17:48 bostic php-fpm7.0[14385]: [22-Mar-2020 08:17:48] ERROR: FPM initialization failed
Mar 22 08:17:48 bostic php-fpm7.1[14403]: [22-Mar-2020 08:17:48] ERROR: failed to open configuration file ‘/etc/php/7.1/fpm/php-fpm.conf’: No such file or directory (2)
Mar 22 08:17:48 bostic php-fpm7.1[14403]: [22-Mar-2020 08:17:48] ERROR: failed to load configuration file ‘/etc/php/7.1/fpm/php-fpm.conf’
Mar 22 08:17:48 bostic php-fpm7.1[14403]: [22-Mar-2020 08:17:48] ERROR: FPM initialization failed
Mar 22 08:17:48 bostic php-fpm7.2[14421]: [22-Mar-2020 08:17:48] ERROR: failed to open configuration file ‘/etc/php/7.2/fpm/php-fpm.conf’: No such file or directory (2)
Mar 22 08:17:48 bostic php-fpm7.2[14421]: [22-Mar-2020 08:17:48] ERROR: failed to load configuration file ‘/etc/php/7.2/fpm/php-fpm.conf’
Mar 22 08:17:48 bostic php-fpm7.2[14421]: [22-Mar-2020 08:17:48] ERROR: FPM initialization failed
Mar 22 08:17:54 bostic php-fpm7.1[15907]: [22-Mar-2020 08:17:54] ERROR: failed to open configuration file ‘/etc/php/7.1/fpm/php-fpm.conf’: No such file or directory (2)
Mar 22 08:17:54 bostic php-fpm7.1[15907]: [22-Mar-2020 08:17:54] ERROR: failed to load configuration file ‘/etc/php/7.1/fpm/php-fpm.conf’
Mar 22 08:17:54 bostic php-fpm7.1[15907]: [22-Mar-2020 08:17:54] ERROR: FPM initialization failed
Mar 22 08:17:55 bostic php-fpm7.0[16638]: [22-Mar-2020 08:17:55] ERROR: failed to open configuration file ‘/etc/php/7.0/fpm/php-fpm.conf’: No such file or directory (2)
Mar 22 08:17:55 bostic php-fpm7.0[16638]: [22-Mar-2020 08:17:55] ERROR: failed to load configuration file ‘/etc/php/7.0/fpm/php-fpm.conf’
Mar 22 08:17:55 bostic php-fpm7.0[16638]: [22-Mar-2020 08:17:55] ERROR: FPM initialization failed
Mar 22 11:26:03 bostic php-fpm7.0[30036]: [22-Mar-2020 11:26:03] ERROR: failed to open configuration file ‘/etc/php/7.0/fpm/php-fpm.conf’: No such file or directory (2)
Mar 22 11:26:03 bostic php-fpm7.0[30036]: [22-Mar-2020 11:26:03] ERROR: failed to load configuration file ‘/etc/php/7.0/fpm/php-fpm.conf’
Mar 22 11:26:03 bostic php-fpm7.0[30036]: [22-Mar-2020 11:26:03] ERROR: FPM initialization failed
Mar 22 11:55:13 bostic php-fpm7.2[826]: [22-Mar-2020 11:55:13] ERROR: failed to open configuration file ‘/etc/php/7.2/fpm/php-fpm.conf’: No such file or directory (2)
Mar 22 11:55:13 bostic php-fpm7.2[826]: [22-Mar-2020 11:55:13] ERROR: failed to load configuration file ‘/etc/php/7.2/fpm/php-fpm.conf’
Mar 22 11:55:13 bostic php-fpm7.2[826]: [22-Mar-2020 11:55:13] ERROR: FPM initialization failed
Mar 22 11:55:15 bostic php-fpm7.1[1599]: [22-Mar-2020 11:55:15] ERROR: failed to open configuration file ‘/etc/php/7.1/fpm/php-fpm.conf’: No such file or directory (2)
Mar 22 11:55:15 bostic php-fpm7.1[1599]: [22-Mar-2020 11:55:15] ERROR: failed to load configuration file ‘/etc/php/7.1/fpm/php-fpm.conf’
Mar 22 11:55:15 bostic php-fpm7.1[1599]: [22-Mar-2020 11:55:15] ERROR: FPM initialization failed
Mar 22 11:55:16 bostic php-fpm7.0[2330]: [22-Mar-2020 11:55:16] ERROR: failed to open configuration file ‘/etc/php/7.0/fpm/php-fpm.conf’: No such file or directory (2)
Mar 22 11:55:16 bostic php-fpm7.0[2330]: [22-Mar-2020 11:55:16] ERROR: failed to load configuration file ‘/etc/php/7.0/fpm/php-fpm.conf’
Mar 22 11:55:16 bostic php-fpm7.0[2330]: [22-Mar-2020 11:55:16] ERROR: FPM initialization failed
Mar 22 13:22:50 bostic php-fpm7.0[8437]: [22-Mar-2020 13:22:50] ERROR: failed to open configuration file ‘/etc/php/7.0/fpm/php-fpm.conf’: No such file or directory (2)
Mar 22 13:22:50 bostic php-fpm7.0[8437]: [22-Mar-2020 13:22:50] ERROR: failed to load configuration file ‘/etc/php/7.0/fpm/php-fpm.conf’
Mar 22 13:22:50 bostic php-fpm7.0[8437]: [22-Mar-2020 13:22:50] ERROR: FPM initialization failed

here we go.

for whatever reason you are missing the php-fpm.conf files for php 7.0 , 7.1 and 7.2. or they have the wrong permission and are therefore not accessible.

you should first check if these files exist in each /etc/php/7.x/fpm dir and if not I can’t tell you why they are missing. as far as I am aware hestia does not touch these files.

if these files are present, then probably something with the permissions to the directory or files is wrong.

as a possible solution I suggest to reinstall the php-fpm packages via

apt install --reinstall php7.0-fpm php7.1-fpm php7.2-fpm

not sure, but that hopefully redeploys the missing conf files from the repo…

1 Like
root@bostic:~# apt install --reinstall php7.0-fpm php7.1-fpm php7.2-fpm
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 3 reinstalled, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
E: Internal Error, No file name for php7.0-fpm:amd64

can i try that?

    apt-get install --reinstall php
    systemctl start php7.0-fpm
    systemctl enable php7.0-fpm
    systemctl restart apache2

didn’t work, swears at php 7.0
service failed because the control process exited with error code

I delete the server and install the hestia all over again, so there will probably be the right solution
Thanks for attention Falzo :+1:
The topic can be closed or deleted.

My solution has been to install Hestiacp in a virtual machine and copy the folders inside /etc/php/.
That solved the error
file ‘/etc/php/7.0/fpm/php-fpm.conf’: No such file or directory