VMware Cloud Community
Nisar212
Contributor
Contributor

Hyperic HQ services are not starting

Hi,

I have an issue in starting Hyperic HQ server services. When I try to start HQ server service it stop again with in second or two. I checked log file which shows.

Hyperic Server version: 4.6

Database : oracle 10g

Wrraper log:

STATUS | wrapper  | 2014/12/01 08:24:46 | Launching a JVM...

INFO   | jvm 1    | 2014/12/01 08:24:47 | WrapperManager: Initializing...

INFO   | jvm 1    | 2014/12/01 08:24:51 | [HQServer.main(start)]: Shutdown of type 'AbnormalStop' was request

INFO   | jvm 1    | 2014/12/01 08:24:53 | [HQServer.main(stop)]: Shutdown of type 'NormalStop' was request

STATUS | wrapper  | 2014/12/01 08:24:54 | <-- Wrapper Stopped

STATUS | wrapper  | 2014/12/01 08:32:54 | --> Wrapper Started as Service

STATUS | wrapper  | 2014/12/01 08:32:54 | Java Service Wrapper Community Edition 32-bit 3.5.6

STATUS | wrapper  | 2014/12/01 08:32:54 |   Copyright (C) 1999-2010 Tanuki Software, Ltd. All Rights Reserved.

STATUS | wrapper  | 2014/12/01 08:32:54 |     http://wrapper.tanukisoftware.com

STATUS | wrapper  | 2014/12/01 08:32:54 |

STATUS | wrapper  | 2014/12/01 08:32:55 | Launching a JVM...

INFO   | jvm 1    | 2014/12/01 08:32:55 | WrapperManager: Initializing...

INFO   | jvm 1    | 2014/12/01 08:32:59 | [HQServer.main(start)]: Shutdown of type 'AbnormalStop' was request

INFO   | jvm 1    | 2014/12/01 08:33:00 | [HQServer.main(stop)]: Shutdown of type 'NormalStop' was request

STATUS | wrapper  | 2014/12/01 08:33:02 | <-- Wrapper Stopped

bootstrap log:

2014-12-01 08:32:59,537 ERROR [WrapperStartStopAppMain] [org.hyperic.bootstrap.ProcessManagerImpl@119] Command did not execute successfully (exit code = 1)

2014-12-01 08:32:59,693 ERROR [WrapperStartStopAppMain] [org.hyperic.bootstrap.HQServer@212] Error verifying if HQ schema is valid.  url= null, Cause: java.sql.SQLException: IO Error: NL Exception was generated

java.sql.SQLException: IO Error: NL Exception was generated

at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:419)

at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:536)

at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:228)

at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)

at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)

at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:267)

at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:176)

at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:655)

at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:597)

at org.apache.tomcat.jdbc.pool.ConnectionPool.init(ConnectionPool.java:460)

at org.apache.tomcat.jdbc.pool.ConnectionPool.<init>(ConnectionPool.java:130)

at org.apache.tomcat.jdbc.pool.DataSourceProxy.pCreatePool(DataSourceProxy.java:112)

at org.apache.tomcat.jdbc.pool.DataSourceProxy.createPool(DataSourceProxy.java:99)

at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:123)

at org.hyperic.bootstrap.HQServer.verifySchema(HQServer.java:191)

at org.hyperic.bootstrap.HQServer.start(HQServer.java:146)

at org.hyperic.bootstrap.HQServer.main(HQServer.java:267)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.tanukisoftware.wrapper.WrapperStartStopApp.run(WrapperStartStopApp.java:245)

at java.lang.Thread.run(Thread.java:662)

Caused by: oracle.net.ns.NetException: NL Exception was generated

at oracle.net.resolver.AddrResolution.resolveAddrTree(AddrResolution.java:614)

at oracle.net.resolver.AddrResolution.resolveAndExecute(AddrResolution.java:411)

at oracle.net.ns.NSProtocol.establishConnection(NSProtocol.java:678)

at oracle.net.ns.NSProtocol.connect(NSProtocol.java:238)

at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1054)

at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:308)

... 22 more

2014-12-01 08:33:00,723 INFO  [Wrapper-Stopper] [org.springframework.context.support.ClassPathXmlApplicationContext@456] Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@1594a88: startup date [Mon Dec 01 08:33:00 AST 2014]; root of context hierarchy

2014-12-01 08:33:00,723 INFO  [Wrapper-Stopper] [org.springframework.beans.factory.xml.XmlBeanDefinitionReader@315] Loading XML bean definitions from URL [jar:file:/D:/Program%20Files/Hyperic/server-4.6.5.1-EE/lib/hq-bootstrap-4.6.5.1.jar!/META-INF/spring/bootstrap-context.xml]

2014-12-01 08:33:00,801 INFO  [Wrapper-Stopper] [org.springframework.beans.factory.config.PropertiesFactoryBean@177] Loading properties file from class path resource [hq-server.conf]

2014-12-01 08:33:00,801 INFO  [Wrapper-Stopper] [org.jasypt.spring.properties.EncryptablePropertyPlaceholderConfigurer@177] Loading properties file from class path resource [spring-jdbc.properties]

2014-12-01 08:33:00,801 INFO  [Wrapper-Stopper] [org.jasypt.spring.properties.EncryptablePropertyPlaceholderConfigurer@177] Loading properties file from class path resource [hq-server.conf]

2014-12-01 08:33:00,817 INFO  [Wrapper-Stopper] [org.springframework.beans.factory.support.DefaultListableBeanFactory@555] Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@d3ade7: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,processManagerImpl,HQServer,tomcatEngineController,serverConfiguratorImpl,postgresEmbeddedDatabaseController,tcServerEngineController,org.hyperic.sigar.OperatingSystem#0,org.hyperic.sigar.Sigar#0,jasyptConfiguration,propertyPasswordEncryptor,serverProps,org.jasypt.spring.properties.EncryptablePropertyPlaceholderConfigurer#0,org.apache.tomcat.jdbc.pool.DataSource#0]; root of factory hierarchy

2014-12-01 08:33:00,848 INFO  [Wrapper-Stopper] [org.hyperic.bootstrap.HQServer@156] Stopping HQ server...

2014-12-01 08:33:00,879 INFO  [Wrapper-Stopper] [com.hyperic.bootstrap.TcServerEngineController@96] HQ server not running

can any body help me out in the matter.

Thanks in advance.

0 Kudos
2 Replies
admin
Immortal
Immortal

Hi,

You are using a non supported version of Hyperic.

HQ 5.8.3 is the last official version and in a few weeks HQ 5.8.4 will be delivered.

1. Check in your hq-server.conf file that the jdbc connection is configured properly

2. Verify that oracle DB is up and running.

3. Try to ping to your DB server from the Hyperic server.

Thanks,

Tal

0 Kudos
admin
Immortal
Immortal

As mentioned in the previous reply, 4.6.x is no longer supported.  That being said check the format of the server.database-url value in the hq-server.conf to make sure it should work with your DB.  There may be listener, name or other settings that need to be adjusted.  Verify the jdbc url with your DB admin.

I also found this while doing a little digging.

NL Exception on 10g RAC JDBC

0 Kudos