cancel
Showing results for 
Search instead for 
Did you mean: 

SAP OSS Connection problem

Former Member
0 Kudos

Hi,

Iam not able to open oss connection,after opening it was cancled and i checked SAP OSS Conection are working fine.

Below is saproute -r out put

trcfile dev_rout

no logging active

Below is the dev_rout log:

Thu Mar 17 10:23:43 2011

SAP Network Interface Router, Version 38.10

command line arg 0: saprouter

command line arg 1: -r

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

reading routtab: './saprouttab'

Please help me on this.

Regards,

Venkat

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

Do you use SNC or VPN for connect, you should start saprouter with command:

saprouter -r -K "p:CN=distinghishedname"

Example

saprouter -r -K "p:CN=host.com, OU=0000123456, OU=SAProuter, O=SAP, C=DE"

Regards

William neira

Former Member
0 Kudos

Hi William,

Thanks for your reply, here i have given command as

>saprouter -r -K "CN=SAPVMQA, OU=0000912552, OU=SAProuter, O=SAP, C=

DE"

Output of that command is below:

trcfile dev_rout

*****************************************************************************

*

  • ERROR SNC processing failed:

  • SncSetMyNameU

*

  • TIME Fri Mar 18 04:46:25 2011

  • RELEASE 700

  • COMPONENT NI (network interface)

  • VERSION 38

  • RC -17

  • MODULE nisnc.c

  • LINE 661

  • DETAIL NiSncInit: sncrc=-35

  • COUNTER 3

*

*****************************************************************************

And the dev_rout log below here:

-


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

-


Fri Mar 18 04:46:25 2011

SAP Network Interface Router, Version 38.10

command line arg 0: saprouter

command line arg 1: -r

command line arg 2: -K

command line arg 3: CN=SAPVMQA, OU=0000912552, OU=SAProuter, O=SAP, C=DE

SncInit(): Initializing Secure Network Communication (SNC)

PC with Windows NT (mt,ascii,SAP_UC/size_t/void* = 16/64/64)

SncInit(): Trying environment variable SNC_LIB as a

gssapi library name: "C:\saprouter\Crypto\nt-x86_64\sapcrypto.dll".

File "C:\saprouter\Crypto\nt-x86_64\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

      • ERROR => SncPSetNewName()==SNCERR_BAD_NT_PREFIX [sncxxall.c 2200]

SncPImportPrName() parsing error

name="CN=SAPVMQA, OU=0000912552, OU=SAProuter, O=SAP, C=DE"

<<- SncSetMyName()==SNCERR_BAD_NT_PREFIX

in: myname = "CN=SAPVMQA, OU=0000912552, OU=SAProuter, O=SAP, C=DE"

      • ERROR => NiSncInit: SncSetMyNameU failed (rc=-35;'CN=SAPVMQA, OU=0000912552, OU=SAProuter, O=SAP, C=DE') [nisnc.c 663]

      • ERROR => main: NiSncInit failed (rc=-17) [nirout.cpp 1219]

*****************************************************************************

*

  • ERROR SNC processing failed:

  • SncSetMyNameU

*

  • TIME Fri Mar 18 04:46:25 2011

  • RELEASE 700

  • COMPONENT NI (network interface)

  • VERSION 38

  • RC -17

  • MODULE nisnc.c

  • LINE 661

  • DETAIL NiSncInit: sncrc=-35

  • COUNTER 3

*

*****************************************************************************

Please give me suggestion on this.

Thanks,

Venkat

sivakumar_kilari3
Active Contributor
0 Kudos

Start like this.

saprouter -r -K "p:CN=SAPVMQA, OU=0000912552, OU=SAProuter, O=SAP, C=DE"

Thanks

Siva

Former Member
0 Kudos

Hi Siva,

i have given exact command as u mention but same above error am getting please see the above error log which i had given.

Thanks,

Venkat

sivakumar_kilari3
Active Contributor
0 Kudos

You are missing p:

Wrong : saprouter -r -K "CN=SAPVMQA, OU=0000912552, OU=SAProuter, O=SAP, C=DE"

Right : saprouter -r -K "p:CN=SAPVMQA, OU=0000912552, OU=SAProuter, O=SAP, C=DE

Thanks

Siva

Former Member
0 Kudos

Hi Siva,

i have given command as

saprouter -r -K "p:CN=SAPVMQA, OU=0000912552, OU=SAProuter, O=SAP, C=DE"

then it has given output as below and stand thr only

trcfile dev_rout

no logging active

below is the dev_rout log:

-


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

-


Fri Mar 18 10:53:52 2011

SAP Network Interface Router, Version 38.10

command line arg 0: saprouter

command line arg 1: -r

command line arg 2: -K

command line arg 3: p:CN=SAPVMQA, OU=0000912552, OU=SAProuter, O=SAP, C=DE

SncInit(): Initializing Secure Network Communication (SNC)

PC with Windows NT (mt,ascii,SAP_UC/size_t/void* = 16/64/64)

SncInit(): Trying environment variable SNC_LIB as a

gssapi library name: "C:\saprouter\Crypto\nt-x86_64\sapcrypto.dll".

File "C:\saprouter\Crypto\nt-x86_64\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 = 3808, ppid = 0, port = 3299, parent port = 0 (0 = parent is not a saprouter)

reading routtab: './saprouttab'

Please suggest me for next step

Thanks,

Venkat

Former Member
0 Kudos

HI

No errors found in DEV_ROUT. Check OSS connection, in sm59 RFC SAP-OSS perform connection test, if you get any error please paste dev_rout here

Regards

William Neira

Former Member
0 Kudos

Hi,

I checked SAP OSS RFC it is working fine, but still am not able to open connection.

when i give saprouter -r -G saprouter.log -K "p:CN=SAPVMQA, OU=0000912552, OU=SAProuter, O=SAP, C=DE"

command to start the router it is giving below message and stand there.

trcfile dev_rout

logfile saprouter.log

and below is the saprouter.log file

Tue Mar 22 08:35:23 2011 INIT LOGFILE

Tue Mar 22 08:35:23 2011 READ ROUTTAB ./saprouttab o.k.

and below is the dev_rout

-


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

-


Tue Mar 22 08:35:23 2011

SAP Network Interface Router, Version 38.10

command line arg 0: saprouter

command line arg 1: -r

command line arg 2: -G

command line arg 3: saprouter.log

command line arg 4: -K

command line arg 5: p:CN=SAPVMQA, OU=0000912552, OU=SAProuter, O=SAP, C=DE

SncInit(): Initializing Secure Network Communication (SNC)

PC with Windows NT (mt,ascii,SAP_UC/size_t/void* = 16/64/64)

SncInit(): Trying environment variable SNC_LIB as a

gssapi library name: "C:\saprouter\Crypto\nt-x86_64\sapcrypto.dll".

File "C:\saprouter\Crypto\nt-x86_64\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 = 2408, ppid = 0, port = 3299, parent port = 0 (0 = parent is not a saprouter)

reading routtab: './saprouttab'

Please help me on this.

Thanks,

Venkat

JPReyes
Active Contributor
0 Kudos

what's the error?... how is that you are not able to open the connection?... can you explain in detail?

At this point is either a problem with your SAProuter details in SMP or an issue with your saprouttab but you will get an error.

Regards

Juan

Former Member
0 Kudos

Hi

Pease explain in detail your issue becouse the DEV_ROUT log file not contain any error.

Regards

William Neira

sivakumar_kilari3
Active Contributor
0 Kudos

> SncInit(): Initializing Secure Network Communication (SNC)

> PC with Windows NT (mt,ascii,SAP_UC/size_t/void* = 16/64/64)

> SncInit(): Trying environment variable SNC_LIB as a

> gssapi library name: "C:\saprouter\Crypto\nt-x86_64\sapcrypto.dll".

> File "C:\saprouter\Crypto\nt-x86_64\sapcrypto.dll" dynamically loaded as GSS-API v2 library.

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

Did you create the following environmental variables ? if not please create.

SECUDIR = C:\saprouter\

SNC_LIB= C:\saprouter\sapcrypto.dll

Thanks

Siva

Answers (0)