And here are the two .sock files just in case:
srw------- 1 www-data www-data 0 Sep 19 09:05 php5-fpm-openmediavault-owncloud.sock
srw-rw---- 1 www-data www-data 0 Sep 19 09:05 php5-fpm-openmediavault-webgui.sock
And here are the two .sock files just in case:
srw------- 1 www-data www-data 0 Sep 19 09:05 php5-fpm-openmediavault-owncloud.sock
srw-rw---- 1 www-data www-data 0 Sep 19 09:05 php5-fpm-openmediavault-webgui.sock
PHP packages in case there's a version conflict:
dpkg -l | grep php
ii php-json-schema 0.2.0 all PHP implementation of JSON schema
ii php-pear 5.4.45-1~dotdeb+7.1 all PEAR - PHP Extension and Application Repository
ii php-xml-parser 1.3.4-6 all PHP PEAR module for parsing XML
ii php5 5.4.45-1~dotdeb+7.1 all server-side, HTML-embedded scripting language (metapackage)
ii php5-cgi 5.4.45-1~dotdeb+7.1 amd64 server-side, HTML-embedded scripting language (CGI binary)
ii php5-cli 5.4.45-1~dotdeb+7.1 amd64 command-line interpreter for the php5 scripting language
ii php5-common 5.4.45-1~dotdeb+7.1 amd64 Common files for packages built from the php5 source
ii php5-curl 5.4.45-1~dotdeb+7.1 amd64 CURL module for php5
ii php5-fpm 5.4.45-1~dotdeb+7.1 amd64 server-side, HTML-embedded scripting language (FPM-CGI binary)
ii php5-gd 5.4.45-1~dotdeb+7.1 amd64 GD module for php5
ii php5-intl 5.4.45-1~dotdeb+7.1 amd64 internationalisation module for php5
ii php5-mcrypt 5.4.45-1~dotdeb+7.1 amd64 MCrypt module for php5
ii php5-mysql 5.4.45-1~dotdeb+7.1 amd64 MySQL module for php5
ii php5-pam 1.0.3-2 amd64 pam module for PHP 5
ii php5-pgsql 5.4.45-1~dotdeb+7.1 amd64 PostgreSQL module for php5
ii php5-proctitle 0.1.2-2 amd64 proctitle module for PHP 5
ii php5-sqlite 5.4.45-1~dotdeb+7.1 amd64 SQLite module for php5
Alles anzeigen
Definitely appreciate the help you guys have provided. Unless anyone has more ideas I'm going to need to reinstall this box.
Definitely appreciate the help you guys have provided. Unless anyone has more ideas I'm going to need to reinstall this box.
You need to find an error in one of the log files, we cant really help if we dont know what the error is. Check all logs in /var/log/*
I put php5-fpm in debug. This is the only thing I've sen so far
[04-Oct-2015 13:26:46.898971] DEBUG: pid 21995, fpm_got_signal(), line 76: received SIGCHLD
[04-Oct-2015 13:26:46.899069] DEBUG: pid 21995, fpm_children_bury(), line 254: [pool openmediavault-webgui] child 22022 has been killed by the process management after 11.262087 seconds from start
[04-Oct-2015 13:26:46.899119] DEBUG: pid 21995, fpm_event_loop(), line 419: event module triggered 1 events
[04-Oct-2015 13:26:47.613907] DEBUG: pid 21995, fpm_children_make(), line 421: [pool openmediavault-webgui] child 22040 started
[04-Oct-2015 13:26:47.614102] DEBUG: pid 21995, fpm_pctl_on_socket_accept(), line 536: [pool openmediavault-webgui] got accept without idle child available .... I forked
[04-Oct-2015 13:26:47.614159] DEBUG: pid 21995, fpm_event_loop(), line 419: event module triggered 1 events
That pattern seems to show up every 10-15 seconds. Can't tell if it's something normal or not.
Have you cleaned your configuration files nginx and php-fpm so they are completely separated like tek babe suggested?
How does they look like now?
I've been doing some troubleshooting as far as the configs go:
When owncloud and openmediavault are each configured to use their own php5 sock, neither page loads.
When owncloud is configured to use openmediavault's php5 sock, it works fine, but obviously openmediavault does not.
I have found no configuration where the openmediavault webgui loads.
The command:
omv-firstaid
Should always fix the webgui. Have you tried to run omv-firstaid when yout owncloud works?
Good suggestion, but it doesn't seem to help. Even with owncloud disabled and accessing via http, just a blank page. I still get the same results with the phpinfo pages, so I still think this is some kind of php issue (phpinfo page in the openmediavault-webgui directly does NOT load. same page in the owncloud directory displays fine).
I would reinstall. It makes it very difficult to help you when there are all these unknown variables (i.e. alterations to normal settings). If you have an issue and don't know what to do ask for help before you make changes.
So try
sudo apt-get --reinstall openmediavault
And see if that works...
please try replacing the content of the following file /etc/nginx/fastcgi_params with that :
fastcgi_param QUERY_STRING $query_string;
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length;
fastcgi_param SCRIPT_FILENAME $request_filename;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
fastcgi_param REQUEST_URI $request_uri;
fastcgi_param DOCUMENT_URI $document_uri;
fastcgi_param DOCUMENT_ROOT $document_root;
fastcgi_param SERVER_PROTOCOL $server_protocol;
fastcgi_param GATEWAY_INTERFACE CGI/1.1;
fastcgi_param SERVER_SOFTWARE nginx/$nginx_version;
fastcgi_param REMOTE_ADDR $remote_addr;
fastcgi_param REMOTE_PORT $remote_port;
fastcgi_param SERVER_ADDR $server_addr;
fastcgi_param SERVER_PORT $server_port;
fastcgi_param SERVER_NAME $server_name;
fastcgi_param HTTPS $https;
# PHP only, required if PHP was built with --enable-force-cgi-redirect
fastcgi_param REDIRECT_STATUS 200;
Alles anzeigen
and restart nginx
When entering /etc/nginx/fastcgi_params i get permission denied using root, anyone know why?
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!