Log not getting generated in /var/log/ on Debian

Fongaboo unbound at fongaboo.com
Mon Jul 27 22:16:23 UTC 2020


Also noticed this error in /var/log/syslog:

[2020-07-27 22:11:21.512] nsd[31231]: warning: Cannot reopen /var/log/nsd.log for appending (Read-only file system), keeping old logfile


but I have made nsd.log user and group writable and owned it nsd:nsd.


On Mon, 27 Jul 2020, Fongaboo wrote:

>
> I've been running Unbound on FreeBSD for many years. Making a transition to 
> Debian, and all seems to be working well except nsd.log does not seem to be 
> generating in /var/log/ at all.
>
> I've got this in nsd.conf:
>
>        # log messages to file. Default to stderr and syslog (with
>        # facility LOG_DAEMON).  stderr disappears when daemon goes to bg.
>        logfile: "/var/log/nsd.log"
>
> Instead it seems to be piping to /var/log/syslog. How do I allow it to create 
> and append its own independent log file?
>
>
> TIA
>
> FONG
>


More information about the Unbound-users mailing list