ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Pi-Hole web interface not working

    IT Discussion
    pi-hole troubleshooting
    5
    16
    3.8k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • black3dynamiteB
      black3dynamite
      last edited by

      SELinux acting up?

      1 Reply Last reply Reply Quote 0
      • dbeatoD
        dbeato @Danp
        last edited by

        @danp said in Pi-Hole web interface not working:

        Have you checked the service? sudo service lighttpd status

        I would probably assume that is what @JaredBusch did already.

        DanpD 1 Reply Last reply Reply Quote 0
        • DanpD
          Danp @dbeato
          last edited by

          @dbeato said in Pi-Hole web interface not working:

          @danp said in Pi-Hole web interface not working:

          Have you checked the service? sudo service lighttpd status

          I would probably assume that is what @JaredBusch did already.

          No way to know with the limited information supplied at this time. šŸ™‚

          1 Reply Last reply Reply Quote 3
          • JaredBuschJ
            JaredBusch
            last edited by

            Sorry, yes, lighttpd is not running. states it is failing to parse the /etc/lighttpd/lighttpd.conf file around line 94. Except that, the file only has 93 lines and is default. I have never touched it. Any changes, of which I have none, would be in external.conf.

            This morning I poked around and the other Fedora 28 setup I have has the same error.

            [jbusch@pihole ~]$ sudo systemctl status lighttpd | cat
            ā— lighttpd.service - Lightning Fast Webserver With Light System Requirements
               Loaded: loaded (/usr/lib/systemd/system/lighttpd.service; enabled; vendor preset: disabled)
               Active: failed (Result: exit-code) since Tue 2018-08-28 08:36:36 CDT; 14min ago
              Process: 2372 ExecStart=/usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf (code=exited, status=255)
             Main PID: 2372 (code=exited, status=255)
            
            Aug 28 08:36:36 pihole.jaredbusch.com systemd[1]: Started Lightning Fast Webserver With Light System Requirements.
            Aug 28 08:36:36 pihole.jaredbusch.com lighttpd[2372]: 2018-08-28 08:36:36: (configfile.c.1451) pclose "cat external.conf 2>/dev/null"failed: Success
            Aug 28 08:36:36 pihole.jaredbusch.com lighttpd[2372]: 2018-08-28 08:36:36: (configfile.c.1289) source: /etc/lighttpd/lighttpd.conf line: 94 pos: 1 parser failed somehow near here: (EOL)
            Aug 28 08:36:36 pihole.jaredbusch.com systemd[1]: lighttpd.service: Main process exited, code=exited, status=255/n/a
            Aug 28 08:36:36 pihole.jaredbusch.com systemd[1]: lighttpd.service: Failed with result 'exit-code'.
            

            The conf file looks like it was updated on on both systems, but not the orig.

            [jbusch@pihole ~]$ ls -la /etc/lighttpd/
            total 28
            drwxr-xr-x.  4 root root  103 Aug 13 09:00 .
            drwxr-xr-x. 89 root root 8192 Aug 27 20:56 ..
            drwxr-xr-x.  2 root root 4096 Aug 13 09:00 conf.d
            -rw-r--r--.  1 root root 3560 Aug 13 14:46 lighttpd.conf
            -rw-r--r--.  1 root root 3560 Aug  8 23:00 lighttpd.conf.orig
            -rw-r--r--.  1 root root 3319 Aug 12 23:07 modules.conf
            drwxr-xr-x.  2 root root   29 Aug 13 09:00 vhosts.d
            
            [jbusch@pihole ~]$ ls -la /etc/lighttpd/
            total 28
            drwxr-xr-x.  4 root root  103 Aug 13 09:00 .
            drwxr-xr-x. 84 root root 8192 Aug 27 17:56 ..
            drwxr-xr-x.  2 root root 4096 Aug 13 09:00 conf.d
            -rw-r--r--.  1 root root 3560 Aug 11 15:40 lighttpd.conf
            -rw-r--r--.  1 root root 3560 Apr  3 15:18 lighttpd.conf.orig
            -rw-r--r--.  1 root root 3319 Aug 12 23:07 modules.conf
            drwxr-xr-x.  2 root root   29 Aug 13 09:00 vhosts.d
            [jbusch@pihole ~]$ 
            
            JaredBuschJ 1 Reply Last reply Reply Quote 1
            • JaredBuschJ
              JaredBusch @JaredBusch
              last edited by

              Replacing with the .orig did not help. same error.

              1 Reply Last reply Reply Quote 0
              • DustinB3403D
                DustinB3403
                last edited by

                Does the original file have 94 lines?

                JaredBuschJ 1 Reply Last reply Reply Quote 0
                • JaredBuschJ
                  JaredBusch @DustinB3403
                  last edited by

                  @dustinb3403 said in Pi-Hole web interface not working:

                  Does the original file have 94 lines?

                  They are identical. So I did not expect a different response.

                  1 Reply Last reply Reply Quote 0
                  • JaredBuschJ
                    JaredBusch
                    last edited by JaredBusch

                    Looks like an issue is already opened.
                    https://github.com/pi-hole/pi-hole/issues/2391

                    1 Reply Last reply Reply Quote 1
                    • JaredBuschJ
                      JaredBusch
                      last edited by JaredBusch

                      The original file has not been touched in almost a year, so I do not think that the problem lies in the configuration file.
                      https://github.com/pi-hole/pi-hole/commits/master/advanced/lighttpd.conf.fedora

                      More likely something else has changed with lighttpd

                      DustinB3403D 1 Reply Last reply Reply Quote 1
                      • DustinB3403D
                        DustinB3403 @JaredBusch
                        last edited by

                        @jaredbusch so you're saying don't update our systems.

                        Thanks for helping to find a bug.

                        JaredBuschJ 1 Reply Last reply Reply Quote 0
                        • JaredBuschJ
                          JaredBusch @DustinB3403
                          last edited by

                          @dustinb3403 said in Pi-Hole web interface not working:

                          @jaredbusch so you're saying don't update our systems.

                          Thanks for helping to find a bug.

                          I updated to 4 on the 13th obviously. Dunno if that was it or a dnf update.

                          1 Reply Last reply Reply Quote 0
                          • JaredBuschJ
                            JaredBusch
                            last edited by

                            Commented out the include to external.conf and it starts.

                            1 Reply Last reply Reply Quote 3
                            • JaredBuschJ
                              JaredBusch
                              last edited by

                              On the other system I created a blank external.conf and it works now.

                              sudo touch /etc/lighttpd/external.conf
                              
                              dbeatoD 1 Reply Last reply Reply Quote 4
                              • dbeatoD
                                dbeato @JaredBusch
                                last edited by

                                @jaredbusch said in Pi-Hole web interface not working:

                                On the other system I created a blank external.conf and it works now.

                                sudo touch /etc/lighttpd/external.conf
                                

                                Got it

                                1 Reply Last reply Reply Quote 0
                                • 1 / 1
                                • First post
                                  Last post