on 12-04-2007 11:04 PM
Hi
I installed ECC 5 with Oracle, I started the Database from SAP Management Console and I have a problem when I want to logon with Sapgui. I have the message when trying to connect : "Application server shutdown Please try another application server" then Component DPTM, Release 460, return code -17.
Is anyone can help me about this to solve this problem ? Thank you in advance. Best regards.
Hello Raphael,
Taking a look at all the dev* files, there seems to the following problems.
1. The dev_disp file shows some network warnings. Can you check your network settings and also the host files in the "C:\windows\system32\drivers\etc". Also check the services files in the same directory. Are you using two NIC cards on this machine?
2. The dev_w0 file shows DB connectivty issues. Run "R3trans -x" as <SID>adm and have a look at the trans.log file generated, it will give detailed error on the DB connectivity issue.
Have a look at his sample chapter from sap press book "http://www.sap-press.de/download/dateien/1327/sappress_sap_on_windows.pdf"
Also have a look at this SAP Note 655240 - Composite SAP note: ORA-01033
Hope these pointers help you.
Regards,
Subodh
Message was edited by:
Subodh Deshpande
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
the problem is:
ORA-01033: ORACLE initialization or shutdown in progress
try this:
SQLPLUS "/ as sysdba"
shutdown immediate;
startup;
then stop and restart SAP. supply results.
Why is this hapenning? because you have not installed Oracle with SAP parameters.check the installation guide and do not run setup.exe... you must run sapserver.cmd to install Oracle.
using setup.exe will change a registry key that will tell Oracle to start the oracleservice[SId] starts. This is not wanted in a SAP installation.
> I want to logon with Sapgui. I have the message when
> trying to connect : "Application server shutdown
> Please try another application server" then Component
> DPTM, <b>Release 460</b>, return code -17.
are you using a sapgui 4.6? with ecc5? go for the latest sapgui (= 7.10)...this should work
GreetZ, AH
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Andreas
I installed SAPGUI 7.10 and I have the same error, first when I want to log : application server shutdown please try another application .
Then when I want to log a second time I have this message : partner 'ERP:sapdp00' not reached
WSAECONNREFUSED : connection refused
then when I read details I can see : error n° 10061.
Is anyone can help me please . Thank you in advance.
Best regards.
Thanks Markus for your answer.
Yes My SAP system is running on the same server as the SAPGU.
Here is below the different dev_files :
dev_disp file :
-
trc file: "dev_disp", trc level: 1, release: "640"
-
Thu Dec 06 19:26:17 2007
kernel runs with dp version 127(ext=102) (@(#) DPLIB-INT-VERSION-127)
length of sys_adm_ext is 312 bytes
systemid 560 (PC with Windows NT)
relno 6400
patchlevel 0
patchno 10
intno 20020600
make: multithreaded, ASCII
pid 3088
***LOG Q00=> DpSapEnvInit, DPStart (00 3088) [dpxxdisp.c 1093]
shared lib "dw_xml.dll" version 10 successfully loaded
shared lib "dw_xtc.dll" version 10 successfully loaded
shared lib "dw_stl.dll" version 10 successfully loaded
shared lib "dw_gui.dll" version 10 successfully loaded
Thu Dec 06 19:26:21 2007
WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 4 seconds
***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c 3880]
MtxInit: -2 0 0
DpSysAdmExtInit: ABAP is active
DpSysAdmExtInit: JAVA is not active
DpShMCreate: sizeof(wp_adm) 6624 (828)
DpShMCreate: sizeof(tm_adm) 2083168 (10364)
DpShMCreate: sizeof(wp_ca_adm) 18000 (60)
DpShMCreate: sizeof(appc_ca_adm) 6000 (60)
DpShMCreate: sizeof(comm_adm) 192000 (384)
DpShMCreate: sizeof(vmc_adm) 0 (320)
DpShMCreate: sizeof(wall_adm) (22440/34344/56/100)
DpShMCreate: SHM_DP_ADM_KEY (addr: 04830040, size: 2368736)
DpShMCreate: allocated sys_adm at 04830040
DpShMCreate: allocated wp_adm at 048317A8
DpShMCreate: allocated tm_adm_list at 04833188
DpShMCreate: allocated tm_adm at 048331B0
DpShMCreate: allocated wp_ca_adm at 04A2FB10
DpShMCreate: allocated appc_ca_adm at 04A34160
DpShMCreate: allocated comm_adm_list at 04A358D0
DpShMCreate: allocated comm_adm at 04A358E8
DpShMCreate: allocated vmc_adm_list at 04A646E8
DpShMCreate: system runs without vmc_adm
DpShMCreate: allocated ca_info at 04A64710
DpShMCreate: allocated wall_adm at 04A64718
MBUF state OFF
Thu Dec 06 19:26:22 2007
EmInit: MmSetImplementation( 2 ).
<ES> client 0 initializing ....
<ES> InitFreeList
<ES> block size is 1024 kByte.
Using implementation std
<EsNT> Memory Reset enabled as NT default
<EsNT> EsIUnamFileMapInit: Initialize the memory 613 MB
<ES> 612 blocks reserved for free list.
ES initialized.
rdisp/http_min_wait_dia_wp : 1 -> 1
***LOG Q0K=> DpMsAttach, mscon ( ERP) [dpxxdisp.c 9701]
CCMS: Initalizing shared memory of size 40000000 for monitoring segment.
CCMS: start to initalize 3.X shared alert area (first segment).
DpMsgAdmin: Set release to 6400, patchlevel 0
MBUF state PREPARED
MBUF component UP
DpMBufHwIdSet: set Hardware-ID
***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c 1025]
DpMsgAdmin: Set patchno for this platform to 10
Release check o.K.
Thu Dec 06 19:27:02 2007
ERROR => W0 (pid 3372) died [dpxxdisp.c 12152]
ERROR => W1 (pid 3380) died [dpxxdisp.c 12152]
my types changed after wp death/restart 0xbf --> 0xbe
ERROR => W2 (pid 3388) died [dpxxdisp.c 12152]
my types changed after wp death/restart 0xbe --> 0xbc
ERROR => W3 (pid 3396) died [dpxxdisp.c 12152]
my types changed after wp death/restart 0xbc --> 0xb8
ERROR => W4 (pid 3404) died [dpxxdisp.c 12152]
ERROR => W5 (pid 3412) died [dpxxdisp.c 12152]
my types changed after wp death/restart 0xb8 --> 0xb0
ERROR => W6 (pid 3420) died [dpxxdisp.c 12152]
my types changed after wp death/restart 0xb0 --> 0xa0
ERROR => W7 (pid 3428) died [dpxxdisp.c 12152]
my types changed after wp death/restart 0xa0 --> 0x80
DP_FATAL_ERROR => DpWPCheck: no more work processes
DISPATCHER EMERGENCY SHUTDOWN ***
increase tracelevel of WPs
killing W0-3372 (SIGUSR2)
ERROR => DpWpKill(3372, SIGUSR2) failed [dpxxtool.c 2468]
killing W1-3380 (SIGUSR2)
ERROR => DpWpKill(3380, SIGUSR2) failed [dpxxtool.c 2468]
killing W2-3388 (SIGUSR2)
ERROR => DpWpKill(3388, SIGUSR2) failed [dpxxtool.c 2468]
killing W3-3396 (SIGUSR2)
ERROR => DpWpKill(3396, SIGUSR2) failed [dpxxtool.c 2468]
killing W4-3404 (SIGUSR2)
ERROR => DpWpKill(3404, SIGUSR2) failed [dpxxtool.c 2468]
killing W5-3412 (SIGUSR2)
ERROR => DpWpKill(3412, SIGUSR2) failed [dpxxtool.c 2468]
killing W6-3420 (SIGUSR2)
ERROR => DpWpKill(3420, SIGUSR2) failed [dpxxtool.c 2468]
killing W7-3428 (SIGUSR2)
ERROR => DpWpKill(3428, SIGUSR2) failed [dpxxtool.c 2468]
NiWait: sleep (10000 msecs) ...
NiISelect: timeout 10000 ms
NiISelect: maximum fd=1685
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Thu Dec 06 19:27:12 2007
NiISelect: TIMEOUT occured (10000 ms)
dump system status
Workprocess Table (long) Thu Dec 06 18:27:12 2007
========================
No Ty. Pid Status Cause Start Err Sem CPU Time Program Cl User Action Table
-
0 DIA 3372 Ended no 1 0 0
1 DIA 3380 Ended no 1 0 0
2 UPD 3388 Ended no 1 0 0
3 ENQ 3396 Ended no 1 0 0
4 BTC 3404 Ended no 1 0 0
5 BTC 3412 Ended no 1 0 0
6 SPO 3420 Ended no 1 0 0
7 UP2 3428 Ended no 1 0 0
Dispatcher Queue Statistics Thu Dec 06 18:27:12 2007
===========================
--------
+
Typ | now | high | max | writes | reads |
--------
+
NOWP | 0 | 3 | 2000 | 9 | 9 |
--------
+
DIA | 5 | 5 | 2000 | 5 | 0 |
--------
+
UPD | 0 | 0 | 2000 | 0 | 0 |
--------
+
ENQ | 0 | 0 | 2000 | 0 | 0 |
--------
+
BTC | 0 | 0 | 2000 | 0 | 0 |
--------
+
SPO | 0 | 0 | 2000 | 0 | 0 |
--------
+
UP2 | 0 | 0 | 2000 | 0 | 0 |
--------
+
max_rq_id 13
wake_evt_udp_now 0
wake events total 9, udp 7 ( 77%), shm 2 ( 22%)
since last update total 9, udp 7 ( 77%), shm 2 ( 22%)
Dump of tm_adm structure: Thu Dec 06 18:27:12 2007
=========================
Term uid man user term lastop mod wp ta a/i (modes)
Workprocess Comm. Area Blocks Thu Dec 06 18:27:12 2007
=============================
Slots: 300, Used: 1, Max: 0
--------
+
id | owner | pid | eyecatcher |
--------
+
0 | DISPATCHER | -1 | WPCAAD000 |
NiWait: sleep (5000 msecs) ...
NiISelect: timeout 5000 ms
NiISelect: maximum fd=1685
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Thu Dec 06 19:27:17 2007
NiISelect: TIMEOUT occured (5000 ms)
Shutdown server ...
DpModState: buffer in state MBUF_PREPARED
NiBufSend starting
NiIWrite: write 110, 1 packs, MESG_IO, hdl 3, data complete
MsINiWrite: sent 110 bytes
MsIModState: change state to SHUTDOWN
DpModState: change server state from STARTING to SHUTDOWN
Switch off Shared memory profiling
ShmProtect( 57, 3 )
ShmProtect(SHM_PROFILE, SHM_PROT_RW
ShmProtect( 57, 1 )
ShmProtect(SHM_PROFILE, SHM_PROT_RD
DpWakeUpWps: wake up all wp's
Stop work processes...
Stop gateway
killing process (3356) (SOFT_KILL)
Stop icman
killing process (3364) (SOFT_KILL)
Terminate gui connections
[DpProcDied] Process lives (PID:3356 HANDLE:1664)
waiting for termination of gateway
NiWait: sleep (1000 msecs) ...
NiISelect: timeout 1000 ms
NiISelect: maximum fd=1685
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Thu Dec 06 19:27:18 2007
NiISelect: TIMEOUT occured (1000 ms)
[DpProcDied] Process died (PID:3356 HANDLE:1664)
[DpProcDied] Process died (PID:3364 HANDLE:1656)
DpHalt: cancel all lcom connections
MPI CancelAll 2 -> 0
MPI DeleteAll 2 -> 0
NiIMyHostName: hostname = 'ERP'
AdGetSelfIdentRecord: > <
AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
AdCvtRecToExt: opcode 4 (AD_STARTSTOP), ser 0, ex 0, errno 0
DpConvertRequest: net size = 163 bytes
NiBufSend starting
NiIWrite: write 562, 1 packs, MESG_IO, hdl 3, data complete
MsINiWrite: sent 562 bytes
send msg (len 110+452) to name -, type 4, key -
detach from message server
***LOG Q0M=> DpMsDetach, ms_detach () [dpxxdisp.c 9927]
NiBufSend starting
NiIWrite: write 110, 1 packs, MESG_IO, hdl 3, data complete
MsINiWrite: sent 110 bytes
MsIDetach: send logout to msg_server
MsIDetach: call exit function
DpMsShutdownHook called
NiSelClear: removed hdl 3 from selectset
MBUF state OFF
AdGetSelfIdentRecord: > <
AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
blks_in_queue/wp_ca_blk_no/wp_max_no = 1/300/8
LOCK WP ca_blk 1
make DISP owner of wp_ca_blk 1
DpRqPutIntoQueue: put request into queue (reqtype 1, prio LOW, rq_id 19)
MBUF component DOWN
NiBufClose: clear extensions for hdl 3
NiBufSetStat: bufstat of hdl 3 changed from OK to OFF
NiICloseHandle: shutdown and close hdl 3 / socket 1668
MsIDetach: detach MS-system
EsCleanup ....
***LOG Q05=> DpHalt, DPStop ( 3088) [dpxxdisp.c 8460]
Good Bye .....
dev_ms file :
-
trc file: "dev_ms", trc level: 1, release: "640"
-
[Thr 3084] Thu Dec 06 19:26:16 2007
[Thr 3084] systemid 560 (PC with Windows NT)
[Thr 3084] relno 6400
[Thr 3084] patchlevel 0
[Thr 3084] patchno 7
[Thr 3084] intno 20020600
[Thr 3084] pid 3080
[Thr 3084] ***LOG Q01=> MsSInit, MSStart (Msg Server 1 3080) [msxxserv.c 1638]
[Thr 3084] MsHttpInit: full qualified hostname = ERP
[Thr 3084] HTTP logging is switch off
[Thr 3084] set HTTP state to LISTEN
[Thr 3084] *** I listen to port sapmsERP (3600) ***
[Thr 3084] *** HTTP port 8100 state LISTEN ***
[Thr 3084] CUSTOMER KEY: >D1882381452<
[Thr 3084] Thu Dec 06 19:27:18 2007
[Thr 3084] *** ERROR => MsSClientHandle: no server provides service ENQ (4), requested from ERP_ERP_00 [msxxserv.c 4144]
[Thr 3084] ***LOG Q0I=> NiPRead: recv (10054: WSAECONNRESET: Connection reset by peer) [ninti.c 777]
[Thr 3084] *** ERROR => MsSRead: NiBufReceive (rc=NIECONN_BROKEN) [msxxserv.c 8975]
[Thr 3084] *** ERROR => MsSClientHandle: MsSRead C0 (ERP_ERP_00), MSEINTERN [msxxserv.c 3731]
dev_w0 file :
-
trc file: "dev_w0", trc level: 1, release: "640"
-
*
ACTIVE TRACE LEVEL 1
ACTIVE TRACE COMPONENTS all, M
*
B
B Thu Dec 06 19:26:23 2007
B create_con (con_name=R/3)
B Loading DB library 'D:\usr\sap\ERP\SYS\exe\run\dboraslib.dll' ...
B Library 'D:\usr\sap\ERP\SYS\exe\run\dboraslib.dll' loaded
B Version of 'D:\usr\sap\ERP\SYS\exe\run\dboraslib.dll' is "640.00", patchlevel (0.6)
B New connection 0 created
M systemid 560 (PC with Windows NT)
M relno 6400
M patchlevel 0
M patchno 10
M intno 20020600
M make: multithreaded, ASCII
M pid 3372
M
M ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 3372) [dpxxdisp.c 1153]
I MtxInit: -2 0 0
M DpSysAdmExtCreate: ABAP is active
M DpSysAdmExtCreate: JAVA is not active
M DpShMCreate: sizeof(wp_adm) 6624 (828)
M DpShMCreate: sizeof(tm_adm) 2083168 (10364)
M DpShMCreate: sizeof(wp_ca_adm) 18000 (60)
M DpShMCreate: sizeof(appc_ca_adm) 6000 (60)
M DpShMCreate: sizeof(comm_adm) 192000 (384)
M DpShMCreate: sizeof(vmc_adm) 0 (320)
M DpShMCreate: sizeof(wall_adm) (22440/34344/56/100)
M DpShMCreate: SHM_DP_ADM_KEY (addr: 05030040, size: 2368736)
M DpShMCreate: allocated sys_adm at 05030040
M DpShMCreate: allocated wp_adm at 050317A8
M DpShMCreate: allocated tm_adm_list at 05033188
M DpShMCreate: allocated tm_adm at 050331B0
M DpShMCreate: allocated wp_ca_adm at 0522FB10
M DpShMCreate: allocated appc_ca_adm at 05234160
M DpShMCreate: allocated comm_adm_list at 052358D0
M DpShMCreate: allocated comm_adm at 052358E8
M DpShMCreate: allocated vmc_adm_list at 052646E8
M DpShMCreate: system runs without vmc_adm
M DpShMCreate: allocated ca_info at 05264710
M DpShMCreate: allocated wall_adm at 05264718
X EmInit: MmSetImplementation( 2 ).
X <ES> client 0 initializing ....
X Using implementation std
M <EsNT> Memory Reset enabled as NT default
X ES initialized.
M
M Thu Dec 06 19:26:24 2007
M calling db_connect ...
C Got ORACLE_HOME=D:\oracle\ora92 from environment
C Client NLS settings: AMERICAN_AMERICA.WE8DEC
C Logon as OPS$-user to get SAPERP's password
C Connecting as /@ERP on connection 0 ...
C Attaching to DB Server ERP (con_hdl=0,svchp=07774A4C,svrhp=036B2534)
C Starting user session (con_hdl=0,svchp=07774A4C,srvhp=036B2534,usrhp=036BAD14)
C *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1033
[dboci.c 3721]
C Detaching from DB Server (con_hdl=0,svchp=07774A4C,srvhp=036B2534)
C *** ERROR => CONNECT failed with sql error '1033'
[dbsloci.c 9750]
C Try to connect with default password
C Connecting as SAPERP/<pwd>@ERP on connection 0 ...
C Attaching to DB Server ERP (con_hdl=0,svchp=07774A4C,svrhp=036B2534)
C Starting user session (con_hdl=0,svchp=07774A4C,srvhp=036B2534,usrhp=036BAD14)
C *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1033
[dboci.c 3721]
C Detaching from DB Server (con_hdl=0,svchp=07774A4C,srvhp=036B2534)
C *** ERROR => CONNECT failed with sql error '1033'
[dbsloci.c 9750]
B ***LOG BV3=> severe db error 1033 ; work process is stopped [dbsh#1 @ 1195] [dbsh 1195 ]
B ***LOG BY2=> sql error 1033 performing CON [dblink#1 @ 419] [dblink 0419 ]
B ***LOG BY0=> ORA-01033: ORACLE initialization or shutdown in progress [dblink#1 @ 419] [dblink 0419 ]
M ***LOG R19=> tskh_init, db_connect ( DB-Connect 000256) [thxxhead.c 1270]
M in_ThErrHandle: 1
M *** ERROR => tskh_init: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c 9377]
M
M Info for wp 0
M
M stat = 4
M reqtype = 1
M act_reqtype = -1
M rq_info = 0
M tid = -1
M mode = 255
M len = -1
M rq_id = 65535
M rq_source = 255
M last_tid = 0
M last_mode = 0
M int_checked_resource(RFC) = 0
M ext_checked_resource(RFC) = 0
M int_checked_resource(HTTP) = 0
M ext_checked_resource(HTTP) = 0
M report = > <
M action = 0
M tab_name = > <
M
M *****************************************************************************
M *
M * LOCATION SAP-Server ERP_ERP_00 on host ERP (wp 0)
M * ERROR tskh_init: db_connect
M *
M * TIME Thu Dec 06 19:26:24 2007
M * RELEASE 640
M * COMPONENT Taskhandler
M * VERSION 1
M * RC 13
M * MODULE thxxhead.c
M * LINE 9553
M * COUNTER 1
M *
M *****************************************************************************
M
M PfStatDisconnect: disconnect statistics
M Entering TH_CALLHOOKS
M ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
M *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c 728]
M *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c 245]
M Entering ThSetStatError
M Entering ThReadDetachMode
M call ThrShutDown (1)...
M ***LOG Q02=> wp_halt, WPStop (Workproc 0 3372) [dpnttool.c 357]
Thank you in advance for your help.
Best Regards.
post dev_ms, dev_disp, dev_w0 here
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you see the Oracle DB and SAP dw processes runnging on the OS? Seems like you have a DB and SAP issue.
The Oracle 1033 is usually an error you get then a shutdown is in progress.
Make sure the DB is mounted and open.
I also see "Got ORACLE_HOME=D:\oracle\ora92 from environment" in the logs. New generation SAP needs Oracle 10.2, is this a 10.2 installation?
ERROR => MsSClientHandle: no server provides service ENQ (4), requested from ERP_ERP_00 [msxxserv.c 4144]
Check the system profiles for enqueue settings and make sure the DB is up and running, make sure R3trans works as well by running R3trans -d
Anything out of the ordinary in the Oracle alert log?
Message was edited by:
Donald Voorhees
Hello,
Try connecting from another SAPGUI, do you get the same error?
Any errors in SM21 log, dev* trace or Oracle alert log?
Best regards,
Warren
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.