Quantcast
Channel: SCN : Popular Discussions - ABAP和Java开发 (ABAP & Java Development)
Viewing all articles
Browse latest Browse all 4604

异机恢复后,adm对DB的访问有异常

$
0
0

环境 AIX 5.3 ECC 6.0 ORACLE 10G

 

背景 双机(ECCPRD01 ECCPRD02)数据库恢复至单机环境(VECCPRD),

VECCPRD的OS CI DB都是全新安装,sid和双机的一致

 

现象 恢复成功后<sid>adm用户 执行startsap 提示

 

 

Checking PRD Database

-


ABAP Database is not available via R3trans

 

Starting SAP-Collector Daemon

-


10:38:07 14.10.2010   LOG: Effective User Id is root

***********************************************************************

  • This is Saposcol Version COLL 20.95 640 - AIX v11.16 5L-64 bit 080318

  • Usage:  saposcol -l: Start OS Collector

  •         saposcol -k: Stop  OS Collector

  •         saposcol -d: OS Collector Dialog Mode

  •         saposcol -s: OS Collector Status

  • The OS Collector (PID 9556172) is already running .....

************************************************************************

saposcol already running

ABAP Database PRD must be started on remote server

 

 

执行startsap db 同样提示ABAP Database PRD must be started on remote server

直接执行startdb可以启动DB 然后启动CI 一切正常

但是在<sid>adm用户下执行 R3trans -d log如下

 

 

 

 

4 ETW000 R3trans version 6.13 (release 640 - 17.07.08 - 08:11:00).

4 ETW000 unicode enabled version

4 ETW000 ===============================================

4 ETW000

4 ETW000 date&time   : 13.10.2010 - 10:08:05

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 Oct 13 10:08:05 2010                              92  0.000092

4 ETW000  [dev trc     ,00000]  db_con_init called                                    22  0.000114

4 ETW000  [dev trc     ,00000]  create_con (con_name=R/3)                             61  0.000175

4 ETW000  [dev trc     ,00000]  Loading DB library '/usr/sap/PRD/SYS/exe/run/dboraslib.o' ...

4 ETW000                                                                              66  0.000241

4 ETW000  [dev trc     ,00000]  load shared library (/usr/sap/PRD/SYS/exe/run/dboraslib.o), hdl 0

4 ETW000                                                                            3173  0.003414

4 ETW000  [dev trc     ,00000]  Library '/usr/sap/PRD/SYS/exe/run/dboraslib.o' loaded

4 ETW000                                                                              30  0.003444

4 ETW000  [dev trc     ,00000]  function DbSlExpFuns loaded from library /usr/sap/PRD/SYS/exe/run/dboraslib.o

4 ETW000                                                                              48  0.003492

4 ETW000  [dev trc     ,00000]  Version of '/usr/sap/PRD/SYS/exe/run/dboraslib.o' is "640.00", patchlevel (0.220)

4 ETW000                                                                             486  0.003978

4 ETW000  [dev trc     ,00000]  function dsql_db_init loaded from library /usr/sap/PRD/SYS/exe/run/dboraslib.o

4 ETW000                                                                              32  0.004010

4 ETW000  [dev trc     ,00000]  function dbdd_exp_funs loaded from library /usr/sap/PRD/SYS/exe/run/dboraslib.o

4 ETW000                                                                              52  0.004062

4 ETW000  [dev trc     ,00000]  New connection 0 created                              45  0.004107

4 ETW000  [dev trc     ,00000]  0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO

4 ETW000                                                                              37  0.004144

4 ETW000  [dev trc     ,00000]  db_con_connect (con_name=R/3)                         52  0.004196

4 ETW000  [dev trc     ,00000]  find_con_by_name found the following connection for reuse:

4 ETW000                                                                              46  0.004242

4 ETW000  [dev trc     ,00000]  0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO

4 ETW000                                                                              35  0.004277

4 ETW000  [dev trc     ,00000]  Got ORACLE_HOME=/oracle/PRD/102_64 from environment

4 ETW000                                                                             471  0.004748

4 ETW000  [dev trc     ,00000]  -->oci_initialize (con_hdl=0)                         91  0.004839

4 ETW000  [dev trc     ,00000]  got NLS_LANG='AMERICAN_AMERICA.UTF8' from environment

4 ETW000                                                                              60  0.004899

4 ETW000  [dev trc     ,00000]  Client NLS settings: AMERICAN_AMERICA.UTF8          1553  0.006452

4 ETW000  [dev trc     ,00000]  Logon as OPS$-user to get SAPPRD's password           39  0.006491

4 ETW000  [dev trc     ,00000]  Connecting as /@PRD on connection 0 (nls_hdl 0) ... (dbsl 640 070308)

4 ETW000                                                                              48  0.006539

4 ETW000  [dev trc     ,00000]  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch

4 ETW000                                                                              33  0.006572

4 ETW000  [dev trc     ,00000]    0 UTF8                                                      1 0x1113a15a0 0x1113b42a0 0x1113b3b58

4 ETW000                                                                              42  0.006614

4 ETW000  [dev trc     ,00000]  Allocating service context handle for con_hdl=0       43  0.006657

4 ETW000  [dev trc     ,00000]  Allocating server context handle                      37  0.006694

4 ETW000  [dev trc     ,00000]  Attaching to DB Server PRD (con_hdl=0,svchp=0x1113b6f78,srvhp=0x1113b7198)

4 ETW000                                                                              80  0.006774

4 ETW000  [dboci.c     ,00000]  *** ERROR => OCI-call 'OCIServerAttach' failed: rc = 12537

4 ETW000                                                                           37287  0.044061

4 ETW000  [dbsloci.    ,00000]  *** ERROR => CONNECT failed with sql error '12537'

4 ETW000                                                                              50  0.044111

4 ETW000  [dev trc     ,00000]     set_ocica() -> OCI or SQL return code 12537        35  0.044146

4 ETW000  [dev trc     ,00000]  Try to connect with default password                 124  0.044270

4 ETW000  [dev trc     ,00000]  Connecting as SAPPRD/<pwd>@PRD on connection 0 (nls_hdl 0) ... (dbsl 640 070308)

4 ETW000                                                                              35  0.044305

4 ETW000  [dev trc     ,00000]  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch

4 ETW000                                                                              33  0.044338

4 ETW000  [dev trc     ,00000]    0 UTF8                                                      1 0x1113a15a0 0x1113b42a0 0x1113b3b58

4 ETW000                                                                              33  0.044371

4 ETW000  [dev trc     ,00000]  server_detach(con_hdl=0,stale=0,svrhp=0x1113b7198)

4 ETW000                                                                              45  0.044416

4 ETW000  [dev trc     ,00000]  Detaching from DB Server (con_hdl=0,svchp=0x1113b6f78,srvhp=0x1113b7198)

4 ETW000                                                                              48  0.044464

4 ETW000  [dev trc     ,00000]  Deallocating server context handle 0x1113b7198        37  0.044501

4 ETW000  [dev trc     ,00000]  Allocating server context handle                      26  0.044527

4 ETW000  [dev trc     ,00000]  Attaching to DB Server PRD (con_hdl=0,svchp=0x1113b6f78,srvhp=0x1113b7198)

4 ETW000                                                                              38  0.044565

4 ETW000  [dboci.c     ,00000]  *** ERROR => OCI-call 'OCIServerAttach' failed: rc = 12537

4 ETW000                                                                           27852  0.072417

4 ETW000  [dbsloci.    ,00000]  *** ERROR => CONNECT failed with sql error '12537'

4 ETW000                                                                              33  0.072450

4 ETW000  [dev trc     ,00000]     set_ocica() -> OCI or SQL return code 12537        21  0.072471

4 ETW000  [dblink      ,00428]  ***LOG BY2=>sql error 12537  performing CON [dblink#3 @ 428]

4 ETW000                                                                             154  0.072625

4 ETW000  [dblink      ,00428]  ***LOG BY0=>ORA-12537: TNS:connection closed [dblink#3 @ 428]

4 ETW000                                                                              30  0.072655

2EETW169 no connect possible: "DBMS = ORACLE                           --- dbs_ora_tnsname = 'PRD'"

 

adm用户在startsap 和stopsap时都无法调用startdb 和 stopdb来启停数据库 但可以通过直接执行脚本启停

SAP GUI DB13中不能发起任何作业

哪位遇见过这种情况


Viewing all articles
Browse latest Browse all 4604

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>