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

Help for TB-SUPPORT Archives


TB-SUPPORT Archives

TB-SUPPORT Archives


TB-SUPPORT@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

TB-SUPPORT Home

TB-SUPPORT Home

TB-SUPPORT  September 2005

TB-SUPPORT September 2005

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: APEL problems

From:

"Coles, J (Jeremy)" <[log in to unmask]>

Reply-To:

Testbed Support for GridPP member institutes <[log in to unmask]>

Date:

Thu, 1 Sep 2005 12:42:39 +0100

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (353 lines)

Mark

Dave Kant tells me that this is the regular daily check made by gstat to
check whether the site has published data to the accounting repository
recently.
The program first checks that the database table "LcgRecords" is
reachable through rgma, then checks the date of the "newest" record.
If the record is older than 2 days, it flags an Apel error.

Looking at the data at our end shows that this is correct: The last time
we received data from Durham is August 22nd 2005. 


| 2005-08-01 | 06:39:40       |
| 2005-08-02 | 23:07:13       |
| 2005-08-03 | 23:59:04       |
| 2005-08-04 | 23:59:58       |
| 2005-08-05 | 23:57:56       |
| 2005-08-06 | 23:59:15       |
| 2005-08-07 | 23:58:08       |
| 2005-08-08 | 23:58:31       |
| 2005-08-09 | 23:58:40       |
| 2005-08-10 | 23:59:57       |
| 2005-08-11 | 23:40:59       |
| 2005-08-12 | 04:43:07       |
| 2005-08-13 | 20:38:37       |
| 2005-08-14 | 01:21:06       |
| 2005-08-17 | 23:30:42       |
| 2005-08-18 | 23:59:31       |
| 2005-08-19 | 09:08:30       |
| 2005-08-20 | 20:15:08       |
| 2005-08-21 | 23:16:47       |
| 2005-08-22 | 02:05:40       |
+------------+----------------+

The only way to see what is happening is to look at the Apel cron jobs
on the CE and MON node. Do the logs from these crons report any
problems?

Jeremy


-----Original Message-----
From: Testbed Support for GridPP member institutes
[mailto:[log in to unmask]] On Behalf Of Mark Nelson
Sent: 01 September 2005 11:38
To: [log in to unmask]
Subject: APEL problems

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello

I'm getting the following error -

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 3 day old):

++ rgma -c 'select count(*) from LcgRecords where
ExecutingCE='\''helmsley.dur.scotgrid.ac.uk'\'' and
MeasurementDate>='\''2005-08-29'\'''
++ grep '^|'
++ cut -f 2 -d ' '
++ tail -n 1
+ count=0
+ set +x

Count: 0
Empty Apel result set - FAILED!


My log file is showing the following  -

/bin/sh: line 1: /opt/edg/sbin/edg-rgma-apel: No such file or directory
Thu Sep  1 02:05:00 UTC 2005: apel-pbs-log-parser - Read-in
configuration: [quiet, d, c, e, recursiveEventFiles, g,
recursiveGKFiles] [DBPassword=****, site=Durham,
pbslog=/var/spool/pbs/server_priv/accounting, CE
host=gppce.test.ac.uk, GIIS=helmsley.dur.scotgrid.ac.uk,
extraEventLogFile=[/home/toucan/pbslog00021123.gz,
/home/toucan/pbslog00021100.log], gklog=/var/log,
DBURL=jdbc:mysql://ayton.dur.scotgrid.ac.uk:3306/accoun
ting, DBUsername=accounting, mslog=/var/log, timeZone=UTC]
Thu Sep  1 02:05:00 UTC 2005: apel-pbs-log-parser - ------ Starting the
apel application ------
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - **** Clearing
database tables ****
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Only removing
processed log records
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Number deleted
processed logs from: EventRecords: 0
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Number deleted
processed logs from: GkRecords: 0
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Number deleted
processed logs from: MessageRecords: 0
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Finding CPU spec
values from GIIS server: helmsley.dur.scotgrid.ac.uk
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Cluster:
helmsley.dur.scotgrid.ac.uk, Subcluster: helmsley.dur.scotgrid.ac.uk,
SpecInt2000: 680, SpecFloat2000: 680
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Spec value remains
unchanged, no need to update it
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Spec for catch-all
updated to specInt: 680 specFloat: 680
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Number of entries
found for this cluster: 1
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Reprocess disabled,
checking new event logs only
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - WARNING - Exception
opening file /home/toucan/pbslog00021123.gz
java.io.FileNotFoundException: /home/toucan/pbslog00021123.gz (No such
file or directory)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at
org.glite.apel.pbs.EventLogParser.<init>(EventLogParser.java:88)
        at
org.glite.apel.pbs.EventLogProcessor.setupLogFiles(EventLogProcessor.jav
a:78)
        at
org.glite.apel.pbs.EventLogProcessor.<init>(EventLogProcessor.java:57)
        at
org.glite.apel.pbs.ApelLogParser.runEventProcessor(ApelLogParser.java:12
5)
        at org.glite.apel.pbs.ApelLogParser.run(ApelLogParser.java:75)
        at org.glite.apel.pbs.ApelLogParser.main(ApelLogParser.java:274)
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - WARNING - Exception
opening file /home/toucan/pbslog00021100.log
java.io.FileNotFoundException: /home/toucan/pbslog00021100.log (No such
file or directory)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at
org.glite.apel.pbs.EventLogParser.<init>(EventLogParser.java:88)
        at
org.glite.apel.pbs.EventLogProcessor.setupLogFiles(EventLogProcessor.jav
a:78)
        at
org.glite.apel.pbs.EventLogProcessor.<init>(EventLogProcessor.java:57)
        at
org.glite.apel.pbs.ApelLogParser.runEventProcessor(ApelLogParser.java:12
5)
        at org.glite.apel.pbs.ApelLogParser.run(ApelLogParser.java:75)
        at org.glite.apel.pbs.ApelLogParser.main(ApelLogParser.java:274)
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - **** Updating PBS
end event table (EventRecords) ****
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050222
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050223
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050224
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050225
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050226
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050227
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050228
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050301
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050302
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050303
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050304
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050305
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050306
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050307
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050308
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050309
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050310
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050311
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050312
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050313
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050314
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050315
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050316
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050317
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050318
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050319
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050320
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050321
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050322
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050323
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050324
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050325
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050326
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050327
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050328
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050329
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050330
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050331
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050401
<SNIP>Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring
already processed event log file: 20050812
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050813
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050814
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050815
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050816
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050817
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050818
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050819
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050820
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050821
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050822
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050823
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050824
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050825
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050826
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050827
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050829
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: 20050830
Thu Sep  1 02:05:01 UTC 2005: apel-pbs-log-parser - Processing
/var/spool/pbs/server_priv/accounting/20050831
Thu Sep  1 02:05:04 UTC 2005: apel-pbs-log-parser - Processing
/var/spool/pbs/server_priv/accounting/20050901
Thu Sep  1 02:05:04 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: pbslog00021123.gz
Thu Sep  1 02:05:04 UTC 2005: apel-pbs-log-parser - Ignoring already
processed event log file: pbslog00021100.log
Thu Sep  1 02:05:04 UTC 2005: apel-pbs-log-parser - Event records
inserted: 1615
Thu Sep  1 02:05:04 UTC 2005: apel-pbs-log-parser - **** Updating Gate
Keeper log table (GkRecords) ****
Thu Sep  1 02:05:04 UTC 2005: apel-pbs-log-parser - Processing gate
keeper log file: /var/log/globus-gatekeeper.log
Thu Sep  1 02:05:09 UTC 2005: apel-pbs-log-parser - Already processed GK
log file: globus-gatekeeper.log.20050821040207.0
Thu Sep  1 02:05:09 UTC 2005: apel-pbs-log-parser - Already processed GK
log file: globus-gatekeeper.log.20050828040201.1
Thu Sep  1 02:05:09 UTC 2005: apel-pbs-log-parser - Gk records inserted:
1678
Thu Sep  1 02:05:09 UTC 2005: apel-pbs-log-parser - Msg records
inserted: 0
Thu Sep  1 02:05:09 UTC 2005: apel-pbs-log-parser - **** Updating Job ID
table (MessageRecords) from system message log ****
Thu Sep  1 02:05:09 UTC 2005: apel-pbs-log-parser - Processing message
log file: /var/log/messages
Thu Sep  1 02:05:09 UTC 2005: apel-pbs-log-parser - Processing message
log file: /var/log/messages.1
Thu Sep  1 02:05:09 UTC 2005: apel-pbs-log-parser - Processing message
log file: /var/log/messages.2
Thu Sep  1 02:05:12 UTC 2005: apel-pbs-log-parser - Processing message
log file: /var/log/messages.3
Thu Sep  1 02:05:16 UTC 2005: apel-pbs-log-parser - Processing message
log file: /var/log/messages.4
Thu Sep  1 02:05:19 UTC 2005: apel-pbs-log-parser - Msg records
inserted: 0
Thu Sep  1 02:05:19 UTC 2005: apel-pbs-log-parser - ------ Processing
finished ------


I have found a reference to setting APEL_HOME=/opt/glite on the mailing
list, this is set in /etc/cron.d/edg-apel-pbs-parser (entry below)
5 3 * * * root env RGMA_HOME=/opt/glite APEL_HOME=/opt/glite
/opt/glite/bin/apel-pbs-log-parser -f
/opt/glite/etc/glite-apel-pbs/parser-config-yaim.xml >>
/var/log/apel.log 2>&1


However, there is also a crontab entry in the root crontab (crontab -l)

PATH=/sbin:/bin:/usr/sbin:/usr/bin
29 1,7,13,19 * * * /opt/edg/sbin/edg-mkgridmap
- --output=/etc/grid-security/grid-mapfile --safe
0 5 * * * /opt/edg/sbin/lcg-expiregridmapdir.pl -v
1>>/var/log/lcg-expiregridmapdir.log 2>&1
5 3 * * * /opt/edg/sbin/edg-rgma-apel -f /opt/edg/etc/edg-rgma/apel.xml
>> /var/log/apel.log 2>&1


Has this been left over from the 2.4.0 install?

Any ideas
Mark.




- -------------------------------------------------------------
Mark Nelson - [log in to unmask]

IPPP, Department of Physics, University of Durham,
Science Laboratories, South Road, Durham, DH1 3LE
Office: +44 (0)191 334 3811, Direct Dial: +44 (0)191 334 3653

PGP Key: http://www.ippp.dur.ac.uk/~mn/pgp_key.txt
This mail is for the addressee only
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org

iD8DBQFDFtoIlzM++u0MgcERAiVnAJ9C/+4y5J2gYJSX8gBqM4Fvv4dVIgCfa6+K
2L/uqtkp20wnZ/ODK5i4nMQ=
=KLF2
-----END PGP SIGNATURE-----

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

April 2024
March 2024
February 2024
January 2024
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 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
March 2018
February 2018
January 2018
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 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
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004
December 2003
November 2003
October 2003
September 2003
August 2003
July 2003
June 2003
May 2003
April 2003
March 2003
February 2003
January 2003
December 2002
November 2002
October 2002
September 2002
August 2002
July 2002
June 2002
May 2002
April 2002
March 2002
February 2002
January 2002


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