Skip to Content
avatar image
Former Member

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

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Feb 20, 2008 at 09:20 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 20, 2008 at 11:47 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • avatar image
    Former Member
    Mar 23, 2008 at 04:02 PM

    I think that you can use

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

    Chu

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 31, 2008 at 04:57 PM

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

    cheers,

    Tony.

    Add comment
    10|10000 characters needed characters exceeded