cancel
Showing results for 
Search instead for 
Did you mean: 

registration of sapstartsrv FAILED with rc=-1 - TREX setup cannot proceed

Former Member
0 Kudos

While doing Trex 7.1 revision 43 installation in windows x64 server, following error is coming:

======================================================
-----------------  SarTrek.registerstarter  ----------------
------------------------------------------------------
Registering Service sapstartsrv and starting TREX
------------------------------------------------------
G:\usr\sap\STX\TRX02\exe\sapstartsrv.exe -r -q -p G:\usr\sap\STX\SYS\profile\STX_TRX02_ssmsdcvw01 -s STX -n 02 -U BeechSAP\SAPServiceSTX -P ********* -e BeechSAP\stxadm >"C:\Program Files\sapinst_instdir\TREX\install\trex_install_2014-05-02_10.53.12\sapstartsrv_reg.log" 2>&1
>>>ERROR:registration of sapstartsrv FAILED with rc=-1 - TREX setup cannot proceed.
Exception description:
Traceback (most recent call last):
  File "G:\TREX71\TRX71\tx_trex_content\TX_WINDOWS_X86_64\\support\_install.py", line 429, in install
    installation.doItOrNot(installation.registerstarter, args=[options.password], description="Registering Service sapstartsrv and starting TREX")
  File "G:\TREX71\TRX71\tx_trex_content\TX_WINDOWS_X86_64\support\setuplib.py", line 1360, in doItOrNot
    step(*args, **keyArgs)
  File "G:\TREX71\TRX71\tx_trex_content\TX_WINDOWS_X86_64\support\setuplib.py", line 2330, in registerstarter
    raise SetupException("registration of sapstartsrv FAILED with rc=%d" % (int(rc)))
SetupException: >>>ERROR:registration of sapstartsrv FAILED with rc=-1

Platform Details:
Domain INstallation

Installing Trex Version: 7.10.43.298728
OS:  MS Windows Server Version 6.2 (Build 9200)
SID: STX

NOTE: After giving Master Password sapinst is not asking for STXADM or SAPServiceSTX password

Please suggest what should be done to fix the issue.

Regards

Basis

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member217429
Active Contributor
0 Kudos

Hi ,

the Revision 43 for TREX 710 is very old . Could you please try to install the latest REV  58. If the issue still not get fixed could you please open OSS message for this (component is BC-TRX).

Thanks and best regards,
Mikhail

Sriram2009
Active Contributor
0 Kudos


Hi Basis Folks

1. Just restart the system and then try

2. In windows OS firewall & UAC disabled?

3. Kindly refer the SAP Note 877795 - Problems with sapstartsrv Question no 60

And Trex Installation & configuration you can refer the SCN link(In windows / Linux installation & configuration are same)

http://scn.sap.com/docs/DOC-43539

Regards

SS

Former Member
0 Kudos

Hi SS,

Thanks for your reply.

System already restarted but without success.

Firewall & UAC both are disabled.

Here the problem is after giving Master Password SAPInst not asking for other domain users passwords.

And when registering the service it is using the Master Password reather then actual User password and I belive that is why it is failing.

SO, can you please tell me how I can maintain the SAPServiceSTX user password when
executing below steps.

Regards

Basis

Sriram2009
Active Contributor
0 Kudos

Hi

1.  Both User id are as part of local administrator group?

2. If the user id not taking from Domain. try to install the local installation and check

BR

SS

Former Member
0 Kudos

Hi SS,

Yes, both users <SID>adm, SAPService<SID> including the installation users are part of local admin group.

Alreadt tried with local installation and it completed successfully.

But, in this domain all local user will be get deleted after some days so, we have to go for Domain Installation

Regards

Basis

Sriram2009
Active Contributor
0 Kudos

Hi

Is this any AD group policy which getting applied for this computer?  Could you check with ADS admin to find the root case

Regards

SS