I would appreciate it if you can change the host value in the /etc/nsswitch.conf file from *hosts:* to *files wins dns * and try again by restarting the server, since the error occurs whenever I restart the server. However, If I change the host value which is *hosts: * in the /etc/nsswitch.conf file to *files dns wins *and restart the server everything runs perfectly, when the alignment of wins and dns value is reversed a problem occurs. Can you try this, I do not think I'm the only one subject to this situation. Best Regards... 2016-03-22 12:50 GMT+02:00 Volker Lendecke <Volker.Lendecke at sernet.de>:> ==3135== Invalid read of size 8 > ==3135== at 0xC576915: __pthread_initialize_minimal (in /usr/lib64/ > libpthread-2.17.so) > ==3135== by 0xC575408: ??? (in /usr/lib64/libpthread-2.17.so) > ==3135== by 0xFFF0007D3: ??? > ==3135== by 0x6D6F632E656C66: ??? > ==3135== by 0x535345535F474457: ??? > ==3135== by 0x313D44495F4E4F48: ??? > ==3135== by 0x4D414E54534F47FF: ??? > ==3135== by 0x5400736D656D3D44: ??? > ==3135== by 0x303174763D4D5244: ??? > ==3135== by 0x3D4C4C454853002F: ??? > ==3135== by 0x7361622F6E69622E: ??? > ==3135== by 0x4953545349480067: ??? > ==3135== Address 0x968 is not stack'd, malloc'd or (recently) free'd > > Hmm. This is not very informative. Can you start ping in gdb, and when > it crashes, do a "bt full"? Bonus points if you install debuginfo > packages for ping and libc. > > Volker > > -- > SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen > phone: +49-551-370000-0, fax: +49-551-370000-9 > AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen > http://www.sernet.de, mailto:kontakt at sernet.de >
Hi all, I'm using 4.4.0rc2 manually compiled, running for a little bunch of weeks on Centos 7. samba --version Version 4.4.0rc2-DGFiP-RedHat-01.el7 I did changed my nsswitch.conf. I had: hosts: files dns I have now: hosts: files wins dns Once the change was done: systemctl restart samba-ad No issue. So I ran ping and it segfaulted: dc200:~# ping google.com Segmentation fault dc200:~# ping dc201 Segmentation fault dc200:~# ping dc200 PING dc200.ad.dgfip.finances.gouv.fr (10.156.32.100) 56(84) bytes of data. 64 bytes from dc200.ad.dgfip.finances.gouv.fr (10.156.32.100): icmp_seq=1 ttl=64 time=0.021 ms ^C --- dc200.ad.dgfip.finances.gouv.fr ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.021/0.021/0.021/0.000 ms dc200:~# My resolv.conf has a search set to my AD domain name, that's why I can ping dc200 and dc201 without FQDN. What I'm thinking about that: DC200 on DC200 is declared into /etc/hosts and it can be pinged, resolving process did not went through WINS. All others pings segfaulted as they went through WINS resolving. back to normal in my rnsswitch.conf and no more issue: dc200:~# sed -e s/"files wins dns"/"files dns"/ -i /etc/nsswitch.conf dc200:~# ping google.com ping: unknown host google.com dc200:~# ping dc201 PING dc201.ad.dgfip.finances.gouv.fr (10.156.32.101) 56(84) bytes of data. 64 bytes from dc201.ad.dgfip.finances.gouv.fr (10.156.32.101): icmp_seq=1 ttl=64 time=0.246 ms ^C --- dc201.ad.dgfip.finances.gouv.fr ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.246/0.246/0.246/0.000 ms All packages with "samba" in package name on that server are compiled packages. Hoping this could help. Mathias 2016-03-22 13:17 GMT+01:00 barış tombul <bbtombul at gmail.com>:> I would appreciate it if you can change the host value in the > /etc/nsswitch.conf file from *hosts:* to *files wins dns * and try > again by restarting the server, since the error occurs whenever I restart > the server. > However, If I change the host value which is *hosts: * in the > /etc/nsswitch.conf file to *files dns wins *and restart the server > everything runs perfectly, when the alignment of wins and dns value is > reversed a problem occurs. > Can you try this, I do not think I'm the only one subject to this > situation. > > Best Regards... > > 2016-03-22 12:50 GMT+02:00 Volker Lendecke <Volker.Lendecke at sernet.de>: > > > ==3135== Invalid read of size 8 > > ==3135== at 0xC576915: __pthread_initialize_minimal (in /usr/lib64/ > > libpthread-2.17.so) > > ==3135== by 0xC575408: ??? (in /usr/lib64/libpthread-2.17.so) > > ==3135== by 0xFFF0007D3: ??? > > ==3135== by 0x6D6F632E656C66: ??? > > ==3135== by 0x535345535F474457: ??? > > ==3135== by 0x313D44495F4E4F48: ??? > > ==3135== by 0x4D414E54534F47FF: ??? > > ==3135== by 0x5400736D656D3D44: ??? > > ==3135== by 0x303174763D4D5244: ??? > > ==3135== by 0x3D4C4C454853002F: ??? > > ==3135== by 0x7361622F6E69622E: ??? > > ==3135== by 0x4953545349480067: ??? > > ==3135== Address 0x968 is not stack'd, malloc'd or (recently) free'd > > > > Hmm. This is not very informative. Can you start ping in gdb, and when > > it crashes, do a "bt full"? Bonus points if you install debuginfo > > packages for ping and libc. > > > > Volker > > > > -- > > SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen > > phone: +49-551-370000-0, fax: +49-551-370000-9 > > AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen > > http://www.sernet.de, mailto:kontakt at sernet.de > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >
On 22/03/16 12:17, barış tombul wrote:> I would appreciate it if you can change the host value in the > /etc/nsswitch.conf file from *hosts:* to *files wins dns * and try > again by restarting the server, since the error occurs whenever I restart > the server. > However, If I change the host value which is *hosts: * in the > /etc/nsswitch.conf file to *files dns wins *and restart the server > everything runs perfectly, when the alignment of wins and dns value is > reversed a problem occurs. > Can you try this, I do not think I'm the only one subject to this situation. > > Best Regards... > >OK, I have computer running Samba 4.4.0 and this in /etc/nsswitch.conf: hosts: files wins dns 'ping -c1 google.com' produces this: PING google.com (31.55.167.184) 56(84) bytes of data. 64 bytes from 31.55.167.184: icmp_seq=1 ttl=56 time=9.43 ms --- google.com ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 9.432/9.432/9.432/0.000 ms It doesn't segfault. Can I ask, did you compile Samba yourself ? If so, how did you create the libnss_wins.so.2 link ? Rowland
cd samba-4.4.0 ./configure --prefix=/usr/local/samba --fatal-errors --enable-gnutls --enable-debug --enable-selftest make make install ln -v -fs /usr/local/samba/lib/security/pam_winbind.so /lib64/security/pam_winbind.so ln -v -fs /usr/local/samba/lib/security/pam_smbpass.so /lib64/security/pam_smbpass.so ln -v -fs /usr/local/samba/lib/libnss_winbind.so.2 /lib64/ ln -v -fs /lib64/libnss_winbind.so.2 /lib64/libnss_winbind.so ln -v -fs /usr/local/samba/lib/libnss_wins.so.2 /lib64/ ln -v -fs /lib64/libnss_wins.so.2 /lib64/libnss_wins.so ln -v -fs /usr/local/samba/bin/net /usr/bin/net ln -v -fs /usr/local/samba/bin/smbspool /usr/lib/cups/backend/smb ldconfig 2016-03-23 11:33 GMT+02:00 Rowland penny <rpenny at samba.org>:> On 22/03/16 12:17, barış tombul wrote: > >> I would appreciate it if you can change the host value in the >> /etc/nsswitch.conf file from *hosts:* to *files wins dns * and try >> again by restarting the server, since the error occurs whenever I restart >> the server. >> However, If I change the host value which is *hosts: * in the >> /etc/nsswitch.conf file to *files dns wins *and restart the server >> everything runs perfectly, when the alignment of wins and dns value is >> reversed a problem occurs. >> Can you try this, I do not think I'm the only one subject to this >> situation. >> >> Best Regards... >> >> >> > OK, I have computer running Samba 4.4.0 and this in /etc/nsswitch.conf: > > hosts: files wins dns > > 'ping -c1 google.com' produces this: > > PING google.com (31.55.167.184) 56(84) bytes of data. > 64 bytes from 31.55.167.184: icmp_seq=1 ttl=56 time=9.43 ms > > --- google.com ping statistics --- > 1 packets transmitted, 1 received, 0% packet loss, time 0ms > rtt min/avg/max/mdev = 9.432/9.432/9.432/0.000 ms > > It doesn't segfault. > > Can I ask, did you compile Samba yourself ? > If so, how did you create the libnss_wins.so.2 link ? > > Rowland > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >