Hi
After having problems with OMV not being able to use DNS (thank you for trying to help ryecoaaron!) I took the bull by the horns and did a fresh install of OMV 3. The last thing I did was installing Nextcloud by using this - "Owncloud-8-and-MySQL-alternative-approach"- guide. Inside of Nextcloud it said that there was a php5-fpm error (something concerning env[PATH], env[TMP] etc in www.conf) but everything seemed to work fine anyway. I decided to work with that problem today.
When I started OMV today i couldn't login in to the webgui - 502 Bad Gateway. After trying "omv-firstaid" with no luck I started looking into php5-fpm to see if that could be the culprit. When trying to "service php5-fpm restart" I got a message that php5 failed to restart with this error messages:
root@OpenMediaVault3:~# journalctl -xn
-- Logs begin at fre 2016-12-02 13:52:55 CET, end at fre 2016-12-02 14:00:01 CET. --
dec 02 13:59:43 OpenMediaVault3 php5-fpm[2137]: [02-Dec-2016 13:59:43] ERROR: [/etc/php5/fpm/pool.d/www.conf:1] value is NULL for a ZEND_INI_PARSER_ENTRY
dec 02 13:59:43 OpenMediaVault3 php5-fpm[2137]: [02-Dec-2016 13:59:43] ERROR: Unable to include /etc/php5/fpm/pool.d/www.conf from /etc/php5/fpm/php-fpm.conf at line 1
dec 02 13:59:43 OpenMediaVault3 php5-fpm[2137]: [02-Dec-2016 13:59:43] ERROR: failed to load configuration file '/etc/php5/fpm/php-fpm.conf'
dec 02 13:59:43 OpenMediaVault3 php5-fpm[2137]: [02-Dec-2016 13:59:43] ERROR: FPM initialization failed
dec 02 13:59:43 OpenMediaVault3 systemd[1]: php5-fpm.service: main process exited, code=exited, status=78/n/a
dec 02 13:59:43 OpenMediaVault3 systemd[1]: Failed to start The PHP FastCGI Process Manager.
-- Subject: Unit php5-fpm.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit php5-fpm.service has failed.
--
-- The result is failed.
Alles anzeigen
and
root@OpenMediaVault3:/etc/nginx# systemctl status php5-fpm.service
● php5-fpm.service - The PHP FastCGI Process Manager
Loaded: loaded (/lib/systemd/system/php5-fpm.service; enabled)
Active: failed (Result: exit-code) since fre 2016-12-02 14:49:58 CET; 42s ago
Process: 3903 ExecStart=/usr/sbin/php5-fpm --nodaemonize --fpm-config /etc/php5/fpm/php-fpm.conf (code=exited, status=78)
Process: 3899 ExecStartPre=/usr/lib/php5/php5-fpm-checkconf (code=exited, status=0/SUCCESS)
Main PID: 3903 (code=exited, status=78)
dec 02 14:49:58 OpenMediaVault3 php5-fpm[3903]: [02-Dec-2016 14:49:58] ERROR: [/etc/php5/fpm/pool.d/www.conf:1] value is NULL for a ZEND_INI_PARSER_ENTRY
dec 02 14:49:58 OpenMediaVault3 php5-fpm[3903]: [02-Dec-2016 14:49:58] ERROR: Unable to include /etc/php5/fpm/pool.d/www.conf from /etc/php5/fpm/php-fpm.conf at line 1
dec 02 14:49:58 OpenMediaVault3 php5-fpm[3903]: [02-Dec-2016 14:49:58] ERROR: failed to load configuration file '/etc/php5/fpm/php-fpm.conf'
dec 02 14:49:58 OpenMediaVault3 php5-fpm[3903]: [02-Dec-2016 14:49:58] ERROR: FPM initialization failed
dec 02 14:49:58 OpenMediaVault3 systemd[1]: php5-fpm.service: main process exited, code=exited, status=78/n/a
dec 02 14:49:58 OpenMediaVault3 systemd[1]: Failed to start The PHP FastCGI Process Manager.
dec 02 14:49:58 OpenMediaVault3 systemd[1]: Unit php5-fpm.service entered failed state.
Alles anzeigen
I saw this discussion 502 Bad Gateway and tried "omv-mkconf php5fpm" and restarted php5-fpm with no luck.
Any ideas what to do?
Thanks for your help