Print

Print


Hello, 

 

On the web link it says that the rgma.props file is in /opt/edg/etc/edg-rgma


Whereas on my MON node the rgma-defaults file says it is in
/opt/edg/var/edg-rgma

 

([root@node06 root]# cat /opt/edg/var/edg-rgma/rgma-defaults | grep -i props

RGMA_PROPS=/opt/edg/var/edg-rgma

)

 

What needs to be changed ?

 

-----Message d'origine-----
De : LHC Computer Grid - Rollout [mailto:[log in to unmask]] De
la part de Steve Traylen
Envoyé : dimanche 20 février 2005 16:02
À : [log in to unmask]
Objet : Re: [LCG-ROLLOUT] R-GMA test failed

 

On Sun, Feb 20, 2005 at 04:14:58PM +0300 or thereabouts, Anatoly Oreshkin
wrote:

> 

> Hello,

> 

> I've installed LCG-2_3_0  UI, CE, SE on RH 7.3.

> 

> When I'm trying to test R-GMA I've got  error messages:

> 

> checking the status of the servlets...

> 

> path=http://lcgic01.gridpp.rl.ac.uk:8080/R-GMA/SchemaServlet

> Failed to connect to Schema

> path=http://lcgic01.gridpp.rl.ac.uk:8080/R-GMA/RegistryServlet

> Failed to connect to Registry

 

Hi Anatoly,

 

 Please see:

 

 http://goc.grid.sinica.edu.tw/gocwiki/Failed_to_connect_to_Schema

 

   Steve

 

> 

> Full test output is in mail attachement.

> Why Failed to connect to Schema and Registry in lcgic01.gridpp.rl.ac.uk ?

> What might be the reasons for these errors ?

> 

> When I've run /opt/edg/sbin/test/edg-rgma-run-examples

> I've got erros too.

> Output is attached to mail too.

> 

> My /opt/edg/var/edg-rgma/rgma.props is attached to mail.

> 

> Thank you.

> 

> Anatoly.

 

> 

> R-GMA Site System Test

> 

> Finding EDG_LOCATION...

> 

> EDG_LOCATION=/opt/edg found.

> 

> Trying to set up the R-GMA enviroment and obtain RGMA_PROPS...

> 

> RGMA_PROPS=/opt/edg/var/edg-rgma found.

> 

> Checking that ports 8080 and 8088 on IC and MON servers are accessible...

> 

> Connect to 8080 () TCP port MON server: OK from inside domain

> Connect to 8088 () TCP port MON server: OK from inside domain

> 

> Warning: ensure that ports 8080 and 8088 of the MON server are visible
externally!

> 

> 

> Check Registry location is consistent...

> 

> The two files contain the same registry URL

> 

> Checking the status of the servlets...

> 

> path=http://lcgic01.gridpp.rl.ac.uk:8080/R-GMA/SchemaServlet

> Failed to connect to Schema

> path=http://lcgic01.gridpp.rl.ac.uk:8080/R-GMA/RegistryServlet

> Failed to connect to Registry

> path=http://pcfarm.pnpi.spb.ru:8080/R-GMA/StreamProducerServlet

> StreamProducerServlet OK

> path=http://pcfarm.pnpi.spb.ru:8080/R-GMA/LatestProducerServlet

> LatestProducerServlet OK

> path=http://pcfarm.pnpi.spb.ru:8080/R-GMA/ConsumerServlet

> ConsumerServlet OK

> 

> Checking the R-GMA command line interface...

> 

> R-GMA command line interface: OK.

> 

> Checking Schema...

> 

> Service not found in schema

> ServiceStatus not found in schema

> 

> Checking for site RGMA in Service and Service Status Tables...

> R-GMA.ConsumerService: Failed

> R-GMA.StreamProducerService: Failed

> R-GMA.ArchiverService: Failed

> R-GMA.CanonicalProducerService: Failed

> R-GMA.DBProducerService: Failed

> R-GMA.LatestProducerService: Failed

> 

> Checking for Registry and Schema Services runing at your site...

> Info: R-GMA.RegistryService not running at this site

> Info: R-GMA.SchemaService not running at this site

> 

> Please check the above information is correct for your site

 

> 

> Configuring...

> 

> Building...

> /opt/gcc-3.2.2/bin/g++-3.2.2 -I/opt/edg/include -c producer.cpp

> /opt/gcc-3.2.2/bin/g++-3.2.2 producer.o -o producer -L/opt/edg/lib
-lrgma-cpp -lxerces-c1_7_0 -lssl -Wl,-rpath /usr/local/lib -Wl,-rpath
/opt/edg/lib

> /opt/gcc-3.2.2/bin/gcc-3.2.2 -I/opt/edg/include -c producer.c

> /opt/gcc-3.2.2/bin/gcc-3.2.2 producer.o -o producer -L/opt/edg/lib
-L/opt/edg/lib -lrgma-c -lrgma-cpp -lxerces-c1_7_0 -lssl -Wl,-rpath
/usr/local/lib -Wl,-rpath /opt/edg/lib

> javac -classpath /opt/edg/share/java/info.jar Producer.java

> 

> Executing...

> testing cpp examples

> Predicate: WHERE (userId = [log in to unmask])

> Exception Cannot declareTable: table description not defined in the Schema

> testing c examples

> 

>      R-GMA API Error

> File    : StreamProducer_API_c.cpp

> Function: StreamProducer__declareTable_StringString

> Error   : Cannot declareTable: table description not defined in the Schema

> Errno   : 0 (0)

> 

> 

>      R-GMA API Error

> File    : StreamProducer_API_c.cpp

> Function: StreamProducer__insert_String

> Error   : Table hasn't been declared: userTable

> Errno   : 0 (0)

> 

> Predicate: WHERE (userId = [log in to unmask])

> INSERT INTO userTable (userId, aString, aReal, anInt) VALUES
([log in to unmask], 'C producer', 3.1415962, 42)

> testing java examples

> Predicate: WHERE (userId = [log in to unmask])

> Exception org.edg.info.RGMAException: Cannot declareTable: table
description not defined in the Schema

> TEST FAILED

 

> Archiver=http://pcfarm.pnpi.spb.ru:8080/R-GMA/ArchiverServlet

> Consumer=http://pcfarm.pnpi.spb.ru:8080/R-GMA/ConsumerServlet

> StreamProducer=http://pcfarm.pnpi.spb.ru:8080/R-GMA/StreamProducerServlet

> LatestProducer=http://pcfarm.pnpi.spb.ru:8080/R-GMA/LatestProducerServlet

>
CanonicalProducer=http://pcfarm.pnpi.spb.ru:8080/R-GMA/CanonicalProducerServ
let

> DataBaseProducer=http://pcfarm.pnpi.spb.ru:8080/R-GMA/DBProducerServlet

> Registry=http://lcgic01.gridpp.rl.ac.uk:8080/R-GMA/RegistryServlet

> Schema=http://lcgic01.gridpp.rl.ac.uk:8080/R-GMA/SchemaServlet

> XMLConverter=/opt/edg/var/edg-rgma/XMLResponse.xsd

> leapsecLocation=/opt/edg/var/edg-rgma/leapsec.dat

 

 

--

Steve Traylen

[log in to unmask]

http://www.gridpp.ac.uk/