You are not logged in.

#1 2022-07-04 23:53:01

BTrey
Member
Registered: 2022-07-04
Posts: 2

PHP-FPM namespace error [Solved]

Jul 04 22:35:35 yrth systemd[432185]: php-fpm.service: Failed to set up mount namespacing: /run/systemd/unit-root/sys/class/thermal/thermal_zone0/temp: No such file or directory
Jul 04 22:35:35 yrth systemd[432185]: php-fpm.service: Failed at step NAMESPACE spawning /usr/bin/php-fpm: No such file or directory

Can find very little on this error other than an older systemd bug that doesn't apply. One similar error for a different service suggests it may be a permissions error somewhere but not sure where that would be.

Config files for this service and php have not been altered from the default.

Last edited by BTrey (2022-07-07 10:49:43)

Offline

#2 2022-07-07 10:48:45

BTrey
Member
Registered: 2022-07-04
Posts: 2

Re: PHP-FPM namespace error [Solved]

Solved. This was caused by the pihole drop-in file located in /etc/systemd/system/php-fpm.service.d.

https://wiki.archlinux.org/title/Pi-hole#Set-up_PHP

Commenting out the offending line allowed php-fpm to start.

Offline

Board footer

Powered by FluxBB