Hi,

I am trying to convert a secondary ZLM server to a primary ZLM server following

Novell Documentation

All the steps work correctly up until i need to run convertserver.

(I have shutdown the zlm primary server, promoted the secondary nds to master)

zlm-sec:/opt/novell/convertserver # ./convertserver

Converting this server to a primary

Enter the Administrator Password:

Connections could not be acquired from the underlying database!
Datamodel installer failed: com.novell.zenworks.datamodel.exceptions.InternalD ataModelException
com.novell.zenworks.datamodel.exceptions.InternalD ataModelException
at com.novell.zenworks.datamodel.HibernateUtil.initia lize(HibernateUtil.java:137)
at com.novell.zenworks.datamodel.extensions.DirectSer viceStoreImpl.initializeHibernate(DirectServiceSto reImpl.java:670)
at com.novell.zenworks.datamodel.extensions.DirectSer viceStoreImpl.initialize(DirectServiceStoreImpl.ja va:585)
at com.novell.zenworks.datamodel.extensions.DirectSer viceStoreImpl.initialize(DirectServiceStoreImpl.ja va:578)
at com.novell.zenworks.datamodel.extensions.DirectSer viceStoreImpl.<init>(DirectServiceStoreImpl.java:2 24)
at com.novell.zenworks.datamodel.extensions.installer .LDAPInstaller.getServiceStore(LDAPInstaller.java: 661)
at com.novell.zenworks.datamodel.extensions.installer .LDAPInstaller.promoteSecondary(LDAPInstaller.java :168)
at com.novell.zenworks.datamodel.extensions.installer .LDAPInstaller.main(LDAPInstaller.java:130)
Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
at org.hibernate.exception.SQLStateConverter.handledN onSpecificException(SQLStateConverter.java:103)
at org.hibernate.exception.SQLStateConverter.convert( SQLStateConverter.java:91)
at org.hibernate.exception.JDBCExceptionHelper.conver t(JDBCExceptionHelper.java:43)
at org.hibernate.exception.JDBCExceptionHelper.conver t(JDBCExceptionHelper.java:29)
at org.hibernate.jdbc.ConnectionManager.openConnectio n(ConnectionManager.java:420)
at org.hibernate.jdbc.ConnectionManager.getConnection (ConnectionManager.java:144)
at org.hibernate.jdbc.BorrowedConnectionProxy.invoke( BorrowedConnectionProxy.java:50)
at $Proxy0.getMetaData(Unknown Source)
at com.novell.zenworks.datamodel.HibernateUtil.initia lize(HibernateUtil.java:122)
... 7 more
Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtil s.java:104)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool. checkoutPooledConnection(C3P0PooledConnectionPool. java:264)
at com.mchange.v2.c3p0.PoolBackedDataSource.getConnec tion(PoolBackedDataSource.java:94)
at org.hibernate.connection.C3P0ConnectionProvider.ge tConnection(C3P0ConnectionProvider.java:35)
at org.hibernate.jdbc.ConnectionManager.openConnectio n(ConnectionManager.java:417)
... 11 more
Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceE xception: A ResourcePool could not acquire a resource from its primary factory or source.
at com.mchange.v2.resourcepool.BasicResourcePool.awai tAcquire(BasicResourcePool.java:972)
at com.mchange.v2.resourcepool.BasicResourcePool.chec koutResource(BasicResourcePool.java:208)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool. checkoutPooledConnection(C3P0PooledConnectionPool. java:260)
... 14 more


Does anyone have any suggestion with regard to this?

Thanks
Stefan