cancel
Showing results for 
Search instead for 
Did you mean: 

saprouter error

Former Member
0 Kudos

Hi All,

i am doing saprouter instalation on windows . where solution manager is instaled.

i almost completed every step.by running command sapgenpse get_my_name -v -n Issuer i able to see imported certificate correctly

But when i run command to start router

saprouter -r -S 3299 -K "p:CN=sapsm,OU=0000742381,OU=SAProuter,O=SAP,C=DE"

it showing

trcfile dev_rout

no logging active

And dev_rout shows

-


trc file: "dev_rout", trc level: 1, release: "700"

-


Mon Jun 07 16:01:39 2010

SAP Network Interface Router, Version 38.10

command line arg 0: saprouter

command line arg 1: -r

command line arg 2: -S

command line arg 3: 3299

command line arg 4: -K

command line arg 5: p:CN=sapsm,OU=0000742381,OU=SAProuter,O=SAP,C=DE

SncInit(): Initializing Secure Network Communication (SNC)

PC with Windows NT (mt,ascii,SAP_UC/size_t/void* = 8/32/32)

SncInit(): Trying environment variable SNC_LIB as a

gssapi library name: "E:\usr\sap\saprouter\ntintel\sapcrypto.dll".

File "E:\usr\sap\saprouter\ntintel\sapcrypto.dll" dynamically loaded as GSS-API v2 library.

The internal Adapter for the loaded GSS-API mechanism identifies as:

Internal SNC-Adapter (Rev 1.0) to SECUDE 5/GSS-API v2

main: pid = 496, ppid = 0, port = 3299, parent port = 0 (0 = parent is not a saprouter)

reading routtab: './saprouttab'

Can some one plese help me where i am going wrong

thanks

Shashi

Accepted Solutions (1)

Accepted Solutions (1)

former_member227283
Active Contributor
0 Kudos

Hi Shashi,

--------------------------------------------------------------------------------
trc file: "dev_rout", trc level: 1, release: "700"

--------------------------------------------------------------------------------

Mon Jun 07 16:01:39 2010
SAP Network Interface Router, Version 38.10

command line arg 0: saprouter
command line arg 1: -r
command line arg 2: -S
command line arg 3: 3299
command line arg 4: -K
command line arg 5: p:CN=sapsm,OU=0000742381,OU=SAProuter,O=SAP,C=DE
SncInit(): Initializing Secure Network Communication (SNC)
PC with Windows NT (mt,ascii,SAP_UC/size_t/void* = 8/32/32)
SncInit(): Trying environment variable SNC_LIB as a
gssapi library name: "E:\usr\sap\saprouter\ntintel\sapcrypto.dll".
File "E:\usr\sap\saprouter\ntintel\sapcrypto.dll" dynamically loaded as GSS-API v2 library.
The internal Adapter for the loaded GSS-API mechanism identifies as:
Internal SNC-Adapter (Rev 1.0) to SECUDE 5/GSS-API v2
main: pid = 496, ppid = 0, port = 3299, parent port = 0 (0 = parent is not a saprouter)
reading routtab: './saprouttab'

There are no error in dev_rout, you saproute has been started succesfully.

one more thing you are calling the command of saprouter in foreground.

If you are using any unix/linux/solaris flavour then calling command using &

If you are using windows then create new services to calling command as service in windows.

To check saproute is working properly or not, make neccesary changes in OSS1 tcode and and try to call RFC SAPOSS.

Test connection of this RFC should be succeful.

Thanks

Anil

Former Member
0 Kudos

Shashi,

Anil is absolutely right. In UNIX and related enviornment we should give & at the end of command. As suggested in my earlier reply, please try to start the saprouter with & at the end of command.

Thanks and Regards,

Kedar

Former Member
0 Kudos

Hi Anil,

Thanks for your reply

i am instaling on windows.i tried & but showing same out put.

If you are using windows then create new services to calling command as service in windows.

How to do this one

i already entered

sapdp99 3299/tcp

sapgw99 3399/tcp

sapmsO01 3601/tcp

in the services files

i tried through oss1 but connection not sucess.

Can you please tell me what necessary steps should i take

thanks

Shashi

Former Member
0 Kudos

Hi,

If you are using windows then create new services to calling command as service in windows.

How to do this one

Chk notes: 525751, 41054 These should help you.

Regards,

Vishnu

former_member227283
Active Contributor
0 Kudos

Hi,

Pls follow below procedure for creating service in windows

Creating the Service in services.msc for SAPROUTER

1.	Create the service in service.msc with the following command

ntscmgr install saprouter -b <drive>\saprouter.exe -p "service -r -W 60000 -R <drive>\saprouttab -K "p:CN=sapsm,OU=0000742381,OU=SAProuter,O=SAP,C=DE""

2.	Find the saprouter service in regedit with find command.

3.	Edit the service and include the following line.

After searching for saprouter check the imagepath and change the value as below.
Press F3 to search next

<drive>\saprouter.exe service -r -W 60000 -R <drive>\saprouttab -K "p:CN=sapsm,OU=0000742381,OU=SAProuter,O=SAP,C=DE"

4.	change the name of logon user to <SIDADM>

5.	Start the service.

Thanks

Anil

Former Member
0 Kudos

Hi Anil,

very thanks for the information.

I have done every thing said by you. i created saprouter service file. And i login through sidadm and started saprouter service.

Now from command promt i can see info of router i can stop. but after stoping it is not starting.

E:\usr\sap\saprouter>saprouter -L

Wed Jun 09 09:48:27 2010

SAP Network Interface Router, Version 38.10

peer SAProuter with NI version 38 ...

send info-request to running SAProuter ...

SAP Network Interface Router running on port 3299 (PID = 5412)

Started on: Wed Jun 09 09:48:02 2010

ID CLIENT | PARTNER service

-


+----


1 solman | (no partner)

Total no. of clients: 1

Working directory : E:\usr\sap\saprouter

Routtab : E:\usr\sap\saprouter\saprouttab

E:\usr\sap\saprouter>saprouter -s

Wed Jun 09 09:49:45 2010

SAP Network Interface Router, Version 38.10

peer SAProuter with NI version 38 ...

send stop-request to running SAProuter ...

request successfully completed.

E:\usr\sap\saprouter>saprouter -r

trcfile dev_rout

no logging active

      • ERROR => invalid lines in './saprouttab', see 'dev_rout' [nirout.cpp 8006]

dev_rout shows

-


trc file: "dev_rout", trc level: 1, release: "700"

-


Wed Jun 09 09:50:45 2010

SAP Network Interface Router, Version 38.10

command line arg 0: E:\usr\sap\saprouter\saprouter.exe

command line arg 1: -r

command line arg 2: -W

command line arg 3: 60000

command line arg 4: -R

command line arg 5: E:\usr\sap\saprouter\saprouttab

command line arg 6: -K

command line arg 7: p:CN=sapsm,OU=0000742381,OU=SAProuter,O=SAP,C=DE

SncInit(): Initializing Secure Network Communication (SNC)

PC with Windows NT (mt,ascii,SAP_UC/size_t/void* = 8/32/32)

SncInit(): Trying environment variable SNC_LIB as a

gssapi library name: "E:\usr\sap\saprouter\ntintel\sapcrypto.dll".

File "E:\usr\sap\saprouter\ntintel\sapcrypto.dll" dynamically loaded as GSS-API v2 library.

The internal Adapter for the loaded GSS-API mechanism identifies as:

Internal SNC-Adapter (Rev 1.0) to SECUDE 5/GSS-API v2

main: pid = 5720, ppid = 0, port = 3299, parent port = 0 (0 = parent is not a saprouter)

reading routtab: 'E:\usr\sap\saprouter\saprouttab'

pls help me regarding this issue

Thanks

Shashi

Former Member
0 Kudos

Hi,

ya it woking now from sm59 i can see oss connection ok

thanks for the information

Regards

Shashi

former_member227283
Active Contributor
0 Kudos

Hi Sashi,

Now from command promt i can see info of router i can stop. but after stoping it is not starting. E:\usr\sap\saprouter>saprouter -L

once you create the services for saprouter , then you dont have to work through command prompt.

Anytime when you have stop or start sap router then do the following process.

1. goto run and type SERVICES.MSC

2. then search for service name as SAPROUTER.

3. Right click on service and start and stop which is required.

Thanks

Anil

Former Member
0 Kudos

Hi Anil,

We are getting this error while starting saprouter service after following your steps,Please help

Thanks in advance,

Anoop

Answers (1)

Answers (1)

sunny_pahuja2
Active Contributor
0 Kudos

Hi,

Could you please check window event logs and also paste here ?

Thanks

Sunny

Former Member
0 Kudos

Hi sunny,

in windows event logs i noticed these type of errors

Faulting application qbfeqg.exe, version 5.1.2600.0, faulting module qbfeqg.exe, version 5.1.2600.0, fault address 0x00004019.

Failed extract of third-party root list from auto update cab at: <http://www.download.windowsupdate.com/msdownload/update/v3/static/trustedr/en/authrootstl.cab> with error: The data is invalid.

is these related to router

regards

Shashi

sunny_pahuja2
Active Contributor
0 Kudos

No these logs are not related to router. You can try to start router again and then immediately check the event logs.

Thanks

Sunny

Former Member
0 Kudos

Hi sunny,

i try to start router again and checked event logs but no logs are there related to router.

And dev_rout trace file shows as below

-


trc file: "dev_rout", trc level: 1, release: "700"

-


Mon Jun 07 18:12:54 2010

SAP Network Interface Router, Version 38.10

command line arg 0: saprouter

command line arg 1: -r

main: pid = 328, ppid = 0, port = 3299, parent port = 0 (0 = parent is not a saprouter)

reading routtab: './saprouttab'

      • ERROR => SNC field without SNC active, skip line 2 [nirout.cpp 7775]

Regards

Shashi

Former Member
0 Kudos

Have you set SECUDIR and SNC_LIB in your environment variables?

Kind regards,

Mark

Former Member
0 Kudos

Hi Mark

Yes i set the enivoronment variables

Former Member
0 Kudos

So you have installed the SAP cryptographic library? Have you also signed the certificate?

Please check if you have followed the steps in this document: http://www.erpgenie.com/sapgenie/docs/SAP%20SNC%20CONFIGURATION.pdf

Kind regards,

Mark

Edited by: M. Dijsselbloem on Jun 7, 2010 3:36 PM

Former Member
0 Kudos

Hi Shash,

I had faced similar problem when I had tried to start the sap router with the command you specified.

But when i run command to start router

saprouter -r -S 3299 -K "p:CN=sapsm,OU=0000742381,OU=SAProuter,O=SAP,C=DE"

it showing

trcfile dev_rout

no logging active

I also used to get similar output when I used to fire saprouter start command with above syntax. I would suggest you to give & at the end of the command and try.

If it didnt worked, then check your services file and see if it has necessart entries for your saprouter gateway.

Thanks and Regards,

Kedar