Print

Print


Wilko suggestion is correct. If you notice your original "allow" only 
allowed hosts starting with "pktf" the denied host starts with "ptkw". So, 
you need to include it as well.

Andy

----- Original Message ----- 
From: "Wilko Kroeger" <[log in to unmask]>
To: "Andreas Petzold" <[log in to unmask]>
Cc: <[log in to unmask]>
Sent: Tuesday, November 20, 2007 9:06 AM
Subject: Re: Problem creating simple redirector-server setup


>
> Hello Andreas
>
> Could you add the line
>
> olb.allow host pktw34.phy.tu-dresden.de
>
> and try again.
>
> Cheers,
>    Wilko
>
>
> On Tue, 20 Nov 2007, Andreas Petzold wrote:
>
>> Hi again,
>>
>> I'm again running into trouble. I must be doing something that is very
>> obviously wrong, but I just can't figure out what :-(
>>
>> This is the config I'm using:
>>
>> all.manager pktw34.phy.tu-dresden.de 3121
>> all.role manager if pktw34.phy.tu-dresden.de
>> all.role server if pktf*.phy.tu-dresden.de
>> olb.allow host pktf*.phy.tu-dresden.de
>> all.export /scratch/users/petzold/testdata
>> all.adminpath /scratch/users/petzold/xrdadmin
>> xrootd.fslib /scratch/users/petzold/opt/xrootd/lib/libXrdOfs.so
>> xrootd.async off
>> all.trace all
>>
>> The output of the olbd and xrootd on the redirector machine is below. The
>> error message of the obld is:
>>
>> Unable to accept TCP connection from pktw34.phy.tu-dresden.de; permission
>> denied
>>
>> xrootd error message:
>>
>> 071120 17:44:01 2350 odc_Manager: Connected to pktw34.phy.tu-dresden.de
>> 071120 17:44:01 2350 odc_GetLine: Unable to read request; connection 
>> reset by
>> peer
>>
>> I'm using dev version 20071101-0808p1 on SL5 gcc 4.1.1
>>
>> Any ideas?
>>
>> Cheers,
>>
>> Andreas
>>
>>
>> 071120 17:43:57 001 Scalla is starting. . .
>> Copr.  2007 Stanford University, xrd version 20071101-0808p1
>> Config using configuration file xrootd.cfg
>> ++++++ olbd [log in to unmask] initialization started.
>> =====> all.adminpath /scratch/users/petzold/xrdadmin
>> Config maximum number of connections restricted to 1024
>> Copr.  2006 Stanford University/SLAC olbd.
>> ++++++ [log in to unmask] phase 1 initialization started.
>> =====> all.manager pktw34.phy.tu-dresden.de 3121
>> =====> all.role manager if pktw34.phy.tu-dresden.de
>> =====> all.role server if pktf*.phy.tu-dresden.de
>> =====> olb.allow host pktf*.phy.tu-dresden.de
>> =====> all.adminpath /scratch/users/petzold/xrdadmin
>> ------ [log in to unmask] phase 1 manager initialization 
>> completed.
>> ++++++ [log in to unmask] phase 2 manager initialization 
>> started.
>> Config round robin scheduling in effect.
>> ------ [log in to unmask] phase 2 manager initialization
>> completed..
>> ------ olbd [log in to unmask]:3121 initialization completed.
>> 071120 17:44:01 001 XrdAccept: Unable to accept TCP connection from
>> pktw34.phy.tu-dresden.de; permission denied
>> 071120 17:44:05 001 XrdAccept: Unable to accept TCP connection from
>> pktw34.phy.tu-dresden.de; permission denied
>>
>>
>>
>>
>> 071120 17:44:00 001 Scalla is starting. . .
>> Copr.  2007 Stanford University, xrd version 20071101-0808p1
>> Config using configuration file xrootd.cfg
>> ++++++ xrootd [log in to unmask] initialization started.
>> =====> all.adminpath /scratch/users/petzold/xrdadmin
>> Config maximum number of connections restricted to 1024
>> Copr.  2007 Stanford University, xrootd version 2.9.0 build 
>> 20071101-0808p1
>> ++++++ xrootd protocol initialization started.
>> =====> all.export /scratch/users/petzold/testdata
>> =====> xrootd.fslib /scratch/users/petzold/opt/xrootd/lib/libXrdOfs.so
>> =====> xrootd.async off
>> Config warining: asynchronous I/O has been disabled!
>> Config warning: 'xrootd.seclib' not specified; strong authentication 
>> disabled!
>> Copr.  2007 Stanford University, Ofs Version 20071101-0808p1
>> ++++++ File system initialization started.
>> =====> all.role manager if pktw34.phy.tu-dresden.de
>> =====> all.role server if pktf*.phy.tu-dresden.de
>> ++++++ Configuring manager role. . .
>> =====> all.manager pktw34.phy.tu-dresden.de 3121
>> =====> all.adminpath /scratch/users/petzold/xrdadmin
>> Config 1 manager(s) started.
>> Config effective xrootd.cfg ofs configuration:
>>       ofs.role manager
>>       ofs.fdscan     9 120 1200
>>       ofs.maxdelay   60
>>       ofs.trace      0
>> ------ File system manager initialization completed.
>> Copr.  2007, Stanford University, oss Version 20071101-0808p1
>> ++++++ Storage system initialization started.
>> =====> all.export /scratch/users/petzold/testdata
>> Config effective xrootd.cfg oss configuration:
>>       oss.alloc        0 0 0
>>       oss.cachescan    600
>>       oss.compdetect   *
>>       oss.fdlimit      512 1024
>>       oss.maxdbsize    0
>>       oss.trace        0
>>       oss.xfr          1 9437184 30 10800
>>       oss.memfile off  max 263989248
>>       oss.defaults  r/w  nocheck nodread nomig norcreate nostage
>>       oss.path /scratch/users/petzold/testdata r/w  nocheck nodread nomig
>> norcreate nostage
>> ------ Storage system initialization completed.
>> Config warning: 'xrootd.prepare logdir' not specified; prepare tracking
>> disabled.
>> Config exporting /scratch/users/petzold/testdata
>> ------ xrootd protocol initialization completed.
>> ------ xrootd [log in to unmask]:1094 initialization 
>> completed.
>> 071120 17:44:01 2350 odc_Manager: Connected to pktw34.phy.tu-dresden.de
>> 071120 17:44:01 2350 odc_GetLine: Unable to read request; connection 
>> reset by
>> peer
>> 071120 17:44:01 2350 odc_Manager: Unable to receive msg from
>> pktw34.phy.tu-dresden.de; connection reset by peer
>> 071120 17:44:05 2350 odc_Manager: Connected to pktw34.phy.tu-dresden.de
>> 071120 17:44:05 2350 odc_GetLine: Unable to read request; connection 
>> reset by
>> peer
>> 071120 17:44:05 2350 odc_Manager: Unable to receive msg from
>> pktw34.phy.tu-dresden.de; connection reset by peer
>>
>>
>