Samba doesn't start after a ports upgrade
  Home FAQ Contact Sign in
lucky.freebsd.questions only
 
Advanced search
POPULAR GROUPS

more...

lucky.freebsd.questions Profile…
 Up
Samba doesn't start after a ports upgrade         


Author: Reinhold
Date: May 13, 2008 01:20

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...
Show full article (3.18Kb)
3 Comments
Re: Samba doesn't start after a ports upgrade         


Author: Reinhold
Date: May 13, 2008 02:22

Woot, its back up.

The problem was cups.

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.
>
> #...
Show full article (3.68Kb)
no comments
Re: Samba doesn't start after a ports upgrade         


Author: Wojciech Puchar
Date: May 13, 2008 02:55

> 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...
Show full article (4.12Kb)
no comments
Re: Samba doesn't start after a ports upgrade         


Author: Reinhold
Date: May 13, 2008 05:54

On Tue, May 13, 2008 10:55, Wojciech Puchar wrote:
>> The problem was cups.
>>
>
> i don't have cups installed and have samba running. check samba config -
> it should not be like this
>

I just checked make config and I have cups selected, but I'm pretty sure
it has always been selected. I'll deselect it and recompile and see what
happens.

Here is my smb.conf
[global]
dos charset = ASCII
unix charset = UTF8
workgroup = OFFICE
server string = Samba File Server
passdb backend = tdbsam
log file...
Show full article (1.60Kb)
no comments