[Samba] Need help with log creation
doug at bpta.net
Fri Apr 1 16:21:11 GMT 2005
> For the life of me, I can not figure out why I keep getting 2 logs for
> each deamon.
> In smb.conf:
> log file = /var/log/samba/%m.log
> In smb init script:
> When I use the init script to start samba, it logs to log.*. When
> the logs rotate however and they are restarted with
> "/bin/kill -HUP `cat /var/run/smbd.pid" etc., it logs as specified in the
> config file. So I am left with log.smbd _and_ smbd.log depending on how
> they are started/restarted.
> Is there a setting somewhere (probably obvious) that I am missing?
> Running Samba 3.0.13 on RH 7.2
> Thanks in advance for any hints as to what I am missing...
I am probably way off here but I know initially I was running a slightly
earlier version of Samba than 3.0.13 and my logs defaulted to smbd.log, now
they are log.smbd. Is it possible that you somehow have two different
versions of Samba running on your machine?
More information about the samba