error: syntax error read /var/unbound/unbound.conf
-
can anyone advise how to troubleshoot this error found in the syslog? I had to remove
server:include: /var/unbound/pfb_dnsbl.*conffrom the DNS Resolver Custom Options because I have evidently broken something with adding blocklists.Sep 14 15:30:32 pfSense php-fpm[736]: /services_unbound_acls.php: The command '/usr/local/sbin/unbound -c /var/unbound/unbound.conf' returned exit code '1', the output was '/var/unbound/unbound.conf:108: error: syntax error read /var/unbound/unbound.conf failed: 1 errors in configuration file [1568446232] unbound[27161:0] fatal error: Could not read config file: /var/unbound/unbound.conf. Maybe try unbound -dd, it stays on the commandline to see more errors, or unbound-checkconf'/root: unbound-checkconf unbound-checkconf: no errors in /usr/local/etc/unbound/unbound.confline 108 of '/var/unbound/unbound.conf' is blank
root: /usr/local/sbin/unbound -c /var/unbound/unbound.conf [1568447034] unbound[157:0] error: bind: address already in use [1568447034] unbound[157:0] fatal error: could not open ports -
copy here some lines before and after 108
-
I had already rebooted once, but I rebooted again, just as I was getting ready to do a full reinstall and was able to add back my custom options and dns is working. The 'dnsbl' line happens to fall on line 108, so I guess it was still cached?
I think everything is normal now... having been struggling with this all afternoon...
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginPrivacy Policy · Cookie Policy