This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

[SOLVED] query_name_response: Multiple (2) responses rec

CIFS/SMB network sharing.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

[SOLVED] query_name_response: Multiple (2) responses rec

Post by raulfg3 »

I have a lot of this error that I never have:

Code: Select all

Mar 18 17:11:59 	rnas 	nmbd[10748]: This response was from IP 192.168.1.10, reporting an IP address of 192.168.1.10.
Mar 18 17:11:59 	rnas 	nmbd[10748]: query_name_response: Multiple (2) responses received for a query on subnet 192.168.1.17 for name VILLACLARA<1d>.
Mar 18 17:11:59 	rnas 	nmbd[10748]: [2013/03/18 17:11:59.154171, 0] nmbd/nmbd_namequery.c:109(query_name_response)
Mar 18 17:01:57 	rnas 	nmbd[10748]: This response was from IP 192.168.1.10, reporting an IP address of 192.168.1.10.
Mar 18 17:01:57 	rnas 	nmbd[10748]: query_name_response: Multiple (2) responses received for a query on subnet 192.168.1.201 for name VILLACLARA<1d>.
Mar 18 17:01:57 	rnas 	nmbd[10748]: [2013/03/18 17:01:57.544216, 0] nmbd/nmbd_namequery.c:109(query_name_response)
Mar 18 16:46:39 	rnas 	nmbd[10748]: This response was from IP 192.168.1.10, reporting an IP address of 192.168.1.10.
Mar 18 16:46:39 	rnas 	nmbd[10748]: query_name_response: Multiple (2) responses received for a query on subnet 192.168.1.17 for name VILLACLARA<1d>.
Mar 18 16:46:39 	rnas 	nmbd[10748]: [2013/03/18 16:46:39.994414, 0] nmbd/nmbd_namequery.c:109(query_name_response)
Mar 18 16:31:32 	rnas 	nmbd[10748]: This response was from IP 192.168.1.10, reporting an IP address of 192.168.1.10.
Mar 18 16:31:32 	rnas 	nmbd[10748]: query_name_response: Multiple (2) responses received for a query on subnet 192.168.1.202 for name VILLACLARA<1d>.
Mar 18 16:31:32 	rnas 	nmbd[10748]: [2013/03/18 16:31:32.516594, 0] nmbd/nmbd_namequery.c:109(query_name_response)
Mar 18 16:31:32 	rnas 	nmbd[10748]: This response was from IP 192.168.1.10, reporting an IP address of 192.168.1.10.
Mar 18 16:31:32 	rnas 	nmbd[10748]: query_name_response: Multiple (2) responses received for a query on subnet 192.168.1.201 for name VILLACLARA<1d>.
Mar 18 16:31:32 	rnas 	nmbd[10748]: [2013/03/18 16:31:32.515984, 0] nmbd/nmbd_namequery.c:109(query_name_response)
Mar 18 16:31:32 	rnas 	nmbd[10748]: This response was from IP 192.168.1.10, reporting an IP address of 192.168.1.10.
Mar 18 16:31:32 	rnas 	nmbd[10748]: query_name_response: Multiple (2) responses received for a query on subnet 192.168.1.17 for name VILLACLARA<1d>.

192.168.1.17 is my NAS
192.168.1.201, 202 , etc... are IP from my jails
192.168.1.10 is my win7 machine.

not sure if my jails are responsible of this error , because 192.168.1.10 is generating same error.

I do not notice this error in the past, but not totally sure that is a 9.1.0.1.636 related bug ( this is my actual version), I only be sure that in the past I do not have this error.

google do not help me, or at least I do not understand if is a problem with actual samba version, actual N4F version, actual jail config or other thing not mentioned.

some one can help me?.

thanks.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

fsbruva
Advanced User
Advanced User
Posts: 378
Joined: 21 Sep 2012 14:50
Status: Offline

Re: nmbd[10748]: query_name_response: Multiple (2) responses

Post by fsbruva »

It has to do with the fact that nmbd and smbd are listening on ALL ip addresses.

Code: Select all

sockstat -l46
This means they reply the same answer (192.168.1.10) to the question, "Where is VILLACLARA?" but they answer it from 192.168.1.10 and both the jail IP's. The answers are the same, they are just delivered multiple times. Try this:

Add this to the global SMB conf:

Code: Select all

bind interfaces only = True
interfaces = eth0 192.168.1.10
If you have a different adapter name, then use it, rather than eth0.

Restart Samba and the warnings should go away.

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: nmbd[10748]: query_name_response: Multiple (2) responses

Post by raulfg3 »

Sorry still do not work , but some advices:

I need to set in Services|CIFS/SMB|Settings

Interface = All Interfaces ( Previosly I have LAN) and do not work
services SMB.jpg
I Need to do because if use interface = LAN , this add a line in smb.conf => interfaces = em0 , so my new line interfaces = em0 192.168.1.10 do not work.

This is my Auxiliary parameters:

bind interfaces only = True
interfaces = em0 192.168.1.10
smb ports = 139


atacched my smb.conf
smb.zip

and last errors (last lines first):

Code: Select all

May 19 22:37:43 	rnas 	nmbd[83726]: This response was from IP 192.168.1.10, reporting an IP address of 192.168.1.10.
May 19 22:37:43 	rnas 	nmbd[83726]: query_name_response: Multiple (2) responses received for a query on subnet 192.168.1.17 for name VILLACLARA<1d>.
May 19 22:37:43 	rnas 	nmbd[83726]: [2013/05/19 22:37:43.162125, 0] nmbd/nmbd_namequery.c:109(query_name_response)
May 19 22:32:39 	rnas 	nmbd[83726]: This response was from IP 192.168.1.10, reporting an IP address of 192.168.1.10.
May 19 22:32:39 	rnas 	nmbd[83726]: query_name_response: Multiple (2) responses received for a query on subnet 192.168.1.17 for name VILLACLARA<1d>.
May 19 22:32:39 	rnas 	nmbd[83726]: [2013/05/19 22:32:39.252465, 0] nmbd/nmbd_namequery.c:109(query_name_response)
May 19 22:27:26 	rnas 	root: samba service started
May 19 22:27:17 	rnas 	root: samba service stopped
You do not have the required permissions to view the files attached to this post.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: nmbd[10748]: query_name_response: Multiple (2) responses

Post by raulfg3 »

no sorry

I added:
interfaces = em0 192.168.1.10 do not work
interfaces = 192.168.1.10 crash SMB
interfaces = 192.168.1.10/32 crash SMB
interfaces = em0 192.168.1.10/32 do not work

is like do not work as expected ( If I read well the smb.conf manual , interfaces = 192.168.1.10/32 must work, but do not work) : http://www.samba.org/~tpot/articles/mul ... faces.html

PD: I'm surprised that you do not have same problems, perhaps you do not use SMB?
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: nmbd[10748]: query_name_response: Multiple (2) responses

Post by raulfg3 »

if I use auxiliary parameters =

Code: Select all

smb ports = 139
bind interfaces only = YES
interfaces = 192.168.1.10
my samba crashes:

Code: Select all

May 21 07:32:01 	rnas 	nmbd[91176]: WARNING: no network interfaces found
May 21 07:32:01 	rnas 	nmbd[91176]: [2013/05/21 07:32:01.855580, 0] lib/interface.c:543(load_interfaces)
May 21 07:32:01 	rnas 	smbd[91180]:
May 21 07:32:01 	rnas 	smbd[91180]: dumping core in /var/log/samba/cores/smbd
May 21 07:32:01 	rnas 	smbd[91180]: [2013/05/21 07:32:01.852356, 0] lib/fault.c:416(dump_core)
May 21 07:32:01 	rnas 	kernel: pid 91180 (smbd), uid 0: exited on signal 6
May 21 07:32:01 	rnas 	smbd[91180]: BACKTRACE: 0 stack frames:
May 21 07:32:01 	rnas 	smbd[91180]: [2013/05/21 07:32:01.852257, 0] lib/util.c:1221(log_stack_trace)
May 21 07:32:01 	rnas 	smbd[91180]: ===============================================================
May 21 07:32:01 	rnas 	smbd[91180]: [2013/05/21 07:32:01.852133, 0] smbd/server_exit.c:171(exit_server_common)
May 21 07:32:01 	rnas 	smbd[91180]: Abnormal server exit: open_sockets_smbd() failed
May 21 07:32:01 	rnas 	smbd[91180]: [2013/05/21 07:32:01.852081, 0] smbd/server_exit.c:170(exit_server_common)
May 21 07:32:01 	rnas 	smbd[91180]: ===============================================================
May 21 07:32:01 	rnas 	smbd[91180]: [2013/05/21 07:32:01.851806, 0] smbd/server_exit.c:168(exit_server_common)
May 21 07:32:01 	rnas 	smbd[91180]: open_sockets_smbd: No sockets available to bind to.
May 21 07:32:01 	rnas 	smbd[91180]: [2013/05/21 07:32:01.850735, 0] smbd/server.c:794(open_sockets_smbd)
May 21 07:32:01 	rnas 	root: samba service restarted
May 21 07:32:01 	rnas 	smbd[91179]: WARNING: no network interfaces found
May 21 07:32:01 	rnas 	smbd[91179]: [2013/05/21 07:32:01.833552, 0] lib/interface.c:543(load_interfaces)
May 21 07:32:01 	rnas 	nmbd[91176]: create_subnets: Waiting for an interface to appear ...
May 21 07:32:01 	rnas 	nmbd[91176]: [2013/05/21 07:32:01.814801, 0] nmbd/nmbd_subnetdb.c:251(create_subnets)
May 21 07:32:01 	rnas 	nmbd[91176]: create_subnets: No local IPv4 non-loopback interfaces !
May 21 07:32:01 	rnas 	nmbd[91176]: [2013/05/21 07:32:01.814754, 0] nmbd/nmbd_subnetdb.c:250(create_subnets)
May 21 07:32:01 	rnas 	nmbd[91176]: WARNING: no network interfaces found
May 21 07:32:01 	rnas 	nmbd[91176]: [2013/05/21 07:32:01.814468, 0] lib/interface.c:543(load_interfaces)
May 21 07:32:00 	rnas 	nmbd[91050]: Got SIGTERM: going down...
May 21 07:32:00 	rnas 	nmbd[91050]: [2013/05/21 07:32:00.674572, 0] nmbd/nmbd.c:66(terminate)
May 21 07:30:42 	rnas 	root: samba service restarted
May 21 07:30:41 	rnas 	nmbd[90632]: Got SIGTERM: going down...
May 21 07:30:41 	rnas 	nmbd[90632]: [2013/05/21 07:30:41.457246, 0] nmbd/nmbd.c:66(terminate)
May 20 21:07:36 	rnas 	root: samba service restarted
May 20 21:07:36 	rnas 	nmbd[85528]: Got SIGTERM: going down...
May 20 21:07:36 	rnas 	nmbd[85528]: [2013/05/20 21:07:36.112537, 0] nmbd/nmbd.c:66(terminate)

PD: As you see in my screen capture , I use max Protocol = NT1, do you use SMB2, perhaps?
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: nmbd[10748]: query_name_response: Multiple (2) responses

Post by raulfg3 »

if I use :

Code: Select all

bind interfaces only = YES
interfaces = 192.168.1.10 em0
smb ports = 139
Do not work:

Code: Select all

May 21 07:45:08 	rnas 	nmbd[91303]: This response was from IP 192.168.1.10, reporting an IP address of 192.168.1.10.
May 21 07:45:08 	rnas 	nmbd[91303]: query_name_response: Multiple (2) responses received for a query on subnet 192.168.1.201 for name VILLACLARA<1d>.
May 21 07:45:08 	rnas 	nmbd[91303]: [2013/05/21 07:45:08.560330, 0] nmbd/nmbd_namequery.c:109(query_name_response)
May 21 07:40:02 	rnas 	nmbd[91303]: This response was from IP 192.168.1.10, reporting an IP address of 192.168.1.10.
May 21 07:40:02 	rnas 	nmbd[91303]: query_name_response: Multiple (2) responses received for a query on subnet 192.168.1.201 for name VILLACLARA<1d>.
May 21 07:40:02 	rnas 	nmbd[91303]: [2013/05/21 07:40:02.720305, 0] nmbd/nmbd_namequery.c:109(query_name_response)
PD: Notice that this time I change NIC by IP ( I'm trying all combinations)
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

fsbruva
Advanced User
Advanced User
Posts: 378
Joined: 21 Sep 2012 14:50
Status: Offline

Re: nmbd[10748]: query_name_response: Multiple (2) responses

Post by fsbruva »

I am running NT1, with this in my aux parameters:

Code: Select all

bind interfaces only = True
interfaces = 192.168.1.129
log file = /mnt/zpool1/logs/samba.log.%m
max xmit = 65535
smb ports = 139

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: [SOLVED] query_name_response: Multiple (2) responses rec

Post by raulfg3 »

Ok finally works for me.

sorry :oops: my fault I use 192.168.1.10 but my NAS Ip is 192.168.1.17

because of this, if I use

Code: Select all

bind interfaces only = YES
interfaces = 192.168.1.10
SAMBA Crashed ( Do not found any working interfaces).

Now I use:

Code: Select all

bind interfaces only = YES
interfaces = 192.168.1.17
log file = /mnt/Temp/Logs/samba.log.%m
smb ports = 139
And works as expected.


PD: I do not know about SAMBA log file, and I copied your aproach, Thanks Matt.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

Post Reply

Return to “CIFS/SMB (Samba)”