1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SIGTERM -> dnsmasq restarts

Discussion in 'Tomato Firmware' started by jan.n, Jul 22, 2009.

  1. jan.n

    jan.n Addicted to LI Member

    It's been 16 days since I last rebooted my router (and that was because I installed Tomato 1.25 over the Linksys firmware).
    Until now, nothing special in the logs, everything running smooth - until today:
    dnsmasq restarted itself 42 times in 21 minutes, here's a part of the logfile:
    Code:
    Jul 22 05:30:47 myrouter daemon.info dnsmasq[8950]: exiting on receipt of SIGTERM
    Jul 22 05:30:47 myrouter daemon.info dnsmasq[9075]: started, version 2.47 cachesize 150
    Jul 22 05:30:47 myrouter daemon.info dnsmasq[9075]: compile time options: no-IPv6 GNU-getopt no-RTC no-DBus no-I18N no-TFTP
    Jul 22 05:30:47 myrouter daemon.info dnsmasq[9075]: DHCP, IP range 192.168.1.2 -- 192.168.1.50, lease time 1d
    Jul 22 05:30:47 myrouter daemon.info dnsmasq[9075]: reading /etc/resolv.dnsmasq
    Jul 22 05:30:47 myrouter daemon.info dnsmasq[9075]: using nameserver XX.XXX.XXX.XXX#53
    Jul 22 05:30:47 myrouter daemon.info dnsmasq[9075]: read /etc/hosts - 0 addresses
    Jul 22 05:30:47 myrouter daemon.info dnsmasq[9075]: read /etc/hosts.dnsmasq - 1 addresses
    I must admit that I can't remember if I cleared the NVRAM, I'll check this evening when I'm back from work.

    Any ideas as to why SIGTERM is caught?
    Also, the current version is 2.47. Anyone tried to compile 2.49 in?
     
  2. mstombs

    mstombs Network Guru Member

    Victek is already on 2.49

    Won't make any difference to your problem though, something is telling dnmasq to quit - the wan reconnecting on dodgy dsl signal?

    I'm pretty sure there is now no need to restart dnsmasq on wan reconnect - it monitors resolv.conf I recall - probably was needed in an old version.
     
  3. jan.n

    jan.n Addicted to LI Member

    I don't think so, but how could I find out? I'm on cable, perhaps my cable modem has a logfile.
    My router has not logged anything of interest before, so I don't think it's a big issue though. I'm just curious :)
     

Share This Page