on 06-09-2009 9:22 AM
Dear All,
I am testing my DR server. i have resotred my full offline backup to Dr successfully. now i want to check it by making it onlne once. when i am starting the database, it is started. But when i am starting the lsnrctl, it is giving me error...
LSNRCTL for HPUX: Version 9.2.0.4.0 - Production on 09-JUN-2009 13:15:37
Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
Starting /oracle/PRD/920_64/bin/tnslsnr: please wait...
TNSLSNR for HPUX: Version 9.2.0.4.0 - Production
System parameter file is /oracle/PRD/920_64/network/admin/listener.ora
Log messages written to /oracle/PRD/920_64/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=PRD.WORLD)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=PRD)))
Error listening on: (ADDRESS=(COMMUNITY=SAP.WORLD)(PROTOCOL=TCP)(HOST=MSLDR)(POR
T=1527))
TNS-12545: Connect failed because target host or object does not exist
TNS-12560: TNS:protocol adapter error
TNS-00515: Connect failed because target host or object does not exist
HPUX Error: 13: Permission denied
Listener failed to start. See the error message(s) above...
plz suggest what i have to do. .
for your information, i have also change the ip of this server.
Ankit
Ankit,
OCI-call 'OCISessionBegin' failed:
OG BY2=>sql error 1034 performing CON [dbl
ink#3 @ 428]
Check SAP NOte 491174 Composite SAP note for ORA-01034
Note 1183000 - Errors: "ORA-01034: ORACLE not available"
Note 403004 - Database connect using R3trans fails
Also see below links
Hope this helps
Thanks
Sushil
Edited by: Sushil Suryawanshi on Jun 10, 2009 7:45 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear all,
I have done some changes, but no luck. The error is still coming . But the error is changed now in trans.log..
*** ERROR => Cannot run UNICODE kernel against a non-UTF8 database (c
harset=WE8DEC)
In environment path. ..
PATH=/oracle/PRD/920_64/bin:.:/home/prdadm:/usr/sap/PRD/SYS/exe/runU:/usr/sap/PRD/SYS/exe/run:/usr/bin:
/usr/ccs/bin:/usr/contrib/bin:/usr/contrib/Q4/bin:/opt/perl/bin:/opt/hparray/bin:/opt/nettladm/bin/opt/fcms/bin:/usr/contrib/kwdb/bin:
/usr/bin/X11:/opt/graphics/common/bin:/opt/upgrade/bin:/usr/contib/bin/X11:/opt/ipf/bin:/opt/resmon/bin:/opt/ignite/bin:
/opt/sec_mgmt/bastille/bin:/opt/gnome/bin:/ot/mozilla:/opt/wbem/bin:/opt/wbem/sbin:/opt/mx/bin:/opt/sec_mgmt/spc/bin
I want to remove the path of unicode kernel as i am using non-unicode kernel..
Plz suggest. It will be ok or not?
Ankit
Dear All,
My problem is solved after removing the path of unicode kernel from the env path.
Thanks to all of you.
Ankit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
These error messages are often a resource problem.One of the following resources may no longer be available:
memory
processes
sessions
enqueue_locks
Please refer SAP Note 384839 (ora-12540, tns-12560, tns-12500, tns-12546). It contains a list of all possible reasons that may lead to this particular issue and also a step-by-step analysis leading to a possible solution in each case.
Thanks,
Subhajit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ankit,
Have you changed your SCHEMA user id's password by sql? If yes then you need to change it using BRTools as changing password using sqlplus not updates in table SAPUSER. Thats why you need to chaneg shcema user id password using BRTools.
Thanks
Sushil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Now, The trans.log is changed. after startdb command. the trans.log output is ..
MSLDR:prdadm 21> cat trans.log
4 ETW000 R3trans version 6.13 (release 640 - 07.01.08 - 14:25:00).
4 ETW000 unicode enabled version
4 ETW000 ===============================================
4 ETW000
4 ETW000 date&time : 10.06.2009 - 09:45:50
4 ETW000 control file: <no ctrlfile>
4 ETW000 R3trans was called as follows: R3trans -d
4 ETW000 trace at level 2 opened for a given file pointer
4 ETW000 [dev trc ,00000] Wed Jun 10 09:45:50 2009
291 0.000291
4 ETW000 [dev trc ,00000] db_con_init called
33 0.000324
4 ETW000 [dev trc ,00000] create_con (con_name=R/3)
104 0.000428
4 ETW000 [dev trc ,00000] Loading DB library '/usr/sap/PRD/SYS/exe/run/dbo
raslib.so' ...
4 ETW000
133 0.000561
4 ETW000 [dev trc ,00000] load shared library (/usr/sap/PRD/SYS/exe/run/db
oraslib.so), hdl 0
4 ETW000
31772 0.032333
4 ETW000 [dev trc ,00000] Library '/usr/sap/PRD/SYS/exe/run/dboraslib.so'
loaded
4 ETW000
54 0.032387
4 ETW000 [dev trc ,00000] function DbSlExpFuns loaded from library /usr/sa
p/PRD/SYS/exe/run/dboraslib.so
4 ETW000
111 0.032498
4 ETW000 [dev trc ,00000] Version of '/usr/sap/PRD/SYS/exe/run/dboraslib.s
o' is "640.00", patchlevel (0.220)
4 ETW000
291 0.032789
4 ETW000 [dev trc ,00000] function dsql_db_init loaded from library /usr/s
ap/PRD/SYS/exe/run/dboraslib.so
4 ETW000
63 0.032852
4 ETW000 [dev trc ,00000] function dbdd_exp_funs loaded from library /usr/
sap/PRD/SYS/exe/run/dboraslib.so
4 ETW000
118 0.032970
4 ETW000 [dev trc ,00000] New connection 0 created
64 0.033034
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = -000000001 state = DISCO
NNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, oc
c = NO
4 ETW000
92 0.033126
4 ETW000 [dev trc ,00000] db_con_connect (con_name=R/3)
63 0.033189
4 ETW000 [dev trc ,00000] find_con_by_name found the following connection
for reuse:
4 ETW000
52 0.033241
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = 000000000 state = DISCON
NECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ
= NO
4 ETW000
57 0.033298
4 ETW000 [dev trc ,00000] Got ORACLE_HOME=/oracle/PRD/920_64 from environm
ent
4 ETW000
580 0.033878
4 ETW000 [dev trc ,00000] -->oci_initialize (con_hdl=0)
130 0.034008
4 ETW000 [dev trc ,00000] got NLS_LANG='AMERICAN_AMERICA.WE8DEC' from envi
ronment
4 ETW000
55 0.034063
4 ETW000 [dev trc ,00000] Client NLS settings: AMERICAN_AMERICA.UTF8
3943 0.038006
4 ETW000 [dev trc ,00000] Logon as OPS$-user to get SAPPRD's password
78 0.038084
4 ETW000 [dev trc ,00000] Connecting as /@PRD on connection 0 (nls_hdl 0)
... (dbsl 640 070208)
4 ETW000
65 0.038149
4 ETW000 [dev trc ,00000] Nls CharacterSet NationalCharSet
C EnvHp ErrHp ErrHpBatch
4 ETW000
123 0.038272
4 ETW000 [dev trc ,00000] 0 UTF8
1 0x6000000001286990 0x600000000129a578 0x6000000001299f88
4 ETW000
57 0.038329
4 ETW000 [dev trc ,00000] Allocating service context handle for con_hdl=0
70 0.038399
4 ETW000 [dev trc ,00000] Allocating server context handle
39 0.038438
4 ETW000 [dev trc ,00000] Attaching to DB Server PRD (con_hdl=0,svchp=0x60
00000001299eb8,srvhp=0x600000000129c288)
4 ETW000
117 0.038555
4 ETW000 [dev trc ,00000] Assigning server context 0x600000000129c288 to s
ervice context 0x6000000001299eb8
4 ETW000
84677 0.123232
4 ETW000 [dev trc ,00000] Allocating user session handle
133 0.123365
4 ETW000 [dev trc ,00000] Starting user session (con_hdl=0,svchp=0x6000000
001299eb8,srvhp=0x600000000129c288,usrhp=0x60000000012a5c68)
4 ETW000
69 0.123434
4 ETW000 [dboci.c ,00000] *** ERROR => OCI-call 'OCISessionBegin' failed:
rc = 1034
4 ETW000
3813 0.127247
4 ETW000 [dev trc ,00000] server_detach(con_hdl=0,stale=1,svrhp=0x60000000
0129c288)
4 ETW000
53 0.127300
4 ETW000 [dev trc ,00000] Detaching from DB Server (con_hdl=0,svchp=0x6000
000001299eb8,srvhp=0x600000000129c288)
4 ETW000
55 0.127355
4 ETW000 [dev trc ,00000] Deallocating server context handle 0x60000000012
9c288
4 ETW000
669 0.128024
4 ETW000 [dbsloci. ,00000] *** ERROR => CONNECT failed with sql error '1034
'
4 ETW000
151 0.128175
4 ETW000 [dev trc ,00000] set_ocica() -> OCI or SQL return code 1034
34 0.128209
4 ETW000 [dev trc ,00000] Try to connect with default password
144 0.128353
4 ETW000 [dev trc ,00000] Connecting as SAPPRD/<pwd>@PRD on connection 0 (
nls_hdl 0) ... (dbsl 640 070208)
4 ETW000
69 0.128422
4 ETW000 [dev trc ,00000] Nls CharacterSet NationalCharSet
C EnvHp ErrHp ErrHpBatch
4 ETW000
65 0.128487
4 ETW000 [dev trc ,00000] 0 UTF8
1 0x6000000001286990 0x600000000129a578 0x6000000001299f88
4 ETW000
58 0.128545
4 ETW000 [dev trc ,00000] Allocating server context handle
34 0.128579
4 ETW000 [dev trc ,00000] Attaching to DB Server PRD (con_hdl=0,svchp=0x60
00000001299eb8,srvhp=0x600000000129c288)
4 ETW000
72 0.128651
4 ETW000 [dev trc ,00000] Assigning server context 0x600000000129c288 to s
ervice context 0x6000000001299eb8
4 ETW000
82304 0.210955
4 ETW000 [dev trc ,00000] Assigning username to user session 0x60000000012
a5c68
4 ETW000
64 0.211019
4 ETW000 [dev trc ,00000] Assigning password to user session 0x60000000012
a5c68
4 ETW000
121 0.211140
4 ETW000 [dev trc ,00000] Starting user session (con_hdl=0,svchp=0x6000000
001299eb8,srvhp=0x600000000129c288,usrhp=0x60000000012a5c68)
4 ETW000
4817 0.215957
4 ETW000 [dboci.c ,00000] *** ERROR => OCI-call 'OCISessionBegin' failed:
rc = 1034
4 ETW000
2198 0.218155
4 ETW000 [dev trc ,00000] server_detach(con_hdl=0,stale=1,svrhp=0x60000000
0129c288)
4 ETW000
53 0.218208
4 ETW000 [dev trc ,00000] Detaching from DB Server (con_hdl=0,svchp=0x6000
000001299eb8,srvhp=0x600000000129c288)
4 ETW000
55 0.218263
4 ETW000 [dev trc ,00000] Deallocating server context handle 0x60000000012
9c288
4 ETW000
323 0.218586
4 ETW000 [dbsloci. ,00000] *** ERROR => CONNECT failed with sql error '1034
'
4 ETW000
64 0.218650
4 ETW000 [dev trc ,00000] set_ocica() -> OCI or SQL return code 1034
35 0.218685
4 ETW000 [dblink ,00428] ***LOG BY2=>sql error 1034 performing CON [dbl
ink#3 @ 428]
4 ETW000
35380 0.254065
4 ETW000 [dblink ,00428] ***LOG BY0=>ORA-01034: ORACLE not available
45 0.254110
4 ETW000 ORA-27101: shared memory realm does not exist
4 ETW000 HPUX-ia64 Error: 2: No such file or directory [d
blink#3 @ 428]
2EETW169 no connect possible: "DBMS = ORACLE --- dbs_o
ra_tnsname = 'PRD'"
MSLDR:prdadm 22>
Ankit
Ankit,
*** ERROR => Cannot decrypt password I got from table SAPUSER: rc = 16
Check SAP Note 521117 - Problems when decoding database passwords
Also see below threads.
https://forums.sdn.sap.com/click.jspa?searchID=27209414&messageID=7174058
Hope this helps.
Thanks,
Sushil
Edited by: Sushil Suryawanshi on Jun 9, 2009 9:51 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Ankint,
Before data restoration you have to check both llistener status (PRD,STDY). Now You already restored database so check service name on STDY server.IF you want to modify u can do it. Otherwise you can create service by oradim utility.
Check OS permission,user,Group of listener.ora ,tnsnames.ora.
IF still you are not able to start listener then you can create fresh listener by netca utility.
Might be helpful above.
SurendraJain
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear all,
my lsnrctl is started successfully by changing the ip in place of hostname in the tnsnames.ora & listener.ora files.
But while starting sap by startsap all, it is giving me error
ABAP Database is not available via R3trans
although i have started the database already.
starsap all terminated with error
/usr/sap/PRD/SYS/exe/run/startdb: Terminating with error code 16
DB startup failed.
plz suggest now, what i have to do ..
Ankit
trans.log...........
MSLDR:prdadm 24> R3trans -d
This is R3trans version 6.13 (release 640 - 07.01.08 - 14:25:00).
unicode enabled version
2EETW169 no connect possible: "DBMS = ORACLE --- dbs_o
ra_tnsname = 'PRD'"
R3trans finished (0012).
MSLDR:prdadm 25> cat trans.log
4 ETW000 R3trans version 6.13 (release 640 - 07.01.08 - 14:25:00).
4 ETW000 unicode enabled version
4 ETW000 ===============================================
4 ETW000
4 ETW000 date&time : 09.06.2009 - 16:16:52
4 ETW000 control file: <no ctrlfile>
4 ETW000 R3trans was called as follows: R3trans -d
4 ETW000 trace at level 2 opened for a given file pointer
4 ETW000 [dev trc ,00000] Tue Jun 9 16:16:52 2009
290 0.000290
4 ETW000 [dev trc ,00000] db_con_init called
34 0.000324
4 ETW000 [dev trc ,00000] create_con (con_name=R/3)
103 0.000427
4 ETW000 [dev trc ,00000] Loading DB library '/usr/sap/PRD/SYS/exe/run/dbo
raslib.so' ...
4 ETW000
126 0.000553
4 ETW000 [dev trc ,00000] load shared library (/usr/sap/PRD/SYS/exe/run/db
oraslib.so), hdl 0
4 ETW000
32817 0.033370
4 ETW000 [dev trc ,00000] Library '/usr/sap/PRD/SYS/exe/run/dboraslib.so'
loaded
4 ETW000
54 0.033424
4 ETW000 [dev trc ,00000] function DbSlExpFuns loaded from library /usr/sa
p/PRD/SYS/exe/run/dboraslib.so
4 ETW000
116 0.033540
4 ETW000 [dev trc ,00000] Version of '/usr/sap/PRD/SYS/exe/run/dboraslib.s
o' is "640.00", patchlevel (0.220)
4 ETW000
285 0.033825
4 ETW000 [dev trc ,00000] function dsql_db_init loaded from library /usr/s
ap/PRD/SYS/exe/run/dboraslib.so
4 ETW000
62 0.033887
4 ETW000 [dev trc ,00000] function dbdd_exp_funs loaded from library /usr/
sap/PRD/SYS/exe/run/dboraslib.so
4 ETW000
115 0.034002
4 ETW000 [dev trc ,00000] New connection 0 created
64 0.034066
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = -000000001 state = DISCO
NNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, oc
c = NO
4 ETW000
92 0.034158
4 ETW000 [dev trc ,00000] db_con_connect (con_name=R/3)
63 0.034221
4 ETW000 [dev trc ,00000] find_con_by_name found the following connection
for reuse:
4 ETW000
52 0.034273
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = 000000000 state = DISCON
NECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ
= NO
4 ETW000
56 0.034329
4 ETW000 [dev trc ,00000] Got ORACLE_HOME=/oracle/PRD/920_64 from environm
ent
4 ETW000
572 0.034901
4 ETW000 [dev trc ,00000] -->oci_initialize (con_hdl=0)
127 0.035028
4 ETW000 [dev trc ,00000] got NLS_LANG='AMERICAN_AMERICA.WE8DEC' from envi
ronment
4 ETW000
56 0.035084
4 ETW000 [dev trc ,00000] Client NLS settings: AMERICAN_AMERICA.UTF8
2698 0.037782
4 ETW000 [dev trc ,00000] Logon as OPS$-user to get SAPPRD's password
78 0.037860
4 ETW000 [dev trc ,00000] Connecting as /@PRD on connection 0 (nls_hdl 0)
... (dbsl 640 070208)
4 ETW000
65 0.037925
4 ETW000 [dev trc ,00000] Nls CharacterSet NationalCharSet
C EnvHp ErrHp ErrHpBatch
4 ETW000
121 0.038046
4 ETW000 [dev trc ,00000] 0 UTF8
1 0x6000000001286990 0x600000000129a578 0x6000000001299f88
4 ETW000
57 0.038103
4 ETW000 [dev trc ,00000] Allocating service context handle for con_hdl=0
70 0.038173
4 ETW000 [dev trc ,00000] Allocating server context handle
39 0.038212
4 ETW000 [dev trc ,00000] Attaching to DB Server PRD (con_hdl=0,svchp=0x60
00000001299eb8,srvhp=0x600000000129c288)
4 ETW000
119 0.038331
4 ETW000 [dev trc ,00000] Tue Jun 9 16:16:53 2009
52106 0.090437
4 ETW000 [dev trc ,00000] Assigning server context 0x600000000129c288 to s
ervice context 0x6000000001299eb8
4 ETW000
72 0.090509
4 ETW000 [dev trc ,00000] Allocating user session handle
84 0.090593
4 ETW000 [dev trc ,00000] Starting user session (con_hdl=0,svchp=0x6000000
001299eb8,srvhp=0x600000000129c288,usrhp=0x60000000012a5c68)
4 ETW000
74 0.090667
4 ETW000 [dev trc ,00000] Assigning user session 0x60000000012a5c68 to ser
vice context 0x6000000001299eb8
4 ETW000
5734 0.096401
4 ETW000 [dev trc ,00000] BEGIN DBMS_APPLICATION_INFO.SET_MODULE (:
A0, :A1); END;
4 ETW000
145 0.096546
4 ETW000 [dev trc ,00000] BEGIN DBMS_APPLICATION_INFO.SET_CLIENT_IN
FO (:A0); END;
4 ETW000
291 0.096837
4 ETW000 [dev trc ,00000] SELECT SID FROM V$MYSTAT WHERE ROWNUM<2
4 ETW000
1156 0.097993
4 ETW000 [dev trc ,00000] Connected to session 7.
818 0.098811
4 ETW000 [dev trc ,00000] Now '/@PRD' is connected: con_hdl=0, nls_hdl=0,
session_id=7.
4 ETW000
56 0.098867
4 ETW000 [dev trc ,00000] ALTER SESSION SET NLS_SORT = BINARY
4 ETW000
61 0.098928
4 ETW000 [dev trc ,00000] SELECT USERID,PASSWD FROM SAPUSER WHERE U
SERID IN (:A0, :A1)
4 ETW000
337 0.099265
4 ETW000 [dbsloci. ,00000] *** ERROR => Cannot decrypt password I got from
table SAPUSER: rc = 16
4 ETW000
704 0.099969
4 ETW000 [dev trc ,00000] Disconnecting from connection 0 ...
44 0.100013
4 ETW000 [dev trc ,00000] Rolling back transaction ...
55 0.100068
4 ETW000 [dev trc ,00000] Close user session (con_hdl=0,svchp=0x6000000001
299eb8,usrhp=0x60000000012a5c68)
4 ETW000
208 0.100276
4 ETW000 [dev trc ,00000] Now I'm disconnected from ORACLE
393 0.100669
2EETW169 no connect possible: "DBMS = ORACLE --- dbs_o
ra_tnsname = 'PRD'"
MSLDR:prdadm 26>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
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.