Page 1 of 1

Failed start NMBD

Posted: 16 Jul 2015 17:38
by frenzy
9.3.0.2 - Nayla (revision 1681)
FreeBSD Revision: 199506
FreeBSD 9.3-RELEASE-p17 #0 r284605M: Sat Jun 20 00:31:08 CEST 2015


Hi everyone,

I have fresh install Free4NAS and NMDB wont start, I have this problem and looked solution on the internet unsuccessful.

LOG:

Jul 16 15:12:56 nas lighttpd[2033]: (log.c.164) server started
Jul 16 15:12:56 nas mDNSResponderPosix: mDNS_Register_internal: ERROR!! Tried to register AuthRecord 0000000800C32180 A.6.C.A.0.E.E.F.F.F.D.7.D.1.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.E.F.ip6.arpa. (PTR) that's already in the list
Jul 16 15:12:56 nas mDNSResponderPosix: mDNS_Register_internal: ERROR!! Tried to register AuthRecord 0000000800C31D60 nas.local. (AAAA) that's already in the list
Jul 16 15:12:56 nas mDNSResponderPosix: mDNS_Register_internal: ERROR!! Tried to register AuthRecord 0000000800C30180 250.0.168.192.in-addr.arpa. (PTR) that's already in the list
Jul 16 15:12:56 nas mDNSResponderPosix: mDNS_Register_internal: ERROR!! Tried to register AuthRecord 0000000800C2FD60 nas.local. (Addr) that's already in the list
Jul 16 15:12:55 nas smbd[1785]: [2015/07/16 15:12:55.915018, 0] ../lib/util/become_daemon.c:136(daemon_ready)
Jul 16 15:12:55 nas nmbd[1783]: STATUS=daemon failed to start: NMBD failed when creating subnet lists, error code 13
Jul 16 15:12:55 nas nmbd[1783]: [2015/07/16 15:12:55.092762, 0] ../lib/util/become_daemon.c:124(exit_daemon)
Jul 16 15:12:55 nas nmbd[1783]: Failed to open nmb bcast socket on interface 192.168.0.255 for port 137. Error was Can't assign requested address
Jul 16 15:12:55 nas nmbd[1783]: nmbd_subnetdb:make_subnet()
Jul 16 15:12:55 nas nmbd[1783]: [2015/07/16 15:12:55.081645, 0] ../source3/nmbd/nmbd_subnetdb.c:127(make_subnet)
Jul 16 15:12:55 nas nmbd[1783]: Error = Can't assign requested address
Jul 16 15:12:55 nas nmbd[1783]: bind failed on port 137 socket_addr = 192.168.0.255.
Jul 16 15:12:55 nas nmbd[1783]: [2015/07/16 15:12:55.080949, 0] ../source3/lib/util_sock.c:485(open_socket_in)
Jul 16 00:43:07 nas smbd[2719]: [2015/07/16 00:43:07.913666, 0] ../lib/util/become_daemon.c:136(daemon_ready)
Jul 16 00:43:07 nas nmbd[2716]: STATUS=daemon failed to start: NMBD failed when creating subnet lists, error code 13
Jul 16 00:43:07 nas nmbd[2716]: [2015/07/16 00:43:07.828827, 0] ../lib/util/become_daemon.c:124(exit_daemon)
Jul 16 00:43:07 nas nmbd[2716]: Failed to open nmb bcast socket on interface 192.168.0.255 for port 137. Error was Can't assign requested address
Jul 16 00:43:07 nas nmbd[2716]: nmbd_subnetdb:make_subnet()


I need help to solve this problem.

Re: Failed start NMBD

Posted: 16 Jul 2015 22:51
by b0ssman
192.168.0.255 is a broadcast address.

this address should not be assigned to a pc.

Re: Failed start NMBD

Posted: 17 Jul 2015 04:20
by frenzy
How can I solve this ? I checked my router there isn't any PC with this address.

Re: Failed start NMBD

Posted: 17 Jul 2015 05:53
by b0ssman
did you assign this manually or are you using dhcp?

Re: Failed start NMBD

Posted: 17 Jul 2015 06:11
by frenzy
My router is DHCP but I put NAS in Address Reservation. I checked my router again ping address 192.168.0.255 and return " Request timed out."

Re: Failed start NMBD

Posted: 17 Jul 2015 06:19
by b0ssman
are you saying you told the route to assign that address?

Re: Failed start NMBD

Posted: 17 Jul 2015 06:22
by frenzy
Yes, but I define which IP the server will receive.

Check this:

nas: ~ # ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
ether 00:1d:7d:e0:ac:6a
inet6 fe80::21d:7dff:fee0:ac6a%re0 prefixlen 64 scopeid 0x1
inet 192.168.0.200 netmask 0xffffff00 broadcast 255.255.255.255
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
plip0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> metric 0 mtu 1500
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
ipfw0: flags=8801<UP,SIMPLEX,MULTICAST> metric 0 mtu 65536
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x9
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>

Re: Failed start NMBD

Posted: 17 Jul 2015 06:33
by b0ssman
then change this to another and not 192.168.0.255

Re: Failed start NMBD

Posted: 17 Jul 2015 06:38
by frenzy
I changed 3x the IP and keep the same error.

Re: Failed start NMBD

Posted: 17 Jul 2015 06:50
by b0ssman
can you try to statically set the ip address?

so something like 192.168.0.50 netmask 255.255.255.0 ?

Re: Failed start NMBD

Posted: 17 Jul 2015 07:15
by frenzy
Thank you for your support, I fix it change the IP direct in server.


Thank you again.

Re: Failed start NMBD

Posted: 17 Jul 2015 07:29
by b0ssman
that means that the dhcp server on your router might have a broken dhcp implementation.

Re: Failed start NMBD

Posted: 18 Jul 2015 06:25
by frenzy
yeah, can be, I'm thinking to buy a new router.