on 07-24-2014 10:31 AM
Oracle Upgrade Java Stack not connecting with DB | |||
Hi I have just performed the Oracle Upgrade on the Server from 10g to When I try to connect to the Configtool it gives me the error that I have followed the following link on the SCN and changed the password for the SAPSR3DB user http://scn.sap.com/thread/3447030 When I used the command entered here to change the password of the SAPSR3DB it changed but it did not let me use the -s java -RDB option i.e. brconnect -u system/password -c -f chpass -o SAPSR3DB -p password -s java -RDB I am not able to connect to the Configtool I am doing this on the Dev server and then I have to perform this on -------------------------------------------------------------- INFO: Loading tool launcher... * Configuring bootstrap... * Memory available to the bootstrap JVM: 2 GiB / 2863333376 bytes -----[Bootstrap Module started]--------[Thu Jul 24 15:50:53 IST 2014]------- +------------[Bootstrap synchronization activities information]-----------+ None of the startup parameters passed: [-DSAPSTART=1, -DSAPSYSTEM=00, -DSAPSYSTEMNAME=<SID>, -DSAPMYNAME=mtspidev_<SID>_00, -DSAPPROFILE=/usr/sap/<SID>/SYS/profile/<SID>_DVEBMGS00_mtspidev, -DFRFC_FALLBACK=ON, -DFRFC_FALLBACK_HOST=localhost] is known to the bootstrap. Activating the default mode - synchronize all (-all). * Watchdog [90000 ms] checking every [2000 ms] started. * Initializing DB connection... at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
------------------------------------------------- Help is appreciated. Thanks |
Hi Aps,
-After changing the password of SAPSR3DB by the help of below command
brconnect -u system/password -c -f chpass -o SAPSR3DB -p password -s java -RDB
, did you try to maintain the same password in secure storage of configtool.
- Also try to logon to oracle with the SAPSR3DB
sqlplus /nolog
sql> connect SAPSR3DB/<password>
With Regards
Ashutosh Chaturvedi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ashutosh,
I tried logging in with SAPSR3DB with sqlplus and got connected
SQL> connect SAPSR3DB
Enter password:
Connected.
But the command:
brconnect -u system/password -c -f chpass -o SAPSR3DB -p password -s java -RDB
-s -java -RDB does not work so I used
brconnect -u system/password -c -f chpass -o SAPSR3DB -p password
and changed the password but I did not change the secure store as I cannot connect with the configtool
THanks
APS
Start configtool, then click “No” and enter the following information:
Secure Store File – contains the path to the secure store properties file. This file contains secure data for connecting to the database or Visual Administrator. It is encrypted for security reasons.
Secure Store Key File – contains the path to the secure store key file. The key file contains the password for the encrypted store file.
System Name – displays the name of the system to which this data applies.
Secure Store Lib – contains the path to the IAIK package. It enables the encrypting of the properties file.
RDBMS Connections – contains a property key of which the value contains the DB connection settings.
RDBMS Driver Location – contains the path to the RDBMS driver
RDBMS Initial Connections
RDBMS Maximum Connection
Hi Divyanshu,
The Entries are showing as they should on the conigtool when I select "NO" early on
But I fail to understand how can I connect on o the configtool via that as the eerror that I am getting on the log_bootstrap.log is invliad username and password.
I have changed the password using brconnect
I need to connect to the configtool so I can change it in the secure store.
Thanks
APS
Hi Divyanshu,
Connected to the secure store by selecting NO option now I see the option of changing the password for the SAPSR3DB,
I changed the password using the following command
brconnect -u system/Manager123 -f chpass -o SAPSR3DB -p sap
which means that the password for the user SAPSR3DB = 'sap' right ?, just confirming it with you folks .
Thanks
APS
Hi Folks,
I am now able to connect the JAVA Stack with the DB as the SAP MMC and the following command gives all green with the sapcontrol, but some how I am not able to connect with the configtool
When I select the option of connect with the DB it tells me that the
Error When scanning the DB
Error while connecting with the DB
and then when I press OK on that window another window opens with the following message:
Error occured while loading the secure store
Msg: File "/usr/sap/<SID>/SYS/global/security/data/secstore.properties" does not exist although it should
When I went to the particular location the file is present
Help is appreciated
Thanks
APS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Divyanshu,
Yes do I have the config.properties file and here are the contents of the file asked by you:
--------------------------------
more config.properties
#Connection properties for Config Tool, generated by Batch Install.
#Sat Mar 06 22:12:58 IST 2010
rdbms.maximum_connections=5
system.name=<SID>
secstorefs.keyfile=/usr/sap/<SID>/SYS/global/security/data/SecStore.key
secstorefs.secfile=/usr/sap/<SID>/SYS/global/security/data/SecStore.properties
secstorefs.lib=/usr/sap/<SID>/SYS/global/security/lib
rdbms.driverLocation=/oracle/client/11x_64/instantclient/ojdbc14.jar
rdbms.connection=jdbc/pool/<SID>
rdbms.initial_connections=1
----------------------------------------------
Regards,
APS
Hi Divyanshu,
Following is the output of the file in the path /usr/sap/<SID>/SYS/global/security/data
-------------------
cd /usr/sap/<SID>/SYS/global/security/data/
total 56
-rw-r--r-- 1 <SID>adm sapsys 31 Jul 18 14:17 JUpgrade.key
-rw-r--r-- 1 <SID>adm sapsys 195 Jul 18 14:17 JUpgrade.properties
-rw-r--r-- 1 <SID>adm sapsys 46 May 8 18:51 SecStore.key
-rw-r--r-- 1 <SID>adm sapsys 446 Jul 24 18:04 SecStore.properties
-rw-r--r-- 1 root sys 3915 Nov 6 2012 class_prefetch.lst
-rw-r--r-- 1 <SID>adm sapsys 119 Mar 6 2010 icmauth.txt
-rwxrwxrwx 1 <SID>adm sapsys 48 Apr 18 13:46 keyfile.txt
-rw-r--r-- 1 <SID>adm sapsys 17874 Jul 24 12:38 trans.log
--------------------------------
Regards,
APS
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.