求助! dnsmasq 无法启动。

2018-03-08 13:04:39 +08:00
 Frank98

service dnsmasq restarthe 和 strat 命令会报错:

Job for dnsmasq.service failed because the control process exited with error code. See "systemctl status dnsmasq.service" and "journalctl -xe" for details.

配置文件只修改了两个地方: #listen-address= listen-address=127.0.0.1, 10.8.0.1

#bind-interfaces bind-interfaces

9489 次点击
所在节点    DNS
5 条回复
Frank98
2018-03-08 13:19:33 +08:00
现找出以下错误:
error: maximum authentication attempts exceeded for root from 112.1.47.237 port 21529 ssh2 [preauth]

junk found in command line

FAILED to start up

failed to create listening socket for 10.8.0.1: Cannot assign requested address.

FAILED to start up

Failed to start dnsmasq - A lightweight DHCP and caching DNS server.

请问该怎么解决?
skylancer
2018-03-08 13:22:08 +08:00
--test
skylancer
2018-03-08 13:22:52 +08:00
listen-address=0.0.0.0
Frank98
2018-03-08 13:32:28 +08:00
@skylancer 可是我需要用 10.8.0.1 的 ip,设置为 0.0.0.0 会有影响吗?
Frank98
2018-03-08 13:35:54 +08:00
@skylancer 谢谢您,刚才我设置为 listen-address=0.0.0.0 就可以正常启动了

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/436118

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX