[Samba] bind failed on port 445 socket_addr = 0.0.0.0.

Eric PEYREMORTE eric.peyremorte at iut-valence.fr
Tue Sep 7 09:53:05 MDT 2010


  Yes i double, triple check, that's why i post here :-)

I 've just tried to add these two lines :
  interfaces = 127.0.0.1 172.30.1.30
  bind interfaces only = yes

The error message doesn't display anymore, but i think nmbd do not 
listen on the 0.0.0.0 interface with this parameters.

Le 07/09/2010 16:47, John Drescher a écrit :
> On Tue, Sep 7, 2010 at 10:45 AM, Eric PEYREMORTE
> <eric.peyremorte at iut-valence.fr>  wrote:
>>   Hi,
>>
>> I've just upgraded an old samba 3.0.23 on an old Fedora Core 5 to samba
>> 3.5.4 using an rpm built from the source.
>>
>> Everything works fine, but when i start the server i get some error
>> messages(see below).
>>
>> Before i start the server there is no connection (tested with lsof and
>> fuser) on the 139 and 445 ports, smbd or nmbd aren't running.
>>
>> With the old version i never had this message.
>>
>> I suppose it means nmbd ans smbd won't connect  to the "all addresses"
>> interface (0.0.0.0).
>>
>> What can i check to fix this ?
>>
>> [2010/09/07 00:44:57.390890,  2] lib/util_sock.c:875(open_socket_in)
>>   bind failed on port 445 socket_addr = 0.0.0.0.
>>   Error = Address already in use
>> [2010/09/07 00:44:57.391590,  0] smbd/server.c:500(smbd_open_one_socket)
>>   smbd_open_once_socket: open_socket_in: Address already in use.
>> [2010/09/07 00:44:57.391754,  2] lib/util_sock.c:875(open_socket_in)
>>   bind failed on port 139 socket_addr = 0.0.0.0.
>>   Error = Address already in use.
>> [2010/09/07 00:44:57.391819,  0] smbd/server.c:500(smbd_open_one_socket)
>>   smbd_open_once_socket: open_socket_in: Address already in use.
>>
> Are you sure the old samba version is not still running.
>
> John
>
>

-- 
Eric PEYREMORTE
Technicien informatique - IUT de Valence
Tel : 04.75.41.88.37



More information about the samba mailing list