Hi Experts,
We did a restore&recovery process from a production server backup on a newly built HP-ux server same as the production server.
But when we try to startsap it after recovery from sidadm it shows
startsap_DVEBMGS30.log
Checking <SID> Database
------------------------------
ABAP Database is not available via R3trans
Starting SAP-Collector Daemon
------------------------------
saposcol already running
Running /usr/sap/<SID>/SYS/exe/run/startdb
DB startup failed
log information from startdb.log
----------------------------- Tue Nov 12 14:20:45 SST 2013
LOGFILE FOR STARTING ORACLE
Trying to start <SID> database ...
------------------------------ Tue Nov 12 14:20:45 SST 2013
checking required environment variables
ORACLE_HOME is >/oracle/<SID>/112_64<
ORACLE_SID is ><SID>
------------------------------ Tue Nov 12 14:20:45 SST 2013
check initora
------------------------------ Tue Nov 12 14:20:45 SST 2013
check initora
------------------------------ Tue Nov 12 14:20:45 SST 2013
checking V2 connect
TNS Ping Utility for HPUX: Version 11.2.0.2.0 - Production on 12-NOV-2013 14:20:45
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
/sapmnt/<SID>/profile/oracle/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (SDU = 32768) (ADDRESS_LIST = (ADDRESS = (COMMUNITY = SAP.WORLD) (PROTOCOL = TCP) (HOST = xxxxxxx) (PORT = 1528))) (CON
NECT_DATA = (SID = <SID>) (GLOBAL_NAME = <SID>.WORLD)))
OK (10 msec)
tnsping: V2 connect to <SID>
------------------------------ Tue Nov 12 14:20:45 SST 2013
Connect to the database to check the database state:
R3trans: connect check finished with return code: 12 Database not available
------------------------------ Tue Nov 12 14:20:45 SST 2013
Shutdown database
First trying to shutdown the database - May be,
the database is in the nomount or mount state
------------------------------ Tue Nov 12 14:20:54 SST 2013
starting database
SQL*Plus: Release 11.2.0.2.0 Production on Tue Nov 12 14:20:55 2013
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to an idle instance.
ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance
ORACLE instance started.
Total System Global Area 4576575488 bytes
Fixed Size 2188712 bytes
Variable Size 2298481240 bytes
Database Buffers 2264924160 bytes
Redo Buffers 10981376 bytes
Database mounted.
Database opened.
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
------------------------------ Tue Nov 12 14:21:10 SST 2013
Connect to the database to verify, that the database is now open
R3trans check finished with return code: 12
*** ERROR: Startup of database failed
Notify Database Administrator.
/usr/sap/<SID>/SYS/exe/run/startdb: Terminating with error code 12
When i tried to connect to database SQL i am able to connect.so database is up and running
Later i tried to run R3trans -d command
trans.log...........
4 ETW000 date&time : 12.11.2013 - 14:06:17
4 ETW000 control file: <no ctrlfile>
4 ETW000 R3trans was called as follows: R3trans -x
4 ETW000 trace at level 2 opened for a given file pointer
4 ETW000 [dev trc ,00000] Tue Nov 12 14:06:17 2013 261 0.000261
4 ETW000 [dev trc ,00000] db_con_init called 24 0.000285
4 ETW000 [dev trc ,00000] create_con (con_name=R/3) 70 0.000355
4 ETW000 [dev trc ,00000] Loading DB library '/usr/sap/<SID>/SYS/exe/run/dboraslib.so' ...
4 ETW000 49 0.000404
4 ETW000 [dev trc ,00000] DlLoadLib() success: dlopen("/usr/sap/<SID>/SYS/exe/run/dboraslib.so"), hdl 0
4 ETW000 28573 0.028977
4 ETW000 [dev trc ,00000] Library '/usr/sap/<SID>/SYS/exe/run/dboraslib.so' loaded
4 ETW000 41 0.029018
4 ETW000 [dev trc ,00000] function DbSlExpFuns loaded from library /usr/sap/<SID>/SYS/exe/run/dboraslib.so
4 ETW000 68 0.029086
4 ETW000 [dev trc ,00000] Version of '/usr/sap/<SID>/SYS/exe/run/dboraslib.so' is "640.00", patchlevel (0.369)
4 ETW000 239 0.029325
4 ETW000 [dev trc ,00000] function dsql_db_init loaded from library /usr/sap/<SID>/SYS/exe/run/dboraslib.so
4 ETW000 46 0.029371
4 ETW000 [dev trc ,00000] function dbdd_exp_funs loaded from library /usr/sap/<SID>/SYS/exe/run/dboraslib.so
4 ETW000 64 0.029435
4 ETW000 [dev trc ,00000] New connection 0 created 36 0.029471
4 ETW000 [dev trc ,00000] 000: name = R/3, con_id = -000000001, state = DISCONNECTED, tx = NO , hc = NO , perm = YES,
4 ETW000 reco = NO , frco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 144 0.029615
4 ETW000 [dev trc ,00000] db_con_connect (con_name=R/3) 76 0.029691
4 ETW000 [dev trc ,00000] find_con_by_name found the following connection for reuse:
4 ETW000 39 0.029730
4 ETW000 [dev trc ,00000] 000: name = R/3, con_id = 000000000, state = DISCONNECTED, tx = NO , hc = NO , perm = YES,
4 ETW000 reco = NO , frco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 61 0.029791
4 ETW000 [dev trc ,00000] Got ORACLE_HOME=/oracle/<SID>/112_64 from environment
4 ETW000 294 0.030085
4 ETW000 [dev trc ,00000] Default connection: tnsname ='<SID>' 92 0.030177
4 ETW000 [dev trc ,00000] Nls CharacterSet NationalChar C EnvHp ErrHp ErrBt
4 ETW000 57 0.030234
4 ETW000 [dev trc ,00000] -->oci_initialize (con=0, char='UTF16', nchar='AL16UTF16', uc_ln=2)
4 ETW000 42 0.030276
4 ETW000 [dev trc ,00000] got NLS_LANG='AMERICAN_AMERICA.UTF8' from environment
4 ETW000 41 0.030317
4 ETW000 [dboci.c ,00000] *** ERROR => OCI-call '(-) OCIEnvCreate(mode=16384)' failed: rc = -1
4 ETW000 1880 0.032197
4 ETW000 [dev trc ,00000] set_ocica() -> OCI or SQL return code -1 28 0.032225
4 ETW000 [dboci.c ,00000] *** ERROR => OCI-call 'OCIErrorGet' failed: rc = -2
4 ETW000 76 0.032301
4 ETW000 [dblink ,00430] ***LOG BY2=>sql error -1 performing CON [dblink#6 @ 430]
4 ETW000 161 0.032462
4 ETW000 [dblink ,00430] ***LOG BY0=>Cannot get Oracle error text. [dblink#6 @ 430]
4 ETW000 41 0.032503
2EETW169 no connect possible: "DBMS = ORACLE --- dbs_ora_tnsname = '<SID>'"
I found the above error in trans.log file
So, why is sap not able to communicate with database(Oracle 11g)
Can you please help us to find cause and solution for this error.
Thank you,
Mahesh.M