cancel
Showing results for 
Search instead for 
Did you mean: 

sapstartsrv service not starting when installing SCS Instance on MSCS

Former Member
0 Kudos

Hi,

I am installing NW701 EHP1 SR1 on Windows 2008 and MS SQL server 2008.

I am installing NW Java on MSCS cluster. When i am installing SCS instance, i am getting an error stating sapstartsrv service is not able to start.

Here are some traces

TRACE 2010-08-30 08:11:36.860

NWInstance.getStartProfilePath() done: I:/usr/sap/BT3/SYS/profile/START_SCS03_usgdc-vbijct

INFO 2010-08-30 08:11:36.865 [synxcpath.cpp:776]

CSyPath::createFile()

Creating file C:\Program Files\sapinst_instdir\NW701\AS-JAVA\MSS\HA\SCS\sapstartsrv.exe.log.

INFO 2010-08-30 08:11:36.869

CJSlibModule::writeInfo_impl()

Output of I:\usr\sap\BT3\SCS03\exe\sapstartsrv.exe -r -q -p I:\usr\sap\BT3\SYS\profile\START_SCS03_usgdc-vbijct -s BT3 -n 03 -U ERP\SAPServiceBT3 -P XXXXXX -e ERP\bt3adm is written to the logfile sapstartsrv.exe.log.

WARNING 2010-08-30 08:11:40.512

CJSlibModule::writeWarning_impl()

Execution of the command "I:\usr\sap\BT3\SCS03\exe\sapstartsrv.exe -r -q -p I:\usr\sap\BT3\SYS\profile\START_SCS03_usgdc-vbijct -s BT3 -n 03 -U ERP\SAPServiceBT3 -P XXXXXX -e ERP\bt3adm" finished with return code -1. Output:

Service not started.

TRACE 2010-08-30 08:11:40.512

NWInstance.getSAPLocExeDir()

TRACE 2010-08-30 08:11:40.513

NWInstance.getProfiles()

TRACE 2010-08-30 08:11:40.513

NWInstance.getProfiles(): profiles object exists

TRACE 2010-08-30 08:11:40.513

NWInstance.getProfiles() done

TRACE 2010-08-30 08:11:40.513

NW.getPersistentDefaultProfile()

TRACE 2010-08-30 08:11:40.517

NW.isUnicode(true)

TRACE 2010-08-30 08:11:40.518

NW.isUnicode() done: true

TRACE 2010-08-30 08:11:40.518

NW.getPersistentDefaultProfile() done

TRACE 2010-08-30 08:11:40.527

NW.getPersistentDefaultProfile()

TRACE 2010-08-30 08:11:40.531

NW.isUnicode(true)

TRACE 2010-08-30 08:11:40.531

NW.isUnicode() done: true

TRACE 2010-08-30 08:11:40.531

NW.getPersistentDefaultProfile() done

TRACE 2010-08-30 08:11:40.541

NWInstance.isAlwaysUnicode()

TRACE 2010-08-30 08:11:40.541

NWInstance.isAlwaysUnicode(SCS)

TRACE 2010-08-30 08:11:40.541

NWInstance.isAlwaysUnicode() done: true

TRACE 2010-08-30 08:11:40.541

NWInstance.isAlwaysUnicode() done: true

TRACE 2010-08-30 08:11:40.564

NWInstance.getSAPLocExeDir() done: I:/usr/sap/BT3/SCS03/exe

INFO[E] 2010-08-30 08:11:40.564

CJSlibModule::writeError_impl()

MOS-01011 'I:/usr/sap/BT3/SCS03/exe/sapstartsrv.exe' returned with '-1'.

TRACE 2010-08-30 08:11:40.564 [iaxxejsbas.hpp:408]

handleException<ESAPinstJSError>()

Converting exception into JS Exception EJSException.

TRACE 2010-08-30 08:11:40.564

Function setMessageIdOfExceptionMessage: osmod.applicationReturn

INFO[E] 2010-08-30 08:11:40.565

CJSlibModule::writeError_impl()

MOS-01011 'I:/usr/sap/BT3/SCS03/exe/sapstartsrv.exe' returned with '-1'.

TRACE 2010-08-30 08:11:40.565 [iaxxejsbas.hpp:483]

EJS_Base::dispatchFunctionCall()

JS Callback has thrown unknown exception. Rethrowing.

ERROR 2010-08-30 08:11:40.572 [sixxcstepexecute.cpp:950]

FCO-00011 The step createService with step key |NW_Java_SCS|ind|ind|ind|ind|0|0|NW_SCS_Instance|ind|ind|ind|ind|8|0|NW_Instance|ind|ind|ind|ind|0|0|createService was executed with status ERROR .

TRACE 2010-08-30 08:11:40.588 [iaxxgenimp.cpp:752]

CGuiEngineImp::showMessageBox

Can anyone please help me on this.

Thanks and Regards,

Sailesh K

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

HI Sailesh Kamaraj ,

I have facede this issue many a times while starting the sap system.

Luckly every time i replace the sapstartsrv.exe file with sapstartssrv.exe.new by renaming the later one.

Actually, in cluster sapstartsrv gets corrupted in kernel.

And replace sapstartsrv file in same way in ASCS, SCS and SYS folders.

Let us know if issue gets resolved.

Cheers!!!

ElNino

former_member189546
Active Contributor
0 Kudos

Hello,

If you are using 701 or 710 kernel install this Microsoft patch and reboot Windows

http://www.microsoft.com/downloads/details.aspx?familyid=766a6af7-ec73-4

0ff-b072-9112bab119c2&displaylang=en

Download and install the correct patch for your platform.

Try to copy sapstartstartsrv.exe from CT_RUN directory defined in start or instance profile

overwrite sapstartsrv.exe in exe directory should start then

rehards,

John Feely

Former Member
0 Kudos

Hi Manoj,

sapstartsrv.exe.log states "Service not started.". Where can i check the OS event logs ?

Thanks and Regards,

Sailesh K

Former Member
0 Kudos

Where can i check the OS event logs

Windows Event Logs -> eventvwr.exe

Former Member
0 Kudos

Hi,

Install the Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package as mentioned in eth [Note 1375494 - SAP system does not start after applying SAP kernel patch|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1375494]

Hope this will resolve ur issue.

@Sailesh, Mark this thread as answered if ur issue is resolved or post us the Windows event log.

Regards,

Varadharajan M

Former Member
0 Kudos

Hi Sailesh,

In your kernel directory you will be having two sapstartsrv.exe and sapstartsrv.exe.new. Check whether both the files have the same timestamp and file size. If not then it means the files have got corrupted. Replace the corrupted one.

Regards,

SBK

Former Member
0 Kudos

Hi Manoj,

I ran several times, but still the same issue. The service is already installed. I checked it via services.msc. But when i try to star t the service, it is not starting.

Thanks and Regards,

Sailesh K

Former Member
0 Kudos

can you look at sapstartsrv.log and OS eventlog while you get error when starting the service?

Former Member
0 Kudos

Hi,

When i double click on sapstartsrv.exe, it opens a "SAP Service Install/Uninstall" screen.

I already read that note and nothing relevant to this was there.

Thanks and Regards,

Sailesh K

Former Member
0 Kudos

That is fine.

If you confirm that you have met the OS authorization pre-requisites for the installation (installation user authorizations, SAP OS users group memberships etc..), you can retry the installation process.

Else you can try to install the service manually and continue with the installation.

Former Member
0 Kudos

Can you browse to 'I:\usr\sap\BT3\SCS03\exe', double click on sapstartsrv.exe and then post the result here?

Hope you have read 1171448 for the installation already.