Dear Proofers,
xrootd ( 5.20.00) seems not to work with IPv6:
proof.conf:
worker lx64a68.cos.lrz-muenchen.de
…
The command:
gives:
lx64a68.cos.lrz-muenchen.de has address 10.156.70.68
lx64a68.cos.lrz-muenchen.de has IPv6 address 2001:4ca0:0:200::a9c:4644
In the xrd-log files one gets:
081023 11:21:55 001 xpd : XrdProofWorker::Reset: DNS could not resolve 'lx64a68.cos.lrz-muenchen.de'
Using directly the IP(v4) address: 10.156.70.68
works.
Is there anything one can do about this?
Cheers
Otto
However I didnt manage in an interactive session
to issue the same command as in: XrdProofWorker.cxx:97
char *fullHostName = XrdNetDNS::getHostName(“lx64a68”,&err);
I tried things like:
gSystem->Load(“libXrdRootd.so”);
gSystem->Load(“libProofx.so”)
Our system is: Linux lx64a66 2.6.16.54-0.2.8-smp , x86_64
SUSE Linux Enterprise Server 10
Cheers
Otto
to switch on the debug in the Xrootd client you don’t need to mess up with XrdClientDebug, You can just set the ROOT var XNet.Debug to a value >= 0, where
1->very low verbosity
2->high verbosity
3->trace everything in the data flows and the internal logic
4->like 3, and also dump the byte streams at low level
You can set it by editing your .rootrc file or by using gEnv->SetValue()
When you are able to see the log, please post it, since it is the first time I see such a behavior.
BTW, does it happen also when you just use TFile::Open towards your xrootd redirector?
I am working with the same setup as Otto. I have been able to instanciate a PROOF session by using a slightly customed version of ROOT, which I installed from source. I edited the file <root_sources>/net/xrootd/src/xrootd/src/XrdNet/XrdNetDNS.cc in order to force IPv4, using the following code:
myhints.ai_family = AF_INET;
I attached the modified XrdNetDNS.cc file to this post.