cancel
Showing results for 
Search instead for 
Did you mean: 

sapcpe could not be started

Former Member
0 Kudos

Hi experts,

one of the Ecc6.0 server has been infected by virus.After removing the viruses,Sap instance is not starting.In mmc it theres error showing:

sapcpe couldnot start

strdbs.cmd could not be started.

Below is the log of sapstart.log

AP-R/3-Startup Program

Starting at 2011/06/07 16:45:51

Startup Profile: "c:\usr\sap\qas\sys\profile\START_DVEBMGS00_ECC6QAS "

Starting Programs

(4748) CreateProcess(
ECC6QAS\sapmnt\QAS\SYS\exe\nuc\NTI 386\sapcpe.EXE pf=
ECC6QAS\sapmnt\QAS\SYS\profile\QAS_DVEBMGS00_ ECC6QAS) failed(67). ERROR_BAD_NET_NAME: The network name cannot be found.

(4748) CreateProcess(
ECC6QAS\sapmnt\QAS\SYS\exe\nuc\NTI 386\strdbs.cmd QAS) failed(67). ERROR_BAD_NET_NAME: The network name cannot be found.

(5476) CreateProcess: C:\usr\sap\QAS\DVEBMGS00\exe\msg_server.EXE pf=
ECC6QAS\sapmnt\QAS\SYS\profile\QAS_DVEBMGS00_ ECC6QAS

(5160) CreateProcess: C:\usr\sap\QAS\DVEBMGS00\exe\disp+work.EXE pf=
ECC6QAS\sapmnt\QAS\SYS\profile\QAS_DVEBMGS00_ ECC6QAS

(1580) CreateProcess: C:\usr\sap\QAS\DVEBMGS00\exe\igswd.EXE -mode=profile pf=
ECC6QAS\sapmnt\QAS\SYS\profile\QAS_DVEBMGS00_ ECC6QAS

sap folder is having share name saploc and i can access through network.Whereas in the errorlog it shows CreateProcess(
ECC6QAS\*sapmnt\QAS\SYS\exe\nuc*\NTI 386\sapcpe.EXE .

under exe i have the folder named UC then why its looking for nuc...no idea.

O.S= WIN2000

DB= ORACLE 10g

Please guide to solve this issue.

Thanks.

Nadeem.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Juan,

I can loginto database from command prompt using sapsr4 /ops$connect password.but still the same error ...

Thanks.

JPReyes
Active Contributor
0 Kudos

The fact that you can login does not mean the system can... as per the logs seems like the password is missing from the SAPUSER table

As per the note you can delete and reinsert the uname/pass via sqlplus.

DELETE FROM "OPS$<sid>ADM".SAPUSER;

INSERT INTO "OPS$<sid>ADM".SAPUSER VALUES ('<sapowner>', '<password>');

Regards

Juan

Answers (4)

Answers (4)

Former Member
0 Kudos

Thanks a lot Juan.I followed the note SAP Note 400241

as you suggested.The Instance is UP now.

Regards.

Former Member
0 Kudos

Hi,

here's dev_w0 log:

M relno 7000

M patchlevel 0

M patchno 102

M intno 20050900

M make: multithreaded, ASCII, optimized

M pid 2468

M

M kernel runs with dp version 224(ext=109) (@(#) DPLIB-INT-VERSION-224)

M length of sys_adm_ext is 360 bytes

M ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 2468) [dpxxdisp.c 1301]

I MtxInit: 30000 0 0

M DpSysAdmExtCreate: ABAP is active

M DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active

M DpShMCreate: sizeof(wp_adm) 11752 (904)

M DpShMCreate: sizeof(tm_adm) 3605136 (17936)

M DpShMCreate: sizeof(wp_ca_adm) 18000 (60)

M DpShMCreate: sizeof(appc_ca_adm) 6000 (60)

M DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528040/528048

M DpShMCreate: sizeof(comm_adm) 528048 (1048)

M DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0

M DpShMCreate: sizeof(slock_adm) 0 (96)

M DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0

M DpShMCreate: sizeof(file_adm) 0 (72)

M DpShMCreate: sizeof(vmc_adm) 0 (1280)

M DpShMCreate: sizeof(wall_adm) (22440/34344/56/100)

M DpShMCreate: sizeof(gw_adm) 48

M DpShMCreate: SHM_DP_ADM_KEY (addr: 05450040, size: 4232576)

M DpShMCreate: allocated sys_adm at 05450040

M DpShMCreate: allocated wp_adm at 05451A28

M DpShMCreate: allocated tm_adm_list at 05454810

M DpShMCreate: allocated tm_adm at 05454840

M DpShMCreate: allocated wp_ca_adm at 057C4AD0

M DpShMCreate: allocated appc_ca_adm at 057C9120

M DpShMCreate: allocated comm_adm at 057CA890

M DpShMCreate: system runs without slock table

M DpShMCreate: system runs without file table

M DpShMCreate: allocated vmc_adm_list at 0584B740

M DpShMCreate: allocated gw_adm at 0584B780

M DpShMCreate: system runs without vmc_adm

M DpShMCreate: allocated ca_info at 0584B7B0

M DpShMCreate: allocated wall_adm at 0584B7B8

X

X Tue Jun 07 20:47:11 2011

X EmInit: MmSetImplementation( 2 ).

X MM global diagnostic options set: 0

X <ES> client 0 initializing ....

X Using implementation view

M <EsNT> Memory Reset disabled as NT default

X ES initialized.

M ThInit: running on host ECC6QAS

M

M Tue Jun 07 20:47:12 2011

M calling db_connect ...

C Prepending C:\usr\sap\QAS\DVEBMGS00\exe to Path.

C Oracle Client Version: '10.2.0.1.0'

C Client NLS settings: AMERICAN_AMERICA.UTF8

C Logon as OPS$-user to get SAPSR4's password

C Connecting as /@QAS on connection 0 (nls_hdl 0) ... (dbsl 700 010307)

C Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch

C 0 UTF8 1 04946B58 0494C0D4 0494B95C

C Attaching to DB Server QAS (con_hdl=0,svchp=0494B8A8,srvhp=09B50D24)

C Starting user session (con_hdl=0,svchp=0494B8A8,srvhp=09B50D24,usrhp=09B9ADE8)

C Now '/@QAS' is connected (con_hdl 0, nls_hdl 0).

C Got SAPSR4's password from OPS$-user

C Disconnecting from connection 0 ...

C Closing user session (con_hdl=0,svchp=0494B8A8,usrhp=09B9ADE8)

C Now I'm disconnected from ORACLE

C Connecting as SAPSR4/<pwd>@QAS on connection 0 (nls_hdl 0) ... (dbsl 700 010307)

C Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch

C 0 UTF8 1 04946B58 0494C0D4 0494B95C

C Starting user session (con_hdl=0,svchp=0494B8A8,srvhp=09B50D24,usrhp=09B9ADE8)

C *** ERROR => OCI-call 'OCISessionBegin' failed with rc=1005

[dboci.c 4532]

C Detaching from DB Server (con_hdl=0,svchp=0494B8A8,srvhp=09B50D24)

C *** ERROR => CONNECT failed with sql error '1005'

[dbsloci.c 10967]

B ***LOG BY2=> sql error 1005 performing CON [dbsh#2 @ 1204] [dbsh 1204 ]

B ***LOG BY0=> ORA-01005: null password given; logon denied [dbsh#2 @ 1204] [dbsh 1204 ]

B ***LOG BY2=> sql error 1005 performing CON [dblink#3 @ 431] [dblink 0431 ]

B ***LOG BY0=> ORA-01005: null password given; logon denied [dblink#3 @ 431] [dblink 0431 ]

M ***LOG R19=> ThInit, db_connect ( DB-Connect 000256) [thxxhead.c 1426]

M in_ThErrHandle: 1

M *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c 10240]

M

M Info for wp 0

M

M stat = WP_RUN

M waiting_for = NO_WAITING

M reqtype = DP_RQ_DIAWP

M act_reqtype = NO_REQTYPE

M rq_info = 0

M tid = -1

M mode = 255

M len = -1

M rq_id = 65535

M rq_source =

M last_tid = 0

M last_mode = 0

M semaphore = 0

M act_cs_count = 0

M csTrack = 0

M csTrackRwExcl = 0

M csTrackRwShrd = 0

M control_flag = 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 vm = no VM

M

M *****************************************************************************

M *

M * LOCATION SAP-Server ECC6QAS_QAS_00 on host ECC6QAS (wp 0)

M * ERROR ThInit: db_connect

M *

M * TIME Tue Jun 07 20:47:12 2011

M * RELEASE 700

M * COMPONENT Taskhandler

M * VERSION 1

M * RC 13

M * MODULE thxxhead.c

M * LINE 10439

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 720]

M *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c 260]

M Entering ThSetStatError

M ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)

M Entering ThReadDetachMode

M call ThrShutDown (1)...

M ***LOG Q02=> wp_halt, WPStop (Workproc 0 2468) [dpnttool.c 327]

JPReyes
Active Contributor
0 Kudos

ORA-01005: null password given; logon denied

That suggest that somehow the password for SAPSR4 user is blank or null (which is unusual as normally it will be incorrect but not null)

The best shot is to set the password again,for that follow the procedure and check the OPS$ users using SAP Note 400241

Regards

Juan

Former Member
0 Kudos

Thanks Juan.sap folder was not shared with sapmnt,it was shared only as saploc.Also i renamed the uc folder to nuc and now

sapcpe is started.But now disp+ work is not working, whereas msg_server and igswd is working.

below is the developer trace:

-


trc file: "dev_disp", trc level: 1, release: "700"

-


sysno 00

sid QAS

systemid 560 (PC with Windows NT)

relno 7000

patchlevel 0

patchno 102

intno 20050900

make: multithreaded, ASCII, optimized

pid 6140

Tue Jun 07 20:46:41 2011

kernel runs with dp version 224(ext=109) (@(#) DPLIB-INT-VERSION-224)

length of sys_adm_ext is 360 bytes

      • SWITCH TRC-HIDE on ***

***LOG Q00=> DpSapEnvInit, DPStart (00 6140) [dpxxdisp.c 1239]

shared lib "dw_xml.dll" version 102 successfully loaded

shared lib "dw_xtc.dll" version 102 successfully loaded

shared lib "dw_stl.dll" version 102 successfully loaded

shared lib "dw_gui.dll" version 102 successfully loaded

shared lib "dw_mdm.dll" version 102 successfully loaded

rdisp/softcancel_sequence : -> 0,5,-1

use internal message server connection to port 3900

Tue Jun 07 20:46:53 2011

      • WARNING => DpNetCheck: NiHostToAddr(www.doesnotexist0154.qqq.nxst) took 12 seconds

Tue Jun 07 20:47:10 2011

      • WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 17 seconds

***LOG GZZ=> 2 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c 5355]

MtxInit: 30000 0 0

DpSysAdmExtInit: ABAP is active

DpSysAdmExtInit: VMC (JAVA VM in WP) is not active

DpIPCInit2: start server >ECC6QAS_QAS_00 <

DpShMCreate: sizeof(wp_adm) 11752 (904)

DpShMCreate: sizeof(tm_adm) 3605136 (17936)

DpShMCreate: sizeof(wp_ca_adm) 18000 (60)

DpShMCreate: sizeof(appc_ca_adm) 6000 (60)

DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528040/528048

DpShMCreate: sizeof(comm_adm) 528048 (1048)

DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0

DpShMCreate: sizeof(slock_adm) 0 (96)

DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0

DpShMCreate: sizeof(file_adm) 0 (72)

DpShMCreate: sizeof(vmc_adm) 0 (1280)

DpShMCreate: sizeof(wall_adm) (22440/34344/56/100)

DpShMCreate: sizeof(gw_adm) 48

DpShMCreate: SHM_DP_ADM_KEY (addr: 04860040, size: 4232576)

DpShMCreate: allocated sys_adm at 04860040

DpShMCreate: allocated wp_adm at 04861A28

DpShMCreate: allocated tm_adm_list at 04864810

DpShMCreate: allocated tm_adm at 04864840

DpShMCreate: allocated wp_ca_adm at 04BD4AD0

DpShMCreate: allocated appc_ca_adm at 04BD9120

DpShMCreate: allocated comm_adm at 04BDA890

DpShMCreate: system runs without slock table

DpShMCreate: system runs without file table

DpShMCreate: allocated vmc_adm_list at 04C5B740

DpShMCreate: allocated gw_adm at 04C5B780

DpShMCreate: system runs without vmc_adm

DpShMCreate: allocated ca_info at 04C5B7B0

DpShMCreate: allocated wall_adm at 04C5B7B8

MBUF state OFF

DpCommInitTable: init table for 500 entries

EmInit: MmSetImplementation( 2 ).

MM global diagnostic options set: 0

<ES> client 0 initializing ....

<ES> InitFreeList

<ES> block size is 1024 kByte.

Using implementation view

<EsNT> Memory Reset disabled as NT default

<ES> 511 blocks reserved for free list.

ES initialized.

J2EE server info

start = TRUE

state = STARTED

pid = 3992

argv[0] = C:\usr\sap\QAS\DVEBMGS00\exe\jcontrol.EXE

argv[1] = C:\usr\sap\QAS\DVEBMGS00\exe\jcontrol.EXE

argv[2] = pf=C:\usr\sap\QAS\SYS\profile\QAS_DVEBMGS00_ECC6QAS

argv[3] = -DSAPSTART=1

argv[4] = -DCONNECT_PORT=1298

argv[5] = -DSAPSYSTEM=00

argv[6] = -DSAPSYSTEMNAME=QAS

argv[7] = -DSAPMYNAME=ECC6QAS_QAS_00

argv[8] = -DSAPPROFILE=C:\usr\sap\QAS\SYS\profile\QAS_DVEBMGS00_ECC6QAS

argv[9] = -DFRFC_FALLBACK=ON

argv[10] = -DFRFC_FALLBACK_HOST=localhost

start_lazy = 0

start_control = SAP J2EE startup framework

DpJ2eeStart: j2ee state = STARTED

rdisp/http_min_wait_dia_wp : 1 -> 1

***LOG Q0K=> DpMsAttach, mscon ( ECC6QAS) [dpxxdisp.c 11664]

DpStartStopMsg: send start message (myname is >ECC6QAS_QAS_00 <)

DpStartStopMsg: start msg sent

CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.

CCMS: start to initalize 3.X shared alert area (first segment).

DpJ2eeLogin: j2ee state = CONNECTED

DpMsgAdmin: Set release to 7000, patchlevel 0

MBUF state PREPARED

MBUF component UP

DpMBufHwIdSet: set Hardware-ID

***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c 1050]

DpMsgAdmin: Set patchno for this platform to 102

Release check o.K.

Tue Jun 07 20:47:50 2011

      • ERROR => W0 (pid 2468) died [dpxxdisp.c 14319]

      • ERROR => W1 (pid 6088) died [dpxxdisp.c 14319]

      • ERROR => W2 (pid 4776) died [dpxxdisp.c 14319]

      • ERROR => W3 (pid 4452) died [dpxxdisp.c 14319]

      • ERROR => W4 (pid 4696) died [dpxxdisp.c 14319]

      • ERROR => W5 (pid 4848) died [dpxxdisp.c 14319]

my types changed after wp death/restart 0xbf --> 0xbe

      • ERROR => W6 (pid 5720) died [dpxxdisp.c 14319]

my types changed after wp death/restart 0xbe --> 0xbc

      • ERROR => W7 (pid 5832) died [dpxxdisp.c 14319]

my types changed after wp death/restart 0xbc --> 0xb8

      • ERROR => W8 (pid 5440) died [dpxxdisp.c 14319]

      • ERROR => W9 (pid 5344) died [dpxxdisp.c 14319]

      • ERROR => W10 (pid 5392) died [dpxxdisp.c 14319]

my types changed after wp death/restart 0xb8 --> 0xb0

      • ERROR => W11 (pid 5460) died [dpxxdisp.c 14319]

my types changed after wp death/restart 0xb0 --> 0xa0

      • ERROR => W12 (pid 5484) died [dpxxdisp.c 14319]

my types changed after wp death/restart 0xa0 --> 0x80

      • DP_FATAL_ERROR => DpWPCheck: no more work processes

      • DISPATCHER EMERGENCY SHUTDOWN ***

increase tracelevel of WPs

NiWait: sleep (10000ms) ...

NiISelect: timeout 10000ms

NiISelect: maximum fd=1553

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Tue Jun 07 20:48:00 2011

NiISelect: TIMEOUT occured (10000ms)

dump system status

Workprocess Table (long) Tue Jun 07 17:48:00 2011

========================

JPReyes
Active Contributor
0 Kudos

Dispatcher is starting but wp's are not, can you post the errors on dev_w0?

Regards

Juan

JPReyes
Active Contributor
0 Kudos

CreateProcess(
ECC6QAS\sapmnt\QAS\SYS\exe\nuc\NTI 386\sapcpe.EXE pf=
ECC6QAS\sapmnt\QAS\SYS\profile\QAS_DVEBMGS00_ ECC6QAS) failed(67). ERROR_BAD_NET_NAME: The network name cannot be found.

(4748) CreateProcess(
ECC6QAS\sapmnt\QAS\SYS\exe\nuc\NTI 386\strdbs.cmd QAS) failed(67). ERROR_BAD_NET_NAME: The network name cannot be found.

sap folder is having share name saploc and i can access through network

<drive>:\usr\sap need to be shared as both sapmnt and saploc thats why sapcpe can't find the path.

Please fix the share and that should solve the problem

Regards

Juan