Maintained by: NLnet Labs

[Unbound-users] Unbound not logging

Sofía Silva Berenguer
Tue Feb 4 12:32:44 CET 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi!

SELinux is disabled.

I tried touching var/log/unbound.log under the unbound install
directory /home/unbound/var/log/unbound.log) and changing the logfile
parameter to the new path and then restarted unbound and still nothing
is being logged.

The permissions of the new log file are as follows:

- -rw-rw-r-- 1 unbound unbound

I'm not using chroot. I installed Unbound in the home directory of the
user "unbound". Could chroot be preventing unbound from logging anyway?

Thank you a lot for your comments!

Kind regards,

Sofía

El 04/02/14 05:51, W.C.A. Wijngaards escribió:
> Hi Sofia,
> 
> On 02/04/2014 03:36 AM, shmick at riseup.net wrote:
>> que tal,
> 
>> Sofía Silva Berenguer:
>>> Hi!
>>> 
>>> I've installed Unbound on a Centos 6.5 server.
>>> 
>>> I've set it up not to use syslog and to log to the file 
>>> /var/log/unbound.log. Verbosity level is 5:
>>> 
>>> use-syslog: no logfile: /var/log/unbound.log verbosity: 5
>>> 
>>> Permissions for the log file are as follows:
>>> 
>>> -rw-r--r-- 1 unbound unbound
> 
>> it might be a dir perms issue did you try changing to your conf
>> dir (ie. /usr/local/etc/unbound) ? drwxr-xr-x 4 unbound unbound
>> 4096 Feb  4 12:14
> 
> chroot is another thing that could prevent logging.  Or SELinux.
> 
> Best regards, Wouter
> 
>>> 
>>> However, the log file is empty. Unbound is not logging
>>> anything to the file.
>>> 
>>> Is there anything else I should set up?
>>> 
>>> Thank you a lot in advance for any help.
>>> 
>>> Regards,
>>> 
>>> Sofía _______________________________________________ 
>>> Unbound-users mailing list Unbound-users at unbound.net 
>>> http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users
>>> 
>> _______________________________________________ Unbound-users 
>> mailing list Unbound-users at unbound.net 
>> http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users
> 
> 
> _______________________________________________ Unbound-users
> mailing list Unbound-users at unbound.net 
> http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.18 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iF4EAREIAAYFAlLwz9sACgkQ6pdkzarU619PIgEAjP/9NF5Vd8Bt/UKOjFoDtAxh
j/4Fq9CZG5OfppcakokA/2MGgaDLJ0VhsAX21hchP0F/ClHnt4D33ehD4itSQMjx
=FKJQ
-----END PGP SIGNATURE-----