cancel
Showing results for 
Search instead for 
Did you mean: 

Configtool can't connect SAPDB

Former Member
0 Kudos

I setup a sap netweaver 2004s,it runs well.But today i run it again,the jcontrol doesn't work!i find the reason:can't connect DB.

jvm_bootstrap.out Error:

-


Bootstrap MODE:

<INSTANCE GLOBALS>

determined by parameter [ID0127908].

-


Exception occurred:

com.sap.engine.bootstrap.SynchronizationException: Database initialization failed! Check database properties!

at com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection(Bootstrap.java:422)

at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:144)

at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:814)

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:324)

at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)

-


==[ Caused by: ]==----


com.sap.engine.frame.core.configuration.ConfigurationException: Error while connecting to DB.

at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.createConnection(DBConnectionPool.java:360)

at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.<init>(DBConnectionPool.java:125)

at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceHandler.<init>(PersistenceHandler.java:38)

at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.<init>(ConfigurationCache.java:149)

at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.init(ConfigurationManagerBootstrapImpl.java:236)

at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.<init>(ConfigurationManagerBootstrapImpl.java:49)

at com.sap.engine.bootstrap.Synchronizer.<init>(Synchronizer.java:60)

at com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection(Bootstrap.java:419)

at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:144)

at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:814)

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:324)

at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)

Caused by: com.sap.dbtech.jdbc.exceptions.JDBCDriverException: SAP DBTech JDBC: Cannot connect to jdbc:sapdb://tony/ZXZ [Cannot connect to host tony [Connection refused: connect], -813.].

at com.sap.dbtech.jdbc.DriverSapDB.connect(DriverSapDB.java:187)

at com.sap.sql.jdbc.NativeConnectionFactory.createNativeConnection(NativeConnectionFactory.java:215)

at com.sap.sql.connect.OpenSQLDataSourceImpl.createPooledConnection(OpenSQLDataSourceImpl.java:608)

at com.sap.sql.connect.OpenSQLDataSourceImpl.getPooledConnection(OpenSQLDataSourceImpl.java:285)

at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.createConnection(DBConnectionPool.java:302)

... 14 more

I try connect the DB by using Configtool.The configtool can't connect DB,too.

what can i do?PLS help me.Thanks&#65281;

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member185864
Active Participant
0 Kudos

Hi ,

Restart the DB; your problem will be resolve.

if it usefull,plz reward paints.

Thanks,

Nagaraju

Former Member
0 Kudos

Hey this is surely solve if u start you DB. This is because your DB is stopped.

To start DB, go to your configuration panel, Administration Tools, Services, and make sure your SAP:<DataBase> services is started, and make it start if not.

Former Member
0 Kudos

Hi Zhang,

can you please let me know how you the solved the above problem, as i am also facing the same problem.

Thanks

Ritushree

Former Member
0 Kudos

Hi Ritushree,

maybe he solved hi problem by starting his Database, a common problem I have also encountered.

To do so, go to your configuration panel, Administration Tools, Services, and make sure your SAP:<DataBase> services is started, and make it start if not.

Fabien.

JPReyes
Active Contributor
0 Kudos

Hi Zhang,

Welcome to SDN!

This seems like authorization problem, see <b>Cannot connect to jdbc:sapdb://tony/ZXZ [Cannot connect to host tony [Connection refused: connect], -813.].</b>, you need to ensure that you have enought rights and/or make sure your host is available,

Hope this help!

Juan

Former Member
0 Kudos

Thank for your help,Juan Reyes

But if i used the maxdb sqlstdio , i can connect the maxdb. And i have the full right on the Tony host.

I think the cause is:

1.When i setuped the NW2004s,i setuped the Microsoft Loopback Adapter.

2.Before i used the NW2004s,i didn't plug the net line.Today i pluged the net line and used the Intel(R) PRO/100 VE Network Connection.

3.I returned the before status ,but the NW2004s still dosen't work.

Can i deploy the connection of the database by manual and what to do ?

former_member229109
Active Contributor
0 Kudos

Hi Zhang,

-> This seems to be an issue with the JDK version you are using.

If you are using Linux on the x86_64 platform then you must use

the IBM JDK, the SAP note 861215 has more details. Please check it.

Please review the SAP Note No. 943498.

Please provide the version of the JDK, you are using,

java -version

-> You got the MAXDB error:: -813: SERVERDB must be restarted

It could be, that the database system is not running, or an

invalid database name was specified in the program.

Please check, that the database administrator started the database

Instance ( as you could connect to the database, for example, with

DBMGUI ), or the user must modify the XUSER file( SAP note 39439 ).

Thank you and best regards, Natalia Khlopina

Former Member
0 Kudos

The problem have been solved.Thank all persons!

But i have a question:what is meaning of 'SAP Note No. 943498' or 'SAP Note No. *******'?

former_member229109
Active Contributor
0 Kudos

Hello Zhang,

If you are the SAP customer, you have the access to the SAP notes, which you could display.

Are you SAP customer? ( So sorry, that I didn't ask you at first place. )

Thank you and best regards, Natalia Khlopina

Message was edited by: Natalia Khlopina

Former Member
0 Kudos

Hi,

It seems to be the binary synchronization issue. i also got the same problem i increased the Max Heap Size parameter of Instance with configtool. Then restarted the SAP System it got started.

Size recommendation = 512MB