I am running MythTV on CentOS7 as per 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 “I moved it” so it should have just worked.
FPM is installed as a service and uses Software Collections.
The error I was getting from systemctl was:
[root@mythsvr2 abrt]# systemctl status rh-php72-php-fpm.service
● rh-php72-php-fpm.service - The PHP FastCGI Process Manager
Loaded: loaded (/usr/lib/systemd/system/rh-php72-php-fpm.service; enabled; vendor preset: disabled)
Active: failed (Result: core-dump) since Mon 2020-10-26 14:40:15 NZDT; 3min 34s ago
Process: 11405 ExecStart=/opt/rh/rh-php72/root/usr/sbin/php-fpm --nodaemonize (code=dumped, signal=ABRT)
Main PID: 11405 (code=dumped, signal=ABRT)
Oct 26 14:40:15 mythsvr2 php-fpm[11405]: 7fe89e047000-7fe89e048000 r--p 00021000 08:02 1331770 /usr/lib64/ld-2.17.so
Oct 26 14:40:15 mythsvr2 php-fpm[11405]: 7fe89e048000-7fe89e049000 rw-p 00022000 08:02 1331770 /usr/lib64/ld-2.17.so
Oct 26 14:40:15 mythsvr2 php-fpm[11405]: 7fe89e049000-7fe89e04a000 rw-p 00000000 00:00 0
Oct 26 14:40:15 mythsvr2 php-fpm[11405]: 7ffc7b164000-7ffc7b185000 rw-p 00000000 00:00 0 [stack]
Oct 26 14:40:15 mythsvr2 php-fpm[11405]: 7ffc7b1c7000-7ffc7b1c9000 r-xp 00000000 00:00 0 [vdso]
Oct 26 14:40:15 mythsvr2 php-fpm[11405]: ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
Oct 26 14:40:15 mythsvr2 systemd[1]: rh-php72-php-fpm.service: main process exited, code=dumped, status=6/ABRT
Oct 26 14:40:15 mythsvr2 systemd[1]: Failed to start The PHP FastCGI Process Manager.
Oct 26 14:40:15 mythsvr2 systemd[1]: Unit rh-php72-php-fpm.service entered failed state.
Oct 26 14:40:15 mythsvr2 systemd[1]: rh-php72-php-fpm.service failed.
I tried all sorts of things and ran “journalctl -xe” but it just gave:
Oct 26 14:40:15 mythsvr2 php-fpm[11405]: 7fe89dbec000-7fe89dbed000 rw-p 00016000 08:02 1331977 /usr/lib64/libresolv-2.17.so
Oct 26 14:40:15 mythsvr2 php-fpm[11405]: 7fe89dbed000-7fe89dbef000 rw-p 00000000 00:00 0
Oct 26 14:40:15 mythsvr2 php-fpm[11405]: 7fe89dbef000-7fe89dbf7000 r-xp 00000000 08:02 1331952 /usr/lib64/libcrypt-2.17.so
Oct 26 14:40:15 mythsvr2 php-fpm[11405]: 7fe89dbf7000-7fe89ddf6000 ---p 00008000 08:02 1331952 /usr/lib64/libcrypt-2.17.so
Oct 26 14:40:15 mythsvr2 php-fpm[11405]: 7fe89ddf6000-7fe89ddf7000 r--p 00007000 08:02 1331952 /usr/lib64/libcrypt-2.17.so
Oct 26 14:40:15 mythsvr2 php-fpm[11405]: 7fe89ddf7000-7fe89ddf8000 rw-p 00008000 08:02 1331952 /usr/lib64/libcrypt-2.17.so
Oct 26 14:40:15 mythsvr2 php-fpm[11405]: 7fe89ddf8000-7fe89de26000 rw-p 00000000 00:00 0
Oct 26 14:40:15 mythsvr2 php-fpm[11405]: 7fe89de26000-7fe89de48000 r-xp 00000000 08:02 1331770 /usr/lib64/ld-2.17.so
Oct 26 14:40:15 mythsvr2 php-fpm[11405]: 7fe89dfcf000-7fe89e02f000 rw-p 00000000 00:00 0
Oct 26 14:40:15 mythsvr2 php-fpm[11405]: 7fe89e045000-7fe89e047000 rw-p 00000000 00:00 0
Oct 26 14:40:15 mythsvr2 php-fpm[11405]: 7fe89e047000-7fe89e048000 r--p 00021000 08:02 1331770 /usr/lib64/ld-2.17.so
Oct 26 14:40:15 mythsvr2 php-fpm[11405]: 7fe89e048000-7fe89e049000 rw-p 00022000 08:02 1331770 /usr/lib64/ld-2.17.so
Oct 26 14:40:15 mythsvr2 php-fpm[11405]: 7fe89e049000-7fe89e04a000 rw-p 00000000 00:00 0
Oct 26 14:40:15 mythsvr2 php-fpm[11405]: 7ffc7b164000-7ffc7b185000 rw-p 00000000 00:00 0 [stack]
Oct 26 14:40:15 mythsvr2 php-fpm[11405]: 7ffc7b1c7000-7ffc7b1c9000 r-xp 00000000 00:00 0 [vdso]
Oct 26 14:40:15 mythsvr2 php-fpm[11405]: ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
Oct 26 14:40:15 mythsvr2 systemd[1]: rh-php72-php-fpm.service: main process exited, code=dumped, status=6/ABRT
Oct 26 14:40:15 mythsvr2 systemd[1]: Failed to start The PHP FastCGI Process Manager.
-- Subject: Unit rh-php72-php-fpm.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit rh-php72-php-fpm.service has failed.
--
-- The result is failed.
Oct 26 14:40:15 mythsvr2 systemd[1]: Unit rh-php72-php-fpm.service entered failed state.
Oct 26 14:40:15 mythsvr2 systemd[1]: rh-php72-php-fpm.service failed.
Oct 26 14:40:15 mythsvr2 polkitd[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)
Oct 26 14:40:17 mythsvr2 dbus[730]: [system] Activating service name='org.freedesktop.problems' (using servicehelper)
Oct 26 14:40:17 mythsvr2 dbus[730]: [system] Successfully activated service 'org.freedesktop.problems'
Oct 26 14:40:17 mythsvr2 abrt-server[11410]: Email address of sender was not specified. Would you like to do so now? If not, 'user@localhost' is to be used [y/N]
Oct 26 14:40:17 mythsvr2 abrt-server[11410]: Email address of receiver was not specified. Would you like to do so now? If not, 'root@localhost' is to be used [y/N]
Oct 26 14:40:17 mythsvr2 abrt-server[11410]: Sending an email...
Oct 26 14:40:17 mythsvr2 abrt-server[11410]: Sending a notification email to: root@localhost
Oct 26 14:40:17 mythsvr2 abrt-server[11410]: Email was sent to: root@localhost
Oct 26 14:40:17 mythsvr2 postfix/pickup[1604]: 5D268E0142: uid=0 from=<user@localhost>
Oct 26 14:40:17 mythsvr2 postfix/cleanup[11472]: 5D268E0142: message-id=<5f962901.BPNjIbxW+a9le0Ln%user@localhost>
Oct 26 14:40:17 mythsvr2 postfix/qmgr[1606]: 5D268E0142: from=<user@localhost.localdomain>, size=54581, nrcpt=1 (queue active)
Oct 26 14:40:17 mythsvr2 postfix/local[11474]: 5D268E0142: to=<root@localhost.localdomain>, orig_to=<root@localhost>, relay=local, delay=0.09, delays=0.07/0.02/0/0, dsn=2.0.0, status=sent (delivered to mailbox)
Oct 26 14:40:17 mythsvr2 postfix/qmgr[1606]: 5D268E0142: removed
You have new mail in /var/spool/mail/root
I also saw:
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)
Solution
What worked for me was to uninstall and install fpm so I ran:
yum erase rh-php72-php-fpm
yum install rh-php72-php-fpm
systemctl enable rh-php72-php-fpm.service
start rh-php72-php-fpm.service
Then it was all working.
So I don’t really know what was wrong but an uninstall and reinstall resolved the problem and for me at least it didn’t require any reconfigurations.