Strange Samba happenings

Kadari Mayson dark3lf at mac.com
Wed Feb 14 17:04:54 GMT 2001


Hi.  I've been using Samba for a while on my NetBSD box with no problems 
what-so-ever, and use it to share files between my Macs and PCs.  Up 
until Saturday, everything was working just fine, but all of a sudden (a 
little too technical, I know heh) it stopped working.  The only thing 
I've changed on that box is to recompile Apache so it now has mod_perl 
and PHP4.

Here is a partial log of what is happening in /var/log/messages:

Feb 14 08:22:14 cc184371-b inetd[197]: /usr/local/samba/bin/nmbd: exit 
status 0x1
Feb 14 08:22:45 cc184371-b last message repeated 21 times
Feb 14 08:22:58 cc184371-b last message repeated 17 times
Feb 14 08:22:58 cc184371-b inetd[197]: netbios-ns/udp server failing 
(looping), service terminated
Feb 14 10:38:24 cc184371-b inetd[197]: /usr/local/samba/bin/nmbd: exit 
status 0x1
Feb 14 10:38:58 cc184371-b last message repeated 19 times
Feb 14 10:39:23 cc184371-b last message repeated 19 times
Feb 14 10:39:23 cc184371-b inetd[197]: netbios-ns/udp server failing 
(looping), service terminated
Feb 14 10:58:58 cc184371-b inetd[197]: /usr/local/samba/bin/nmbd: exit 
status 0x1
Feb 14 10:59:29 cc184371-b last message repeated 26 times
Feb 14 10:59:38 cc184371-b last message repeated 12 times
Feb 14 10:59:38 cc184371-b inetd[197]: netbios-ns/udp server failing 
(looping), service terminated
Feb 14 11:34:50 cc184371-b afpd[1526]: dsi_stream_read(-1): Connection 
reset by peer
Feb 14 11:34:50 cc184371-b afpd[1526]: dsi_tcp_open: invalid header
Feb 14 11:34:50 cc184371-b afpd[194]: server_child[1] 1526 exited 1

here is what my log.nmb looks like [first I should say that I having a 
bit of a trouble with my DNS (@home's dns actually) i have an IP, but my 
hostname does not resolve to anything.

   Get_Hostbyname: Unknown host cc184371-b.vron1.nj.home.com
[2001/02/14 11:54:52, 0] nmbd/nmbd_subnetdb.c:make_subnet(142)
nmbd_subnetdb:make_subnet()
   Failed to open nmb socket on interface 192.168.1.102 for port 137.  
Error was Undefined error: 0
[2001/02/14 11:54:52, 0] nmbd/nmbd.c:main(817)
   ERROR: Failed when creating subnet lists. Exiting.
[2001/02/14 11:54:53, 1] nmbd/nmbd.c:main(757)
   Netbios nameserver version 2.0.7 started.
   Copyright Andrew Tridgell 1994-1998
[2001/02/14 11:54:53, 0] lib/util_sock.c:open_socket_in(824)
   Get_Hostbyname: Unknown host cc184371-b.vron1.nj.home.com
[2001/02/14 11:54:53, 0] lib/util_sock.c:set_socket_options(151)
   Failed to set socket option SO_BROADCAST (Error Bad file descriptor)
[2001/02/14 11:54:53, 0] lib/util_sock.c:open_socket_in(824)
   Get_Hostbyname: Unknown host cc184371-b.vron1.nj.home.com
[2001/02/14 11:54:53, 0] nmbd/nmbd_subnetdb.c:make_subnet(142)
nmbd_subnetdb:make_subnet()
   Failed to open nmb socket on interface 192.168.1.102 for port 137.  
Error was Undefined error: 0
[2001/02/14 11:54:53, 0] nmbd/nmbd.c:main(817)
   ERROR: Failed when creating subnet lists. Exiting.

My smbd seems to be started however:

[2001/02/14 11:50:33, 1] smbd/server.c:main(641)
   smbd version 2.0.7 started.
   Copyright Andrew Tridgell 1992-1998
[2001/02/14 11:53:23, 1] smbd/server.c:main(641)
   smbd version 2.0.7 started.
   Copyright Andrew Tridgell 1992-1998

Swat reports that smbd is running but that nmbd is not.

thanks in advance
/km




More information about the samba mailing list