samba logs
Tomasz Pala
gotar at polanet.pl
Mon Oct 18 14:18:13 CEST 2004
On Mon, Oct 18, 2004 at 12:06:45 +0200, Jakub Bogusz wrote:
> > After (probably) logrotate logs stop growing (they keep empty). Anyone
> > to confirm?
>
> Which version?
3.0.5 and 3.0.7 now.
> I tested 2.2.12 recently and logs were reopened correctly.
> Check /proc/${SAMBA_PID}/fd to see which files *mbd keep opened.
I ment nmbd only. After:
- deleting old log.nmbd file,
- touchig new one,
- killall -HUP nmbd and smbd
parent nmbd process closed log.nmbd file, and child has still opened OLD
one! That's what says cat, mc (-> /var/log/samba/log.nmbd (deleted)) and
ls:
l-wx------ 1 root proc 64 Oct 18 14:06 2 -> /var/log/samba/log.nmbd (deleted)
l-wx------ 1 root proc 64 Oct 18 14:06 3 -> /var/log/samba/log.nmbd (deleted)
# killall -HUP smbd nmbd
# ls -l
total 0
lrwx------ 1 root proc 64 Oct 18 14:06 0 -> /dev/null
lrwx------ 1 root proc 64 Oct 18 14:06 1 -> /dev/null
l-wx------ 1 root proc 64 Oct 18 14:06 2 -> /var/log/samba/log.nmbd (deleted)
l-wx------ 1 root proc 64 Oct 18 14:06 3 -> /var/log/samba/log.nmbd (deleted)
And one more problem. I've read all the google hits, but there's no
except 'go to win box and disable master browser':
register_name_response: server at IP 192.168.0.207 rejected our name registration of POLANET<1d> IP 192.168.0.2 with error code 6.
become_local_master_fail2: failed to register name POLANET<1d> on subnet 192.168.0.2. Failed to become a local master browser.
standard_fail_register: Failed to register/refresh name POLANET<1d> on subnet 192.168.0.2
How can I work this out?
--
GoTaR <priv0.onet.pl->gotar>
http://vfmg.sourceforge.net/
More information about the pld-devel-en
mailing list