IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Unable to start CentraSite Registry Repository

webMethods Community Member

webMethods Community MemberThu September 01, 2016 09:21 AM

  • 1.  Unable to start CentraSite Registry Repository

    Posted Thu September 01, 2016 05:16 AM

    Hi All,

    Good day to you.

    I am new to CentraSite. I am trying to install and configure the same.

    I have started Run time and when I am trying to start Registry Repository using inoadmin I am getting the below error,

    ./inoadmin: error while loading shared libraries: libAdminAPI4C.so: cannot open shared object file: No such file or directory.

    I tried to install the missing libraries but no luck.

    Can someone help me to get rid of this error.

    Regards,
    Venkat.


    #webMethods
    #CentraSite
    #API-Management


  • 2.  RE: Unable to start CentraSite Registry Repository

    Posted Thu September 01, 2016 06:02 AM

    Hi

    Which version of CentraSite you are trying to install?

    Did you tried running centrasite_setenv.sh and starting the server?


    #webMethods
    #CentraSite
    #API-Management


  • 3.  RE: Unable to start CentraSite Registry Repository

    Posted Thu September 01, 2016 06:36 AM

    Hi Srikanth,

    Thank you for the reply.

    I am trying to configure webMethods 9.9 version.

    Yes I executed ./centrasite_setenv.sh before starting the repository.

    FYI: I am trying to install this on Amazon AWS Linux box.

    Regards,
    Venkat.


    #CentraSite
    #webMethods
    #API-Management


  • 4.  RE: Unable to start CentraSite Registry Repository

    Posted Thu September 01, 2016 06:43 AM

    Can you please try the below?

    To run the inoadmin command first set the environment.
    Source the script centrasite_setenv.sh like this:

    . ./centrasite_setenv.sh

    [dot] [space] [dot]/centrasite_setenv.sh,
    Sourcing the script this way will set the environment variables for the process so that they are still available after the script is run.

    Afterwards now able to use the inoadmin command.

    From the command line basic information can be gotten by issuing the inoadmin command:

    SoftwareAG/CentraSite/bin> inoadmin


    #API-Management
    #CentraSite
    #webMethods


  • 5.  RE: Unable to start CentraSite Registry Repository

    Posted Thu September 01, 2016 06:44 AM

    Also have a look at empower. There are lot of cases raised with the same issue.


    #webMethods
    #API-Management
    #CentraSite


  • 6.  RE: Unable to start CentraSite Registry Repository

    Posted Thu September 01, 2016 06:58 AM

    Hi Srikanth,

    I ran . ./centrasite_setenv.sh and after that when I tried to start repository using

    ./inoadmin start CentraSite , I am getting the below errors,

    ./inoadmin start CentraSite
    INODST1781: Start of CentraSite server startup processing on Linux x86_64
    INODSI2271: Start server ‘CentraSite’
    INODSE2274: Server died during startup
    INODSF1436: Terminated with errors

    Regards,
    Venkat.


    #webMethods
    #CentraSite
    #API-Management


  • 7.  RE: Unable to start CentraSite Registry Repository

    Posted Thu September 01, 2016 07:23 AM

    Hello Venkat,

    Can you share the wrapper.log from profiles?


    #CentraSite
    #API-Management
    #webMethods


  • 8.  RE: Unable to start CentraSite Registry Repository

    Posted Thu September 01, 2016 09:19 AM

    Hi Srikanth,

    This time I am getting some different error while trying to start CentraSiteRR as below,

    ./inoadmin start CentraSiteRR
    INODST1781: Start of CentraSite server startup processing on Linux x86_64
    INODSI2271: Start server ‘CentraSiteRR’
    INODSF1261: Assertion failed: cf_get_dbid(pDbName, &iDbid) == REG_R_OK
    INODSF1454: Internal error occurred: location iobsig.c 1533. Server stopped.
    INODSF1436: Terminated with errors

    wrapper.log file is throwing errors like,

    jvm 1 | 2016/09/01 07:13:02 | [Thu Sep 01 07:13:02 EDT 2016],Failed to connect to Realm on attempt 2 - nSessionAttributes:conns=1/[nsp://ip-10-208-18-82.localdomain.localdomain:9000/] - com.pcbsys.nirvana.client.nRealmUnreachableException: Realm is currently not reachable:com.pcbsys.foundation.base.fException: Retry count=1 exceeded attempting to connect to host - [nsp://ip-10-208-18-82.localdomain.localdomain:9000/]

    where url ( ip-10-… ) was an old hostname which has been changed to different one. But still it is referring the old hostname somewhere. I am trying to fetch that file from where it is referring the old hostname.

    Regards,
    Venkat.


    #CentraSite
    #API-Management
    #webMethods


  • 9.  RE: Unable to start CentraSite Registry Repository

    Posted Thu September 01, 2016 09:21 AM

    Is this the log file from profiles/CTP/logs ?


    #CentraSite
    #API-Management
    #webMethods


  • 10.  RE: Unable to start CentraSite Registry Repository

    Posted Thu September 01, 2016 09:24 AM

    Yes it is from wrapper.log file under /profiles/CTP/logs


    #CentraSite
    #API-Management
    #webMethods


  • 11.  RE: Unable to start CentraSite Registry Repository

    Posted Thu September 01, 2016 09:26 AM

    Hello Venkat

    Can you share the full wrapper.log?


    #API-Management
    #CentraSite
    #webMethods


  • 12.  RE: Unable to start CentraSite Registry Repository

    Posted Thu September 01, 2016 09:48 AM

    Attaching both wrapper.log and sag-osgi.log files for your reference.
    sag-osgi.log (243 KB)
    wrapper.log (384 KB)


    #API-Management
    #webMethods
    #CentraSite


  • 13.  RE: Unable to start CentraSite Registry Repository

    Posted Thu September 01, 2016 10:03 AM

    Venkat,

    You might want to look at these from the wrapper.log.

    INFO | jvm 1 | 2016/09/01 07:34:14 | javax.xml.registry.JAXRException: java.net.UnknownHostException: ip-10-208-18-82.localdomain
    INFO | jvm 1 | 2016/09/01 07:34:14 | at com.centrasite.jaxr.ConnectionImpl.createConnectionFactory(ConnectionImpl.java:362)
    INFO | jvm 1 | 2016/09/01 07:34:14 | at com.centrasite.jaxr.ConnectionImpl.setCredentials(ConnectionImpl.java:148)
    INFO | jvm 1 | 2016/09/01 07:34:14 | at com.centrasite.appSrvReg.ApplicationServerRegistration.connect(ApplicationServerRegistration.java:1122)
    INFO | jvm 1 | 2016/09/01 07:34:14 | at com.centrasite.appSrvReg.ApplicationServerRegistration.isRegistered(ApplicationServerRegistration.java:322)
    INFO | jvm 1 | 2016/09/01 07:34:14 | at com.softwareag.centrasite.server.CentraSiteServer.registerApplicationServerTier(CentraSiteServer.java:172)
    INFO | jvm 1 | 2016/09/01 07:34:14 | at com.softwareag.centrasite.server.CentraSiteServer.access$000(CentraSiteServer.java:38)
    INFO | jvm 1 | 2016/09/01 07:34:14 | at com.softwareag.centrasite.server.CentraSiteServer$1.run(CentraSiteServer.java:136)
    INFO | jvm 1 | 2016/09/01 07:34:14 | Caused by: java.net.UnknownHostException: ip-10-208-18-82.localdomain
    INFO | jvm 1 | 2016/09/01 07:34:14 | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
    INFO | jvm 1 | 2016/09/01 07:34:14 | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    INFO | jvm 1 | 2016/09/01 07:34:14 | at java.net.Socket.connect(Socket.java:589)
    INFO | jvm 1 | 2016/09/01 07:34:14 | at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)
    INFO | jvm 1 | 2016/09/01 07:34:14 | at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173)
    INFO | jvm 1 | 2016/09/01 07:34:14 | at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
    INFO | jvm 1 | 2016/09/01 07:34:14 | at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
    INFO | jvm 1 | 2016/09/01 07:34:14 | at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
    INFO | jvm 1 | 2016/09/01 07:34:14 | at sun.net.www.protocol.https.HttpsClient.(HttpsClient.java:264)
    INFO | jvm 1 | 2016/09/01 07:34:14 | at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
    INFO | jvm 1 | 2016/09/01 07:34:14 | at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
    INFO | jvm 1 | 2016/09/01 07:34:14 | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1105)
    INFO | jvm 1 | 2016/09/01 07:34:14 | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:999)
    INFO | jvm 1 | 2016/09/01 07:34:14 | at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
    INFO | jvm 1 | 2016/09/01 07:34:14 | at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:153)
    INFO | jvm 1 | 2016/09/01 07:34:14 | at com.softwareag.centrasite.dynloaderext.DynamicJarRetriever.obtainRedistContents(DynamicJarRetriever.java:479)
    INFO | jvm 1 | 2016/09/01 07:34:14 | at com.softwareag.centrasite.dynloaderext.DynamicJarRetriever.obtainJars(DynamicJarRetriever.java:142)
    INFO | jvm 1 | 2016/09/01 07:34:14 | at com.softwareag.centrasite.dynloaderext.DynamicJarHandler.obtainClassLoader(DynamicJarHandler.java:215)
    INFO | jvm 1 | 2016/09/01 07:34:14 | at com.softwareag.centrasite.dynloaderext.DynamicJarHandler.obtainClass(DynamicJarHandler.java:88)
    INFO | jvm 1 | 2016/09/01 07:34:14 | at com.softwareag.centrasite.dynloader.DynamicJarHandler.obtainClass(DynamicJarHandler.java:55)
    INFO | jvm 1 | 2016/09/01 07:34:14 | at com.centrasite.jaxr.ConnectionImpl.createConnectionFactory(ConnectionImpl.java:357)
    INFO | jvm 1 | 2016/09/01 07:34:14 | … 6 more
    INFO | jvm 1 | 2016/09/01 07:34:14 | Exception in thread “Thread-35” java.lang.RuntimeException: javax.xml.registry.JAXRException: java.net.UnknownHostException: ip-10-208-18-82.localdomain


    #API-Management
    #webMethods
    #CentraSite


  • 14.  RE: Unable to start CentraSite Registry Repository

    Posted Thu September 01, 2016 10:04 AM

    are you able to ping with the host name (ip-10-208-18-82.localdomain)?

    I think its not able to resolve this name.


    #CentraSite
    #API-Management
    #webMethods


  • 15.  RE: Unable to start CentraSite Registry Repository

    Posted Tue September 06, 2016 10:00 AM

    Hi Srikanth,

    Thank you for the reply.

    Yes it seems like it is not able to resolve the hostname.

    Actually there was a sequence of changes to the IP and hostname of the machine from the time of installation. Even though I have updated the appropriate files with new hostname and IP details at the backend, it is still referring to the old host name.

    I am trying to figure out from where it is picking the old host name. If not I will try to re-install and see.

    I will update once I am done with any of the above steps.

    Regards,
    Venkat.


    #CentraSite
    #API-Management
    #webMethods


  • 16.  RE: Unable to start CentraSite Registry Repository

    Posted Thu September 08, 2016 06:38 PM

    Hi Venkat,

    Follow the below mentioned steps to startup the CRR from the directory /CentraSite/bin

    . ./centrasite_setenv.sh
    ./inoadmin.sh start CentraSite

    Thanks & Regards,
    Jeevan


    #API-Management
    #CentraSite
    #webMethods