1

我在现有的 bind9 安装上安装了 pihole。现在我无法启动 FTL:

pihole-FTL dnsmasq: failed to create listening socket for 192.168.0.2: Address already in use

我是否必须关闭bind9,或者我可以更改bind9的端口(当pihole工作时,我不再需要我的bind9,但也许pihole需要bind9 - 但我找不到任何关于它的东西(关于仍然存在的配置文件一无所知在 Ubuntu 18.04 中)。


附件:

整体输出:

# systemctl status pihole-FTL.service 
● pihole-FTL.service - LSB: pihole-FTL daemon
   Loaded: loaded (/etc/init.d/pihole-FTL; generated)
   Active: active (exited) since Mon 2020-09-28 21:18:59 CEST; 1s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 21530 ExecStop=/etc/init.d/pihole-FTL stop (code=exited, status=0/SUCCESS)
  Process: 21546 ExecStart=/etc/init.d/pihole-FTL start (code=exited, status=0/SUCCESS)

Sep 28 21:18:59 ubuntu1804 pihole-FTL[21530]: Not running
Sep 28 21:18:59 ubuntu1804 systemd[1]: Stopped LSB: pihole-FTL daemon.
Sep 28 21:18:59 ubuntu1804 systemd[1]: Starting LSB: pihole-FTL daemon...
Sep 28 21:18:59 ubuntu1804 pihole-FTL[21546]: Not running
Sep 28 21:18:59 ubuntu1804 su[21581]: Successful su for pihole by root
Sep 28 21:18:59 ubuntu1804 su[21581]: + ??? root:pihole
Sep 28 21:18:59 ubuntu1804 su[21581]: pam_unix(su:session): session opened for user pihole by (uid=0)
Sep 28 21:18:59 ubuntu1804 pihole-FTL[21546]: dnsmasq: failed to create listening socket for 192.168.0.2: Address already in use
Sep 28 21:18:59 ubuntu1804 su[21581]: pam_unix(su:session): session closed for user pihole
Sep 28 21:18:59 ubuntu1804 systemd[1]: Started LSB: pihole-FTL daemon.
4

1 回答 1

0

我找到了一个可行的解决方案。我停止了 bind9 和 pihole-FTL。然后我再次重新启动了 pihole-FTL。然后它起作用了。我禁用了 bind9 以确保它不再打扰我。

systemctl stop bind9 pihole-FTL
systemctl start pihole-FTL
systemctl disable bind9
于 2020-09-30T15:07:36.617 回答