Unbound start issue



  • Hi!

    In recent snapshots unbound does not startautomatically.
    When boot complete I have to manually start it and then it`s ok.

    LOG:

    Feb 10 08:06:12 	dhcpleases 		Could not deliver signal HUP to process because its pidfile (/var/run/unbound.pid) does not exist, No such file or directory.
    Feb 10 08:06:12 	kernel 		done.
    Feb 10 08:06:12 	php-cgi 		rc.bootup: sync unbound done.
    Feb 10 08:06:12 	php-cgi 		rc.bootup: The command '/usr/local/sbin/unbound -c /var/unbound/unbound.conf' returned exit code '1', the output was '[1518246372] unbound[63017:0] error: can't bind socket: Can't assign requested address for 2001:xxxx:xxx:xxx::1 [1518246372] unbound[63017:0] fatal error: could not open ports' 
    


  • Can’t reproduce it.

    Feb 11 08:18:39 	unbound 	32441:0 	info: start of service (unbound 1.6.8).
    Feb 11 08:18:39 	unbound 	32441:0 	notice: init module 1: iterator
    Feb 11 08:18:39 	unbound 	32441:0 	notice: init module 0: validator
    Feb 8 18:34:49 	unbound 	28563:0 	info: start of service (unbound 1.6.8).
    Feb 8 18:34:49 	unbound 	28563:0 	notice: init module 1: iterator
    Feb 8 18:34:49 	unbound 	28563:0 	notice: init module 0: validator
    Feb 4 16:56:43 	unbound 	30403:0 	info: start of service (unbound 1.6.8).
    Feb 4 16:56:43 	unbound 	30403:0 	notice: init module 1: iterator
    Feb 4 16:56:43 	unbound 	30403:0 	notice: init module 0: validator
    Feb 3 07:04:57 	unbound 	28989:0 	info: start of service (unbound 1.6.8).
    Feb 3 07:04:57 	unbound 	28989:0 	notice: init module 1: iterator
    Feb 3 07:04:57 	unbound 	28989:0 	notice: init module 0: validator
    Feb 2 06:07:33 	unbound 	28386:0 	info: start of service (unbound 1.6.8).
    Feb 2 06:07:33 	unbound 	28386:0 	notice: init module 1: iterator
    Feb 2 06:07:33 	unbound 	28386:0 	notice: init module 0: validator
    Feb 1 05:48:40 	unbound 	30602:0 	info: start of service (unbound 1.6.8).
    Feb 1 05:48:40 	unbound 	30602:0 	notice: init module 1: iterator
    Feb 1 05:48:40 	unbound 	30602:0 	notice: init module 0: validator
    Jan 31 06:12:14 	unbound 	29505:0 	info: start of service (unbound 1.6.8).
    Jan 31 06:12:14 	unbound 	29505:0 	notice: init module 1: iterator
    Jan 31 06:12:14 	unbound 	29505:0 	notice: init module 0: validator 
    
    Feb 11 08:18:39 	kernel 		done.
    Feb 11 08:18:39 	php-cgi 		rc.bootup: sync unbound done.
    Feb 11 08:18:39 	kernel 		done. 
    
    2.4.3-DEVELOPMENT (amd64)
    built on Sat Feb 10 22:49:37 CST 2018
    FreeBSD 11.1-RELEASE-p6
    

    Working just fine. I have IPv6 DISABLED if it does matter.



  • Probably it does since it complains abount ma IPv6 address 🙂



  • DO you see something in unbound logs?    Status/System Logs/System/DNS Resolver?

    EDIT:
    I’ve found something similar — https://redmine.pfsense.org/projects/pfsense/repository/revisions/4aa33c9557c95f2d909d00b62a4e660210be9971
    but I don’t see anybody reported exactly the same issue, you should create one.


 

© Copyright 2002 - 2018 Rubicon Communications, LLC | Privacy Policy