From owner-freebsd-questions@FreeBSD.ORG Tue May 13 09:55:46 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 B8C611065672 for ; Tue, 13 May 2008 09:55:46 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 9D8CE8FC14 for ; Tue, 13 May 2008 09:55:45 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m4D9teug088409; Tue, 13 May 2008 11:55:40 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m4D9teVt088406; Tue, 13 May 2008 11:55:40 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Tue, 13 May 2008 11:55:40 +0200 (CEST) From: Wojciech Puchar To: Reinhold In-Reply-To: <64406.217.41.34.61.1210670523.squirrel@www.violetlan.net> Message-ID: <20080513115521.H88371@wojtek.tensor.gdynia.pl> References: <62380.217.41.34.61.1210666845.squirrel@www.violetlan.net> <64406.217.41.34.61.1210670523.squirrel@www.violetlan.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org 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 09:55:46 -0000 > The problem was cups. i don't have cups installed and have samba running. check samba config - it should not be like this > > I never used cups before, but for some reason now I have to start cups up > so that samba can work. > > Regards > Reinhold > > On Tue, May 13, 2008 09:20, 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" >> >> > > > _______________________________________________ > 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" > >