Print

Print


Hi

This is a python version problem

You may find this link helpful http://goc.grid.sinica.edu.tw/gocwiki/Python_version_problem

Regards
Antony

> -----Original Message-----
> From: LHC Computer Grid - Rollout 
> [mailto:[log in to unmask]] On Behalf Of Juan 
> Jose Pardo Navarro
> Sent: 11 May 2005 13:06
> To: [log in to unmask]
> Subject: Re: [LCG-ROLLOUT] R-GMA
> 
> 
> I test:
> 
> rgma-client-check [OK]
> rgma-server-check [OK]
> 
> 
> but I see :
> 
> RGMAService Check
> Result: note
> alert_history
> info.gif
> 
> MEASUREMENT TIME    UP                                        
>           SERVICE URI  MESSAGE
> 2005-05-11 11:54:15  n           
> http://grid013.ft.uam.es:8080/R-GMA/BrowserServlet  'in' or 
> 'not in' needs sequence right argument
> 2005-05-11 11:54:15  n    
> http://grid013.ft.uam.es:8080/R-GMA/StreamProducerServlet  
> 'in' or 'not in' needs sequence right argument
> 2005-05-11 11:54:15  n    
> http://grid013.ft.uam.es:8080/R-GMA/LatestProducerServlet  
> 'in' or 'not in' needs sequence right argument
> 2005-05-11 11:54:15  n        
> http://grid013.ft.uam.es:8080/R-GMA/DBProducerServlet  'in' 
> or 'not in' needs sequence right argument
> 2005-05-11 11:54:15  n 
> http://grid013.ft.uam.es:8080/R-GMA/CanonicalProducerServlet  
> 'in' or 'not in' needs sequence right argument
> 2005-05-11 11:54:14  n          
> http://grid013.ft.uam.es:8080/R-GMA/ArchiverServlet  'in' or 
> 'not in' needs sequence right argument
> 2005-05-11 11:54:15  n          
> http://grid013.ft.uam.es:8080/R-GMA/ConsumerServlet  'in' or 
> 'not in' needs sequence right argument
> 
> ALERT MESSAGES
>  BrowserServlet is down!
>  StreamProducerServlet is down!
>  LatestProducerServlet is down!
>  DBProducerServlet is down!
>  CanonicalProducerServlet is down!
>  ArchiverServlet is down!
>  ConsumerServlet is down!
> 
> where is the problem ?
> 
> 
> 
> 
> 
> 
> 1. rgma-client-check [OK]
> 
> % /opt/edg/bin/rgma-client-check
> 
> *** Running R-GMA client tests on grid013.ft.uam.es ***
> 
> Checking C API: Done.
> Success
> Checking C++ API: Success
> Checking Python API: Success
> Checking Java API: Success
> 
> Checking for safe arrival of tuples, please wait... Success
> 
> *** R-GMA client test successful ***
> 
> 
> 2. rgma-server-check [OK]
> % python2 /opt/edg/bin/rgma-server-check
> 
> *** Running R-GMA server tests on grid013.ft.uam.es ***
> 
> Checking servlets...
> Connecting to http://grid013.ft.uam.es:8080/R-GMA/ConsumerServlet:OK
> Connecting to streaming port 8088 on grid013.ft.uam.es:OK 
> Connecting to 
> http://grid013.ft.uam.es:8080/R-GMA/StreamProducerServlet:OK
> Connecting to 
> http://grid013.ft.uam.es:8080/R-GMA/LatestProducerServlet:OK
> Connecting to http://grid013.ft.uam.es:8080/R-GMA/DBProducerServlet:OK
> Connecting to 
> http://grid013.ft.uam.es:8080/R-GMA/CanonicalProducerServlet:OK
> Connecting to http://grid013.ft.uam.es:8080/R-GMA/ArchiverServlet:OK
> 
> *** R-GMA server test successful ***
> 
> 
> 
> 
> 
> El mié, 11-05-2005 a las 09:25, Laurence escribió:
> > You now have the upgrade problem. Check the following wiki entry.
> > 
> > 
> http://goc.grid.sinica.edu.tw/gocwiki/Consumer__start_Timeinterval%3aH
> > TML_returned_instead_of_XML
> > 
> > Laurence
> > 
> > Juan Jose Pardo Navarro wrote:
> > 
> > >Hi,
> > >
> > >Now, the rgma-server-check is OK,
> > >but the GIIS is not OK:
> > >
> > >No RGMA Services Found
> > >test:: edg-rgma -c "latest select  ServiceStatus.URI, 
> > >ServiceStatus.up, ServiceStatus.message, 
> > >ServiceStatus.MeasurementDate,  
> ServiceStatus.MeasurementTime  from 
> > >ServiceStatus, Service where  ServiceStatus.URI=Service.URI and  
> > >Service.site='UAM-LCG2'" RGMAServletAccess Matching Results: . 
> > >alert_history info.gif
> > >
> > >
> > >RGMA-SERVER-CHECK
> > >=================
> > >
> > >[root@grid013 edg-rgma]# python2 /opt/edg/bin/rgma-server-check
> > >
> > >*** Running R-GMA server tests on grid013.ft.uam.es ***
> > >
> > >Checking servlets...
> > >Connecting to 
> http://grid013.ft.uam.es:8080/R-GMA/ConsumerServlet:OK
> > >Connecting to streaming port 8088 on grid013.ft.uam.es:OK 
> Connecting 
> > >to http://grid013.ft.uam.es:8080/R-GMA/StreamProducerServlet:OK
> > >Connecting to
> > >http://grid013.ft.uam.es:8080/R-GMA/LatestProducerServlet:OK
> > >Connecting to 
> http://grid013.ft.uam.es:8080/R-GMA/DBProducerServlet:OK
> > >Connecting to
> > >http://grid013.ft.uam.es:8080/R-GMA/CanonicalProducerServlet:OK
> > >Connecting to 
> http://grid013.ft.uam.es:8080/R-GMA/ArchiverServlet:OK
> > >
> > >*** R-GMA server test successful ***
> > >
> > >
> > >
> > >Thanks for all
> > >
> > >
> > >
> > >El mar, 10-05-2005 a las 19:23, Laurence escribió:
> > >  
> > >
> > >>Hi,
> > >>
> > >>I think that this error might be due to you running rh7.3
> > >>
> > >>Try running this command with python2 eg,
> > >>
> > >>python2 /opt/edg/bin/rgma-server-check
> > >>
> > >>Laurence
> > >>
> > >>Juan Jose Pardo Navarro wrote:
> > >>
> > >>    
> > >>
> > >>>When I do the test of R-GMA I get:
> > >>>
> > >>>1. rgma-server-check [FAIL]
> > >>>
> > >>>[root@grid013 root]# rgma-server-check
> > >>> File "/opt/edg/bin/rgma-server-check", line 209
> > >>>   url += "&" + "streamingPort=" + StreamingPort
> > >>>        ^
> > >>>SyntaxError: invalid syntax
> > >>>
> > >>>
> > >>>2. getStatus [OK]
> > >>>
> > >>>http://grid013.ft.uam.es:8080/R-GMA/ArchiverServlet/getStatus
> > >>><col>ArchiverServlet OK</col>
> > >>>
> > >>>http://grid013.ft.uam.es:8080/R-GMA/ConsumerServlet/getStatus
> > >>><col>ConsumerServlet OK</col>
> > >>>
> > 
> >>>http://grid013.ft.uam.es:8080/R-GMA/StreamProducerServlet/getStatus
> > >>><col>StreamProducerServlet OK</col>
> > >>>
> > 
> >>>http://grid013.ft.uam.es:8080/R-GMA/LatestProducerServlet/getStatus
> > >>><col>LatestProducerServlet OK</col>
> > >>>
> > 
> >>>http://grid013.ft.uam.es:8080/R-GMA/CanonicalProducerServlet/getSta
> > >>>tus
> > >>><col>CanonicalProducerServlet OK</col>
> > >>>
> > >>>http://grid013.ft.uam.es:8080/R-GMA/DBProducerServlet/getStatus
> > >>><col>DBProducerServlet OK</col>
> > >>>
> > >>>
> > >>>3. /var/tomcat4/logs/catalina.out
> > >>>
> > >>>Stopping service Tomcat-Insecure
> > >>>Starting service Tomcat-Insecure
> > >>>Apache Tomcat/4.1
> > >>>log4j:WARN No appenders could be found for logger 
> > >>>(org.edg.info.SchemaServlet). log4j:WARN Please initialize the 
> > >>>log4j system properly.
> > >>>
> > >>>
> > >>>thanks for all,
> > >>>
> > >>>Juanjo
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>El mar, 10-05-2005 a las 17:42, Maarten Litmaath escribió:
> > >>> 
> > >>>
> > >>>      
> > >>>
> > >>>>Juan Jose Pardo Navarro wrote:
> > >>>>
> > >>>>   
> > >>>>
> > >>>>        
> > >>>>
> > >>>>>Hi,
> > >>>>>When I type the grant command I get a error of SQL 
> syntax. I have 
> > >>>>>the document: Installing the release
> > >>>>>Date: April 6,2005
> > >>>>>Document status: final
> > >>>>>File: LCG2-LCFG-Install
> > >>>>>
> > >>>>>Is this document the last version ?
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>>% mysql -u root --exec "grant all on accounting.* to \ 
> > >>>>>[log in to unmask] identified by \ 
> > >>>>><password_of_accounting>"
> > >>>>>
> > >>>>>I get:
> > >>>>>
> > >>>>>ERROR 1064 at line 1: You have an error in your SQL syntax.  
> > >>>>>Check the manual that corresponds to your MySQL server version 
> > >>>>>for the right syntax to use near '<password_of_accounting>' at 
> > >>>>>line 1
> > >>>>>
> > >>>>>where is the error??
> > >>>>>     
> > >>>>>
> > >>>>>          
> > >>>>>
> > >>>>The string <password_of_accounting> should be replaced with the 
> > >>>>actual password.
> > >>>>   
> > >>>>
> > >>>>        
> > >>>>
> -- 
> Juan Jose Pardo Navarro <[log in to unmask]>
> UAM
>