cancel
Showing results for 
Search instead for 
Did you mean: 

MOS-01011 'sapstartsrv.exe' returned with '-1'.

Former Member
0 Kudos

Dear SAP Masters,

I am getting following error in sapinst.log while trying to install SAP R/3 4.7x2 dialog instance on Windows2003 x64bit with MSSQL database.

INFO 2011-12-30 12:58:23

Output of C:\usr\sap\RP1\D22\exe/sapstartsrv.exe -r -q -p
SAPR3CI1\sapmnt\RP1\SYS\profile\START_D22_SAPAPPX64 -s RP1 -n 22 -U SAPAPPX64\SAPServiceRP1 -P XXXXXX -e SAPAPPX64\rp1adm is written to the logfile sapstartsrv.exe.log.

WARNING 2011-12-30 12:58:27

Execution of the command "C:\usr\sap\RP1\D22\exe/sapstartsrv.exe -r -q -p
SAPR3CI1\sapmnt\RP1\SYS\profile\START_D22_SAPAPPX64 -s RP1 -n 22 -U SAPAPPX64\SAPServiceRP1 -P XXXXXX -e SAPAPPX64\rp1adm" finished with return code -1. Output:

Service not started.

ERROR 2011-12-30 12:58:27

MOS-01011 'C:\usr\sap\RP1\D22\exe/sapstartsrv.exe' returned with '-1'.

here the sapinst_dev.log :

PHASE 2011-12-30 12:58:23 [iaxxcwalker.cpp:416]

CDomWalker::printPhaseInfo()

Handle services

TRACE [iaxxcwalker.cpp:296]

CDomWalker::processStep()

Executing installation step SAPSYSTEM_DI|ind|ind|ind|ind|ind|0|SAPSYSTEM|ind|ind|ind|ind|ind|0|SAPComponent|ind|ind|ind|ind|ind|0|SAPComponent_Services|windows|ind|ind|ind|ind|0|do_create_and_start_SAPSystem_services

TRACE [synxccuren.cpp:1107]

CSyCurrentProcessEnvironmentImpl::getEffectiveUser(iastring&)

effective user corresponds to real user

INFO 2011-12-30 12:58:23 [synxcpath.cpp:834]

CSyPath::createFile()

Creating file C:\Program Files\sapinst_instdir\R3E47X2\SYSTEM\ABAP\MSS\NUC\DI\sapstartsrv.exe.log.

INFO 2011-12-30 12:58:23

CJSlibModule::writeInfo_impl()

Output of C:\usr\sap\RP1\D22\exe/sapstartsrv.exe -r -q -p
SAPR3CI1\sapmnt\RP1\SYS\profile\START_D22_SAPAPPX64 -s RP1 -n 22 -U SAPAPPX64\SAPServiceRP1 -P XXXXXX -e SAPAPPX64\rp1adm is written to the logfile sapstartsrv.exe.log.

WARNING 2011-12-30 12:58:27

CJSlibModule::writeWarning_impl()

Execution of the command "C:\usr\sap\RP1\D22\exe/sapstartsrv.exe -r -q -p
SAPR3CI1\sapmnt\RP1\SYS\profile\START_D22_SAPAPPX64 -s RP1 -n 22 -U SAPAPPX64\SAPServiceRP1 -P XXXXXX -e SAPAPPX64\rp1adm" finished with return code -1. Output:

Service not started.

ERROR 2011-12-30 12:58:27

CJSlibModule::writeError_impl()

MOS-01011 'C:\usr\sap\RP1\D22\exe/sapstartsrv.exe' returned with '-1'.

TRACE [iaxxejsbas.hpp:270]

EJS_Base::dispatchFunctionCall()

JS Callback has thrown std::ESAPinstJSError: osmod.applicationReturn

TRACE [iaxxcwalker.cpp:301]

CDomWalker::processStep()

I already try to activate the sapstartsrv service manually but I always get the same error messeage on sapinst.

So, Please I need urgent advice from sap basis masters

thanks

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi,

Regarding the error MOS-01011 'C:\usr\sap\RP1\D22\exe/sapstartsrv.exe' returned with '-1'.

would you please firstly refer to the followings for this problem furtherly:

Firstly please refer to check note 142100 and ensure everything is set up as in this note.

1) Please Check the note number 142100 point number 13. If this doesn't work please check the version of SAPSTARTSRV.EXE and disp+work.exe and they should be of same patch level.

2) If point 1 doesn't work please refer to point 3 of note 142100 for the uninstall and re-install during the reinstallation when the error happened again please refer to use Service Manager and try to start the service manually then please click on "Retry" button to see if this would be helpful for this problem.

If the above still couldn't be helpful for this problem then please kindly provide sapinst.log,sapinst_dev.log ... when this problem happened. Then we would check this problem for you according

to these logs furtherly.

Note 142100: Windows: Problems with new SAP service as of Rel.

Regards,

Abhishek

Former Member
0 Kudos

Its probably not a problem with sapstartsrv itself, but a problem starting the SAP instance. Try to start the system manually either through the mmc or with the startsap command. If this works you might be able to resume the installation.

If it fails you need to investigate the cause, check the database connection, the startsap logs and the files in the work dir.

Good luck, Michael

Former Member
0 Kudos

Hi Michael,

I already try to start the sapstartsrv.exe manually from services.msc, and sapstart command and retry the installation but I still have the same problem.....

My investigation is why the sapinst always force to start the service by this command:

C:\usr\sap\RP1\D22\exe/sapstartsrv.exe -r -q -p
SAPR3CI1\sapmnt\RP1\SYS\profile\START_D22_SAPAPPX64 -s RP1 -n 22 -U SAPAPPX64\SAPServiceRP1 -P XXXXXX -e SAPAPPX64\rp1adm

the profile saved in the SAPR3CI1 server in shared folder \sapmnt\RP1\SYS\profile\START_D22_SAPAPPX64 and the user always pointing to my localhost user SAPAPPX64\SAPServiceRP1. I already tried to change the user using domain user but it always changed by the sapinst every time I push the "retry" button.

So, what is wrong with my sapinst (sap installer) ?

Former Member
0 Kudos

Hi,

Is this a distributed installation then?

In that case the global directory needs to be configured(as part of global host preparation) and should be accessible by users of both database host and application server host.

Regards,

Srikishan

Former Member
0 Kudos

dear Srikishan,

yes it is a distributed installation and I've done changes to the user who runs sapstartsrv service with user shared folders. But every time I press the button "retry" in the window installation still failed. And at sapinst.log still the same:

WARNING 2011-12-30 12:58:27

Execution of the command "C:\usr\sap\RP1\D22\exe/sapstartsrv.exe -r -q -p
SAPR3CI1\sapmnt\RP1\SYS\profile\START_D22_SAPAPPX64 -s RP1 -n 22 -U SAPAPPX64\SAPServiceRP1 -P XXXXXX -e SAPAPPX64\rp1adm" finished with return code -1. Output:

Service not started.

ERROR 2011-12-30 12:58:27

MOS-01011 'C:\usr\sap\RP1\D22\exe/sapstartsrv.exe' returned with '-1'.

I think it's becoming the installer's nothing wrong with the sapinst, because during the installation process the installer continued sapinst always change the user that the service sapstartsrv with local user

So the problem is not resolved, and I think the sap installer with problems

Former Member
0 Kudos

Hi ,

We are facing similar issue during SMD installation , our's is HA cluster environment

ERROR      2013-11-12 16:38:35.799

           CJSlibModule::writeError_impl()

MOS-01011  'D:/usr/sap/DAA/SMDA98/exe/sapstartsrv.exe' returned with '-1'.

ERROR      2013-11-12 16:38:35.823 [sixxcstepexecute.cpp:937]

FCO-00011  The step createService with step key |NW_DiagnosticsAgent|ind|ind|ind|ind|0|0|NW_DiagnosticsAgent_Instance|ind|ind|ind|ind|instance|0|createService was executed with status ERROR ( Last error reported by the step: 'D:/usr/sap/DAA/SMDA98/exe/sapstartsrv.exe' returned with '-1'.).

Thanks,

Sankar

Answers (1)

Answers (1)

sunny_pahuja2
Active Contributor
0 Kudos

Hi,

Is this a cluster installation ?

Thanks

Sunny

Former Member
0 Kudos

There is no cluster or HA installation