Subject: samba nmbd dies
To: None <netbsd-help@netbsd.org>
From: None <oinkfreebiker@att.net>
List: netbsd-help
Date: 07/27/2001 19:04:05
This dies immediately...

# nmbd -D

...so I did this...

# rm /var/log/log.nmb
# nmbd -d 10 -D 
# cp /var/log/log.nmb /floppy

...and this is what I got. Know first that I can do 
this...


# smbclient -L STURNO2

...which is to a Win98 machine, but I can NOT do this...

# smbclient -L STURNO1

...or this...

# smbclient -L localhost

...even thought I can always do this...

# ping localhost

...and also this...

# ping STURNO1

...my nmbd is simply not running. I have run out of ideas
of where to look. Here is  my /var/log/log.nmb file. I 
don't
know why Get_Hostbyname returns Unknown host, since ping
always works. Does anybody have an idea of where next I 
should
look?

/var/log/log.nmb

[2001/07/27 13:40:49, 1] nmbd/nmbd.c:main(757)
  Netbios nameserver version 2.0.7-ja-1.3 started.
  Copyright Andrew Tridgell 1994-1998
[2001/07/27 13:40:49, 3] 
param/loadparm.c:init_globals(902)
  Initialising global parameters
[2001/07/27 13:40:49, 3] param/params.c:pm_process(552)
  params.c:pm_process() - Processing configuration file 
"/etc/samba/smb.conf"
[2001/07/27 13:40:49, 3] 
param/loadparm.c:do_section(2476)
  Processing section "[global]"
  doing parameter client code page = 932
  doing parameter coding system = euc
  doing parameter server string = Samba Server
  doing parameter hosts allow = 192.168.1. 127.
  doing parameter name resolve order = hosts lmhosts wins 
bcast
  doing parameter log file = /usr/local/samba/var/log.%m
  doing parameter max log size = 50
  doing parameter security = user
  doing parameter socket options = TCP_NODELAY
  doing parameter dns proxy = no
[2001/07/27 13:40:49, 3] param/loadparm.c:lp_load(2819)
  pm_process() returned Yes
[2001/07/27 13:40:49, 7] 
param/loadparm.c:lp_servicenumber(2919)
  lp_servicenumber: couldn't find homes
[2001/07/27 13:40:49, 3] nmbd/nmbd.c:reload_services(289)
  services not loaded
[2001/07/27 13:40:49, 6] 
param/loadparm.c:lp_file_list_changed(1883)
  lp_file_list_changed()
  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last 
mod_time: Wed Jun 27 10:30:12 2001
  
[2001/07/27 13:40:49, 6] 
lib/charset.c:codepage_initialise(339)
  codepage_initialise: client code page = 932
[2001/07/27 13:40:49, 5] 
lib/charset.c:load_client_codepage(196)
  load_client_codepage: loading codepage 932.
[2001/07/27 13:40:49, 5] 
lib/util_unistr.c:load_unicode_map(418)
  load_unicode_map: loading unicode map for codepage 932.
[2001/07/27 13:40:49, 5] nmbd/nmbd.c:init_structs(602)
  Netbios name list:-
[2001/07/27 13:40:49, 6] 
param/loadparm.c:lp_file_list_changed(1883)
  lp_file_list_changed()
  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last 
mod_time: Wed Jun 27 10:30:12 2001
  
[2001/07/27 13:40:49, 2] nmbd/nmbd.c:main(788)
  Becoming a daemon.
[2001/07/27 13:40:49, 8] lib/util.c:fcntl_lock(2672)
  fcntl_lock 4 8 0 1 3
[2001/07/27 13:40:49, 8] lib/util.c:fcntl_lock(2763)
  Lock call successful
[2001/07/27 13:40:49, 3] nmbd/nmbd.c:main(806)
  Opening sockets 137
[2001/07/27 13:40:49, 0] 
lib/util_sock.c:open_socket_in(824)
  Get_Hostbyname: Unknown host 
[2001/07/27 13:40:49, 0] 
lib/util_sock.c:open_socket_in(824)
  Get_Hostbyname: Unknown host 


Thanks,

Gan Starling
Kalamazoo MI USA

---

To paraphrase Hitler... 
"Who remembers the Amalekites?"