Menu

mi-hostname-standalone

2013-05-31
2013-07-09
  • Liam Thompson

    Liam Thompson - 2013-05-31
     
  • Liam Thompson

    Liam Thompson - 2013-05-31

    Hi everyone

    I'm working through the examples from the SVN directory, and have started with the mi-hostname-standalone. I am having some problems running the application, and have attached the output in the attached files (output.txt).

    There seem to be 3 errors that I get,

    1. Failed to load engine properties, using defaults [./etc/jsaga-config.properties (No such file or directory)]

    2. the catania-grid-engine files that I copied to the /opt/../../domains/liferay/lib directory are listed in the CLASSPATH. There are no compilation errors either. However this file (jsaga-config.properties) is not on my computer, nor on our server with a similar installation. Perhaps it is not a problem ?

    3. NoSuccess: IncorrectState: Missing attribute(s): <CertRepository>

    and directly afterwards

    1. Cause :IncorrectState: Missing attribute(s): <CertRepository>

    Possibly certificate problems, I'm not sure. I have searched online but have not found anything that helps.

    If I run the same standalone code on the server (ray.core.wits.ac.za), which obviously does not have my personal certificates installed on it (but has the certificate and key from SAGrid CA installed in /etc/pki/tls/certs/ and the key in /private directory), I get the following (all other output messages are the same).

    [submitJob] INFO  RobotProxy  - ----->New GET HTTP<--------
    [submitJob] INFO  RobotProxy  - proxyPath=/tmp/9bed76fb-93d7-40d5-ad38-5d38987b4cf5
    [submitJob] INFO  JobServicesDispatcher  - Creating a new Session...
    [submitJob] INFO  JobServicesDispatcher  - UrlPrefix
    [submitJob] ERROR JobServicesDispatcher  - Error in reading user proxy...
    [submitJob] ERROR JobServicesDispatcher  - NoSuccess: java.io.FileNotFoundException:  (No such file or directory)
    [submitJob] ERROR JobServicesDispatcher  - Cause :java.io.FileNotFoundException:  (No such file or directory)
    [submitJob] ERROR JobServicesDispatcher  - Error in reading user proxy...
    [submitJob] ERROR JobServicesDispatcher  - java.lang.NullPointerException
    [submitJob] ERROR JobServicesDispatcher  - Cause :null
    

    And this output just repeats until I stop the process. Obviously it is not finding a file, but which one (something to do with the user proxy), and where do I find the information for this

    Also, if I change the server parameters (like the WMS and BDII) to the servers for South Africa (taken from http://roc.africa-grid.org/index.php?option=com_content&view=article&id=1160&Itemid=484), I get the same errors.

    Any suggestions ?

    Thanks
    Liam

     
    • Diego Scardaci

      Diego Scardaci - 2013-05-31

      Hi Liam,

      Failed to load engine properties, using defaults [./etc/jsaga-config.properties (No such file or directory)]

      the catania-grid-engine files that I copied to the /opt/../../domains/liferay/lib directory are listed in the CLASSPATH. There are no compilation errors either. However this file (jsaga-config.properties) is not on my computer, nor on our server with a similar installation. Perhaps it is not a problem ?

      This is only a warning, not an error. You should ignore it. The JSAGA engine uses the default configuration.

      Your third problem seems regarding the proxy.

      First of all you should check if your eTokenServer is properly working.

      Put in your browser the following URL

      http://etoken.sagrid.ac.za:8082/eTokenServer/eToken/21057?voms=sagrid:sagrid&proxy-renewal=true

      and check if you get a good proxy.

      Cheers,
      Diego

       
      • Liam Thompson

        Liam Thompson - 2013-06-03

        Ciao Diego

        Grazie for the reply. I put the link you added and I get "No route to host". I get the same if I try it with "wget -p" from the server. I will post to Bruce and the ROC-africa-grid-support. Perhaps it is not working yet.

         
        • Diego Scardaci

          Diego Scardaci - 2013-06-03

          Ciao Liam,
          if your e-token server is not ready yet, you could use the e-token server installed here in Catania.
          My colleague Giuseppe La Rocca could give you access.

          Diego

           
      • Liam Thompson

        Liam Thompson - 2013-06-06

        Hi Diego

        Now that the firewall on the etokenserver.ct.infn.it is open to our server IP, I've been trying to get the standalone-hostname working.

        However I am getting the same errors as my previous attempts, so there is something else not configurd properly my side.

        [submitJob] ERROR JobServicesDispatcher  - Error in reading user proxy...
        [submitJob] ERROR JobServicesDispatcher  - NoSuccess: IncorrectState: Missing attribute(s): <CertRepository>
        [submitJob] ERROR JobServicesDispatcher  - Cause :IncorrectState: Missing attribute(s): <CertRepository>
        [submitJob] ERROR JobServicesDispatcher  - Error in reading user proxy...
        

        I have changed the server attributes in jobmanager.java, however I can't seem to locate where CertRepository might be specified, so that I can se what needs changing.

        I have attached the log file so you can see what is going on my side.

        Any ideas ?

        Thanks
        Liam

         
        • Diego Scardaci

          Diego Scardaci - 2013-06-06

          Ciao Liam,
          could you, please, try again now?

          Cheers,
          Diego

           
          • Liam Thompson

            Liam Thompson - 2013-06-06

            Diego

            I tried again, but now the errors are "java.io.FileNotFoundException: (No such file or directory)". I don't know which file it is unable to find.

            Do you think my infrastructure setup in jobmanager.java is ok ? I just replaced what I thought was needed.

                enableInfrastructure : 'yes'
                nameInfrastructure   : 'sagrid-Support infrastructure'
                acronymInfrastructure: 'sagrid'
                bdiiHost             : 'ldap://srvslngrd001.uct.ac.za:2170'
                wmsHosts             : 'wms://srvslngrd010.uct.ac.za:7443'
                pxServerHost         : 'myproxy.ct.infn.it'
                pxServerPort         : '8082'
                pxRobotId            : '21057'
                pxRobotRole          : 'sagrid'
                pxRobotVO            : 'sagrid'
                pxRobotRenewalFlag   : 'true'
                pxUserProxy          : ''
                softwareTags         : ''
            

            As before, I've attached the output log.

            ciao
            Liam

             
            • Giuseppe La Rocca

              Ciao Liam,

              I've enabled your IP on etokenserver.ct.infn.it not myproxy.ct.infn.it.

              Please, change your portlet settings as follows:

              pxServerHost = etokenserver.ct.infn.it
              pxServerPort = 8082
              pxRobotId = 332576f78a4fe70a52048043e90cd11f

              and try again.

              Cheers,
              ~ Giuseppe

              On 06/06/2013 02:52 PM, Liam Thompson wrote:

              Diego

              I tried again, but now the errors are "java.io.FileNotFoundException:
              (No such file or directory)". I don't know which file it is unable to
              find.

              Do you think my infrastructure setup in jobmanager.java is ok ? I just
              replaced what I thought was needed.

               enableInfrastructure  :  'yes'
               nameInfrastructure    :  'sagrid-Support infrastructure'
               acronymInfrastructure:  'sagrid'
               bdiiHost              :  'ldap://srvslngrd001.uct.ac.za:2170'
               wmsHosts              :  'wms://srvslngrd010.uct.ac.za:7443'
               pxServerHost          :  'myproxy.ct.infn.it'
               pxServerPort          :  '8082'
               pxRobotId             :  '21057'
               pxRobotRole           :  'sagrid'
               pxRobotVO             :  'sagrid'
               pxRobotRenewalFlag    :  'true'
               pxUserProxy           :  ''
               softwareTags          :  ''
              

              As before, I've attached the output log.

              ciao
              Liam


              mi-hostname-standalone
              https://sourceforge.net/p/ctsciencegtwys/discussion/general/thread/5bc5102b/?limit=25#cfc4/b899/7230/98b6/86c6


              Sent from sourceforge.net because you indicated interest in
              https://sourceforge.net/p/ctsciencegtwys/discussion/general/

              To unsubscribe from further messages, please visit
              https://sourceforge.net/auth/subscriptions/


              Sg-licence mailing list
              Sg-licence@ct.infn.it
              https://mailman.ct.infn.it/mailman/listinfo/sg-licence

              --


              Giuseppe LA ROCCA
              INFN - National Institute of Nuclear Physics
              Via Santa Sofia, no. 64
              95123 Catania - ITALY
              Phone +39 (095)3785519
              Fax +39 (095)337938
              Email giuseppe.larocca(at)ct.infn.it
              Skype giuseppelarocca


               
            • Giuseppe La Rocca

              Ciao Liam,

              I've enabled your IP on etokenserver.ct.infn.it not myproxy.ct.infn.it.

              Please, change your portlet settings as follows:

              pxServerHost = etokenserver.ct.infn.it
              pxServerPort = 8082
              pxRobotId = 332576f78a4fe70a52048043e90cd11f

              and try again.

              Cheers,
              ~ Giuseppe

              On 06/06/2013 02:52 PM, Liam Thompson wrote:

              Diego

              I tried again, but now the errors are "java.io.FileNotFoundException:
              (No such file or directory)". I don't know which file it is unable to
              find.

              Do you think my infrastructure setup in jobmanager.java is ok ? I just
              replaced what I thought was needed.

               enableInfrastructure  :  'yes'
               nameInfrastructure    :  'sagrid-Support infrastructure'
               acronymInfrastructure:  'sagrid'
               bdiiHost              :  'ldap://srvslngrd001.uct.ac.za:2170'
               wmsHosts              :  'wms://srvslngrd010.uct.ac.za:7443'
               pxServerHost          :  'myproxy.ct.infn.it'
               pxServerPort          :  '8082'
               pxRobotId             :  '21057'
               pxRobotRole           :  'sagrid'
               pxRobotVO             :  'sagrid'
               pxRobotRenewalFlag    :  'true'
               pxUserProxy           :  ''
               softwareTags          :  ''
              

              As before, I've attached the output log.

              ciao
              Liam


              mi-hostname-standalone
              https://sourceforge.net/p/ctsciencegtwys/discussion/general/thread/5bc5102b/?limit=25#cfc4/b899/7230/98b6/86c6


              Sent from sourceforge.net because you indicated interest in
              https://sourceforge.net/p/ctsciencegtwys/discussion/general/

              To unsubscribe from further messages, please visit
              https://sourceforge.net/auth/subscriptions/


              Sg-licence mailing list
              Sg-licence@ct.infn.it
              https://mailman.ct.infn.it/mailman/listinfo/sg-licence

              --


              Giuseppe LA ROCCA
              INFN - National Institute of Nuclear Physics
              Via Santa Sofia, no. 64
              95123 Catania - ITALY
              Phone +39 (095)3785519
              Fax +39 (095)337938
              Email giuseppe.larocca(at)ct.infn.it
              Skype giuseppelarocca


               
              • Liam Thompson

                Liam Thompson - 2013-06-07

                Hi Giuseppe

                Progress, it seems to be almost working. I am getting a 403 Forbidden error just after job submission. The output is attached in the following file. I tried the different BDII settings, but it didn't seem to make a difference.

                Any ideas ?

                Thanks
                Liam

                 
  • Diego Scardaci

    Diego Scardaci - 2013-06-07

    Hi Liam,
    it seems a WMS problem. Try with another one.

    Cheers,
    Diego

     
    • Liam Thompson

      Liam Thompson - 2013-06-07

      Hi Diego

      We only have 1 WMS on SAGrid (that I know of and is listed on ROC). I changed the settings as follows to use some of the EUMED infrastructure (not sure if it is accessible for me):

      bdii - infnlns-ce-01.ct.pi2s2.it
      with the following WMS options & VO=sagrid
      
      wms-01.eumedgrid.eu - connection timeout
      rb-eugrid.eri.sci.eg - connection timeout
      wms-4.dir.garr.it - 403 Forbidden
      wms-01.eumedgrid.eu - connection timeout
      rb.isabella.grnet.gr - java.net.UnknownHostException
      wms.ulakbim.gov.tr - 403 Forbidden
      
      bdii - infnlns-ce-01.ct.pi2s2.it
      with the following WMS options & VO=eumed
      
      wms-01.eumedgrid.eu - connection timeout
      rb-eugrid.eri.sci.eg - connection timeout
      wms-4.dir.garr.it - 403 Forbidden
      wms-01.eumedgrid.eu - connection timeout
      rb.isabella.grnet.gr - java.net.UnknownHostException
      wms.ulakbim.gov.tr - 403 Forbidden
      

      I'm not sure what else to try. I don't suppose the settings you use would work this side would they ?

      Thanks
      Liam

       

      Last edit: Liam Thompson 2013-06-07
      • Riccardo Bruno

        Riccardo Bruno - 2013-06-07

        Liam,

        To use EUMEDGRID you have to change several setting on the portlet server related to the robot proxy, sinche the original Robot Certificate has expired a couple of weeks ago. To continue your testings you can anyhow use:

        Host: etokenserver.ct.infn.it
        Port: 8082
        PxId: 332576f78a4fe70a52048043e90cd11f
        Pxvo:eumed
        PxRole:eumed
        PxRenewal=true

        Sorry for the little inconvenient, the old Robot will be renewed ASAP.
        Best regards,
        Riccardo Bruno
        INFN Sez. Catania
        Via S.Sofia, 64
        95123 Catania
        Italy
        Tel. +39-095-378-5517
        Fax. +39-095-378-5518
        Skype. ct-brunor

        On 07/giu/2013, at 14:04, "Liam Thompson" liamthompson@users.sf.net wrote:

        Hi Diego

        We only have 1 WMS on SAGrid (that I know of and is listed on ROC). I changed the settings as follows to use some of the EUMED infrastructure (not sure if it is accessible for me):

        bdii - infnlns-ce-01.ct.pi2s2.it
        with the following WMS options & VO=sagrid

        wms-01.eumedgrid.eu - connection timeout
        rb-eugrid.eri.sci.eg - connection timeout
        wms-4.dir.garr.it - 403 Forbidden
        wms-01.eumedgrid.eu - connection timeout
        rb.isabella.grnet.gr - java.net.UnknownHostException
        wms.ulakbim.gov.tr - 403 Forbidden

        bdii - infnlns-ce-01.ct.pi2s2.it
        with the following WMS options & VO=eumed

        wms-01.eumedgrid.eu - connection timeout
        rb-eugrid.eri.sci.eg - connection timeout
        wms-4.dir.garr.it - 403 Forbidden
        wms-01.eumedgrid.eu - connection timeout
        rb.isabella.grnet.gr - java.net.UnknownHostException
        wms.ulakbim.gov.tr - 403 Forbidden

        I'm not sure what else to try. I don't suppose the settings you use would work this side would they ?

        Thanks
        Liam

        mi-hostname-standalone

        Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/ctsciencegtwys/discussion/general/

        To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/


        Sg-licence mailing list
        Sg-licence@ct.infn.it
        https://mailman.ct.infn.it/mailman/listinfo/sg-licence

         
        • Liam Thompson

          Liam Thompson - 2013-06-07

          Hi Riccardo

          Apologies, I did not make it clearer on the previous question. I was using the settings you have suggested, but I am still getting the errors.

          I was wondering which combination of WMS and BDII you are using at Catania ? Would they work for me ? I'm am just trying to determine where the configuration problem lies.

          I am open to any and all suggestions.

          Thanks
          Liam

           

          Last edit: Liam Thompson 2013-06-07
  • Liam Thompson

    Liam Thompson - 2013-07-09

    Hi guys

    I got some settings from Bruce for the mi-hostname-standalone, ticket 556 from ops.sagrid.ac.za.

    WMS - srvslngrd001.uct.ac.za
    BDII - srvslngrd010.uct.ac.za

    I also upgraded the GridEngine 1.5.1 to as per instructions on the Wiki. I tried running the mi-hostname-standalone on the server, but I am now getting alot of errors. I also cannot successfully compile the code on the server, something has changed, but I don't know what.

    I was wondering perhaps if this was a result of me upgrading the GridEngine. I have attached the job output.

    Thanks
    Liam

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.