Hello 😀
I followed the lamp installation from the official doc.
https://getsol.us/articles/software/httpd/en/
Unfortunately, php does not want to start. Here, the systemctl status
php-fpm.service - The PHP FastCGI Process Manager
Loaded: loaded (/usr/lib/systemd/system/php-fpm.service; enabled; vendor p>
Active: failed (Result: timeout) since Sat 2021-05-22 17:27:49 CEST; 1min >
Process: 679 ExecStart=/usr/sbin/php-fpm --nodaemonize --fpm-config /etc/ph>
Main PID: 679 (code=exited, status=0/SUCCESS)
CPU: 79ms
Warning: some journal files were not opened due to insufficient permissions.
So I try to execute it in su -
php-fpm.service - The PHP FastCGI Process Manager
Loaded: loaded (/usr/lib/systemd/system/php-fpm.service; enabled; vendor p>
Active: failed (Result: timeout) since Sat 2021-05-22 17:31:35 CEST; 33s a>
Process: 2286 ExecStart=/usr/sbin/php-fpm --nodaemonize --fpm-config /etc/p>
Main PID: 2286 (code=exited, status=0/SUCCESS)
CPU: 61ms
mai 22 17:30:05 sebastien php-fpm[2286]: Cannot find module (IP-FORWARD-MIB): A>
mai 22 17:30:05 sebastien php-fpm[2286]: Cannot find module (NET-SNMP-PASS-MIB)>
mai 22 17:30:05 sebastien php-fpm[2286]: Cannot find module (NET-SNMP-EXTEND-MI>
mai 22 17:30:05 sebastien php-fpm[2286]: Cannot find module (UCD-DLMOD-MIB): At>
mai 22 17:30:05 sebastien php-fpm[2286]: Cannot find module (SNMP-NOTIFICATION->
mai 22 17:30:05 sebastien php-fpm[2286]: Cannot find module (SNMPv2-TM): At lin>
mai 22 17:30:05 sebastien php-fpm[2286]: Cannot find module (NET-SNMP-VACM-MIB)>
mai 22 17:31:35 sebastien systemd[1]: php-fpm.service: start operation timed ou>
mai 22 17:31:35 sebastien systemd[1]: php-fpm.service: Failed with result 'time>
mai 22 17:31:35 sebastien systemd[1]: Failed to start The PHP FastCGI Process M>
And here, the journalctl -xe
mai 22 17:36:12 sebastien audit: PROCTITLE proctitle=2F7573722F7362696E2F7068702D66706D002D2D6E6F6461656D6F6E697A65002D2D6>
mai 22 17:36:22 sebastien audit[2442]: AVC apparmor="DENIED" operation="sendmsg" profile="php-fpm" name="/run/systemd/noti>
mai 22 17:36:22 sebastien audit[2442]: SYSCALL arch=c000003e syscall=46 success=no exit=-13 a0=9 a1=7ffc433263f0 a2=4000 a>
mai 22 17:36:22 sebastien audit: PROCTITLE proctitle=2F7573722F7362696E2F7068702D66706D002D2D6E6F6461656D6F6E697A65002D2D6>
mai 22 17:36:32 sebastien audit[2442]: AVC apparmor="DENIED" operation="sendmsg" profile="php-fpm" name="/run/systemd/noti>
mai 22 17:36:32 sebastien audit[2442]: SYSCALL arch=c000003e syscall=46 success=no exit=-13 a0=9 a1=7ffc433263f0 a2=4000 a>
mai 22 17:36:32 sebastien audit: PROCTITLE proctitle=2F7573722F7362696E2F7068702D66706D002D2D6E6F6461656D6F6E697A65002D2D6>
mai 22 17:36:42 sebastien audit[2442]: AVC apparmor="DENIED" operation="sendmsg" profile="php-fpm" name="/run/systemd/noti>
mai 22 17:36:42 sebastien audit[2442]: SYSCALL arch=c000003e syscall=46 success=no exit=-13 a0=9 a1=7ffc433263f0 a2=4000 a>
mai 22 17:36:42 sebastien audit: PROCTITLE proctitle=2F7573722F7362696E2F7068702D66706D002D2D6E6F6461656D6F6E697A65002D2D6>
mai 22 17:36:52 sebastien audit[2442]: AVC apparmor="DENIED" operation="sendmsg" profile="php-fpm" name="/run/systemd/noti>
mai 22 17:36:52 sebastien audit[2442]: SYSCALL arch=c000003e syscall=46 success=no exit=-13 a0=9 a1=7ffc433263f0 a2=4000 a>
mai 22 17:36:52 sebastien audit: PROCTITLE proctitle=2F7573722F7362696E2F7068702D66706D002D2D6E6F6461656D6F6E697A65002D2D6>
mai 22 17:37:02 sebastien audit[2442]: AVC apparmor="DENIED" operation="sendmsg" profile="php-fpm" name="/run/systemd/noti>
mai 22 17:37:02 sebastien audit[2442]: SYSCALL arch=c000003e syscall=46 success=no exit=-13 a0=9 a1=7ffc433263f0 a2=4000 a>
mai 22 17:37:02 sebastien audit: PROCTITLE proctitle=2F7573722F7362696E2F7068702D66706D002D2D6E6F6461656D6F6E697A65002D2D6>
mai 22 17:37:12 sebastien audit[2442]: AVC apparmor="DENIED" operation="sendmsg" profile="php-fpm" name="/run/systemd/noti>
mai 22 17:37:12 sebastien audit[2442]: SYSCALL arch=c000003e syscall=46 success=no exit=-13 a0=9 a1=7ffc433263f0 a2=4000 a>
mai 22 17:37:12 sebastien audit: PROCTITLE proctitle=2F7573722F7362696E2F7068702D66706D002D2D6E6F6461656D6F6E697A65002D2D6>
mai 22 17:37:22 sebastien systemd[1]: php-fpm.service: start operation timed out. Terminating.
mai 22 17:37:22 sebastien systemd[1]: php-fpm.service: Failed with result 'timeout'.
mai 22 17:37:22 sebastien systemd[1]: Failed to start The PHP FastCGI Process Manager.
mai 22 17:37:22 sebastien audit: BPF prog-id=45 op=UNLOAD
Do you have any idea why ? Thank's