Dear Christos,
try to check the following (assuming LCG-2_6_0):
1) On MON
Check /etc/cron.d/edg-apel-publisher and verify that it looks like
----------------
PATH=/sbin:/bin:/usr/sbin:/usr/bin
10 3 * * * root env RGMA_HOME=/opt/glite
APEL_HOME=/opt/glite /opt/glite/bin/apel-publisher -f /opt/glite/etc/glite-
apel-publisher/publisher-config-yaim.xml >> /var/log/apel.log 2>&1
--------------------
Then check /opt/glite/etc/glite-apel-publisher/publisher-config-yaim.xml and
remove <DBDeleteProcessor> element (if present), and change value of
<Republish> element from "all" to "missing".
2) On CE
Check /etc/cron.d/edg-rgma-apel and verify that it looks like
-----------------
PATH=/sbin:/bin:/usr/sbin:/usr/bin
5 3 * * * root /opt/glite/bin/apel-pbs-log-parser -f /opt/glite/etc/glite-
apel-pbs/parser-config-yaim.xml >> /var/log/apel.log 2>&1
-----------------
Then check /opt/glite/etc/glite-apel-pbs/parser-config-yaim.xml and remove
<DBDeleteProcessor> element, remove <ExtraFile> elements, and also change
<SubmitHost> element (within <GKLogProcessor>) to the appropriate value.
Hope this will help you. Regards,
Antun
-----
E-mail: [log in to unmask]
Web: http://scl.phy.bg.ac.yu/
Phone: +381 11 3160260, Ext. 152
Fax: +381 11 3162190
Scientific Computing Laboratory
Institute of Physics, Belgrade
Serbia and Montenegro
-----
---------- Original Message -----------
From: Filippidis christos <[log in to unmask]>
To: [log in to unmask]
Sent: Fri, 26 Aug 2005 11:45:36 +0300
Subject: Re: [LCG-ROLLOUT] APEL again
> i check the test again for my site and the output is:
> Checking if LcgRecords tuples are present for the site (max 1 day
> old): ++ rgma -c 'select count(*) from LcgRecords where
> ExecutingCE='\''xg009.inp.demokritos.gr'\'' and
> MeasurementDate>='\''2005-08-25'\''' ++ grep '^|' ++ cut -f 2 -d ' '
> ++ tail -n 1 + count=0 + set +x
>
> Count: 0
> Empty Apel result set - FAILED!
>
> the count is 0 but /var/spool/pbs/server_priv/accounting is not empty
>
> > And what is the output of /opt/glite/bin/rgma -c 'select count(*) from
> > LcgRecords where ExecutingCE='\''xg009.inp.demokritos.gr'\'' and
> > MeasurementDate>='\''2005-08-25'\''' ?
> >
> > I suspect that the problem is in older version of SFT2 tests that are
used
> > sometimes. When I submit SFT2 test from UI to my site, everything is OK,
> > and
> > this is the situation with the most of the oficial tests, but from time
to
> > time this strange error appears
> >
> > Count:
> > tests/sft-apel: line 28: [: -gt: unary operator expected Empty Apel
result
> > set - FAILED!
> >
> > Can someone clarify this? When APEL tests become critical, this will
> > affect
> > all of us.
> >
> > Regards, Antun
> >
> > -----
> > E-mail: [log in to unmask]
> > Web: http://scl.phy.bg.ac.yu/
> >
> > Phone: +381 11 3160260, Ext. 152
> > Fax: +381 11 3162190
> >
> > Scientific Computing Laboratory
> > Institute of Physics, Belgrade
> > Serbia and Montenegro
> > -----
> >
> >
> > ---------- Original Message -----------
> > From: Filippidis christos <[log in to unmask]>
> > To: [log in to unmask]
> > Sent: Fri, 26 Aug 2005 08:56:17 +0300
> > Subject: Re: [LCG-ROLLOUT] APEL again
> >
> >> hi,
> >> i also have a problem with APEL,here is the output:
> >> 2005-08-26 06:19:50
> >> APEL Test
> >> Checking if LcgRecords latest archiver is accessible:
> >> + rgma -c 'select count(*) from LcgRecords'
> >> + grep 'Rows in set'
> >> + set +x
> >> LcgRecords latest archiver is working.
> >>
> >> Checking if LcgRecords tuples are present for the site (max 1 day
> >> old): ++ rgma -c 'select count(*) from LcgRecords where
> >> ExecutingCE='\''xg009.inp.demokritos.gr'\'' and
> >> MeasurementDate>='\''2005-08-25'\''' ++ grep '^|' ++ cut -f 2 -d ' '
> >> ++ tail -n 1 + count= + set +x
> >>
> >> Count:
> >> tests/sft-apel: line 28: [: -gt: unary operator expected Empty Apel
> >> result
> >> set - FAILED!
> >>
> >> i try to run :
> >> rgma -c 'select count(*) from LcgRecords where
> >> ExecutingCE='\''xg009.inp.demokritos.gr'\'' and
> >> MeasurementDate>='\''2005-08-25'\''' manualy and the output is:
> >> [root@xg009 bin]# -bash: rgma: command not found
> >> but i can see rgma i the /opt/glite/bin
> >>
> >> thanks
> >>
> >> xristos
> >>
> >> > Hi,
> >> > how is it possible to be OK on one APEL SFT2 test, and to fail on the
> > next
> >> > one (3 hours later) because:
> >> >
> >> > Count:
> >> > tests/sft-apel: line 28: [: -gt: unary operator expected Empty Apel
> > result
> >> > set - FAILED!
> >> >
> >> > Is someone using the old version of SFT2?
> >> >
> >> > Regards, Antun
> >> >
> >> >
> >> > -----
> >> > E-mail: [log in to unmask]
> >> > Web: http://scl.phy.bg.ac.yu/
> >> >
> >> > Phone: +381 11 3160260, Ext. 152
> >> > Fax: +381 11 3162190
> >> >
> >> > Scientific Computing Laboratory
> >> > Institute of Physics, Belgrade
> >> > Serbia and Montenegro
> >> > -----
> >> >
> >>
> >> Christos Filippidis
> >> NCSR DEMOKRITOS
> >> Institute of Nuclear Physics
> >> office block 6(ktirion 6)
> >> Gr-15310 Agia Paraskevi
> >> GREECE
> >> Tel:2106503425
> >>
> >> http://consult.cern.ch/xwho/people/117002
> >> http://www.inp.demokritos.gr/~filippidisx/
> >>
> >> ----------------------------------------------
> >>
> >> "Institute of Nuclear Physics NCSR Demokritos"
> >> http://www.inp.demokritos.gr/
> > ------- End of Original Message -------
> >
>
> Christos Filippidis
> NCSR DEMOKRITOS
> Institute of Nuclear Physics
> office block 6(ktirion 6)
> Gr-15310 Agia Paraskevi
> GREECE
> Tel:2106503425
>
> http://consult.cern.ch/xwho/people/117002
> http://www.inp.demokritos.gr/~filippidisx/
>
> ----------------------------------------------
>
> "Institute of Nuclear Physics NCSR Demokritos"
> http://www.inp.demokritos.gr/
------- End of Original Message -------
|