Hi All,
I am having a strange problem with Samba. I built and
installed Samba 3.0.26a from pkgsrc on a NetBSD 3.1 machine
(running the stock release GENERIC kernel), and for the most part
it works fine, except for one thing:
If I connect up and browse all shares (like going to \\net9vm\ in an
explorer window on an XP box), it displays them all fine, and I can
connect and use them as expected, but I noticed that every time I
connect and browse like that, something like this appears in the
/var/log/log.smbd file:
[2008/01/09 05:02:59, 0] smbd/service.c:make_connection(1191)
lfriend-note1 (66.152.127.240) couldn't find service .
[2008/01/09 05:03:00, 1] smbd/service.c:make_connection_snum(1033)
lfriend-note1 (66.152.127.240) connect to service lfriend
initially as user lfriend (uid=2276, gid=101) (pid 5137)
[2008/01/09 05:03:00, 1] smbd/service.c:make_connection_snum(1033)
lfriend-note1 (66.152.127.240) connect to service ports initially
as user lfriend (uid=2276, gid=101) (pid 5137)
[2008/01/09 05:03:00, 1] smbd/service.c:make_connection_snum(1033)
lfriend-note1 (66.152.127.240) connect to service tools initially
as user lfriend (uid=2276, gid=101) (pid 5137)
[2008/01/09 05:03:00, 1] smbd/service.c:make_connection_snum(1033)
lfriend-note1 (66.152.127.240) connect to service www-customer
initially as user lfriend (uid=2276, gid=80) (pid 5137)
[2008/01/09 05:03:00, 1] smbd/service.c:make_connection_snum(1033)
lfriend-note1 (66.152.127.240) connect to service www-documents
initially as user lfriend (uid=2276, gid=80) (pid 5137)
[2008/01/09 05:03:00, 1] smbd/service.c:make_connection_snum(1033)
lfriend-note1 (66.152.127.240) connect to service www-files
initially as user lfriend (uid=2276, gid=80) (pid 5137)
[2008/01/09 05:03:00, 0] lib/fault.c:fault_report(41)
===============================================================
[2008/01/09 05:03:00, 0] lib/fault.c:fault_report(42)
INTERNAL ERROR: Signal 6 in pid 5137 (3.0.26a)
Please read the Trouble-Shooting section of the Samba3-HOWTO
[2008/01/09 05:03:00, 0] lib/fault.c:fault_report(44)
From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
[2008/01/09 05:03:00, 0] lib/fault.c:fault_report(45)
===============================================================
[2008/01/09 05:03:00, 0] lib/util.c:smb_panic(1632)
PANIC (pid 5137): internal error
[2008/01/09 05:03:00, 0] lib/util.c:log_stack_trace(1786)
unable to produce a stack trace on this platform
[2008/01/09 05:03:00, 0] lib/fault.c:dump_core(181)
dumping core in /var/log/cores/smbd
[2008/01/09 05:03:00, 1] smbd/service.c:make_connection_snum(1033)
lfriend-note1 (66.152.127.240) connect to service www-marketing
initially as user lfriend (uid=2276, gid=80) (pid 4515)
[2008/01/09 05:03:00, 1] smbd/service.c:make_connection_snum(1033)
lfriend-note1 (66.152.127.240) connect to service www-projects
initially as user lfriend (uid=2276, gid=80) (pid 4515)
[2008/01/09 05:03:00, 1] smbd/service.c:make_connection_snum(1033)
lfriend-note1 (66.152.127.240) connect to service www-sales
initially as user lfriend (uid=2276, gid=80) (pid 4515)
[2008/01/09 05:03:00, 1] smbd/service.c:make_connection_snum(1033)
lfriend-note1 (66.152.127.240) connect to service www-share
initially as user lfriend (uid=2276, gid=80) (pid 4515)
[2008/01/09 05:03:00, 1] smbd/service.c:make_connection_snum(1033)
lfriend-note1 (66.152.127.240) connect to service www-symsrv
initially as user lfriend (uid=2276, gid=80) (pid 4515)
[2008/01/09 05:03:00, 1] smbd/service.c:make_connection_snum(1033)
lfriend-note1 (66.152.127.240) connect to service www-sysadmin
initially as user lfriend (uid=2276, gid=80) (pid 4515)
[2008/01/09 05:03:00, 1] smbd/service.c:make_connection_snum(1033)
lfriend-note1 (66.152.127.240) connect to service www-tools
initially as user lfriend (uid=2276, gid=80) (pid 4515)
[2008/01/09 05:03:10, 1] smbd/service.c:close_cnum(1230)
lfriend-note1 (66.152.127.240) closed connection to service www-marketing
[2008/01/09 05:03:10, 1] smbd/service.c:close_cnum(1230)
lfriend-note1 (66.152.127.240) closed connection to service www-projects
[2008/01/09 05:03:10, 1] smbd/service.c:close_cnum(1230)
lfriend-note1 (66.152.127.240) closed connection to service www-sales
[2008/01/09 05:03:10, 1] smbd/service.c:close_cnum(1230)
lfriend-note1 (66.152.127.240) closed connection to service www-share
[2008/01/09 05:03:10, 1] smbd/service.c:close_cnum(1230)
lfriend-note1 (66.152.127.240) closed connection to service www-symsrv
[2008/01/09 05:03:10, 1] smbd/service.c:close_cnum(1230)
lfriend-note1 (66.152.127.240) closed connection to service www-sysadmin
[2008/01/09 05:03:10, 1] smbd/service.c:close_cnum(1230)
lfriend-note1 (66.152.127.240) closed connection to service www-tools
Has anybody else seen this? The link included in the error message
tells me I ought to trace through it with GDB and see what gives,
but before doing that, I want to be sure I'm not reinventing the wheel...
An additional possible detail, all of the directories that are
served out by Samba are remote, and mounted as needed via nfs by amd.
Thanks much,
-lars