Openmediavaul con Pihole "no Funciona"

¿Algo falla o no sabes como funciona? Pide ayuda aquí!
Responder
Avatar de Usuario
MrHouse
Pi Alpha
Pi Alpha
Mensajes: 11
Registrado: 30 Sep 2016, 18:04
Agradecido: 0
Agradecimiento recibido: 0

Buenas a todos, tengo un pequeño lio montado en mi raspi en casa que consiste en que no consigo hacer funcionar el pihole con el openmediavault por encima en teoria esta todo ok... pero no consigo que el webserver.. diga que tengo clientes conectados..
el DHCP del pihole funciona perfectamente.. tengo el acceso al openmediavault por otro puerto para no crear conflicto en teoria (443) y no consigo nada. os adjunto el informe que deja el pihole por si alguien me puede ayudar gracias

Código: Seleccionar todo


root@raspinas:~# pihole -d
This process collects information from your Pi-hole, and optionally uploads it to a unique and random directory on tricorder.pi-hole.net.

The intent of this script is to allow users to self-diagnose their installations.  This is accomplished by running tests against our software and providing the user with links to FAQ articles when a problem is detected.  Since we are a small team and Pi-hole has been growing steadily, it is our hope that this will help us spend more time on development.

NOTE: All log files auto-delete after 48 hours and ONLY the Pi-hole developers can access your data via the given token. We have taken these extra steps to secure your data and will work to further reduce any personal information gathered.

*** [ INITIALIZING ]
[i] 2018-02-22:20:49:55 debug log has been initialized.

*** [ INITIALIZING ] Sourcing setup variables
[i] Sourcing /etc/pihole/setupVars.conf...

*** [ DIAGNOSING ]: Core version
[i] Core: v3.3 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
[i] Branch: master
[i] Commit: v3.3-0-g1e87850

*** [ DIAGNOSING ]: Web version
[i] Web: v3.3 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
[i] Branch: master
[i] Commit: v3.3-0-ge48aa29

*** [ DIAGNOSING ]: FTL version
[✓] FTL: v3.0

*** [ DIAGNOSING ]: dnsmasq version
[i] 2.72

*** [ DIAGNOSING ]: lighttpd version
[i] 1.4.35

*** [ DIAGNOSING ]: php version
[i] 5.6.33

*** [ DIAGNOSING ]: Operating system
[✓] Debian GNU/Linux 8 (jessie)

*** [ DIAGNOSING ]: SELinux
[i] SELinux not detected

*** [ DIAGNOSING ]: Processor
/opt/pihole/piholeDebug.sh: line 474: $'[\E[32m✓\E[0m] \E[32marmv7l\E[0m': command not found

*** [ DIAGNOSING ]: Networking
[✓] IPv4 address(es) bound to the eth0 interface:
   192.168.69.253/24 matches the IP found in /etc/pihole/setupVars.conf

[✗] No IPv6 address(es) found on the eth0 interface.

[i] Default IPv4 gateway: 192.168.69.1
192.168.69.1
   * Pinging 192.168.69.1
192.168.69.1...
[color=#FF0000][✗] Gateway did not respond. (https://discourse.pi-hole.net/t/why-is-a-default-gateway-important-for-pi-hole/3546)[/color]


*** [ DIAGNOSING ]: Ports in use
[111] is in use by rpcbind
[139] is in use by smbd
[] is in use by
[22] is in use by sshd
[44393] is in use by rpc.statd
[443] is in use by nginx
[445] is in use by smbd
[53211] is in use by rpc.statd
[color=#FF0000][53] is in use by dnsmasq[/color]
[548] is in use by afpd
[800] is in use by nginx
[80] is in use by lighttpd[color=#FF0000]
[/color][8200] is in use by minidlnad
[2812] is in use by monit
[4700] is in use by cnid_meta
[color=#FF0000][4711] is in use by pihole-FTL[/color]

*** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
[✓] pixrr.com is 192.168.69.253 via localhost (127.0.0.1)
[✓] pixrr.com is 192.168.69.253 via Pi-hole (192.168.69.253)
[✓] doubleclick.com is 216.58.210.174 via a remote, public DNS server (8.8.8.8)

*** [ DIAGNOSING ]: Pi-hole processes
[✓] dnsmasq daemon is active
[✓] lighttpd daemon is active
[✓] pihole-FTL daemon is active

*** [ DIAGNOSING ]: Setup variables
    API_EXCLUDE_DOMAINS=
    API_EXCLUDE_CLIENTS=
    API_QUERY_LOG_SHOW=all
    API_PRIVACY_MODE=true
    PIHOLE_INTERFACE=eth0
    IPV4_ADDRESS=192.168.69.253/24
    IPV6_ADDRESS=
    QUERY_LOGGING=true
    INSTALL_WEB=true
    LIGHTTPD_ENABLED=1
    DHCP_ACTIVE=true
    DHCP_START=192.168.69.100
    DHCP_END=192.168.69.150
    DHCP_ROUTER=192.168.69.1
    DHCP_LEASETIME=24
    PIHOLE_DOMAIN=lan
    DHCP_IPv6=false
    DNSMASQ_LISTENING=local
    PIHOLE_DNS_1=8.8.8.8
    PIHOLE_DNS_2=8.8.4.4
    PIHOLE_DNS_3=208.67.222.222
    PIHOLE_DNS_4=208.67.220.220
    DNS_FQDN_REQUIRED=true
    DNS_BOGUS_PRIV=true
    DNSSEC=false

*** [ DIAGNOSING ]: Dashboard and block page
[✓] X-Pi-hole: A black hole for Internet advertisements.
[✓] X-Pi-hole: The Pi-hole Web interface is working!

*** [ DIAGNOSING ]: Gravity list
-rw-r--r-- 1 root root 4544552 Feb 22 15:01 /etc/pihole/gravity.list
   -----head of gravity.list------
   192.168.69.253 0.0.0.0
   192.168.69.253 0.r.msn.com
   192.168.69.253 0.start.bz
   192.168.69.253 000.gaysexe.free.fr

   -----tail of gravity.list------
   192.168.69.253 zzsyw.com
   192.168.69.253 zztxdown.com
   192.168.69.253 zzz.clickbank.net
   192.168.69.253 ɢoogle.com

*** [ DIAGNOSING ]: contents of /etc/pihole

-rw-r--r-- 1 root root 633 Feb 20 22:10 /etc/pihole/adlists.list
   https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
   https://mirror1.malwaredomains.com/files/justdomains
   http://sysctl.org/cameleon/hosts
   https://zeustracker.abuse.ch/blocklist.php?download=domainblocklist
   https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt
   https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt
   https://hosts-file.net/ad_servers.txt

-rw-r--r-- 1 root root 10 Feb 22 00:20 /etc/pihole/blacklist.txt
   marca.com

-rw-r--r-- 1 root root 109 Feb 22 15:01 /etc/pihole/local.list
   192.168.69.253 raspinas
   192.168.69.253 pi.hole
   10.8.0.4     ****.vpn
   10.8.0.8     ****.vpn
   10.8.0.12    portatil.vpn

-rw-r--r-- 1 root root 234 Feb 21 18:36 /etc/pihole/logrotate
   /var/log/pihole.log {
        su root root
        daily
        copytruncate
        rotate 5
        compress
        delaycompress
        notifempty
        nomail
   }
   /var/log/pihole-FTL.log {
        su root root
        weekly
        copytruncate
        rotate 3
        compress
        delaycompress
        notifempty
        nomail
   }

-rw-r--r-- 1 root root 117 Feb 20 22:10 /etc/pihole/whitelist.txt
   raw.githubusercontent.com
   mirror1.malwaredomains.com
   sysctl.org
   zeustracker.abuse.ch
   s3.amazonaws.com
   hosts-file.net

*** [ DIAGNOSING ]: contents of /etc/dnsmasq.d

-rw-r--r-- 1 root root 149 Feb 22 00:19 /etc/dnsmasq.d/01-pihole.conf
   addn-hosts=/etc/pihole/gravity.list
   server=8.8.8.8
   server=8.8.4.4
   server=208.67.222.222
   server=208.67.220.220
   domain-needed
   bogus-priv
   local-service

-rw-r--r-- 1 root root 486 Feb 22 00:08 /etc/dnsmasq.d/02-pihole-dhcp.conf
   dhcp-authoritative
   dhcp-range=192.168.69.100,192.168.69.150,24h
   dhcp-option=option:router,192.168.69.1
   dhcp-leasefile=/etc/pihole/dhcp.leases
   domain=lan

*** [ DIAGNOSING ]: contents of /etc/lighttpd

-rw-r--r-- 1 root root 3027 Feb 21 23:39 /etc/lighttpd/lighttpd.conf
   server.modules = (
        "mod_access",
        "mod_accesslog",
        "mod_auth",
        "mod_expire",
        "mod_compress",
        "mod_redirect",
        "mod_setenv",
        "mod_rewrite"
   )
   server.document-root        = "/var/www/html"
   server.error-handler-404    = "pihole/index.php"
   server.upload-dirs          = ( "/var/cache/lighttpd/uploads" )
   server.errorlog             = "/var/log/lighttpd/error.log"
   server.pid-file             = "/var/run/lighttpd.pid"
   server.username             = "www-data"
   server.groupname            = "www-data"
   server.port                 = 80
   accesslog.filename          = "/var/log/lighttpd/access.log"
   accesslog.format            = "%{%s}t|%V|%r|%s|%b"
   index-file.names            = ( "index.php", "index.html", "index.lighttpd.html" )
   url.access-deny             = ( "~", ".inc", ".md", ".yml", ".ini" )
   static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
   compress.cache-dir          = "/var/cache/lighttpd/compress/"
   compress.filetype           = ( "application/javascript", "text/css", "text/html", "text/plain" )
   include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
   include_shell "/usr/share/lighttpd/create-mime.assign.pl"
   include_shell "find /etc/lighttpd/conf-enabled -name '*.conf' -a ! -name 'letsencrypt.conf' -printf 'include \"%p\"
' 2>/dev/null"
   $HTTP["url"] =~ "^/admin/" {

       setenv.add-response-header = (
           "X-Pi-hole" => "The Pi-hole Web interface is working!",
           "X-Frame-Options" => "DENY"
       )
       $HTTP["url"] =~ ".ttf$" {

           setenv.add-response-header = ( "Access-Control-Allow-Origin" => "*" )
       }
   }
   $HTTP["url"] =~ "^/admin/\.(.*)" {
        url.access-deny = ("")
   }
   include_shell "cat external.conf 2>/dev/null"

*** [ DIAGNOSING ]: contents of /etc/cron.d

-rw-r--r-- 1 root root 1495 Feb 21 18:36 /etc/cron.d/pihole
   1 3   * * 7   root    PATH="$PATH:/usr/local/bin/" pihole updateGravity
   00 00   * * *   root    PATH="$PATH:/usr/local/bin/" pihole flush once quiet
   @reboot root /usr/sbin/logrotate /etc/pihole/logrotate
   */10 *  * * *   root    PATH="$PATH:/usr/local/bin/" pihole updatechecker local
   37 17  * * *   root    PATH="$PATH:/usr/local/bin/" pihole updatechecker remote
   @reboot root    PATH="$PATH:/usr/local/bin/" pihole updatechecker remote reboot

*** [ DIAGNOSING ]: contents of /var/log/lighttpd

-rw-r--r-- 1 www-data www-data 11169 Feb 22 20:26 /var/log/lighttpd/error.log
   2018-02-20 22:08:54: (log.c.164) server started
   2018-02-20 22:10:49: (mod_fastcgi.c.2702) FastCGI-stderr: PHP Warning:  file(): Peer certificate CN=`192.168.69.253' did not match expected CN=`127.0.0.1' in /var/www/html/pihole/index.php on line 136
   2018-02-20 22:10:49: (mod_fastcgi.c.2702) FastCGI-stderr: PHP Warning:  file(): Failed to enable crypto in /var/www/html/pihole/index.php on line 136
   2018-02-20 22:10:49: (mod_fastcgi.c.2702) FastCGI-stderr: PHP Warning:  file(http://127.0.0.1/admin/scripts/pi-hole/php/queryads.php?domain=192.168.69.253:8013&bp): failed to open stream: operation failed in /var/www/html/pihole/index.php on line 136
   2018-02-20 22:10:49: (mod_fastcgi.c.2702) FastCGI-stderr: PHP Warning:  array_filter() expects parameter 1 to be array, string given in /var/www/html/pihole/index.php on line 137
   2018-02-20 22:10:49: (mod_fastcgi.c.2702) FastCGI-stderr: PHP Warning:  array_values() expects parameter 1 to be array, null given in /var/www/html/pihole/index.php on line 137
   2018-02-20 22:14:18: (mod_fastcgi.c.2702) FastCGI-stderr: PHP Warning:  file(): Peer certificate CN=`192.168.69.253' did not match expected CN=`127.0.0.1' in /var/www/html/pihole/index.php on line 136
   2018-02-20 22:14:18: (mod_fastcgi.c.2702) FastCGI-stderr: PHP Warning:  file(): Failed to enable crypto in /var/www/html/pihole/index.php on line 136
   2018-02-20 22:14:18: (mod_fastcgi.c.2702) FastCGI-stderr: PHP Warning:  file(http://127.0.0.1/admin/scripts/pi-hole/php/queryads.php?domain=192.168.69.253:8013&bp): failed to open stream: operation failed in /var/www/html/pihole/index.php on line 136
   2018-02-20 22:14:18: (mod_fastcgi.c.2702) FastCGI-stderr: PHP Warning:  array_filter() expects parameter 1 to be array, string given in /var/www/html/pihole/index.php on line 137
   2018-02-20 22:14:18: (mod_fastcgi.c.2702) FastCGI-stderr: PHP Warning:  array_values() expects parameter 1 to be array, null given in /var/www/html/pihole/index.php on line 137
   2018-02-20 22:14:22: (mod_fastcgi.c.2702) FastCGI-stderr: PHP Warning:  file(): Peer certificate CN=`192.168.69.253' did not match expected CN=`127.0.0.1' in /var/www/html/pihole/index.php on line 136
   2018-02-20 22:14:22: (mod_fastcgi.c.2702) FastCGI-stderr: PHP Warning:  file(): Failed to enable crypto in /var/www/html/pihole/index.php on line 136
   2018-02-20 22:14:22: (mod_fastcgi.c.2702) FastCGI-stderr: PHP Warning:  file(http://127.0.0.1/admin/scripts/pi-hole/php/queryads.php?domain=192.168.69.253:8013&bp): failed to open stream: operation failed in /var/www/html/pihole/index.php on line 136
   2018-02-20 22:14:22: (mod_fastcgi.c.2702) FastCGI-stderr: PHP Warning:  array_filter() expects parameter 1 to be array, string given in /var/www/html/pihole/index.php on line 137
   2018-02-20 22:14:22: (mod_fastcgi.c.2702) FastCGI-stderr: PHP Warning:  array_values() expects parameter 1 to be array, null given in /var/www/html/pihole/index.php on line 137
   2018-02-20 22:15:43: (mod_fastcgi.c.2702) FastCGI-stderr: PHP Warning:  unlink(../custom_disable_timer): No such file or directory in /var/www/html/admin/api.php on line 47
   2018-02-20 22:21:35: (mod_fastcgi.c.2702) FastCGI-stderr: PHP Warning:  unlink(../custom_disable_timer): No such file or directory in /var/www/html/admin/api.php on line 47
   2018-02-20 22:27:20: (mod_fastcgi.c.2702) FastCGI-stderr: PHP Warning:  unlink(../custom_disable_timer): No such file or directory in /var/www/html/admin/api.php on line 47
   2018-02-20 22:35:09: (server.c.1558) server stopped by UID = 0 PID = 1
   2018-02-20 22:35:33: (log.c.164) server started
   2018-02-20 22:36:34: (mod_fastcgi.c.2702) FastCGI-stderr: PHP Warning:  unlink(../custom_disable_timer): No such file or directory in /var/www/html/admin/api.php on line 47
   2018-02-20 22:39:13: (mod_fastcgi.c.2702) FastCGI-stderr: PHP Warning:  unlink(../custom_disable_timer): No such file or directory in /var/www/html/admin/api.php on line 47
   2018-02-20 22:49:27: (mod_fastcgi.c.2702) FastCGI-stderr: PHP Warning:  unlink(../custom_disable_timer): No such file or directory in /var/www/html/admin/api.php on line 47
   2018-02-20 22:56:28: (mod_fastcgi.c.2702) FastCGI-stderr: PHP Warning:  file(): Peer certificate CN=`192.168.69.253' did not match expected CN=`127.0.0.1' in /var/www/html/pihole/index.php on line 136

*** [ DIAGNOSING ]: contents of /var/log

-rw-r--r-- 1 pihole pihole 13486 Feb 22 20:36 /var/log/pihole-FTL.log
   [2018-02-22 00:00:01.529] NOTICE: pihole.log has been flushed
   [2018-02-22 00:00:01.529]   Resetting internal data structure
   [2018-02-22 00:00:01.529]   Queries in memory before flushing: 0
   [2018-02-22 00:00:01.530] FATAL: Trying to free NULL pointer in pihole_log_flushed() (flush.c:26)
   [2018-02-22 00:00:01.530] FATAL: Trying to free NULL pointer in pihole_log_flushed() (flush.c:35)
   [2018-02-22 00:00:01.530] FATAL: Trying to free NULL pointer in pihole_log_flushed() (flush.c:44)
   [2018-02-22 00:00:01.530] FATAL: Trying to free NULL pointer in pihole_log_flushed() (flush.c:52)
   [2018-02-22 00:00:01.530] FATAL: Trying to free NULL pointer in pihole_log_flushed() (flush.c:61)
   [2018-02-22 00:00:01.530] FATAL: Trying to free NULL pointer in pihole_log_flushed() (flush.c:72)
   [2018-02-22 00:00:01.934] Gravity list entries: 120327
   [2018-02-22 00:00:01.935] Blacklist entries: 2
   [2018-02-22 00:00:01.935] No wildcard blocking list present
   [2018-02-22 00:00:01.936] Imported 0 queries from the long-term database
   [2018-02-22 00:00:01.937] Reading from /var/log/pihole.log (rw-r--r--)
   [2018-02-22 00:03:58.370] NOTICE: Received signal SIGHUP - re-reading gravity files
   [2018-02-22 00:03:58.745] Gravity list entries: 120327
   [2018-02-22 00:03:58.745] Blacklist entries: 2
   [2018-02-22 00:03:58.745] No wildcard blocking list present
   [2018-02-22 00:03:58.745]  -> Total DNS queries: 0
   [2018-02-22 00:03:58.745]  -> Cached DNS queries: 0
   [2018-02-22 00:03:58.745]  -> Forwarded DNS queries: 0
   [2018-02-22 00:03:58.746]  -> Exactly blocked DNS queries: 0
   [2018-02-22 00:03:58.746]  -> Wildcard blocked DNS queries: 0
   [2018-02-22 00:03:58.746]  -> Unknown DNS queries: 0
   [2018-02-22 00:03:58.746]  -> Unique domains: 0

*** [ DIAGNOSING ]: Pi-hole log
-rw-r--r-- 1 dnsmasq root 0 Feb 22 20:36 /var/log/pihole.log
   -----head of pihole.log------


********************************************
********************************************
[✓] ** FINISHED DEBUGGING! **

    * The debug log can be uploaded to tricorder.pi-hole.net for sharing with developers only.
    * For more information, see: https://pi-hole.net/2016/11/07/crack-our-medical-tricorder-win-a-raspberry-pi-3/
    * If available, we'll use openssl to upload the log, otherwise it will fall back to netcat.


Gracias y un Saludo de antemano
Avatar de Usuario
MrHouse
Pi Alpha
Pi Alpha
Mensajes: 11
Registrado: 30 Sep 2016, 18:04
Agradecido: 0
Agradecimiento recibido: 0

Ya solucionado... el problema
Avatar de Usuario
Kike
Administrador
Administrador
Mensajes: 2311
Registrado: 13 May 2016, 18:53
Ubicación: Islas Baleares - Menorca
Agradecido: 47 veces
Agradecimiento recibido: 175 veces
Contactar:

Hola buenas noches me alegro que lo hayas podido solucionar por cuenta propia.
Te agradecería mucho que nos dieras alguna pista de como pudiste solucionarlo, así le servirá a otros que tengan el mismo problema.

Un abrazo ;)
Si lo puedes soñar, lo puedes hacer
Responder