From owner-freebsd-questions Wed Jul 3 18:54: 9 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 98F1E37B400 for ; Wed, 3 Jul 2002 18:54:04 -0700 (PDT) Received: from mail.gbronline.com (mail.gbronline.com [12.145.226.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id A914443E42 for ; Wed, 3 Jul 2002 18:54:03 -0700 (PDT) (envelope-from kdk@daleco.biz) Received: from daleco [12.145.226.230] by mail.gbronline.com (SMTPD32-7.10) id AA50E4BE0046; Wed, 03 Jul 2002 20:52:16 -0500 Message-ID: <10e301c222fd$8fb6fe40$edec910c@fbccarthage.com> From: "Kevin Kinsey, DaleCo, S.P." To: , "Roger Merritt" References: <3.0.6.32.20020703091839.007f6180@stjohn.stjohn.ac.th> <3.0.6.32.20020704075143.007a27b0@stjohn.stjohn.ac.th> Subject: Re: Samba disappears? Date: Wed, 3 Jul 2002 20:53:14 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 No problems with 2.2.2 built from source in April here. I'm sorry I'm no help, I guess you could upgrade... KDK ----- Original Message ----- From: "Roger Merritt" To: Sent: Wednesday, July 03, 2002 7:51 PM Subject: Re: Samba disappears? > At 11:28 PM 7/3/02 +1000, you wrote: > >On Wed, 3 Jul 2002, Roger Merritt wrote: > > > >> I've just discovered that in the last month or so one of my servers is > >> behaving strangely. The Samba daemon starts up normally, but then the > >> process disappears. When I run 'ps -aux | grep smb' the only process that > > > >Try 'ps auxww | grep smb' and you may see the processes. Without the ww > >the process names outputed by ps may be truncated due to your terminal > >width. > > > >Steve > > > >> shows up is grep. I've tried running it from the command line with the > >> debug flag set, but the log doesn't show anything -- it shows the daemon > >> starting, loading parameters, and then nothing. The .pid file remains in > >> /var/run, but there's no process active. > >> > >> I'm currently running FreeBSD 4.5: > >> [root@kepler:~]# uname -a > >> FreeBSD kepler.implab.ac.th 4.5-STABLE FreeBSD 4.5-STABLE #0: Wed Feb 27 > >> 08:29:05 ICT 2002 root@kepler.implab.ac.th:/usr/obj/usr/src/sys/KEPLER > >> i386 > >> > >> and [root@kepler:~]# /usr/local/sbin/smbd -V > >> Version 2.0.7 > >> > >> I can't tell exactly when this behavior started, but it's only been a month > >> or six weeks. Natd is working fine, so all the Win98 boxes connected to > >> this server can connect to the Internet (the most important function), but > >> they can't see the server as a Windoze resource, so I can't install from > >> it. I obviously must have changed something, because it used to work fine, > >> but I can't remember what changed in that time period except for upgrading > >> Mozilla. > >> > >> Can anyone suggest what I might try to find out what is causing the process > >> to disappear? I'm reluctant to upgrade Samba. > >> -- > >> Roger > >> > >> You're only young once, > >> but you can be immature forever! > >> > > Thanks, but that doesn't help. It's not a problem with ps. Look, if I do this: > > [root@kepler:~]# ls /var/run/sm* > /var/run/smbd.pid > [root@kepler:~]# kill -HUP `cat /var/run/smbd.pid` > su: kill: (154) - No such pid > > Is the process dying because it can't find some resource/library? I thought > a *lot* of people were still running Samba 2.0.7 on FreeBSD. Should I try > upgrading? The port is samba-2.2.4_1, but I'm always afraid of breaking > Samba when I upgrade -- well, it's broken already, isn't it? Any > advice/suggestions would be appreciated. > -- > Roger > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message