V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Frank98
V2EX  ›  DNS

求助! dnsmasq 无法启动。

  •  
  •   Frank98 · 2018-03-08 13:04:39 +08:00 · 9476 次点击
    这是一个创建于 2234 天前的主题,其中的信息可能已经有所发展或是发生改变。

    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

    5 条回复    2018-03-08 13:35:54 +08:00
    Frank98
        1
    Frank98  
    OP
       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
        2
    skylancer  
       2018-03-08 13:22:08 +08:00
    --test
    skylancer
        3
    skylancer  
       2018-03-08 13:22:52 +08:00
    listen-address=0.0.0.0
    Frank98
        4
    Frank98  
    OP
       2018-03-08 13:32:28 +08:00
    @skylancer 可是我需要用 10.8.0.1 的 ip,设置为 0.0.0.0 会有影响吗?
    Frank98
        5
    Frank98  
    OP
       2018-03-08 13:35:54 +08:00
    @skylancer 谢谢您,刚才我设置为 listen-address=0.0.0.0 就可以正常启动了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   930 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 47ms · UTC 20:01 · PVG 04:01 · LAX 13:01 · JFK 16:01
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.