Problem plotting TTree from chained castor files

Hi,
sometimes I get the following error while plotting TTree variables from chained files stored in castor (all files are staged):

SysError in : connect (lxfs6091:1094) (Connection refused)
Error in : can’t open connection to rootd on host lxfs6091 at port 1094
Error in : authentication attempt unsuccessful
Error in : failing on file rootug://lxfs6091//shift/lxfs6091/data0 … oot.771007

Which is the problem? Is my file corrupted?

Hi,

Does it happen systematically on the same file?
If yes, can you open the file using TFile::Open(“castor:/castor/cern.ch/…”)?

If not, it looks more like a temporary problem on the server side. In such a
case, the best is probably to collect the list of failed attempts (file name and time of the attempt) and ask the castor support if they have anything in
their logs in relation to such attempts.

G. Ganis

Hi,
it happens always with the same files but I cannot open any of them with TFile::Open("") command:

TFile::Open("/castor/cern.ch/user/b/bifani/pigg/scmp/SS1-22/5.root")
Info in : fDiskServer: lxfs6091, r: rootug://lxfs6091//shift/lxfs6091/data0 … oot.790215
SysError in : connect (lxfs6091:1094) (Connection refused)
Error in : can’t open connection to rootd on host lxfs6091 at port 1094
Error in : authentication attempt unsuccessful
Error in : failing on file rootug://lxfs6091//shift/lxfs6091/data0 … oot.790215

Same error as using TChain.

Which is the castor support mail?

Simone

Hi,

It seems really a problem on the server side.
I was able to open your file just now

root [0] f = TFile::Open("/castor/cern.ch/user/b/bifani/pigg/scmp/SS1-22/5.root")
Info in : fDiskServer: lxfsrk5104, r: rootug://lxfsrk5104//shift/lxfsrk5104/d … oot.585364
(class TFile*)0x9041668

It took a while, which probably means that the file was staged again, as indicated by the fact that the disk server is different from the one you had in your error message.

I would try to remove the files that give problems so that they are staged again, and see if the problem persist. The command should be stageclr.

The castor support address is Castor.Support@cern.ch .

G. Ganis