Samba doesn't start after a ports upgrade
Wojciech Puchar
wojtek at wojtek.tensor.gdynia.pl
Tue May 13 09:55:46 UTC 2008
> 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 at 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 at 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 at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to
>> "freebsd-questions-unsubscribe at freebsd.org"
>>
>>
>
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
>
More information about the freebsd-questions
mailing list