JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for LCG-ROLLOUT Archives


LCG-ROLLOUT Archives

LCG-ROLLOUT Archives


LCG-ROLLOUT@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

LCG-ROLLOUT Home

LCG-ROLLOUT Home

LCG-ROLLOUT  September 2013

LCG-ROLLOUT September 2013

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: problem with APEL publishing

From:

Elena Korolkova <[log in to unmask]>

Reply-To:

LHC Computer Grid - Rollout <[log in to unmask]>

Date:

Mon, 23 Sep 2013 15:11:27 +0100

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (249 lines)

Hi Daniela

I'm checling /var/log/apel/log at ce's:
cat /var/log/apel.log 

Sun Sep 22 00:35:07 UTC 2013: apel-pbs-log-parser - Blahd records inserted: 5106
Sun Sep 22 00:35:07 UTC 2013: apel-pbs-log-parser - ------ Processing finished ------
Mon Sep 23 00:35:01 UTC 2013: apel-pbs-log-parser - Read-in configuration: [quiet, p, inspectTables, c, e, recursiveEventFiles, b, recursiveBlahdFiles] [DBPassword=****, site=UKI-NORTHGRID-SHEF-HEP, pbslog=/var/torque/server_priv/accounting, GIIS=lcgce3.shef.ac.uk, CEhost=lcgce3.shef.ac.uk, blahdlogPrefix=blahp.log-, DBURL=jdbc:mysql://lcg.shef.ac.uk:3306/accounting, DBUsername=accounting, timeZone=UTC, blahdlog=/var/log/cream/accounting]
Mon Sep 23 00:35:01 UTC 2013: apel-pbs-log-parser - ------ Starting the apel application ------
Mon Sep 23 00:35:02 UTC 2013: apel-pbs-log-parser - **** APEL is examining the schema ****
Mon Sep 23 00:35:02 UTC 2013: apel-pbs-log-parser - Checking the LcgRecords table
Mon Sep 23 00:35:02 UTC 2013: apel-pbs-log-parser - The LcgRecords schema is up-to-date 
Mon Sep 23 00:35:02 UTC 2013: apel-pbs-log-parser - Checking the BlahdRecords table
Mon Sep 23 00:35:02 UTC 2013: apel-pbs-log-parser - The BlahdRecords schema is up-to-date 
Mon Sep 23 00:35:02 UTC 2013: apel-pbs-log-parser - Checking the LcgProcessedFiles table
Mon Sep 23 00:35:02 UTC 2013: apel-pbs-log-parser - The LcgProcessedFiles schema is up-to-date 
Mon Sep 23 00:35:02 UTC 2013: apel-pbs-log-parser - Checking the SpecRecords table for patch 28593
Mon Sep 23 00:35:02 UTC 2013: apel-pbs-log-parser - Checking the SpecRecords table for patch 65723
Mon Sep 23 00:35:02 UTC 2013: apel-pbs-log-parser - The SpecRecords schema is up-to-date 
Mon Sep 23 00:35:02 UTC 2013: apel-pbs-log-parser - Checking the GkRecords table
Mon Sep 23 00:35:02 UTC 2013: apel-pbs-log-parser - The GkRecords schema is up-to-date 
Mon Sep 23 00:35:02 UTC 2013: apel-pbs-log-parser - Checking the MessageRecords table
Mon Sep 23 00:35:02 UTC 2013: apel-pbs-log-parser - The MessageRecords schema is up-to-date 
Mon Sep 23 00:35:02 UTC 2013: apel-pbs-log-parser - **** Schema checks complete ****
Mon Sep 23 00:35:02 UTC 2013: apel-pbs-log-parser - Finding CPU spec values from GIIS server: lcgce3.shef.ac.uk
Mon Sep 23 00:35:02 UTC 2013: apel-pbs-log-parser - LDAP URL: ldap://lcgce3.shef.ac.uk:2170
Mon Sep 23 00:35:02 UTC 2013: apel-pbs-log-parser - The ClusterId : SpecInt pair are latest, no update required lcgce3.shef.ac.uk:8443/cream-pbs-ops:2995
Mon Sep 23 00:35:02 UTC 2013: apel-pbs-log-parser - The ClusterId : SpecInt pair are latest, no update required lcgce3.shef.ac.uk:8443/cream-pbs-t2k:2995
Mon Sep 23 00:35:02 UTC 2013: apel-pbs-log-parser - The ClusterId : SpecInt pair are latest, no update required lcgce3.shef.ac.uk:8443/cream-pbs-camont:2995
Mon Sep 23 00:35:02 UTC 2013: apel-pbs-log-parser - The ClusterId : SpecInt pair are latest, no update required lcgce3.shef.ac.uk:8443/cream-pbs-alice:2995
Mon Sep 23 00:35:02 UTC 2013: apel-pbs-log-parser - The ClusterId : SpecInt pair are latest, no update required lcgce3.shef.ac.uk:8443/cream-pbs-lhcb:2995
Mon Sep 23 00:35:02 UTC 2013: apel-pbs-log-parser - The ClusterId : SpecInt pair are latest, no update required lcgce3.shef.ac.uk:8443/cream-pbs-minos:2995
Mon Sep 23 00:35:02 UTC 2013: apel-pbs-log-parser - The ClusterId : SpecInt pair are latest, no update required lcgce3.shef.ac.uk:8443/cream-pbs-northgrid:2995
Mon Sep 23 00:35:02 UTC 2013: apel-pbs-log-parser - The ClusterId : SpecInt pair are latest, no update required lcgce3.shef.ac.uk:8443/cream-pbs-dteam:2995
Mon Sep 23 00:35:02 UTC 2013: apel-pbs-log-parser - The ClusterId : SpecInt pair are latest, no update required lcgce3.shef.ac.uk:8443/cream-pbs-snoplus:2995
Mon Sep 23 00:35:02 UTC 2013: apel-pbs-log-parser - The ClusterId : SpecInt pair are latest, no update required lcgce3.shef.ac.uk:8443/cream-pbs-cms:2995
Mon Sep 23 00:35:02 UTC 2013: apel-pbs-log-parser - The ClusterId : SpecInt pair are latest, no update required lcgce3.shef.ac.uk:8443/cream-pbs-geant4:2995
Mon Sep 23 00:35:02 UTC 2013: apel-pbs-log-parser - The ClusterId : SpecInt pair are latest, no update required lcgce3.shef.ac.uk:8443/cream-pbs-pheno:2995
Mon Sep 23 00:35:02 UTC 2013: apel-pbs-log-parser - The ClusterId : SpecInt pair are latest, no update required lcgce3.shef.ac.uk:8443/cream-pbs-ngs:2995
Mon Sep 23 00:35:02 UTC 2013: apel-pbs-log-parser - The ClusterId : SpecInt pair are latest, no update required lcgce3.shef.ac.uk:8443/cream-pbs-sl6:2995
Mon Sep 23 00:35:02 UTC 2013: apel-pbs-log-parser - The ClusterId : SpecInt pair are latest, no update required lcgce3.shef.ac.uk:8443/cream-pbs-gridpp:2995
Mon Sep 23 00:35:02 UTC 2013: apel-pbs-log-parser - The ClusterId : SpecInt pair are latest, no update required lcgce3.shef.ac.uk:8443/cream-pbs-biomed:2995
Mon Sep 23 00:35:02 UTC 2013: apel-pbs-log-parser - The ClusterId : SpecInt pair are latest, no update required lcgce3.shef.ac.uk:8443/cream-pbs-mice:2995
Mon Sep 23 00:35:02 UTC 2013: apel-pbs-log-parser - Reprocess disabled, checking new event logs only
Mon Sep 23 00:35:02 UTC 2013: apel-pbs-log-parser - **** Updating PBS end event table (EventRecords) ****
Mon Sep 23 00:35:02 UTC 2013: apel-pbs-log-parser - Event records inserted: 0
Mon Sep 23 00:35:02 UTC 2013: apel-pbs-log-parser - Checking the BlahdRecords table
Mon Sep 23 00:35:02 UTC 2013: apel-pbs-log-parser - The BlahdRecords schema is up-to-date 
Mon Sep 23 00:35:02 UTC 2013: apel-pbs-log-parser - Reprocess disabled, checking new event logs only
Mon Sep 23 00:35:02 UTC 2013: apel-pbs-log-parser - Ignoring already processed accounting log file: lcgce3.shef.ac.uk /var/log/cream/accounting/blahp.log-20130123
Mon Sep 23 00:35:02 UTC 2013: apel-pbs-log-parser - Ignoring already processed accounting log file: lcgce3.shef.ac.uk /var/log/cream/accounting/blahp.log-20130131
Mon Sep 23 00:35:02 UTC 2013: apel-pbs-log-parser - Ignoring already processed accounting log file: lcgce3.shef.ac.uk /var/log/cream/accounting/bl

Mon Sep 23 00:35:03 UTC 2013: apel-pbs-log-parser - Ignoring already processed accounting log file: lcgce3.shef.ac.uk /var/log/cream/accounting/blahp.log-20130818
Mon Sep 23 00:35:03 UTC 2013: apel-pbs-log-parser - Ignoring already processed accounting log file: lcgce3.shef.ac.uk /var/log/cream/accounting/blahp.log-20130304
Mon Sep 23 00:35:03 UTC 2013: apel-pbs-log-parser - Processing /var/log/cream/accounting/blahp.log-20130922
Mon Sep 23 00:35:07 UTC 2013: apel-pbs-log-parser - Ignoring already processed accounting log file: lcgce3.shef.ac.uk /var/log/cream/accounting/blahp.log-20130209
......
Mon Sep 23 00:35:07 UTC 2013: apel-pbs-log-parser - Ignoring already processed accounting log file: lcgce3.shef.ac.uk /var/log/cream/accounting/blahp.log-20130618
Mon Sep 23 00:35:07 UTC 2013: apel-pbs-log-parser - Blahd records inserted: 6374
Mon Sep 23 00:35:07 UTC 2013: apel-pbs-log-parser - ------ Processing finished ------
[root@lcgce3 ~]# 

Thank you very much for your help

Elena

On 23 Sep 2013, at 14:45, Daniela Bauer wrote:

> Hi Elena,
> 
> this looks like your Event Records stop on 27. August.
> The Event Records are generated on the CE by reading the batch system
> accounting files. Maybe the CE lost access to these files ? You need
> to check the APEL log on the CE(s) to see where it's going wrong
> (search for "Event records inserted" and "Blahd records inserted" -
> they should both be decidedly non-zero).
> 
> Cheers,
> Daniela
> 
> On 23 September 2013 14:39, Elena Korolkova <[log in to unmask]> wrote:
>> Hello
>> 
>> I have a problem with publishing after certificate renewal (email address was removed from CN). Now this problem is fixed by changing certificate CN in goc. I managed to publish a week after but after this I have a problem:
>> 
>> 
>> [root@lcg glite-apel-publisher]# env APEL_HOME=/ JAVA_HOME=/etc/alternatives/java_sdk_1.6.0 /usr/bin/apel-publisher -f /etc/glite-apel-publisher/publisher-config-yaim.xml
>> =====Starting APEL Publisher=====
>> Mon Sep 23 12:30:15 BST 2013
>> Current versions of APEL RPMS:
>> glite-apel-core-2.0.14-5.sl5.noarch
>> glite-apel-yaim-1.0.2-4.sl5.noarch
>> emi-apel-1.0.0-0.sl5.noarch
>> glite-apel-publisher-2.0.16-1.sl5.noarch
>> Copying certificates from /etc/grid-security to the Java key store used by the APEL Publisher
>> Mon Sep 23 11:31:59 UTC 2013: apel-publisher - Read-in configuration: [logenabled, p, inspectTables, j, publishGlobalDN] [DBUsername=accounting, DBURL=jdbc:mysql://localhost:3306/accounting, DBPassword=****, site=UKI-NORTHGRID-SHEF-HEP, Timeout for awaiting a reply from the consumer.=1800000, The max. num of accounting records in each JMS message=1000, Batch size=100000, republish=gap]
>> Mon Sep 23 11:31:59 UTC 2013: apel-publisher - ------ Starting the APEL Publisher ------
>> Mon Sep 23 11:31:59 UTC 2013: apel-publisher - **** APEL is examining the schema ****
>> Mon Sep 23 11:31:59 UTC 2013: apel-publisher - Checking the LcgRecords table
>> Mon Sep 23 11:31:59 UTC 2013: apel-publisher - The LcgRecords schema is up-to-date
>> Mon Sep 23 11:31:59 UTC 2013: apel-publisher - Checking the BlahdRecords table
>> Mon Sep 23 11:31:59 UTC 2013: apel-publisher - The BlahdRecords schema is up-to-date
>> Mon Sep 23 11:31:59 UTC 2013: apel-publisher - Checking the LcgProcessedFiles table
>> Mon Sep 23 11:31:59 UTC 2013: apel-publisher - The LcgProcessedFiles schema is up-to-date
>> Mon Sep 23 11:31:59 UTC 2013: apel-publisher - Checking the SpecRecords table for patch 28593
>> Mon Sep 23 11:31:59 UTC 2013: apel-publisher - Checking the SpecRecords table for patch 65723
>> Mon Sep 23 11:31:59 UTC 2013: apel-publisher - The SpecRecords schema is up-to-date
>> Mon Sep 23 11:31:59 UTC 2013: apel-publisher - Checking the GkRecords table
>> Mon Sep 23 11:31:59 UTC 2013: apel-publisher - The GkRecords schema is up-to-date
>> Mon Sep 23 11:31:59 UTC 2013: apel-publisher - Checking the MessageRecords table
>> Mon Sep 23 11:31:59 UTC 2013: apel-publisher - The MessageRecords schema is up-to-date
>> Mon Sep 23 11:31:59 UTC 2013: apel-publisher - **** Schema checks complete ****
>> Mon Sep 23 11:31:59 UTC 2013: apel-publisher - **** Running the APEL publisher in Republish Gap Mode ****
>> Mon Sep 23 11:31:59 UTC 2013: apel-publisher - Checking valid CPU spec data exists
>> Mon Sep 23 11:31:59 UTC 2013: apel-publisher - CPU spec values found
>> Mon Sep 23 11:33:12 UTC 2013: apel-publisher - Publishing 0 records...
>> Mon Sep 23 11:33:12 UTC 2013: apel-publisher - Publishing data into ActiveMQ Broker
>> Mon Sep 23 11:33:12 UTC 2013: apel-publisher -   All UserDNs will be encrypted
>> Mon Sep 23 11:33:13 UTC 2013: apel-publisher - SecureRandom provider is SUN version 1.6
>> Mon Sep 23 11:33:13 UTC 2013: apel-publisher - Salting SecureRandom (SHA1PRNG) from /dev/urandom
>> KEY LOCATION =
>> Mon Sep 23 11:33:13 UTC 2013: apel-publisher - Updating MeasurementDate and MeasurementTime timestamp of Gap Data
>> Mon Sep 23 11:33:13 UTC 2013: apel-publisher - Total records published to Server with GAP Publisher:0
>> Mon Sep 23 11:33:13 UTC 2013: apel-publisher - ------ APEL Publisher finished ------
>> 
>> 
>> mysql> select Max(EventDate) from LcgRecords;
>> +----------------+
>> | Max(EventDate) |
>> +----------------+
>> | 2013-08-27     |
>> +----------------+
>> 1 row in set (11.19 sec)
>> 
>> mysql> select Max(EventDate) from EventRecords;
>> +----------------+
>> | Max(EventDate) |
>> +----------------+
>> | 2013-08-27     |
>> +----------------+
>> 1 row in set (1 min 38.47 sec)
>> 
>> mysql> select Max(ValidFrom) from BlahdRecords;
>> +----------------+
>> | Max(ValidFrom) |
>> +----------------+
>> | 2013-09-22     |
>> +----------------+
>> 1 row in set (1 min 43.20 sec)
>> 
>> cat /etc/glite-apel-publisher/publisher-config-yaim.xml
>> <?xml version="1.0" encoding="UTF-8"?>
>> 
>> <ApelConfiguration enableDebugLogging="yes">
>> 
>>    <SiteName>UKI-NORTHGRID-SHEF-HEP</SiteName>
>>    <DBURL>jdbc:mysql://localhost:3306/accounting</DBURL>
>>    <DBUsername>accounting</DBUsername>
>>    <DBPassword>***</DBPassword>
>>    <!-- Number of records selected each time
>>         Modify this value if OutOfMemory error
>>         appears in the Publisher
>>         approx 150000 records per 512Mb memory -->
>>    <Limit>100000</Limit>
>>    <MaxInsertBatch>1000</MaxInsertBatch>
>>        <!-- Timeout for waiting for consumer in milliseconds -->
>>    <ConsumerTimeout>1800000</ConsumerTimeout>
>>    <!-- Examine APEL Schema //-->
>>    <DBProcessor inspectTables="yes"/>
>> 
>>    <!--
>>       Publisher Options
>>       =================
>>        publishGlobalUserName="yes"    : encrypt UserDNs with a 1024-bit RSA key
>>                                       : If "no", UserDNs are not published (default)
>>        publicKeyLocation="/home/key/public.der" : if set, this external public key
>>                                         will be used for encryption. Otherwise APEL
>>                                         key will be used
>>        <Republish>missing</Republish> : publish missing data only (default)
>>        <Republish>missing</Republish>     : publish ALL accounting data in the database
>>        Gap Publisher                  : publish data in a specified interval
>>        <Republish recordStart="2006-02-01" recordEnd="2006-04-25">gap</Republish>
>>    -->
>>    <JoinProcessor publishGlobalUserName="yes">
>>        <Republish recordStart="2013-08-27" recordEnd="2013-09-07">gap</Republish>
>>        <!--
>>                VO Filtering:
>>                include="include"       : Only the VOs specified in VOList will be published
>>                include="exclude"       : All VOs except the ones specified in VOList will be published
>>                include="all"           : All VOs will be published. VOList will be ignored.
>>                Enter one VO per <VO> tag
>> 
>>                VO Mapping:
>>                Map local unix groups to VOs if not using Blah Accounting Log files
>>                <VOGroup>localgroup:VOName</VOGroup>
>>        -->
>>        <VOInclude include="all">
>>                <!--VOList>
>>                        <VO>atlas</VO>
>>                        <VO>cms</VO>
>>                </VOList-->
>>                <!--VOMapping>
>>                        <VOGroup>atlprd:atlas</VOGroup>
>>                        <VOGroup>cmsprod:cms</VOGroup>
>>                </VOMapping-->
>>        </VOInclude>
>> 
>> 
>>    </JoinProcessor>
>> 
>> </ApelConfiguration>
>> 
>> 
>> 
>> Your help is much appreciated.
>> 
>> Elena
>> __________________________________________________
>> Dr Elena Korolkova
>> Email: [log in to unmask]
>> Tel.:  +44 (0)114 2223553
>> Fax:   +44 (0)114 2223555
>> Department of Physics and Astronomy
>> University of Sheffield
>> Sheffield, S3 7RH, United Kingdom
> 
> 
> 
> -- 
> Sent from the pit of despair
> 
> -----------------------------------------------------------
> [log in to unmask]
> HEP Group/Physics Dep
> Imperial College
> London, SW7 2BW
> Tel: +44-(0)20-75947810
> http://www.hep.ph.ic.ac.uk/~dbauer/

__________________________________________________
Dr Elena Korolkova
Email: [log in to unmask]
Tel.:  +44 (0)114 2223553
Fax:   +44 (0)114 2223555
Department of Physics and Astronomy
University of Sheffield
Sheffield, S3 7RH, United Kingdom

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

March 2024
November 2023
June 2023
May 2023
April 2023
March 2023
February 2023
September 2022
June 2022
May 2022
April 2022
February 2022
December 2021
November 2021
October 2021
September 2021
July 2021
June 2021
May 2021
February 2021
January 2021
November 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
March 2019
February 2019
January 2019
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
February 2018
January 2018
November 2017
October 2017
September 2017
July 2017
June 2017
May 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
2006
2005
2004
2003


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager