Kein Zugriff auf pihole-Webinterface

  • Hi,

    ich bekomme leider keinen Zugriff auf das pihole-Webinterface. Es kommt die Meldung

    Quote

    Error response

    Error code: 404
    Message: File not found.
    Error code explanation: HTTPStatus.NOT_FOUND - Nothing matches the given URI.

    Grund soll angeblich sein, dass nginx installiert ist obwohl pihole lightdm nutzt. nginx ist aber nicht drauf. Auch ein

    pihole -r

    wurde empfohlen, ohne Ergebnis.

    pihole läuft wie man hier sieht


    ● pihole-FTL.service - Pi-hole FTL
        Loaded: loaded (/etc/systemd/system/pihole-FTL.service; enabled; vendor preset: enabled)
        Active: active (running) since Mon 2025-02-03 13:50:58 CET; 5min ago
       Process: 26307 ExecStartPre=/opt/pihole/pihole-FTL-prestart.sh (code=exited, status=0/SUCCESS)
      Main PID: 26322 (pihole-FTL)
         Tasks: 19 (limit: 3933)
           CPU: 1.071s
        CGroup: /system.slice/pihole-FTL.service
                └─26322 /usr/bin/pihole-FTL -f

    Feb 03 13:50:58 raspberrypi pihole-FTL[26322]: [2025-02-03 13:50:58.333 26322M]    MOZILLA_CANARY: Enabled
    Feb 03 13:50:58 raspberrypi pihole-FTL[26322]: [2025-02-03 13:50:58.333 26322M]    PIHOLE_PTR: internal PTR generation enabled (pi.hole)
    Feb 03 13:50:58 raspberrypi pihole-FTL[26322]: [2025-02-03 13:50:58.333 26322M]    ADDR2LINE: Enabled
    Feb 03 13:50:58 raspberrypi pihole-FTL[26322]: [2025-02-03 13:50:58.333 26322M]    REPLY_WHEN_BUSY: Drop queries when the database is busy
    Feb 03 13:50:58 raspberrypi pihole-FTL[26322]: [2025-02-03 13:50:58.333 26322M]    BLOCK_TTL: 2 seconds
    Feb 03 13:50:58 raspberrypi pihole-FTL[26322]: [2025-02-03 13:50:58.333 26322M]    BLOCK_ICLOUD_PR: Enabled
    Feb 03 13:50:58 raspberrypi pihole-FTL[26322]: [2025-02-03 13:50:58.334 26322M]    CHECK_LOAD: Enabled
    Feb 03 13:50:58 raspberrypi pihole-FTL[26322]: [2025-02-03 13:50:58.334 26322M]    CHECK_SHMEM: Warning if shared-memory usage exceeds 90%
    Feb 03 13:50:58 raspberrypi pihole-FTL[26322]: [2025-02-03 13:50:58.334 26322M]    CHECK_DISK: Warning if certain disk usage exceeds 90%
    Feb 03 13:50:58 raspberrypi pihole-FTL[26322]: [2025-02-03 13:50:58.334 2632

    Noch jemand eine Idee?

  • Bei mir funktioniert das:

    http://Deine_IP/admin/login.php

    Fast, nur das Deine_IP musst Du austauschen.

    Und der Webserver ist:
    /usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf

    MfG

    Jürgen

  • @ hyle

    Da kommt

    tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      0          13154      544/python3         
    tcp6       0      0 2003:cf:7710:e700:41150 2a01:4f8:221:2::2:80    TIME_WAIT   0          0          -                   
    tcp6       0      0 2003:cf:7710:e700:33470 2a01:4f8:221:2::2:80    TIME_WAIT   0          0          -                   
    tcp6       0      0 2003:cf:7710:e700:41158 2a01:4f8:221:2::2:80    VERBUNDEN   1000       1026935    502/java 

    @ Jürgen Böhm

    So hab ich es versucht, mit dem genannten Ergebnis.

    Ich sehe aber gerade, dass lightdm nicht über Systemd gestartet wurde:

    systemctl status lighttpd.service 
    ● lighttpd.service - Lighttpd Daemon
        Loaded: loaded (/lib/systemd/system/lighttpd.service; enabled; vendor preset: enabled)
        Active: failed (Result: exit-code) since Mon 2025-02-03 16:14:18 CET; 49min ago
       Process: 1746 ExecStartPre=/usr/sbin/lighttpd -tt -f /etc/lighttpd/lighttpd.conf (code=exited, status=0/SUCCESS)
       Process: 1840 ExecStart=/usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf (code=exited, status=255/EXCEPTION)
      Main PID: 1840 (code=exited, status=255/EXCEPTION)
           CPU: 936ms

    Feb 03 16:14:18 raspberrypi systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 5.
    Feb 03 16:14:18 raspberrypi systemd[1]: Stopped Lighttpd Daemon.
    Feb 03 16:14:18 raspberrypi systemd[1]: lighttpd.service: Start request repeated too quickly.
    Feb 03 16:14:18 raspberrypi systemd[1]: lighttpd.service: Failed with result 'exit-code'.
    Feb 03 16:14:18 raspberrypi systemd[1]: Failed to start Lighttpd Daemon.

    Wenn ich die netstat-Ausgabe oben richtig interpretiere hängt java an Port 80, den eigentlich pihole nutzen sollte?

  • tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 0 13154 544/python3

    Da läuft ein Python-Skript(?), das auf dem Port 80 sitzt. Solange das läuft, wird der lighttpd nicht starten. Eine Möglichkeit wäre es dem lighttpd einen anderen Port (z.B. 88 oder 8080) zuzuweisen.

    //Edit

    Wobei es wohl besser wäre den Python-Webserver auf einem anderen Port laufen zu lassen, denn sonst müsste die Änderung in der lighttpd.conf nach jedem Update von Pi-hole erneut gemacht werden.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!