From owner-freebsd-questions@FreeBSD.ORG Tue May 13 08:25:52 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 8A69B1065674 for ; Tue, 13 May 2008 08:25:52 +0000 (UTC) (envelope-from freebsd@violetlan.net) Received: from mail.violetlan.net (host-80-81-242-12.violetlan.net [80.81.242.12]) by mx1.freebsd.org (Postfix) with ESMTP id 1A6B68FC16 for ; Tue, 13 May 2008 08:25:51 +0000 (UTC) (envelope-from freebsd@violetlan.net) Received: from mail.violetlan.net (localhost [127.0.0.1]) by mail.violetlan.net (Postfix) with ESMTP id BED3011460 for ; Tue, 13 May 2008 09:22:40 +0100 (BST) Received: from www.violetlan.net (mbali.violetlan.net [10.0.100.150]) by mail.violetlan.net (Postfix) with ESMTP id 8D9511142B for ; Tue, 13 May 2008 09:22:40 +0100 (BST) Received: from 217.41.34.61 (SquirrelMail authenticated user freebsd@violetlan.net) by www.violetlan.net with HTTP; Tue, 13 May 2008 09:20:45 +0100 (BST) Message-ID: <62380.217.41.34.61.1210666845.squirrel@www.violetlan.net> Date: Tue, 13 May 2008 09:20:45 +0100 (BST) From: "Reinhold" To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.5.1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP Subject: 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 08:25:52 -0000 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