cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to start saprouter service on windows

former_member199963
Participant
0 Kudos

Hi Experts,

I have just installed saprouter 7.45 p34 on a windows 2012 server.

I have used the following command to install the service:

sc create SAPRouter binPath="C:\usr\sap\saprouter\saprouter.exe service -r -R C:\usr\sap\saprouter\saprouttab" type= own start= auto

But when I try to start the service in services its giving below error:

In event viewer we see below error:

Faulting application name: saprouter.exe, version: 7450.34.25.5091, time stamp: 0x56a7b5ff

Faulting module name: MSVCR120.dll, version: 6.3.9600.18185, time stamp: 0x5683f0c5

Exception code: 0xc0000135

We are installing 2 saprouters, one internal and one in the DMZ. Both servers get these errors.

Please advice.

Thanks,

Asad

Accepted Solutions (1)

Accepted Solutions (1)

manuel_garcia
Advisor
Advisor
0 Kudos

Hello Asad,

If you have the error with msvcr120.dll  then the problem is that  Microsoft C-runtime  for Visual Studio 2013 is missing or corrupted.

I would recommend you to install (or reinstall).  You need  to  get  SAPEXE.sar archive for  Kernel 7.45 or higher , which contains the installer package vcredist_XXX.exe.

Regards, Manuel

former_member199963
Participant
0 Kudos

Hi Manuel, Isaias,

Yes, that error is gone now. Thanks!

But still the saprouter service won't start. Below is from the event viewer:

A timeout was reached (30000 milliseconds) while waiting for the SAPRouter service to connect.

The SAPRouter service failed to start due to the following error:

The service did not respond to the start or control request in a timely fashion.

Please advice.

Thanks,

Asad

isaias_freitas
Advisor
Advisor
0 Kudos

Hello Asad,

Are you able to start the saprouter manually (e.g., at a command prompt windows started "as administrator"), using the same command from the service (but without the "service" argument )?

If no, what is the error that is returned?

Regards,

Isaías

former_member199963
Participant
0 Kudos

Hi Isaias,

This is when I run the command from OS level

dev_log file:

Tue Jul 05 14:38:19 2016 INIT LOGFILE

Tue Jul 05 14:38:19 2016 READ ROUTTAB ./saprouttab o.k.

Thanks,

Asad

manuel_garcia
Advisor
Advisor
0 Kudos

Hello Asad,

Delete the  saprouter service.  For example in command-prompt   "sc delete <service name>"

Install again the  service   as described in  SAP note 41054 .

Regards,

Manuel

former_member199963
Participant
0 Kudos

Thanks Manuel, that did the trick. The saprouter service is working now.

Thanks Isaias for your help as well. Greatly appreciate both of your help!

Regards,

Asad

Answers (1)

Answers (1)

isaias_freitas
Advisor
Advisor
0 Kudos

Hello Asad,

I believe that the "service" argument does not exist .

See the Installing the saprouter as a Windows service - ntscmgr command not available - Application Server I... WIKI page.

Regards,

Isaías

isaias_freitas
Advisor
Advisor
0 Kudos

Hello Asad,

The "service" argument exists (SAP note 41054), actually.

The "type" argument should not be there, and there is a missing "obj" argument.

Anyway, I believe that Manuel has nailed it.

Regards,

Isaías