log file permssion error
Frank Saxton
NOSPAM at aracnet.com
Mon Apr 4 15:44:30 UTC 2005
Puye, Alhagie - ADP Dataphile wrote:
> Hello all,
>
>
> I'm getting the following error message from syslog:
>
>
>
> Apr 3 04:04:30 thor named[7999]: unable to rename log file
> '/var/log/bind.log' to '/var/log/bind.log.0': permission denied
>
>
>
> I'm running BIND 9.3.0rc4. The daemon is running as user "named" on a Red
> Hat ES 3 box.
>
>
>
> root owns /var/log and the permissions on that directory is 755
>
>
>
> name owns /var/log/bind.log and the permissions on that file are 644
>
>
>
> Any ideas why I would be getting this?
>
>
>
> Thanks in advance
>
>
>
> Alhagie Puye - Systems Support Engineer
>
> ADP Dataphile
>
> Vancouver, BC V6C 3A8
>
> (604)687-2133 x2315
>
>
>
> _
> This message and any attachments are intended only for the use of the
> addressee and may contain information that is privileged and confidential.
> If the reader of the message is not the intended recipient or an
> authorized representative of the intended recipient, you are hereby
> notified that any dissemination of this communication is strictly
> prohibited. If you have received this communication in error, please
> notify us immediately by e-mail and delete the message and any attachments
> from your system.
Try writing your logs to /var/log/named/bind.log where named owns and has
write access to /var/log/named
You'll probably need to tweak with your log roll script which is what seems
to be complaining.
More information about the bind-users
mailing list