[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] Samba set-up
On Sat, 29 Sep 2007 19:57:55 , Peter Slegg <p.slegg@scubadivers.co.uk> wrote:
>
> On Sat, 29 Sep 2007 20:27:15 , Bernd Mueller <ragnar76@googlemail.com> wrote:
> > Hi Peter,
> >
> > Peter Slegg schrieb:
> > > ...
> > > Sep 29 17:16:01 milan nmbd[177]: bind failed on port 137 socket_addr = 192.168.0.200.
> > > Sep 29 17:16:01 milan nmbd[177]: bind failed on port 137 socket_addr = 192.168.0.200.
> > > Sep 29 17:16:01 milan
> > > Sep 29 17:16:01 milan nmbd[177]: Error = Cannot assign requested address
> > > Sep 29 17:16:01 milan nmbd[177]: Error = Cannot assign requested address
> >
> > For me,it sounds like an other program is using the port 137. For the first
> > shot, use netstat ( netsta -a ¦ grep -e "137" ) to find out which program it is
> > using. Shut it down and try to start samba again.
> >
> > Bye from Germany
> > Bernd
> >
>
> Hi,
>
> It doesn't look like anything is using port 137
>
> bash-2.05a# netstat -a
> Active TCP connections
> Proto Recv-Q Send-Q Local-Address Foreign-Address State
> TCP 0 0 192.168.0.201:1446 217.2**.2**.2**:48 CLOSED
> TCP 0 0 *:netbios-ssn *:* LISTEN
> TCP 0 0 *:microsoft-ds *:* LISTEN
> TCP 0 0 *:sunrpc *:* LISTEN
> Active UDP connections
> Proto Recv-Q Send-Q Local-Address Foreign-Address State
> UDP 0 0 *:sunrpc *:* CLOSED
> UDP 0 0 *:syslog *:* CLOSED
> UDP 0 0 *:1023 *:* CLOSED
>
>
> Peter
>
Looking at the samba log file in /var/samba it seems that nmbd is trying
to open on the subnet 192.168.13 which is not part of my network.
Does this explain the failure ? How can I make it use 192.168.1.x ?
Peter
[2007/09/28 19:30:17, 0] nmbd/nmbd.c:main(664)
Netbios nameserver version 3.0.1-1 started.
Copyright Andrew Tridgell and the Samba Team 1994-2003
[2007/09/28 19:30:17, 1] lib/util_unistr.c:load_case_tables(63)
creating lame upcase table
[2007/09/28 19:30:17, 1] lib/util_unistr.c:load_case_tables(78)
creating lame lowcase table
[2007/09/28 19:30:23, 0] lib/util_sock.c:open_socket_in(662)
bind failed on port 137 socket_addr = 192.168.13.2.
Error = Cannot assign requested address
[2007/09/28 19:30:23, 0] nmbd/nmbd_subnetdb.c:make_subnet(126)
nmbd_subnetdb:make_subnet()
Failed to open nmb socket on interface 192.168.13.2 for port 137.
Error was Cannot assign requested address
[2007/09/28 19:30:23, 0] nmbd/nmbd.c:main(732)
ERROR: Failed when creating subnet lists. Exiting.