J. W.Andersen, Falster System Teknik
2004-Aug-23 14:51 UTC
[Samba] nmbd logging in 3.0.6 ?
Due to a config typo, I could not find any log.nmbd og log.smbd. When I realized my own error, I was able to establish the log.smbd when starting the daemon with the -l (or --logfile) parameter. This, however, works only for smbd - nmbd seems to ignore the mentioned parameter totally. Anyone else having a similar experience ? Cheers, Joern.
What do your log lines in smb.conf look like? Logging for both smbd and nmbd here for 3.0.6 look as they for 3.0.5 and 3.0.4... -- Michael Lueck Lueck Data Systems Remove the upper case letters NOSPAM to contact me directly.
Hello everybody, -| -----Original Message----- -| From: -| samba-bounces+dirk.laurenz=fujitsu-siemens.com@lists.samba.o rg [mailto:samba-bounces+dirk.laurenz=fujitsu--| siemens.com@lists.samba.org] On Behalf Of J. W.Andersen, -| Falster System Teknik -| Subject: [Samba] nmbd logging in 3.0.6 ? -| -| Due to a config typo, I could not find any log.nmbd og log.smbd. -| When I realized my own error, I was able to establish -| the log.smbd when starting the daemon with the -l (or --logfile) -| parameter. This, however, works only for smbd - nmbd seems -| to ignore the mentioned parameter totally. -| -| Cheers, Joern. i have the same problem. I'm running successfully two server instances on one host and want to redirect the logfiles for each instance. This works for smbd but not for nmbd or winbindd. (i assume, they ignore the command line -l switch) Here's a processlist of the running processes: root 8540 1 0 11:46 ? 00:00:00 /usr/sbin/nmbd -D -s /samba/ages001/conf/etc/smb.conf -l /samba/ages001/conf/log root 8546 1 0 11:46 ? 00:00:00 /usr/sbin/smbd -D -s /samba/ages001/conf/etc/smb.conf -l /samba/ages001/conf/log root 8547 8546 0 11:46 ? 00:00:00 /usr/sbin/smbd -D -s /samba/ages001/conf/etc/smb.conf -l /samba/ages001/conf/log root 8553 1 0 11:46 ? 00:00:05 /usr/sbin/winbindd -B -s /samba/ages001/conf/etc/smb.conf -l /samba/ages001/conf/log root 8554 8553 0 11:46 ? 00:00:00 /usr/sbin/winbindd -B -s /samba/ages001/conf/etc/smb.conf -l /samba/ages001/conf/log root 8756 8546 0 12:26 ? 00:00:00 /usr/sbin/smbd -D -s /samba/ages001/conf/etc/smb.conf -l /samba/ages001/conf/log and any log directive from smb.conf [...] log file = /samba/ages001/conf/log/%m.log loglevel = 10 lock directory = /samba/ages001/conf/locks/ pid directory = /samba/ages001/conf/pids/ private dir = /samba/ages001/conf/private/ smb passwd file = /samba/ages001/conf/private/smbpasswd username map = /samba/ages001/conf/private/smbusers utmp directory = /samba/ages001/conf/utmp wtmp directory = /samba/ages001/conf/wtmp [...] both winbindd and nmbd put there logfiles still into /var/log/samba. Any help or hint would be appreciated. Mit freundlichem Gru?, Dirk Laurenz Systems Engineer Fujitsu Siemens Computers Sales Central Europe Deutschland Professional Service Organisation Nord / Ost Hildesheimer Strasse 25 30880 Laatzen Germany Telephone: +49 (511) 84 89 - 18 08 Telefax: +49 (511) 84 89 - 25 18 08 Mobile: +49 (170) 22 10 781 Email: mailto:dirk.laurenz@fujitsu-siemens.com Internet: http://www.fujitsu-siemens.com http://www.fujitsu-siemens.de/rl/servicesupport/itdienstleistungen/competencecenter.html *******************************************************************************************************************
Hello everybody, -| -| Due to a config typo, I could not find any log.nmbd og log.smbd. -| -| When I realized my own error, I was able to establish -| -| the log.smbd when starting the daemon with the -l (or --logfile) -| -| parameter. This, however, works only for smbd - nmbd seems -| -| to ignore the mentioned parameter totally. -| -| -| -| Cheers, Joern. -| -| -| i have the same problem. I'm running successfully two server -| instances on one host and want to redirect the logfiles for -| each instance. -| This works for smbd but not for nmbd or winbindd. -| (i assume, they ignore the command line -l switch) I just upgraded to 3.0.7 and it seems to be fixed..... Mit freundlichem Gru?, Dirk Laurenz Systems Engineer Fujitsu Siemens Computers Sales Central Europe Deutschland Professional Service Organisation Nord / Ost Hildesheimer Strasse 25 30880 Laatzen Germany Telephone: +49 (511) 84 89 - 18 08 Telefax: +49 (511) 84 89 - 25 18 08 Mobile: +49 (170) 22 10 781 Email: mailto:dirk.laurenz@fujitsu-siemens.com Internet: http://www.fujitsu-siemens.com http://www.fujitsu-siemens.de/rl/servicesupport/itdienstleistungen/competencecenter.html *******************************************************************************************************************