[ROOT] R__unzip: Error and rootd question

From: schulte@pktw08.phy.tu-dresden.de
Date: Fri Jul 27 2001 - 03:05:41 MEST


hello,

a question to all rooters and network gurus,

i create a root file on an AIX machine (4.3, xlC) and ship the 
root file to a linux (suse6.4) via nfs. when i then re-read this file on the
linux side, i often get a non deterministic error : 

 ------ Event:137259

 ------ Event:137260

 ------ Event:137261
 R__unzip: discrepancy with initial size
 Error in <TBasket::ReadBasketBuffers>: fObjlen = 112932, nout = 0
 
 if you re-run the program it occures that the error massage is at a different
 event. some files work some don't. 
 
 after a lot of frustration and agony (5 days) i found, that this is (probably)
 a network problem. shipping the file via nfs from aix to linux does not work.
 cp'ing it to linux (siting on the linux machine) works if i correctly mount the
 system (mount -t nfs 11.11.11.11:/from /to). ftp seems to work always. so somehow
 i have the feeling that the linux-dir is not mounted correctly on the aix.
 can anybody help?
 
 
// ---------- 
 i then tryed to use the rootdeamon. i believe that for people like me, where the sys-add
 is on vacation it may be interesting to expand the statement:
   compile rootd with -DR__SHADOWPW (see $ROOTSYS/rootd/Module.mk)
   from : http://root.cern.ch/cgi-bin/print_hit_bold.pl/root/NetFile.html?rootd#first_hit
   
  to:
  a) compile root as always
  b) rm .../rootd/src/*.o
  c) rm .../bin.rootd
  e) un-comment:  SHADOWFLAGS  := -DR__SHADOWPW
  d) gamke 
  e) gmake install
  f) then change /etc/services and /etc/inetd.conf as in the manual 
    (correct??)
    
  i now can write files from one machine to the other, but i am a bit confused about 
  the statement(s):   
  1.Setting it globally via the static TAuthenticate functions TAuthenticate::SetUser() and
   TAuthenticate::SetPasswd() 
   http://root.cern.ch/cgi-bin/print_hit_bold.pl/root/roottalk/roottalk01/0143.html?h2root#first_hit
   
  2. setting it globally via TNetFile::SetUser(), TNetFile::SetPasswd() (manual)
  
   both seem neither to exist, nor do i see how to use them, since an attempt to open a NetFile
   immediately gives you the interactive login statements. (?)
    
   can somebody explain to me how to use a TNetFile in a compiled program?
   
   have fun,
   martin s-w 
   
   (aix 4.3 / linux suse 6.4 )
   
   ps: probably related to :   
   http://root.cern.ch/root/roottalk/roottalk01/2603.html
   http://root.cern.ch/root/roottalk/roottalk01/0143.html



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:53 MET