The issue I am facing:
FTL failed to start due to failed to create listening socket for 192.168.0.101: Address already in use
Details about my system:
Ubuntu Server 16.04
What I have changed since installing Pi-hole:
This is a dedicated server running different services, It's not dedicated for Pi-hole only.
Lighttpd port changed from 80 to 82 so web page can be seen through the said port (apache2 running in port 80).
Added line FTLPORT=57 in /etc/pihole/pihole-FTL.conf (didn't seem to affect anything)
root@carinae-studios:/etc/pihole# service pihole-FTL status
● pihole-FTL.service - LSB: pihole-FTL daemon
Loaded: loaded (/etc/init.d/pihole-FTL; generated)
Active: active (exited) since Mon 2021-06-21 20:06:30 CDT; 9min ago
Docs: man:systemd-sysv-generator(8)
Process: 4528 ExecStop=/etc/init.d/pihole-FTL stop (code=exited, status=0/SUCCESS)
Process: 4541 ExecStart=/etc/init.d/pihole-FTL start (code=exited, status=0/SUCCESS)
Jun 21 20:06:30 carinae-studios.cf systemd[1]: Starting LSB: pihole-FTL daemon...
Jun 21 20:06:30 carinae-studios.cf pihole-FTL[4541]: Not running
Jun 21 20:06:30 carinae-studios.cf su[4578]: Successful su for pihole by root
Jun 21 20:06:30 carinae-studios.cf su[4578]: + ??? root:pihole
Jun 21 20:06:30 carinae-studios.cf su[4578]: pam_unix(su:session): session opened for user pihole by (uid=0)
Jun 21 20:06:30 carinae-studios.cf pihole-FTL[4541]: dnsmasq: failed to create listening socket for 192.168.0.101: Addre
Jun 21 20:06:30 carinae-studios.cf su[4578]: pam_unix(su:session): session closed for user pihole
Jun 21 20:06:30 carinae-studios.cf systemd[1]: Started LSB: pihole-FTL daemon.
This does not work. 1) This option is not implemented. 2) You can't change the DNS port. DNS communication takes place on port 53, all devices will send and receive on that port.
That's the problem. named already bound to port 53.
2021-06-21 19:47:18: (log.c.217) server started
2021-06-21 19:51:17: (server.c.1828) server stopped by UID = 0 PID = 1
2021-06-21 19:53:49: (log.c.217) server started
2021-06-22 02:15:22: (server.c.1828) server stopped by UID = 0 PID = 1
2021-06-22 02:15:22: (log.c.217) server started
2021-06-22 02:18:03: (server.c.1828) server stopped by UID = 0 PID = 1
2021-06-22 02:18:03: (log.c.217) server started
2021-06-22 02:20:04: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice: Only variables should be passed by reference in $2021-06-22 02:23:05: (server.c.1828) server stopped by UID = 0 PID = 1
2021-06-22 02:23:06: (log.c.217) server started
2021-06-22 02:31:09: (server.c.1828) server stopped by UID = 0 PID = 1
2021-06-22 02:31:09: (log.c.217) server started
2021-06-22 03:19:52: (server.c.1828) server stopped by UID = 0 PID = 1
2021-06-22 03:20:01: (log.c.217) server started
2021-06-22 20:19:14: Session expired! Please re-login on the Pi-hole dashboard.
Yes, this happens on every browser (tried Firefox, Google Chrome, Windows Edge and Internet Explorer), even on my phone. I don't have any plugin or similar that might interfere.
I'm just gonna end this topic because the main problem was already fixed. I'm gonna create another post for the second problem regarding the dashboard. Thanks.