cancel
Showing results for 
Search instead for 
Did you mean: 

sap services problem

Former Member
0 Kudos

Hi everyone..

My issues is related with operation system (windows).

I have issue while starting MMC , when i try to start MMC an error occurs.

Error : CANNOT CONNECT TO SAP SERVICE ON OC5

THE SPECIFIED SERVICE DOES NOT EXIST AS AN INSTALLED SERVICE.

My SAP is running on windows 2000 advanced server.

I have tried uninstalling and reinstalling sap services through sapstartsrv.exe in

run folder..still no go.

could anyone help me on this..

Thank you

kiran devaral..

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member204746
Active Contributor
0 Kudos

you should open a command prompt and run this command:

SAPSTARTSRV

Former Member
0 Kudos

this won't help.

The service executable (sapstartsrv.exe) is found by the Windows Service Control Manager an started.

So sapstartsrv.exe can be started interactively...

DIR_HOME (
saplocalhost\saploc\<SID>\<Instancename>\work is the current working directory for the service and the executable tried to chcwd() to it. This failed.

regards

Peter

former_member204746
Active Contributor
0 Kudos

he clearly stated that his error message is:

Error : CANNOT CONNECT TO SAP SERVICE ON OC5

THE SPECIFIED SERVICE DOES NOT EXIST AS AN INSTALLED SERVICE.

so, he probably needs to re-create his SAP[SID]_00 Windows service.

so, OS command SAPSTARTSRV will re-create his Windows service.

Former Member
0 Kudos

well the reality is a little more complex.

The SAPMMC connects to a DCOM Service. This DCOM Service is defined to start a Windows Service (SAP[SID]_xx).

Kumar did also provide some addition log information:

and in the eventviewer sapoc4_00 error file properties tells :

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

1. Initialization failed. Service not started. [ntservmain.cpp 1002]

2.Unable to change to Directory
oc5\saploc\OC4\DVEBMGS00\work. (Error 53 ERROR_BAD_NETPATH: The network path was not found. ) [ntservstart.cpp 692]

which tells us that the service definition exists, but the service won't start - reason see last message.

I hope that those logs are from the time he got the error message in mmc.

Former Member
0 Kudos

well peter i found something interesting..may by this will help..

under usr\sap\prfclog folder

DEV_coll contain :

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

20:41:59 27.12.2006 LOG: ====================================================================================

20:41:59 27.12.2006 LOG: = OS Collector Start

20:41:59 27.12.2006 LOG: ====================================================================================

20:41:59 27.12.2006 LOG: Starting F:\usr\sap\OC4\SYS\exe\run\SAPOSCOL.EXE

20:41:59 27.12.2006 LOG: Saposcol Version is [COLL 20.79 03/08/22 620 - 20.43 NT 03/12/22]

20:42:00 27.12.2006 LOG: Allocate Counter Buffer [10000 Bytes]

20:42:00 27.12.2006 LOG: Allocate Instance Buffer [10000 Bytes]

20:42:16 27.12.2006 LOG: You can ignore :"Index of Title:[Disk Queue Length] not found" on Windows NT 4.0

20:42:16 27.12.2006 LOG: You can ignore :"Index of Title:[Disk Queue Length] not found" on Windows NT 4.0

20:42:19 27.12.2006 LOG: INFO: saposcol's shared memory size is 42536.

20:42:19 27.12.2006 LOG: Shared Memory was created by process:1104

20:42:22 27.12.2006 LOG: Collector started - Version: COLL 20.79 03/08/22 620 - 20.43 NT 03/12/22

20:42:22 27.12.2006 LOG: read put-file Wed Dec 27 04:59:58 2006

20:42:22 27.12.2006 LOG: Collector PID: 1104

20:42:32 27.12.2006 LOG: saposcol uses F:\usr\sap\PRFCLOG\dev_proc for process monitoring

20:42:32 27.12.2006 LOG: INFO: cannot open F:\usr\sap\PRFCLOG\dev_proc fopen() failed

20:42:32 27.12.2006 LOG: please check if file exists and is readable for current user

and in the eventviewer sapoc4_00 error file properties tells :

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

1. Initialization failed. Service not started. [ntservmain.cpp 1002]

2.Unable to change to Directory
oc5\saploc\OC4\DVEBMGS00\work. (Error 53 ERROR_BAD_NETPATH: The network path was not found. ) [ntservstart.cpp 692]

May be this will help you ..i am working on it ..awaiting for some guidence..

thank you once again..

kiran kumar

Former Member
0 Kudos

Hi,

20:42:32 27.12.2006 LOG: INFO: cannot open F:\usr\sap\PRFCLOG\dev_proc fopen() failed

did u check this? if it exists or not?

Former Member
0 Kudos

is not relevant for the service to start.

Former Member
0 Kudos

is this directory existing?

first, we can see SAPGLOBALHOST parameter in the start profile but not in the instance profile. Normally you need it in both places with the same value.

SAPGLOBALHOST should have the value of the computername (environment variable), should be equivalent to hostname of the host where the directory structure \usr\sap\<sid>\sys is located on. But this is not the problem.

I assume that the network share saploc is not existing or is not write enabled for the SAP users. The network shares saploc and sapmnt have to point to the \usr\sap directory.

you should check that first.

peter

Former Member
0 Kudos

hey sorry peter..

I posted wrong profile..

here is the start profile..

start profile :

888888888888888888

#.******************************************************************************************************************************

#.* *

#.* Start profile START_DVEBMGS00_OC5 *

#.* *

#.* Version = 000001 *

#.* Generated by user = SAP* *

#.* Generated on = 10.10.2006 , 15:26:07 *

#.* *

#.******************************************************************************************************************************

SAPSYSTEMNAME = OC4

INSTANCE_NAME = DVEBMGS00

SAPSYSTEM = 00

SAPGLOBALHOST = oc5

_DB = strdbs.cmd

Start_Program_02 = immediate $(DIR_EXECUTABLE)\$(_DB) OC4

MS = msgserver.exe

Start_Program_03 = local $(DIR_EXECUTABLE)\$(_MS) pf=$(DIR_PROFILE)\OC4_DVEBMGS00_oc5

_DW = disp+work.exe

Start_Program_04 = local $(DIR_EXECUTABLE)\$(_DW) pf=$(DIR_PROFILE)\OC4_DVEBMGS00_oc5

Thank you

kiran

Former Member
0 Kudos

hi everyone.

I forgot one other point..

after creating the service , when i am trying to start the service it gives an error

-


Microsoft Management Console

-


Could not start the SAPoc4_00 service on Local Computer.

The service did not return an error. This could be an internal Windows error or an internal service error.

If the problem persists, contact your system administrator.

-


OK

-


..

          • I verified the startProfile file

#.***************************************************************************************************************

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

#.*

*

#.* Instance profile OC4_DVEBMGS00_OC5

*

#.*

*

#.* Version = 000003

*

#.* Generated by user = SAP*

*

#.* Generated on = 09.11.2006 , 20:19:33

*

#.*

*

#.***************************************************************************************************************

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

#parameter created by: SAP* 09.11.2006 20:19:17

abap/buffersize = 300000

#parameter created by: SAP* 10.10.2006 15:27:13

login/system_client = 800

SAPSYSTEMNAME = OC4

INSTANCE_NAME = DVEBMGS00

SAPSYSTEM = 00

rdisp/wp_no_dia = 6

rdisp/wp_no_btc = 2

rdisp/wp_no_vb = 3

rdisp/wp_no_vb2 = 2

rdisp/wp_no_enq = 1

rdisp/wp_no_spo = 1

SAPGLOBALHOST = oc5

PHYS_MEMSIZE = 614

DIR_TRANS = F:\usr\sap\trans

icm/server_port_0 = PROT=HTTP,PORT=8000,EXTBIND=1

DIR_ORAHOME = F:\oracle\ora81

*************may be this would help you..

thank you..

kiran

Former Member
0 Kudos

but this one looks definitely as an instance profile and not as a start profile.

please check this again.

if you just mix those up when creating this message and the service is configured to use a startprofile, then please post some lines from Windows eventviewer - application log.

peter