Re: starting and stopping samba

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

 



*********** 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
>
snip
>
>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.


>In the future please post what the log says, not an interpretation of it. 
>Something that may not seem important could be the key.
>

Okay, here's the log.nmbd. It has this group of entries repeating throughout. I
blanked the actual IP with x.xx.xxx.xx which refers to the external address
interface

2003/05/13 15:23:23, 0] lib/util_sock.c:open_socket_in(804)
  bind failed on port 137 socket_addr = x.xx.xxx.xx
  Error = Cannot assign requested address
[2003/05/13 15:23:23, 0] nmbd/nmbd_subnetdb.c:make_subnet(139)
nmbd_subnetdb:make_subnet()
  Failed to open nmb socket on interface x.xx.xxx.xx for port 137.  Error was
Cannot assign requested address
[2003/05/13 15:23:23, 0] nmbd/nmbd.c:main(872)
  ERROR: Failed when creating subnet lists. Exiting.
[2003/05/13 17:02:00, 0] nmbd/nmbd.c:main(794)
  Netbios nameserver version 2.2.7a started.
  Copyright Andrew Tridgell and the Samba Team 1994-2002


regards,

shane.




[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