Re: starting and stopping samba

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Shane C Branch said:
>
>
> *********** REPLY SEPARATOR  ***********
>
> On 5/14/2003 at 11:08 AM William Hooper wrote:
>
>>Shane C Branch said:
>>>
> snip
>>
>>Because it sounds like it is failing to start.
>
> Only sometimes. About half the time when I type service smb start, I get
> the
> [ok] for both smbd and nmbd, however, issuing service smb stop results in
> a
> [failed] on nmbd 100% of the time

OK, more accurately nmbd is starting enough to give you the [OK} then dying.

>>An important piece of information that wasn't originally included.
>
> sorry about that
>>
>>Have you looked at the "interfaces" parameter in smb.conf?
>>http://us3.samba.org/samba/docs/man/smb.conf.5.html#INTERFACES
>
> Yes, I have. This was one of the first changes I made to smb.conf, since I
> knew
> I would need the server on both interfaces. That line in smb.conf is as
> follows:
> interfaces = xxx.xxx.x.x/24 x.xx.xxx.x/20
>
> Not that it matters, but the first address is the internal one. I followed
> an
> example on the web for this line, I think it's right.

Sorry, I assumed you were trying to use Samba only on the internal
interface.  What happens if you comment this line out and let Samba figure
it out?

BTW - Hiding the IPs just makes it a pain to troubleshoot, for all I know
you have 192.168.0.1/24 192.168.0.2/20...

-- 
William Hooper




[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux