cancel
Showing results for 
Search instead for 
Did you mean: 

Windows Service is Deleted: How to get it back? Fix? Help!!!

Former Member
0 Kudos

Hi All:

I installed a full NW2004S SR2 with Max Db 64 Bit (Windows Server 2003 64 bit). 7.6.03.11

The install went perfectly. When I restarted the machine, it had a windows error. I used the Last Known Good Config. Windows starts.

the problem is the Service with the MaxDB starting service is gone (not in Services.msc)

How do I recreate it and point it to the proper directories?

Thanks

Tony.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

thanks guys I used a combo of the two answers (marked as ver helpfull) to solve.

cheers,

Tony.

Former Member
0 Kudos

I think that you can use

service -u -d SID -R dbroot to register the window service.

Chu

Former Member
0 Kudos

Thanks for your reply.

I meant the MAXDB windows services not the instance start up service (those are still there).

So there is nothing starting the DB since there is no service registered.

T.

lbreddemann
Active Contributor
0 Kudos

HI Tony,

if you're a SAP customer please do open a support message.

KR Lars

Former Member
0 Kudos

Hi,

call dbmcli -d SID is this working?

reregister the instance using

<drive>:\sapdb\programs\bin\dbmcli -R <drive>:\sapdb\SID\db inst_reg -k <drive>:\sapdb\SID\db

i think MAXDB service look like SAPDB: SID

check Note 913581 - Database will not start - "Wrong parameters"

regards,

kaushal

Former Member
0 Kudos

Hi,

you can re create service using ntscmgr

open cmd prompt in windows

locate your kernel directory using ( use CD command )

now execute following

ntscmgr install SAPSID_<instance number> -b <path of kernel > -p pf=<drive>:\usr\sap\SID\SYS\profile\START_DVEBMGS<instance_number>_hostname service

for example:



D:\usr\sap\IDS\SYS\exe\uc\NTI386>ntscmgr install SAPIDS_04 -b D:\usr\sap\IDS\D04
\exe\sapstartsrv.exe -p pf=D:\usr\sap\IDS\SYS\profile\START_D04_BCINICSS
M001 service

where D:\usr\sap\IDS\SYS\exe\uc\NTI386 is my kernel directory

IDS - SAP SID

04 - Instance number

BCINICSSM001  - host name


if you install abap + java system you need to create two service one for SCS instance and one for ABAP.

regards,

kaushal