Print

Print


Please submit a savannah bug/support request.

   Lukasz

2012/2/27 Carlos Borrego Iglesias <[log in to unmask]>:
> Hello,
> I have compiled root-5.30.04_slc57_gcc4.1.2-51_x86-64 successfully and our
> proof farm is working fine. Now I am trying to make xroot manager run in the
> whole cluster but we are not able to do so.
>
> If I run:
>
> sudo -u xrootd $ROOT_SYS/bin/xrootd -n manager -b -l /tmp/xrdlog.log -c
> /tmp/xrootd.cf
>
> I see the proccess is running:
>
> ps -ef|grep xroot
> xrootd   14443     1  0 12:57 ?        00:00:00
> /software/at3/root/root-5.30.04_slc57_gcc4.1.2-51_x86-64_PROOF/bin/xrootd -n
> manager -b -l /tmp/xrdlog.log -c /tmp/xrootd.cf
>
> The configuration file is really simple:
>
> cat /tmp/xrootd.cf
> all.export / r/w
> all.export /pnfs r/o
> all.export /pnfs-disk r/o
> all.export /xrootd
> all.role manager
> all.manager tditaller025.pic.es 3122
> ofs.forward all
>
> But if I try to do an xrdcp I get:
>
> xrdcp -d 3
> root://tditaller025.pic.es//pnfs-disk/pic.es/at3/test/DATA_00152508_physics_MinBias_f241_m433_FLIPA-03-02-00.root
> /tmp/test
>
> it hangs for ever
>
> THe log is:
>
> Set debug level 3
> 120227 13:06:31 001 Xrd: main: (C) 2004-2010 by the Xrootd group. $Revision:
> 1.98 $ - Xrootd version: 20090930.1117
> 120227 13:06:31 001 Xrd: Create: (C) 2004-2010 by the Xrootd group.
> XrdClient $Revision: 1.144 $ - Xrootd version: 20090930.1117
> 120227 13:06:31 001 Xrd: TakeUrl: parsing url:
> 120227 13:06:31 001 Xrd: XrdClientUrlSet: parsing:
> root://tditaller025.pic.es//pnfs-disk/pic.es/at3/test/DATA_00152508_physics_MinBias_f241_m433_FLIPA-03-02-00.root
> 120227 13:06:31 001 Xrd: XrdClientUrlSet: protocol: root
> 120227 13:06:31 001 Xrd: XrdClientUrlSet: file:
> /pnfs-disk/pic.es/at3/test/DATA_00152508_physics_MinBias_f241_m433_FLIPA-03-02-00.root
> 120227 13:06:31 001 Xrd: XrdClientUrlSet: list of [host:port] :
> tditaller025.pic.es
> 120227 13:06:31 001 Xrd: XrdClientUrlSet: Remote file to open is
> '/pnfs-disk/pic.es/at3/test/DATA_00152508_physics_MinBias_f241_m433_FLIPA-03-02-00.root'
> 120227 13:06:31 001 Xrd: XrdClientUrlSet: parsing entity:
> tditaller025.pic.es
> 120227 13:06:31 001 Xrd: TakeUrl: parsing url: tditaller025.pic.es
> 120227 13:06:31 001 Xrd: TakeUrl:    HostWPort:   tditaller025.pic.es
> 120227 13:06:31 001 Xrd: TakeUrl:    File:   /
> 120227 13:06:31 001 Xrd: TakeUrl:    Host:   tditaller025.pic.es
> 120227 13:06:31 001 Xrd: TakeUrl:    Port:   0
> 120227 13:06:31 001 Xrd: ConvertDNSAlias: resolving tditaller025.pic.es
> 120227 13:06:31 001 Xrd: CheckPort: TCP port not specified: trying
> /etc/services ...
> 120227 13:06:31 001 Xrd: CheckPort: found tcp port 1094.
> 120227 13:06:31 001 Xrd: ConvertDNSAlias: found host tditaller025.pic.es
> with addr 192.168.103.230
> 120227 13:06:31 001 Xrd: ShowUrls: The converted URLs count is 1
> 120227 13:06:31 001 Xrd: ShowUrls: URL n.1:
> root://tditaller025.pic.es:1094//pnfs-disk/pic.es/at3/test/DATA_00152508_physics_MinBias_f241_m433_FLIPA-03-02-00.root.
> 120227 13:06:31 001 Xrd: TakeUrl: parsing url:
> root://tditaller025.pic.es//pnfs-disk/pic.es/at3/test/DATA_00152508_physics_MinBias_f241_m433_FLIPA-03-02-00.root
> 120227 13:06:31 001 Xrd: TakeUrl:    Proto:   root
> 120227 13:06:31 001 Xrd: TakeUrl:    HostWPort:   tditaller025.pic.es
> 120227 13:06:31 001 Xrd: TakeUrl:    File:
> /pnfs-disk/pic.es/at3/test/DATA_00152508_physics_MinBias_f241_m433_FLIPA-03-02-00.root
> 120227 13:06:31 001 Xrd: TakeUrl:    Host:   tditaller025.pic.es
> 120227 13:06:31 001 Xrd: TakeUrl:    Port:   0
> 120227 13:06:31 001 Xrd: CheckHostDomain: Resolved [tditaller025.pic.es]'s
> domain name into [pic.es]
> 120227 13:06:31 001 Xrd: DomainMatcher: search for 'pic.es' in ''
> 120227 13:06:31 001 Xrd: DomainMatcher: no domain matching 'pic.es' found in
> ''
> 120227 13:06:31 001 Xrd: DomainMatcher: search for 'pic.es' in '*'
> 120227 13:06:31 001 Xrd: DomainMatcher: checking domain: *
> 120227 13:06:31 001 Xrd: DomainMatcher: domain: * matches 'pic.es' (matching
> chars: 1)
> 120227 13:06:31 001 Xrd: CheckHostDomain: Access granted to the domain of
> [tditaller025.pic.es].
> 120227 13:06:31 001 Xrd: Open: Trying to connect to
> tditaller025.pic.es:1094. Connect try 1
> 120227 13:06:31 001 Xrd: XrdClientConn: Trying to connect to
> 192.168.103.230:1094
> 120227 13:06:31 001 Xrd: Connect: Creating a logical connection...
> 120227 13:06:31 001 Xrd: Connect: Physical connection not found. Creating a
> new one...
> 120227 13:06:31 001 Xrd: Connect: Connecting to [tditaller025.pic.es:1094]
> 120227 13:06:31 001 Xrd: ClientSock::TryConnect_low: Trying to connect to
> tditaller025.pic.es(192.168.103.230):1094 Windowsize=0 Timeout=120
> 120227 13:06:31 001 Xrd: Connect: Connected to [tditaller025.pic.es:1094]
> 120227 13:06:31 001 Xrd: Connect: New physical connection to server
> tditaller025.pic.es:1094 succesfully created.
> 120227 13:06:31 001 Xrd: Connect: LogConn: size:1 count: 1PhyConn: size:1
> 120227 13:06:31 001 Xrd: Connect: Connect(tditaller025.pic.es, 1094)
> returned 0
> 120227 13:06:31 001 Xrd: Open: The logical connection id is 0.
> 120227 13:06:31 001 Xrd: Open: Working url is
> root://tditaller025.pic.es:1094//pnfs-disk/pic.es/at3/test/DATA_00152508_physics_MinBias_f241_m433_FLIPA-03-02-00.root
> 120227 13:06:31 001 Xrd: DoHandShake: HandShake step 1: Sending 20 bytes.
> 120227 13:06:31 001 Xrd: WriteRaw: Writing to substreamid 0
> 120227 13:06:31 001 Xrd: DoHandShake: HandShake step 2: Reading 4 bytes.
> 120227 13:06:31 001 Xrd: ReadRaw: Reading from tditaller025.pic.es:1094
> 120227 13:06:31 001 Xrd: DoHandShake: HandShake step 3: Reading 12 bytes.
> 120227 13:06:31 001 Xrd: ReadRaw: Reading from tditaller025.pic.es:1094
> 120227 13:06:31 001 Xrd: DoHandShake: Server protocol: 657 type: 0
> Bias_f241_m433_FLIPA-03-02-00.root
> -00.root
> 120227 13:06:31 001 Xrd: TakeUrl:    Proto:   root
> 120227 13:06:31 001 Xrd: TakeUrl:    HostWPort:   tditaller025.pic.es:1094
> 120227 13:06:31 001 Xrd: TakeUrl:    File:
> /pnfs-disk/pic.es/at3/test/DATA_00152508_physics_MinBias_f241_m433_FLIPA-03-02-00.root
> 120227 13:06:31 001 Xrd: TakeUrl:    Host:   tditaller025.pic.es
> 120227 13:06:31 001 Xrd: TakeUrl:    Port:   1094
> 120227 13:06:31 001 Xrd: GetAccessToSrv: Ok: the server on
> [tditaller025.pic.es:1094] is an xrootd redirector.
> 120227 13:06:31 001 Xrd: StartReader: Starting reader thread...
> 120227 13:06:31 31459 Xrd: SocketReaderThread: Reader Thread starting.
> 120227 13:06:31 31459 Xrd: XrdClientMessage::ReadRaw: Reading header (8
> bytes).
> 120227 13:06:31 31459 Xrd: ReadRaw: Reading from tditaller025.pic.es:1094
> 120227 13:06:31 001 Xrd: DoLogin: Logging into the server
> [tditaller025.pic.es:1094]. pid=31459 uid=cborrego
> 120227 13:06:31 001 Xrd: SendGenCommand: Sending command
> XrdClientConn::DoLogin
>
>
> ================= DUMPING CLIENT REQUEST HEADER =================
>                 ClientHeader.streamid = 0x01 0x00
>                ClientHeader.requestid = kXR_login (3007)
>                ClientHeader.login.pid = 31459
>      ClientHeader.login_body.username = cborrego
>           ClientHeader.login.reserved = 0 repeated 2 times
>             ClientHeader.login.capver = 130
>               ClientHeader.login.role = 0
>              ClientHeader.header.dlen = 0
> =================== END CLIENT HEADER DUMPING ===================
>
> 120227 13:06:31 001 Xrd: WriteRaw: Writing 24 bytes to physical connection
> 120227 13:06:31 001 Xrd: WriteRaw: Writing to substreamid 0
> 120227 13:06:31 001 Xrd: ReadPartialAnswer: Reading a XrdClientMessage from
> the server [tditaller025.pic.es:1094]...
> 120227 13:06:31 31459 Xrd: XrdClientMessage::ReadRaw:  sid: 1, IsAttn: 0,
> substreamid: 0
> 120227 13:06:31 31459 Xrd: XrdClientMessage::ReadRaw: Reading data (16
> bytes) from substream 0
> 120227 13:06:31 31459 Xrd: ReadRaw: Reading from tditaller025.pic.es:1094
> 120227 13:06:31 31459 Xrd: BuildMessage:  posting id 1
> 120227 13:06:31 31459 Xrd: XrdClientMessage::ReadRaw: Reading header (8
> bytes).
> 120227 13:06:31 31459 Xrd: ReadRaw: Reading from tditaller025.pic.es:1094
>
>
> ======== DUMPING SERVER RESPONSE HEADER ========
>       ServerHeader.streamid = 0x01 0x00
>         ServerHeader.status = kXR_ok (0)
>           ServerHeader.dlen = 16
> ========== END DUMPING SERVER HEADER ===========
>
> Any idea of how can I solve this?
> Thanks so much!
> Carlos
>
> --
> --------------------------------------------------------------------------------------------------------
> Carlos Borrego Iglesias
> IFAE - Institut de Física d'Altes Energies
> dEIC - Departament d'Enginyeria de la Informació i de les Comunicacions
> [log in to unmask] - [log in to unmask]
> Universitat Autònoma de Barcelona
> tel: +34 93 581 2822
> --------------------------------------------------------------------------------------------------------
>
> Avis - Aviso - Legal Notice (LOPD):  http://legal.ifae.es
>
>
> ________________________________
>
> Use REPLY-ALL to reply to list
>
> To unsubscribe from the XROOTD-DEV list, click the following link:
> https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1