on 07-30-2012 2:59 PM
Hi, I have error apply the post homogeneous system copy. The system is dualstack. The stack ABAP running but stack Java not start.
Try start configtool but display message error:
rp3ds001:rp1adm 143> ./configtool.sh
PerfTimes : loadNativeLayer: loading jperflib failed. no jperflib in java.library.path
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:365)
at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.<init>(DBConnectionPool.java:130)
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.configtool.visual.ConfigTool.loadClusterData(ConfigTool.java:153)
at com.sap.engine.configtool.visual.ConfigTool.initScan(ConfigTool.java:135)
at com.sap.engine.configtool.visual.ConfigTool.<init>(ConfigTool.java:124)
at com.sap.engine.configtool.visual.ConfigTool.main(ConfigTool.java:1147)
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: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:420)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
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:307)
Best Regards,
Eli Daniel Ramones
As it was already mentioned by Ruchit it looks like SS issue.
Probably configtool tries to connect to the old (previous) DB. Could you check config.properties file located in configtool folder in regard to host name?
May be it refers to old host?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, I can modify this parameter?
#1.# #1343682245432#/System/Database/sql/jdbc##com.sap.sql.jdbc.NativeConnectionFactory#######Thread[main,5,main]##0#0#Error#1#com.sap.sql.jdbc.Nat
iveConnectionFactory#Java#com.sap.sql_0002#com.sap.sql.log.OpenSQLResourceBundle#SQL error occurred on connection {3}: code={0,number,integer}, sta
te="{1}", message="{2}".#5#17002#<null>#Io exception: The Network Adapter could not establish the connection#jdbc:oracle:thin:@rp1dbcl:1527:RP1#<nu
ll>#
The hostname is different.
Regards,
EDRS
Well this info is in secure store and to change this info you have got to login into config tool. This is your connection info.
I think what you need to do here is when configtool asks you to connect to default DB settings say no and then provide the correct string (with correct hostname/SID and all). Once inside the config tool try to change the connection string.
Regards.
Ruchit Khushu.
Hi Ramones,
My bad. Actually I was focussing on the wrong thing. Have you taken the Java Central Instance export from the source system?
If yes you need to import that.
Dual stack/Java stack system copy isn't like ABAP. You need to run SAPinst and install SCS (may be optional) ,Database and Central Instances.
You may take backup of profiles and kernels and restore them at a later point but you have got to go through entire SAPinst cycle.
Regards.
Ruchit Khushu.
Hi Ramones,
It looks rather strange...RP1 is the source system, isn't it?
Roughly speaking the system copy process goes as follows:
You prepare source system export via sapinst. Actually this export is the content of DB (ABAP part + Java part)
After that you need to install clean target system and upload prevuously prepared export to it.
All those steps are carried out via sapinst (via software life-cycle -> system copy option) smothly. And if everything goes well you don't need edit strings in configtool properties and the other places.
Could you describe the whole sequence of steps you carried out performing system copy?
How did you prepare source system export? Which option has been choosen (single ABAP, Single Java, ABAP +Java)? How did you insall the target system? Which option have you picked up?
Regards,
Ilya
Hello Ruchit,
Hmmm....I got it a little bit different.
From my understanding Ramones moved the system from one host to another.
And due to some reason connection parameters (maybe something else) were not populated properly
I guess we can not do this via plain backup/restore...
But maybe i'm wrong. Let's wait for Ramones explanations....
Regards,
Ilya
Do you mean somthing like this?:
http://basishowto.blogspot.de/2011/07/hardware-migration.html
Thanks for information Ruchit and Ilya, certainly I used Backup/restore the system RP1 in other host with different hostname). I change value hostname in profile and stack ABAP start but no stack java.
Try the start configtool but display error attach in this message.
Now, I check the URL sent for Ilya but no can apply the change hostname in the configtool because no start configtool.sh
Hi Ramones,
brief question:
When configtoot fails to connect to db it should display SS content anyway. Is it the case with your setup?
In my case it looks as attached:
Just as workaround:
If it's the case you can change jdbc URL (i mean host name). It seems after that you can start configtool normally
Regards,
Ilya
Hi Ramones,
Check the Java J2SDK/J2RE version installed, also check JAVA_HOME environment variable and path.
Regards,
Jayadeep
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jayadeep, the java JDK is 1.4.17. This version is same for all systemlandscape.
Please, check the image.
rp3ds001:rp1adm 485> java -version
java version "1.4.2.17"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2.17-071106-02:40)
Java HotSpot(TM) Server VM (build 1.4.2 1.4.2.17-071106-08:12-IA64N IA64, mixed mode)
rp3ds001:rp1adm 486>
and envioronment variable for user SIDadm:
rp3ds001:rp1adm 486> env
USER=rp1adm
LOGNAME=rp1adm
HOME=/home/rp1adm
PATH=/oracle/RP1/102_64/bin:.:/home/rp1adm:/usr/sap/RP1/SYS/exe/run:/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/usr/contrib/Q4/bin:/opt/perl/bin:/opt/gvsd/bin:/opt/ipf/bin:/opt/nettladm/bin:/opt/fcms/bin:/opt/wbem/bin:/opt/wbem/sbin:/opt/sas/bin:/opt/graphics/common/bin:/opt/atok/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/sec_mgmt/bastille/bin:/opt/caliper/bin:/opt/drd/bin:/opt/dsau/bin:/opt/dsau/sbin:/opt/resmon/bin:/opt/firefox:/opt/gnome/bin:/opt/propplus/bin:/usr/contrib/kwdb/bin:/opt/perl_32/bin:/opt/perl_64/bin:/opt/prm/bin:/opt/sfm/bin:/opt/swm/bin:/opt/sec_mgmt/spc/bin:/opt/ssh/bin:/opt/swa/bin:/opt/hpsmh/bin:/opt/thunderbird:/opt/sentinel/bin:/opt/langtools/bin:/opt/gwlm/bin:/opt/perf/bin:/opt/java1.4/bin:/opt/java1.4/bin:/opt/java1.4/bin:/opt/java1.4/bin
MAIL=/var/mail/rp1adm
SHELL=/usr/bin/csh
TZ=MST7MDT
SSH_CLIENT=10.64.28.209 4111 22
SSH_CONNECTION=10.64.28.209 4111 10.255.2.44 22
SSH_TTY=/dev/pts/0
TERM=xterm
SFTP_UMASK=
SFTP_PERMIT_CHMOD=1
SFTP_PERMIT_CHOWN=1
COLUMNS=147
LINES=62
MANPATH=/usr/share/man/%L:/usr/share/man:/usr/contrib/man/%L:/usr/contrib/man:/usr/local/man/%L:/usr/local/man:/opt/VRTS/vxfs5.0/man:/opt/ldapux/share/man/%L:/opt/ldapux/share/man:/opt/ipf/man:/opt/ldapux/ypldapd/man:/opt/samba/man:/opt/samba/WTEC_Support_Tools/man:/opt/samba/cfsm_man:/opt/cifsclient/share/man:/opt/openssl/man:/opt/openssl/prngd/man:/opt/wbem/share/man/%L:/opt/wbem/share/man:/opt/graphics/common/man:/opt/amgr/man/%L:/opt/amgr/man:/opt/sec_mgmt/share/man:/opt/caliper/man/%L:/opt/caliper/man:/opt/drd/share/man/%L:/opt/drd/share/man:/opt/dsau/man:/opt/resmon/share/man/%L:/opt/resmon/share/man:/opt/gnome/man:/opt/propplus/share/man:/usr/contrib/kwdb/share/man:/opt/perl_32/man:/opt/perl_64/man:/opt/prm/man/%L:/opt/prm/man:/opt/psb/healthtest/share/man:/opt/sfm/share/man:/opt/swm/share/man/%L:/opt/swm/share/man:/opt/swa/share/man/%L:/opt/swa/share/man:/opt/ssh/share/man:/opt/sentinel/man/%L:/opt/sentinel/man:/opt/langtools/share/man/%L:/opt/langtools/share/man:/opt/openssl/fips/0.9.7/man:/opt/openssl/fips/0.9.8/man:/opt/gwlm/man/%L:/opt/gwlm/man:/opt/icod/man/%L:/opt/icod/man:/opt/iexpress/sudo/man:/opt/perf/man/%L:/opt/perf/man:/opt/ignite/share/man/%L:/opt/ignite/share/man
SAPSYSTEMNAME=RP1
DIR_LIBRARY=/usr/sap/RP1/SYS/exe/run
SHLIB_PATH=/usr/sap/RP1/SYS/exe/run:/oracle/client/10x_64/instantclient
JAVA_HOME=/opt/java1.4
THREAD=NOPS
dbms_type=ORA
dbs_ora_tnsname=RP1
dbs_ora_schema=SAPRP1
ORACLE_SID=RP1
DB_SID=RP1
ORACLE_BASE=/oracle
CPIC_MAX_CONV=5000
ORACLE_HOME=/oracle/RP1/102_64
NLS_LANG=AMERICAN_AMERICA.WE8DEC
SAPDATA_HOME=/oracle/RP1
DISPLAY=10.64.28.209:0.0
rp3ds001:rp1adm 487>
Regards,
EDRS
Hi Eli,
Are you using backup/restore method? If yes, do you export the java from source and import to target with sapinst?
Cheers,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi the log log_bootstrap_ID0077181.0.log display:
[Jul 27, 2012 12:06:25...] [Bootstrap module]> Problem occurred while performing synchronization.
[Jul 27, 2012 1:07:37 PM ] --------------------------------------------------
[Jul 27, 2012 1:07:37 PM ] Bootstrap MODE:
[Jul 27, 2012 1:07:37 PM ] <INSTANCE GLOBALS>
[Jul 27, 2012 1:07:37 PM ] determined by parameter [ID0077181].
[Jul 27, 2012 1:07:37 PM ] --------------------------------------------------
[Jul 27, 2012 1:07:38 PM ] Exception occurred:
com.sap.engine.bootstrap.SynchronizationException: Database initialization failed! Check database properties!
at com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection(Bootstrap.java:476)
at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:146)
at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:971)
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:365)
at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.<init>(DBConnectionPool.java:130)
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:74)
at com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection(Bootstrap.java:473)
at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:146)
at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:971)
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: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:420)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
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:307)
... 14 more
Hi Ramones,
Looks like secure store issue. How did you go ahead with the system copy? Please give the steps.I guess quite a few OSS notes for the issue.Also what is the SAP release in question here?
Regards.
Ruchit.,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.