From owner-freebsd-questions@FreeBSD.ORG Tue May 13 18:58:04 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 81A2C1065678 for ; Tue, 13 May 2008 18:58:04 +0000 (UTC) (envelope-from jdowdy@ncircle.com) Received: from mail.ncircle.com (mail.ncircle.com [64.84.9.150]) by mx1.freebsd.org (Postfix) with ESMTP id 634F18FC17 for ; Tue, 13 May 2008 18:58:04 +0000 (UTC) (envelope-from jdowdy@ncircle.com) Received: from CORP-MAIL.ad.ncircle.com (corpmail-01.ncircle.com [192.168.75.90]) by mail.ncircle.com (8.14.2/8.14.2) with ESMTP id m4DIw2Db032103 for ; Tue, 13 May 2008 11:58:02 -0700 (PDT) (envelope-from jdowdy@ncircle.com) Received: from 192.168.40.173 ([192.168.40.173]) by CORP-MAIL.ad.ncircle.com ([192.168.75.94]) with Microsoft Exchange Server HTTP-DAV ; Tue, 13 May 2008 18:58:01 +0000 User-Agent: Microsoft-Entourage/11.4.0.080122 Date: Tue, 13 May 2008 11:58:01 -0700 From: Johan Dowdy To: Reinhold , Message-ID: Thread-Topic: Samba doesn't start after a ports upgrade Thread-Index: Aci1K0QNgnQw5CEeEd2/8gAKla5AwA== In-Reply-To: <62380.217.41.34.61.1210666845.squirrel@www.violetlan.net> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Spam-Score: -3.894 () ALL_TRUSTED,AWL,BAYES_00 X-Scanned-By: MIMEDefang 2.63 on 64.84.9.150 Cc: Subject: Re: Samba doesn't start after a ports upgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 May 2008 18:58:04 -0000 For extra info at start time I always use sh -x /sur/local/etc/rc.d/foo start which will give you some nice realtime debugging. -J On 5/13/08 1:20 AM, "Reinhold" wrote: > Hi > > I have a samba server here at work. Last night I did a ports upgrade and > since then samba fails to start. It just hangs at the rc script. > > # /usr/local/etc/rc.d/samba start > Removing stale Samba tdb files: done > Starting nmbd. > Starting smbd. > > > # ps auxwww |grep smb > root 66854 0.0 0.7 5740 3464 ?? Ss 9:09AM 0:00.01 > /usr/local/sbin/nmbd -D -s /usr/local/etc/smb.conf > root 67466 0.0 1.3 9616 6756 p1 I+ 9:09AM 0:00.06 > /usr/local/sbin/smbd -d 5 -s /usr/local/etc/smb.conf > root 67561 0.0 0.2 1596 924 p2 S+ 9:09AM 0:00.00 grep smb > > and in the log file it looks like this > [2008/05/13 09:14:16, 5] lib/debug.c:debug_dump_status(391) > INFO: Current debug levels: > all: True/5 > tdb: False/0 > printdrivers: False/0 > lanman: False/0 > smb: False/0 > rpc_parse: False/0 > rpc_srv: False/0 > rpc_cli: False/0 > passdb: False/0 > sam: False/0 > auth: False/0 > winbind: False/0 > vfs: False/0 > idmap: False/0 > quota: False/0 > acls: False/0 > locking: False/0 > msdfs: False/0 > dmapi: False/0 > [2008/05/13 09:14:16, 3] lib/fault.c:dump_core_setup(134) > Maximum core file size limits now -1(soft) -1(hard) > [2008/05/13 09:14:16, 3] smbd/sec_ctx.c:get_current_groups(167) > get_current_groups: user is in 3 groups: 0, 0, 5 > [2008/05/13 09:14:16, 0] smbd/server.c:main(944) > smbd version 3.0.28a started. > Copyright Andrew Tridgell and the Samba Team 1992-2008 > [2008/05/13 09:14:16, 2] smbd/server.c:main(948) > uid=0 gid=0 euid=0 egid=0 > [2008/05/13 09:14:16, 4] smbd/build_options.c:output(45) > Build environment: > [2008/05/13 09:14:16, 4] smbd/build_options.c:output(45) > Built by: reinhold@fbsd01.gim.local > [2008/05/13 09:14:16, 4] smbd/build_options.c:output(45) > Built on: Tue May 13 08:52:37 BST 2008 > [2008/05/13 09:14:16, 4] smbd/build_options.c:output(45) > Built using: cc > [2008/05/13 09:14:16, 4] smbd/build_options.c:output(45) > Build host: FreeBSD fbsd01.gim.local 6.3-STABLE FreeBSD 6.3-STABLE > #1: Mon May 12 18:47:12 BST 2008 > reinhold@fbsd01.gim.local:/usr/obj/usr/src/sys/MYKERN i386 > [2008/05/13 09:14:16, 4] smbd/build_options.c:output(45) > SRCDIR: /usr/ports/net/samba3/work/samba-3.0.28a/source > [2008/05/13 09:14:16, 4] smbd/build_options.c:output(45) > BUILDDIR: /usr/ports/net/samba3/work/samba-3.0.28a/source > [2008/05/13 09:14:16, 4] smbd/build_options.c:output(45) > > And loads of other stuff that looks the same as above > It ends with this > [2008/05/13 09:14:16, 3] printing/pcap.c:pcap_cache_reload(117) > reloading printcap cache > [2008/05/13 09:14:16, 5] printing/print_cups.c:cups_cache_reload(94) > reloading cups printcap cache > [2008/05/13 09:16:46, 0] printing/print_cups.c:cups_connect(69) > Unable to connect to CUPS server localhost:631 - Operation timed out > [2008/05/13 09:16:46, 3] printing/pcap.c:pcap_cache_reload(223) > reload status: error > [2008/05/13 09:16:46, 3] printing/pcap.c:pcap_cache_reload(117) > reloading printcap cache > [2008/05/13 09:16:46, 5] printing/print_cups.c:cups_cache_reload(94) > reloading cups printcap cache > > > Any help please, my whole office is down at the moment :-( > > Regards > Reinhold > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Johan Dowdy - CISSP Senior Systems Administrator nCircle Network Security 415.318.2880 "Any sufficiently advanced technology is indistinguishable from magic." -- Arthur C. Clarke