Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Feb 2002 13:54:33 -0500
From:      "Galella, Anthony" <anthony.galella@intel.com>
To:        "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org>
Subject:   FBSD4.5/Samba 2.2.3a: swat misbehaving 
Message-ID:  <59F55CE047A6D51196360002A534A4AC370375@pysmsx102.py.intel.com>

next in thread | raw e-mail | index | archive | help
I posted this question last week to the Samba listserv, but nobody was able
to shed any light on the subject, perhaps someone here can?

I am having a problem with my Samba machine, here are the details.

The machine in question is running FreeBSD 4.5-RELEASE on a Dual PIII/XEON
550.
I downloaded the source for Samba-2.2.3a and compiled without a hitch.
(since then, I uninstalled and downloaded the -current"ports" tree for samba
2.2.3a and reinstalled through the ports.  But still have the same issue.)
I also setup SWAT to run through an stunnel(ssl) pipe.  
SWAT configuration of Samba worked great, but if I start the daemons(smbd &
nmbd) from SWAT, smbd seems to keep creating Zombie processes! If I try to
stop the daemons through SWAT, smbd does not respond!  I have to go and kill
-9 the pid (even kill -15 doesn't work)
Now here is the strange part.  If I start the daemons from an ssh window
(command line) the daemons work fine. (no Zombies) and they also stop
nicely.   

here is the tail end from my log.smbd when smbd refuses to cooperate:
(below it is the log when it works ok)

[2002/02/22 18:40:12, 3] smbd/process.c:timeout_processing(1092)
  receive_smb error (Undefined error: 0) exiting
[2002/02/22 18:40:12, 3] smbd/sec_ctx.c:set_sec_ctx(314)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2002/02/22 18:40:12, 5] smbd/uid.c:change_to_root_user(216)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2002/02/22 18:40:12, 2] smbd/server.c:exit_server(458)
  Closing connections
[2002/02/22 18:40:12, 3] smbd/connection.c:yield_connection(48)
  Yielding connection to
[2002/02/22 18:40:12, 3] smbd/connection.c:yield_connection(62)
  yield_connection: tdb_delete for name  failed with error Record does not
exist
.
[2002/02/22 18:40:12, 3] smbd/server.c:exit_server(492)
  Server exit (normal exit)
[2002/02/22 18:40:12, 3] smbd/server.c:exit_server(492)
  Server exit (normal exit)



-----------Below is the log when start/stopped smbd from command
line--------
[2002/02/22 18:50:37, 2] smbd/server.c:open_sockets(198)
  waiting for a connection
[2002/02/22 18:50:40, 3] smbd/sec_ctx.c:set_sec_ctx(314)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2002/02/22 18:50:40, 5] smbd/uid.c:change_to_root_user(216)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2002/02/22 18:50:40, 2] smbd/server.c:exit_server(458)
  Closing connections
[2002/02/22 18:50:40, 3] smbd/connection.c:yield_connection(48)
  Yielding connection to
[2002/02/22 18:50:40, 3] smbd/server.c:exit_server(492)
  Server exit (caught signal)


Thanks in advance.
Anthony J. Galella
anthony.galella@intel.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?59F55CE047A6D51196360002A534A4AC370375>