From owner-freebsd-questions Wed Feb 27 10:54:46 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail1.hd.intel.com (hdfdns01.hd.intel.com [192.52.58.10]) by hub.freebsd.org (Postfix) with ESMTP id A044837B417 for ; Wed, 27 Feb 2002 10:54:40 -0800 (PST) Received: from pysmsxvs01.py.intel.com (pysmsxvs01.py.intel.com [146.152.3.51]) by mail1.hd.intel.com (8.9.1a+p1/8.9.1/d: relay.m4,v 1.51 2002/02/19 21:12:32 root Exp $) with SMTP id SAA20453 for ; Wed, 27 Feb 2002 18:54:39 GMT Received: from pysmsx030.py.intel.com ([146.152.3.52]) by pysmsxvs01.py.intel.com (NAVGW 2.5.1.16) with SMTP id M2002022713543915468 for ; Wed, 27 Feb 2002 13:54:39 -0500 Received: by pysmsx030.py.intel.com with Internet Mail Service (5.5.2653.19) id ; Wed, 27 Feb 2002 13:54:39 -0500 Message-ID: <59F55CE047A6D51196360002A534A4AC370375@pysmsx102.py.intel.com> From: "Galella, Anthony" To: "'freebsd-questions@freebsd.org'" Subject: FBSD4.5/Samba 2.2.3a: swat misbehaving Date: Wed, 27 Feb 2002 13:54:33 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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