change of IP

Edward King edk at cendatsys.com
Tue Dec 12 23:09:43 GMT 2000


We had this problem -- try stopping samba, delete the files ending in 
.dat in the lock directory (on our machine they're in 
/var/lock/samba.d/) and restart samba. 

Samba will recreate these files (takes a few seconds) and then the IP's 
should work (assuming everything else is correct). 



MCCALL,DON (HP-USA,ex1) wrote:

> Eduardo,
> Check your smb.conf file; perhaps you neglected to change your "interfaces="
> line to the new ip address.
> Don
> 
> -----Original Message-----
> From: Eduardo A. Gomez [mailto:egomez at uncoma.edu.ar]
> Sent: Tuesday, December 12, 2000 12:50 PM
> To: samba at us5.samba.org
> Subject: change of IP
> 
> 
> Hi, I have Samba version 2.0.0-beta1 on linux kernel 2.0.30, something
> old.
> 
> I changed the ip number (192.168.1.4 for XXX.XXX.XXX.XX, a valid ip
> number) of this machine and then nmbd doesnt run anymore.
> The log show this message:
> 
> [2000/12/11 11:34:50, 0] lib/util_sock.c:open_socket_in(663)
>   bind failed on port 137 socket_addr=192.168.1.4 (Cannot assign
> requested address)
> [2000/12/11 11:34:51, 0] nmbd/nmbd_subnetdb.c:make_subnet(135)
> nmbd_subnetdb:make_subnet()
>   Failed to open nmb socket on interface 192.168.1.4 for port 137. 
> Error was Cannot assign requested address 
> 
> When I change and ip what modification do I make in samba software?
> 
> 
> Thank in advance. 
> 
> -------------------------------------------------
> Lic. Gómez Eduardo Antonio (egomez at uncoma.edu.ar)
> Tecnologías de Información
> Universidad Nacional del Comahue
> Neuquén - Argentina
> -------------------------------------------------






More information about the samba mailing list