on 05-11-2012 7:32 AM
Hi,
After Upgarding 10g to 11g below error occured.
TNS-12541: TNS:no listener
ORA-01034: ORACLE not available
ORA-01034: ORACLE not available
Database mount properly from sqlplus but not able to connect from R3trans.
Probably the listener.ora still points to the 102_64 ORACLE_HOME ?
Try as orasid:
tnsping SID
sqlplus system/password_of_system
if this both works, rdbms will be OK.
Try
sqlplus system/password_of_system@SID
This will do a connect via sqlnet listener.
If this fails, your listener config is defective.
If this works, check the target of sidadm Environment TNS_ADMIN.
There has to be a missmatch there then.
Volker
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please delete parameter local_listener.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
First of all, we need more data in order to figure out the root cause. Would you specify the OS that you are running on? What OS user you logged on? Did you checked the TNS service is up?
Best regards,
Orkun Gedik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To be sure, you started up the database respectively. Then, logged on by "<sid>adm" user and executed R3trans -xd. Could you paste the full "trans.log" after you executed the R3trans, here?
Additionally, check <sid>adm "PATH", "ORACLE_HOME" and "TNS_ADMIN" environment variable. They must be refer to 11g.
Best regards,
Orkun Gedik
4 ETW000 R3trans version 6.14 (release 701 - 03.06.11 - 17:57:00).
4 ETW000 unicode enabled version
4 ETW000 ===============================================
4 ETW000
4 ETW000 date&time : 20.05.2012 - 14:44:31
4 ETW000 control file: <no ctrlfile>
4 ETW000 R3trans was called as follows: R3trans -xd
4 ETW000 trace at level 2 opened for a given file pointer
4 ETW000 [ dev trc,00000] Sun May 20 14:44:31 2012 122 0.000122
4 ETW000 [ dev trc,00000] db_con_init called 30 0.000152
4 ETW000 [ dev trc,00000] create_con (con_name=R/3) 54 0.000206
4 ETW000 [ dev trc,00000] Loading DB library '/usr/sap/SID/SYS/exe/run/dboraslib.o' ... 64 0.000270
4 ETW000 [ dev trc,00000] DlLoadLib() success: dlopen("/usr/sap/SID/SYS/exe/run/dboraslib.o"), hdl 0
4 ETW000 33362 0.033632
4 ETW000 [ dev trc,00000] Library '/usr/sap/SID/SYS/exe/run/dboraslib.o' loaded 37 0.033669
4 ETW000 [ dev trc,00000] function DbSlExpFuns loaded from library /usr/sap/SID/SYS/exe/run/dboraslib.o
4 ETW000 50 0.033719
4 ETW000 [ dev trc,00000] Version of '/usr/sap/SID/SYS/exe/run/dboraslib.o' is "700.08", patchlevel (0.148)
4 ETW000 295 0.034014
4 ETW000 [ dev trc,00000] function dsql_db_init loaded from library /usr/sap/SID/SYS/exe/run/dboraslib.o
4 ETW000 47 0.034061
4 ETW000 [ dev trc,00000] function dbdd_exp_funs loaded from library /usr/sap/SID/SYS/exe/run/dboraslib.o
4 ETW000 74 0.034135
4 ETW000 [ dev trc,00000] New connection 0 created 48 0.034183
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 75 0.034258
4 ETW000 [ dev trc,00000] db_con_connect (con_name=R/3) 60 0.034318
4 ETW000 [ dev trc,00000] find_con_by_name found the following connection for reuse: 31 0.034349
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 71 0.034420
4 ETW000 [ dev trc,00000] Got LIBPATH=/usr/lib:/lib:/usr/sap/SID/SYS/exe/run:/oracle/client/11x_64/instantclient from environment
4 ETW000 508 0.034928
4 ETW000 [ dev trc,00000] -->oci_init1 36 0.034964
4 ETW000 [ dev trc,00000] Oracle Client Version: '11.2.0.2.0', (dbsl 701 170611, UNICODE[2]) 129 0.035093
4 ETW000 [ dev trc,00000] Default connection: tnsname ='SID' 33 0.035126
4 ETW000 [ dev trc,00000] -->oci_initialize(con=0, char='UTF16', nchar='AL16UTF16', uc_ln=2) 44 0.035170
4 ETW000 [ dev trc,00000] Application info callback registered. 33 0.035203
4 ETW000 [ dev trc,00000] OCIEnvCreate(mode=16384=OCI_UTF16) returned 0 (for default NLS handle)
4 ETW000 44347 0.079550
4 ETW000 [ dev trc,00000] OCIHandleAlloc(OCI_HTYPE_ERROR, con_hdl=0, ErrHp=0x11105ade8) 65 0.079615
4 ETW000 [ dev trc,00000] OCIHandleAlloc(OCI_HTYPE_ERROR, con_hdl=0, ErrBt=0x11107fab8) 51 0.079666
4 ETW000 [ dev trc,00000] NLS env.: lang=0041004D00450052004900430041004E 113 0.079779
4 ETW000 [ dev trc,00000] terr=0041004D00450052004900430041 40 0.079819
4 ETW000 [ dev trc,00000] char=00550054004600310036 37 0.079856
4 ETW000 [ dev trc,00000] Client NLS setting (by OCINlsGetInfo): con=0, 'AMERICAN_AMERICA.UTF16'
4 ETW000 48 0.079904
4 ETW000 [ dev trc,00000] charset='UTF16', ncharset='AL16UTF16', UNI_ASC=FALSE 32 0.079936
4 ETW000 [ dev trc,00000] Logon as OPS$-user to get SAPSR3's password 46 0.079982
4 ETW000 [ dev trc,00000] Connecting as /@SID on connection 0 (nls 0) ... (dbsl 701 170611, UNICODE[2])
4 ETW000 52 0.080034
4 ETW000 [ dev trc,00000] Allocating service context handle for con_hdl=0 43 0.080077
4 ETW000 [ dev trc,00000] Allocating server context handle 36 0.080113
4 ETW000 [ dev trc,00000] Attaching to DB Server SID (con_hdl=0,svchp=0x11107f8f8,srvhp=0x1110817c0)
4 ETW000 97 0.080210
4 ETW000 [ dev trc,00000] Assigning server context 0x1110817c0 to service context 0x11107f8f8 55586 0.135796
4 ETW000 [ dev trc,00000] Allocating user session handle 87 0.135883
4 ETW000 [ dev trc,00000] Starting user session: OCISessionBegin(con_hdl=0, usr='/',svchp=0x11107f8f8, srvhp=0x1110817c0, usrhp=0x1110df2c0)
4 ETW000 70 0.135953
4 ETW000 [ dev trc,00000] OCISessionBegin(OCI_DEFAULT) failed with -1=OCI_ERROR 7557 0.143510
4 ETW000 [ dev trc,00000] OCISessionBegin(OCI_DEFAULT) failed with SQL error 1034: 169 0.143679
4 ETW000 [ dev trc,00000] ORA-01034: ORACLE not available 39 0.143718
4 ETW000 ORA-27101: shared memory realm does not exist
4 ETW000 IBM AIX RISC System/6000 Error: 2: No such f
4 ETW000 [ dev trc,00000] ile or directory
4 ETW000 81 0.143799
4 ETW000 [ dev trc,00000] server_detach(con_hdl=0,stale=1,svrhp=0x1110817c0) 34 0.143833
4 ETW000 [ dev trc,00000] Detaching from DB Server (con_hdl=0,svchp=0x11107f8f8,srvhp=0x1110817c0)
4 ETW000 49 0.143882
4 ETW000 [ dev trc,00000] Deallocating server context handle 0x1110817c0 from con_hdl=0 255 0.144137
4 ETW000 [ dbsloci.,00000] *** ERROR => CONNECT failed with sql error '1034' 52 0.144189
4 ETW000 [ dev trc,00000] set_ocica() -> SQL error code 1034 34 0.144223
4 ETW000 [ dev trc,00000] -->oci_get_errmsg (con_hdl=0, rc=1034) 34 0.144257
4 ETW000 [ dev trc,00000] OCIErrorGet -> SQL error code: 1034 124 0.144381
4 ETW000 [ dev trc,00000] ORA-01034: ORACLE not available 54 0.144435
4 ETW000 ORA-27101: shared memory realm does not exist
4 ETW000 IBM AIX RISC System/6000 Error: 2: No such f
4 ETW000 [ dev trc,00000] ile or directory
4 ETW000 81 0.144516
4 ETW000 [ dev trc,00000] SAPUSER or connect error 99=DBSL_ERR_DB, oerr=1034. 35 0.144551
4 ETW000 [ dblink ,00433] ***LOG BY2=>sql error 1034 performing CON [dblink#4 @ 433] 83 0.144634
4 ETW000 [ dblink ,00433] ***LOG BY0=>ORA-01034: ORACLE not available 42 0.144676
4 ETW000 ORA-27101: shared memory realm does not exist
4 ETW000 IBM AIX RISC System/6000 Error: 2: No such file or directory [dblink#4 @ 433]
2EETW169 no connect possible: "DBMS = ORACLE --- dbs_ora_tnsname = 'SID'"
hi Amit,
first check the Oracle Listener Service is started and if yes then
go...
Run --> cmd --> sqlplus "/as sysdba"
SQL>Startup
if problem does not resolve then check below note.
SAP Note 131561
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.