Skip to Content
0

SAPROUTER CONFIGURATION

Mar 13 at 12:31 PM

82

avatar image
Former Member

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

4 Answers

Bartosz Jarkowski Mar 13 at 12:57 PM
0

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.

Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

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.

0

You have incorrect "/" in the saprouttab path.

Should be:

C:\usr\sap\saprouter\saprouttab

0
Isaias Freitas
Mar 14 at 12:40 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Prithviraj Rajpurohit Mar 13 at 01:01 PM
0

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

Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

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,

0

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

0
avatar image
Former Member Mar 14 at 12:23 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded