openmediavault php无法运行的问题

根据官方文档的指引下安装openmediavault,一路来到apt安装软件包的步骤,php-fpm无法启动便无法继续后续,如下:


Apr 13 04:42:36 bananapim3 systemd[1]: Starting The PHP 7.3 FastCGI Process Manager...
Apr 13 04:42:36 bananapim3 php-fpm7.3[27202]: [13-Apr-2020 04:42:36] ERROR: unable to bind listening socket for address '/run/php/php7.3-fpm.sock': No such file or directory (2)
Apr 13 04:42:36 bananapim3 php-fpm7.3[27202]: [13-Apr-2020 04:42:36] ERROR: FPM initialization failed
Apr 13 04:42:36 bananapim3 systemd[1]: php7.3-fpm.service: Main process exited, code=exited, status=78/CONFIG
Apr 13 04:42:36 bananapim3 systemd[1]: php7.3-fpm.service: Failed with result 'exit-code'.
Apr 13 04:42:36 bananapim3 systemd[1]: Failed to start The PHP 7.3 FastCGI Process Manager.

手动创建一个php7.3-fpm.sock即可,具体造成原因不明:

touch /run/php/php7.3-fpm.sock

跟住继续:

apt -f  install
omv-confdbadm populate

 

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注