Christian Perrier <[EMAIL PROTECTED]> wrote:
> > Perhaps this bug report should be about why nmbd went away on my system
> > without removing /var/run/samba/nmbd.pid (note that I am not actively
> > using samba at the moment).
>
> Do you have any sign of a nmbd crash in your logs?
Good question. Looking...
In /var/log/samba:
-rw-r--r-- 1 root root 486 2006-01-13 09:11 log.nmbd.1
-rw-r--r-- 1 root root 0 2006-01-15 03:06 log.nmbd
Here is the entire content of log.nmbd.1 (it's short, and filled for
readability):
[2006/01/12 13:29:12, 0] nmbd/nmbd.c:main(717)
Netbios nameserver version 3.0.20b-Debian started.
Copyright Andrew Tridgell and the Samba Team 1992-2005
[2006/01/12 13:35:03, 0]
nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
*****
Samba name server OLGAS is now a local master browser for workgroup
WORKGROUP on subnet 192.168.0.104
*****
[2006/01/13 09:11:11, 0] nmbd/nmbd.c:reload_interfaces(265)
reload_interfaces: No subnets to listen to. Shutting down...
Note the time that the server was started and the time of my nmbd.pid
file are the same:
[EMAIL PROTECTED]:1154]$ l /var/run/samba/nmbd.pid
-rw-r--r-- 1 root root 5 2006-01-12 13:29 /var/run/samba/nmbd.pid
Given the time of the reload, I had probably suspended and resumed my
laptop. I bring down all the network interfaces on suspend in
anticipation of coming up on a new interface elsewhere.
Looks like the reload_interfaces simply neglected to clean up after
itself.
I don't see any samba scripts in /etc/apm/event.d, /etc/network, or
/etc/ppp--do you know how nmbd might have been teased into running
reload_interfaces in the first place?
I use an ath0 wireless interface (madwifi driver) as well as a ppp0
interface (Bluetooth to Treo 650 to Internet via cell).
--
Bill Wohler <[EMAIL PROTECTED]> http://www.newt.com/wohler/ GnuPG ID:610BD9AD
Maintainer of comp.mail.mh FAQ and MH-E. Vote Libertarian!
If you're passed on the right, you're in the wrong lane.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]