Hello,
I recently made a failed PI-hole installation.
I wanted to install PI-hole in parallel to OMV under Debian on my Raspberry PI.
I were following this thread: [HOWTO] Install Pi-Hole
After that I could not reach the web interface of PI-hole. The error message by
calling the web interface was a 404 error code.
Then I uninstalled PI-hole via an uninstall script.
Later I realized that I can't reach the OMV web interface anymore.
When I call the OMV Web GUI via Firefox I get the message: "403 Forbidden".
I think I have corrupted the nginx web server during PI-hole installation/uninstallation.
I would like to avoid a complete reinstallation of OMV.
Commands like "omv-firstaid" will not be accepted. Message: "command not found".
I can provide you with all info and log files.
On suspicion I have read out here a few log files:
There are even more entries in the access and error.log files.
The entry shown here is repeated but constantly.
::ffff:127.0.0.1 - - [29/Jun/2018:23:53:46 +0200] "GET / HTTP/1.1" 403 162 "-" "Monit/5.9"
2018/06/29 23:55:47 [error] 3227#0: *1 directory index of "/var/www/openmediavault/" is forbidden, client: ::ffff:127.0.0.1, server: openmediavault-webgui, request: "GET / HTTP/1.1", host: "127.0.0.1"
user www-data;
worker_processes 4;
pid /run/nginx.pid;
events {
worker_connections 768;
# multi_accept on;
}
http {
##
# Basic Settings
##
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
types_hash_max_size 2048;
# server_tokens off;
# server_names_hash_bucket_size 64;
# server_name_in_redirect off;
include /etc/nginx/mime.types;
default_type application/octet-stream;
##
# SSL Settings
##
ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # Dropping SSLv3, ref: POODLE
ssl_prefer_server_ciphers on;
##
# Logging Settings
##
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
##
# Gzip Settings
##
gzip on;
gzip_disable "msie6";
# gzip_vary on;
# gzip_proxied any;
# gzip_comp_level 6;
# gzip_buffers 16 8k;
# gzip_http_version 1.1;
# gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
##
# Virtual Host Configs
##
include /etc/nginx/conf.d/*.conf;
include /etc/nginx/sites-enabled/*;
}
#mail {
# # See sample authentication script at:
# # http://wiki.nginx.org/ImapAuthenticateWithApachePhpScript
#
# # auth_http localhost/auth.php;
# # pop3_capabilities "TOP" "USER";
# # imap_capabilities "IMAP4rev1" "UIDPLUS";
#
# server {
# listen localhost:110;
# protocol pop3;
# proxy on;
# }
#
# server {
# listen localhost:143;
# protocol imap;
# proxy on;
# }
#}
Alles anzeigen
total 16
drwxr-xr-x 4 root root 4096 Jun 30 00:03 .
drwxr-xr-x 14 root root 4096 May 5 19:48 ..
drwxrwxr-x 2 www-data www-data 4096 Jun 26 18:59 html
drwxr-xr-x 3 www-data www-data 4096 Jun 25 21:37 openmediavault
-rw-r--r-- 1 root root 0 Jun 30 00:03 rechte.txt
I got some emails. Sender is my Raspberry PI.
monit alert -- Does not exist omv-engined']Does not exist Service omv-engined
Date: Fri, 29 Jun 2018 23:22:30
Action: restart
Host: raspberrypi
Description: process is not running
monit alert -- Execution failed omv-engined']Execution failed Service omv-engined
Date: Fri, 29 Jun 2018 23:23:01
Action: alert
Host: raspberrypi
Description: failed to start (exit status 6) -- /bin/systemctl: Failed to start openmediavault-engined.service: Unit openmediavault-engined.service failed to load: No such file or directory.
monit alert -- Connection failed nginx']Connection failed Service nginx
Date: Fri, 29 Jun 2018 23:24:31
Action: restart
Host: raspberrypi
Description: failed protocol test [HTTP] at INET[127.0.0.1:80] via TCP -- HTTP error: Server returned status 403
I hope four your help.
Best regards
posti91