cancel
Showing results for 
Search instead for 
Did you mean: 

SAPROUTER CONFIGURATION

0 Kudos

Hi,

I have done the installation and configuration of sap router to a complete, but when i try to start the sap router service i get the error "windows could not start saprouter service on local computer error 5: access denied".

upon checking the saprouter logs i have noticed that SAPROUTTAB file file is missing.

The saprouter logs

SAP Network Interface Router, Version 40.4 command line arg 0:C:\usr\sap\saprouter\saprouter.exe command line arg 1:-r command line arg 2:-R command line arg 3:C:\usr\sap\saprouter\SAPROUTTAB main: pid = 9072, ppid = 0, port = 3299, parent port = 0 (0 = parent is not a saprouter) *** ERROR => fopen 'C:\usr\sap\saprouter\SAPROUTTAB' (2: No such file or directory) [nirout.cpp 10699] ***LOG Q0I=> NiRRouttab: fopen (2: ENOENT*: No such file or directory OR: The system cannot find the file specified.) [D:/depot/bas/745_REL/src/base/ni/nirout.cpp 10701] cannot open 'C:\usr\sap\saprouter\SAPROUTTAB': all routing disabled!!! Could not open permission table.

Kindly assist on resolving the problem.

Thank you.

Accepted Solutions (0)

Answers (4)

Answers (4)

isaias_freitas
Advisor
Advisor
0 Kudos

Hello Haron,

"... command line arg 3:/C:\usr\sap\saprouter\saprouttab ..."

It seems that the path to your saprouttab is still incorrect. Notice the leading "/" just before the "C:\...".

You need to change the service definition ("services.msc") or delete/recreate the service.

Regards,

Isaías

0 Kudos

hi guys.

I did the changes as per your instruction but the service is not starting, still getting access denied error 5.

checking on the log

SAP Network Interface Router, Version 40.4 command line arg 0:saprouter command line arg 1:-r command line arg 2:-R command line arg 3:/C:\usr\sap\saprouter\saprouttab main: pid = 6768, ppid = 0, port = 3299, parent port = 0 (0 = parent is not a saprouter) *** ERROR => fopen '/C:\usr\sap\saprouter\saprouttab' (22: Invalid argument) [nirout.cpp 10699] ***LOG Q0I=> NiRRouttab: fopen (22: EINVAL*: Invalid argument OR: The device does not recognize the command.) [D:/depot/bas/745_REL/src/base/ni/nirout.cpp 10701] cannot open '/C:\usr\sap\saprouter\saprouttab': all routing disabled!!! Could not open permission table

Invalid argument.

Might be that i did the configuration of the router wrongly

kind regards

prithvirajr
Contributor
0 Kudos

Hi,

You need to create saprouttab file at the location /usr/sap/saprouter if not already present.

Please go through below blog...

https://blogs.sap.com/2014/12/15/saprouter-installation/

https://blogs.sap.com/2014/10/07/a-guide-to-configure-saprouter/

Regards,

Prithviraj

0 Kudos

i did create the saprouttab manually but still getting a different error on the logs,

From what sap provides during registration, What needs to be changed,

prithvirajr
Contributor
0 Kudos

Hi Haron,

I suspect the command you executed has incorrect arguements.

******Error

Before:

fopen 'C:\usr\sap\saprouter\SAPROUTTAB' (2: No such file or directory)

After:

fopen '/C:\usr\sap\saprouter/saprouttab' (22: Invalid argument)

Regards,

Prithviraj

BJarkowski
Active Contributor
0 Kudos

It looks like the saprouter can't access the saprouttab file. Please ensure the file exist in the specified path and the user running saprouter has access to the file.

0 Kudos

the file was missing i have just create the file manually, but still i cant start the service, but the log is different this time round.

Logs

SAP Network Interface Router, Version 40.4 command line arg 0:saprouter command line arg 1:-r command line arg 2:-R command line arg 3:/C:\usr\sap\saprouter/saprouttab main: pid = 7248, ppid = 0, port = 3299, parent port = 0 (0 = parent is not a saprouter) *** ERROR => fopen '/C:\usr\sap\saprouter/saprouttab' (22: Invalid argument) [nirout.cpp 10699] ***LOG Q0I=> NiRRouttab: fopen (22: EINVAL*: Invalid argument OR: The device does not recognize the command.) [D:/depot/bas/745_REL/src/base/ni/nirout.cpp 10701] cannot open '/C:\usr\sap\saprouter/saprouttab': all routing disabled!!! Could not open permission table

regards.

BJarkowski
Active Contributor
0 Kudos

You have incorrect "/" in the saprouttab path.

Should be:

C:\usr\sap\saprouter\saprouttab