{"id":4350,"date":"2020-10-26T16:03:22","date_gmt":"2020-10-26T03:03:22","guid":{"rendered":"http:\/\/www.zoyinc.com\/?p=4350"},"modified":"2020-10-26T16:03:44","modified_gmt":"2020-10-26T03:03:44","slug":"failed-to-start-the-php-fastcgi-process-manager","status":"publish","type":"post","link":"http:\/\/www.zoyinc.com\/?p=4350","title":{"rendered":"Failed to start The PHP FastCGI Process Manager"},"content":{"rendered":"\n<p>I am running MythTV on CentOS7 as per&nbsp;<a  href=\"http:\/\/www.zoyinc.com\/?p=3885\">MythTV on CentOS 7<\/a> and it has been running fine and for no particular reason after cloning the VM it would not start FPM. When I cloned the VM I selected &#8220;I moved it&#8221; so it should have just worked.<\/p>\n\n\n\n<p>FPM is installed as a service and uses Software Collections.<\/p>\n\n\n\n<p>The error I was getting from systemctl was:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;root@mythsvr2 abrt]# systemctl status rh-php72-php-fpm.service\n\u25cf rh-php72-php-fpm.service - The PHP FastCGI Process Manager\n   Loaded: loaded (\/usr\/lib\/systemd\/system\/rh-php72-php-fpm.service; enabled; vendor preset: disabled)\n   Active: failed (Result: core-dump) since Mon 2020-10-26 14:40:15 NZDT; 3min 34s ago\n  Process: 11405 ExecStart=\/opt\/rh\/rh-php72\/root\/usr\/sbin\/php-fpm --nodaemonize (code=dumped, signal=ABRT)\n Main PID: 11405 (code=dumped, signal=ABRT)\n\nOct 26 14:40:15 mythsvr2 php-fpm&#91;11405]: 7fe89e047000-7fe89e048000 r--p 00021000 08:02 1331770                    \/usr\/lib64\/ld-2.17.so\nOct 26 14:40:15 mythsvr2 php-fpm&#91;11405]: 7fe89e048000-7fe89e049000 rw-p 00022000 08:02 1331770                    \/usr\/lib64\/ld-2.17.so\nOct 26 14:40:15 mythsvr2 php-fpm&#91;11405]: 7fe89e049000-7fe89e04a000 rw-p 00000000 00:00 0\nOct 26 14:40:15 mythsvr2 php-fpm&#91;11405]: 7ffc7b164000-7ffc7b185000 rw-p 00000000 00:00 0                          &#91;stack]\nOct 26 14:40:15 mythsvr2 php-fpm&#91;11405]: 7ffc7b1c7000-7ffc7b1c9000 r-xp 00000000 00:00 0                          &#91;vdso]\nOct 26 14:40:15 mythsvr2 php-fpm&#91;11405]: ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  &#91;vsyscall]\nOct 26 14:40:15 mythsvr2 systemd&#91;1]: rh-php72-php-fpm.service: main process exited, code=dumped, status=6\/ABRT\nOct 26 14:40:15 mythsvr2 systemd&#91;1]: Failed to start The PHP FastCGI Process Manager.\nOct 26 14:40:15 mythsvr2 systemd&#91;1]: Unit rh-php72-php-fpm.service entered failed state.\nOct 26 14:40:15 mythsvr2 systemd&#91;1]: rh-php72-php-fpm.service failed.<\/code><\/pre>\n\n\n\n<p>I tried all sorts of things and ran &#8220;journalctl -xe&#8221; but it just gave:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Oct 26 14:40:15 mythsvr2 php-fpm&#91;11405]: 7fe89dbec000-7fe89dbed000 rw-p 00016000 08:02 1331977                    \/usr\/lib64\/libresolv-2.17.so\nOct 26 14:40:15 mythsvr2 php-fpm&#91;11405]: 7fe89dbed000-7fe89dbef000 rw-p 00000000 00:00 0\nOct 26 14:40:15 mythsvr2 php-fpm&#91;11405]: 7fe89dbef000-7fe89dbf7000 r-xp 00000000 08:02 1331952                    \/usr\/lib64\/libcrypt-2.17.so\nOct 26 14:40:15 mythsvr2 php-fpm&#91;11405]: 7fe89dbf7000-7fe89ddf6000 ---p 00008000 08:02 1331952                    \/usr\/lib64\/libcrypt-2.17.so\nOct 26 14:40:15 mythsvr2 php-fpm&#91;11405]: 7fe89ddf6000-7fe89ddf7000 r--p 00007000 08:02 1331952                    \/usr\/lib64\/libcrypt-2.17.so\nOct 26 14:40:15 mythsvr2 php-fpm&#91;11405]: 7fe89ddf7000-7fe89ddf8000 rw-p 00008000 08:02 1331952                    \/usr\/lib64\/libcrypt-2.17.so\nOct 26 14:40:15 mythsvr2 php-fpm&#91;11405]: 7fe89ddf8000-7fe89de26000 rw-p 00000000 00:00 0\nOct 26 14:40:15 mythsvr2 php-fpm&#91;11405]: 7fe89de26000-7fe89de48000 r-xp 00000000 08:02 1331770                    \/usr\/lib64\/ld-2.17.so\nOct 26 14:40:15 mythsvr2 php-fpm&#91;11405]: 7fe89dfcf000-7fe89e02f000 rw-p 00000000 00:00 0\nOct 26 14:40:15 mythsvr2 php-fpm&#91;11405]: 7fe89e045000-7fe89e047000 rw-p 00000000 00:00 0\nOct 26 14:40:15 mythsvr2 php-fpm&#91;11405]: 7fe89e047000-7fe89e048000 r--p 00021000 08:02 1331770                    \/usr\/lib64\/ld-2.17.so\nOct 26 14:40:15 mythsvr2 php-fpm&#91;11405]: 7fe89e048000-7fe89e049000 rw-p 00022000 08:02 1331770                    \/usr\/lib64\/ld-2.17.so\nOct 26 14:40:15 mythsvr2 php-fpm&#91;11405]: 7fe89e049000-7fe89e04a000 rw-p 00000000 00:00 0\nOct 26 14:40:15 mythsvr2 php-fpm&#91;11405]: 7ffc7b164000-7ffc7b185000 rw-p 00000000 00:00 0                          &#91;stack]\nOct 26 14:40:15 mythsvr2 php-fpm&#91;11405]: 7ffc7b1c7000-7ffc7b1c9000 r-xp 00000000 00:00 0                          &#91;vdso]\nOct 26 14:40:15 mythsvr2 php-fpm&#91;11405]: ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  &#91;vsyscall]\nOct 26 14:40:15 mythsvr2 systemd&#91;1]: rh-php72-php-fpm.service: main process exited, code=dumped, status=6\/ABRT\nOct 26 14:40:15 mythsvr2 systemd&#91;1]: Failed to start The PHP FastCGI Process Manager.\n-- Subject: Unit rh-php72-php-fpm.service has failed\n-- Defined-By: systemd\n-- Support: http:\/\/lists.freedesktop.org\/mailman\/listinfo\/systemd-devel\n--\n-- Unit rh-php72-php-fpm.service has failed.\n--\n-- The result is failed.\nOct 26 14:40:15 mythsvr2 systemd&#91;1]: Unit rh-php72-php-fpm.service entered failed state.\nOct 26 14:40:15 mythsvr2 systemd&#91;1]: rh-php72-php-fpm.service failed.\nOct 26 14:40:15 mythsvr2 polkitd&#91;727]: Unregistered Authentication Agent for unix-process:11399:76778 (system bus name :1.72, object path \/org\/freedesktop\/PolicyKit1\/AuthenticationAgent, locale en_NZ.UTF-8) (disconnected from bus)\nOct 26 14:40:17 mythsvr2 dbus&#91;730]: &#91;system] Activating service name='org.freedesktop.problems' (using servicehelper)\nOct 26 14:40:17 mythsvr2 dbus&#91;730]: &#91;system] Successfully activated service 'org.freedesktop.problems'\nOct 26 14:40:17 mythsvr2 abrt-server&#91;11410]: Email address of sender was not specified. Would you like to do so now? If not, 'user@localhost' is to be used &#91;y\/N]\nOct 26 14:40:17 mythsvr2 abrt-server&#91;11410]: Email address of receiver was not specified. Would you like to do so now? If not, 'root@localhost' is to be used &#91;y\/N]\nOct 26 14:40:17 mythsvr2 abrt-server&#91;11410]: Sending an email...\nOct 26 14:40:17 mythsvr2 abrt-server&#91;11410]: Sending a notification email to: root@localhost\nOct 26 14:40:17 mythsvr2 abrt-server&#91;11410]: Email was sent to: root@localhost\nOct 26 14:40:17 mythsvr2 postfix\/pickup&#91;1604]: 5D268E0142: uid=0 from=&lt;user@localhost>\nOct 26 14:40:17 mythsvr2 postfix\/cleanup&#91;11472]: 5D268E0142: message-id=&lt;5f962901.BPNjIbxW+a9le0Ln%user@localhost>\nOct 26 14:40:17 mythsvr2 postfix\/qmgr&#91;1606]: 5D268E0142: from=&lt;user@localhost.localdomain>, size=54581, nrcpt=1 (queue active)\nOct 26 14:40:17 mythsvr2 postfix\/local&#91;11474]: 5D268E0142: to=&lt;root@localhost.localdomain>, orig_to=&lt;root@localhost>, relay=local, delay=0.09, delays=0.07\/0.02\/0\/0, dsn=2.0.0, status=sent (delivered to mailbox)\nOct 26 14:40:17 mythsvr2 postfix\/qmgr&#91;1606]: 5D268E0142: removed\nYou have new mail in \/var\/spool\/mail\/root<\/code><\/pre>\n\n\n\n<p>I also saw:<br><\/p>\n\n\n\n<p>Unregistered Authentication Agent for unix-process:11336:61288 (system bus name :1.68, object path \/org\/freedesktop\/PolicyKit1\/AuthenticationAgent, locale en_NZ.UTF-8) (disconnected from bus)<\/p>\n\n\n\n<h2 class=\"has-large-font-size wp-block-heading\">Solution<\/h2>\n\n\n\n<p>What worked for me was to uninstall and install fpm so I ran:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>yum erase rh-php72-php-fpm\nyum install rh-php72-php-fpm\nsystemctl enable rh-php72-php-fpm.service\nstart rh-php72-php-fpm.service<\/code><\/pre>\n\n\n\n<p>Then it was all working.<\/p>\n\n\n\n<p>So I don&#8217;t really know what was wrong but an uninstall and reinstall resolved the problem and for me at least it didn&#8217;t require any reconfigurations.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I am running MythTV on CentOS7 as per&nbsp;MythTV on CentOS 7 and it has been running fine and for no particular reason after cloning the VM it would not start FPM. When I cloned the VM I selected &#8220;I moved it&#8221; so it should have just worked. FPM is installed as a service and uses [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":4353,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[85,4,559,10],"tags":[555,556,660,657,251,6,557,659,658,656],"class_list":["post-4350","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-apache","category-linux","category-php","category-wordpress","tag-centos","tag-centos7","tag-fastcgi-2","tag-fpm-2","tag-php","tag-redhat","tag-rhel7","tag-service","tag-systemctl","tag-unregistered-authentication-agent"],"_links":{"self":[{"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/posts\/4350","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4350"}],"version-history":[{"count":3,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/posts\/4350\/revisions"}],"predecessor-version":[{"id":4354,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/posts\/4350\/revisions\/4354"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/media\/4353"}],"wp:attachment":[{"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4350"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4350"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4350"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}