Internal Error in nmbd

Sam Noble ns at shadow.org
Tue Aug 8 21:44:34 GMT 2000


	We're running samba 2.0.7 on an alphalinux machine (kernel 2.2.16, this is redhat-alpha 6.0, if that's important) and
nmbd is crashing with an internal error.  See the logs below (log.nmb at the bottom).  I'd do some checking around on the
samba mailing list archives, but they've been down for some time now.  nmbd generates this message on startup.  When I ran it
from the shell (rather than using the spiffy redhat initscript) I get a core file and I've included the gdb output below.  
If there's any information I've not included I can probably provide it.

	I'm relatively certain that this isn't "just a configuration problem", but in the event that it is hopefully somebody
who understands all this can clue me in.  I'm also unsure if this should go to samba@ or samba-bugs@ and so I'm only sending
it to the former.

	Also, I've tried things like "touch /usr/local/samba/var/wins.dat" to no avail.  I don't get any sort of error
message but the daemon still dies with an internal error and removes the empty wins.dat.

/* Sam */

we've built samba with egcs 2.91.66

This GDB was configured as "alpha-redhat-linux"...
Core was generated by `/usr/local/samba/bin/nmbd -D -d 3'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/lib/libreadline.so.3...done.
Reading symbols from /lib/libdl.so.2.1...done.
Reading symbols from /lib/libcrypt.so.1.1...done.
Reading symbols from /lib/libpam.so.0...done.
Reading symbols from /lib/libc.so.6.1...done.
Reading symbols from /lib/libtermcap.so.2...done.
Reading symbols from /lib/ld-linux.so.2...done.
Reading symbols from /lib/libnss_files.so.2...done.
Reading symbols from /lib/libnss_nisplus.so.2...done.
Reading symbols from /lib/libnsl.so.1.1...done.
Reading symbols from /lib/libnss_nis.so.2...done.
#0  0x200005dbd28 in __kill () at __kill:2
__kill:2: No such file or directory.
(gdb) where
#0  0x200005dbd28 in __kill () at __kill:2
#1  0x200005db9f8 in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2  0x200005dd8b8 in abort () at ../sysdeps/generic/abort.c:88
#3  0x12005b9f4 in smb_panic ()
#4  0x120042a40 in fault_report ()
#5  0x120042ad4 in sig_fault ()
(gdb) disass __kill
Dump of assembler code for function __kill:
0x200005dbd20 <__kill>: lda     v0,37(zero)
0x200005dbd24 <__kill+4>:       callsys
0x200005dbd28 <__kill+8>:       bne     a3,0x200005dbd30 <__kill+16>
0x200005dbd2c <__kill+12>:      ret     zero,(ra),0x1
0x200005dbd30 <__kill+16>:      br      gp,0x200005dbd34 <__kill+20>
0x200005dbd34 <__kill+20>:      ldah    gp,31(gp)
0x200005dbd38 <__kill+24>:      lda     gp,-1820(gp)
0x200005dbd3c <__kill+28>:      ldq     t12,-28064(gp)
0x200005dbd40 <__kill+32>:      jmp     zero,(t12),0x200005e2080
<strtoll+32>
End of assembler dump

>From log.nmb, (A different time, with -d 10, the log looks almost identical)

[2000/08/08 14:07:38, 1] nmbd/nmbd.c:main(757)
  Netbios nameserver version 2.0.7 started.
  Copyright Andrew Tridgell 1994-1998
[2000/08/08 14:07:38, 3] param/loadparm.c:init_globals(902)
  Initialising global parameters
[2000/08/08 14:07:38, 3] param/params.c:pm_process(552)
  params.c:pm_process() - Processing configuration file "/usr/local/samba/lib/smb.conf"
[2000/08/08 14:07:38, 3] param/loadparm.c:do_section(2464)
  Processing section "[global]"
  doing parameter debug timestamp = No
  doing parameter debug level = 2
Becoming a daemon.
started asyncdns process 16722
added interface ip=134.10.29.22 bcast=134.10.31.255 nmask=255.255.240.0
added interface ip=134.10.2.24 bcast=134.10.15.255 nmask=255.255.240.0
making subnet name:134.10.2.24 Broadcast address:134.10.15.255 Subnet mask:255.255.240.0
making subnet name:134.10.29.22 Broadcast address:134.10.31.255 Subnet mask:255.255.240.0
making subnet name:UNICAST_SUBNET Broadcast address:134.10.2.24 Subnet mask:134.10.2.24
making subnet name:REMOTE_BROADCAST_SUBNET Broadcast address:0.0.0.0 Subnet mask:0.0.0.0
making subnet name:WINS_SERVER_SUBNET Broadcast address:0.0.0.0 Subnet mask:0.0.0.0
initialise_wins: Can't open wins database file /usr/local/samba/var/locks/wins.dat. Error was No such file or directory
read socket failed. ERRNO=Connection refused
become_domain_master_browser_wins:
Attempting to become domain master browser on workgroup SERVERS, subnet UNICAST_SUBNET.
become_domain_master_browser_wins: querying WINS server at IP 134.10.2.24 for domain master browser name SERVERS<1b> on
workgroup SERVERS
read socket failed. ERRNO=Connection refused
read socket failed. ERRNO=Connection refused
become_domain_master_stage1: Becoming domain master browser for workgroup SERVERS on subnet UNICAST_SUBNET
===============================================================
INTERNAL ERROR: Signal 11 in pid 16721 (2.0.7)
Please read the file BUGS.txt in the distribution
===============================================================
PANIC: internal error


More information about the samba mailing list