Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Sap Router not Starting Giving Error.

Dear Experts

When I tried to start sap router though the ./saprouter -r the following error message provided.

When I start with the paremeters

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

it gives the following error.

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

*

*  LOCATION    SAProuter 40.4 on 'cpstlsr'

*  ERROR       service '0.0.0.0:3299' in use

*

*  TIME        Thu Oct 29 15:30:48 2015

Thu Oct 29 15:30:48 2015

*  RELEASE     742

*  COMPONENT   NI (network interface)

*  VERSION     40

*  RC          -4

*  MODULE      /bas/742_REL/src/base/ni/nixxi.cpp

*  LINE        3778

*  DETAIL      NiIBindSocket

*  SYSTEM CALL bind

*  ERRNO       98

*  ERRNO TEXT  Address already in use

*  COUNTER     2

*

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

Then I read the file dev_rout it says like this.

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

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

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

Thu Oct 29 15:30:48 2015

SAP Network Interface Router, Version 40.4

command line arg 0: ./saprouter

command line arg 1: -r

command line arg 2: -K

command line arg 3: p:CN=CPSTLSR,OU=0000913484,OU=SAProuter,o=SAP,C=DE

SncInit(): Initializing Secure Network Communication (SNC)

      AMD/Intel x86_64 with Linux (mt,ascii,SAP_UC/size_t/void* = 8/64/64)

      UserId="root" (0), envvar USER="root"

SncInit(): Trying environment variable SNC_LIB as a

      gssapi library name: "/usr/sap/saprouter/libsapcrypto.so".

  File "/usr/sap/saprouter/libsapcrypto.so" dynamically loaded as GSS-API v2 library.

  SECUDIR="/usr/sap/saprouter/" (from $SECUDIR)

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

  Internal SNC-Adapter (Rev 1.1) to CommonCryptoLib

  Product Version = CommonCryptoLib (SAPCRYPTOLIB) Version 8.4.43 pl40 (Oct  8 2015) MT-safe

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

***LOG Q0I=> NiIBindSocket: bind (98: Address already in use) [/bas/742_REL/src/base/ni/nixxi.cpp 3778]

*** ERROR => NiIBindSocket: SiBind failed for hdl 1/sock 5

    (SI_EPORT_INUSE/98; I4; ST; 0.0.0.0:3299) [nixxi.cpp    3778]

*** ERROR => main: NiBufServerHandleForAddr failed (rc=-4) [nirout.cpp   2208]

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

*

*  LOCATION    SAProuter 40.4 on 'cpstlsr'

*  ERROR       service '0.0.0.0:3299' in use

*

*  TIME        Thu Oct 29 15:30:48 2015

Thu Oct 29 15:30:48 2015

*  RELEASE     742

*  COMPONENT   NI (network interface)

*  VERSION     40

*  RC          -4

*  MODULE      /bas/742_REL/src/base/ni/nixxi.cpp

*  LINE        3778

*  DETAIL      NiIBindSocket

*  SYSTEM CALL bind

*  ERRNO       98

*  ERRNO TEXT  Address already in use

*  COUNTER     2

*

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


saprouttab file as follows


#SNC connection to SAP

KT "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 194.39.131.34 *

# SNC-connection from SAP to local system for R/3 Support

#KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 192.168.10.* 3200

KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 10.10.10.* *

# SNC-connection from SAP to local system for pcAnywhere, if applicable

#KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" <IP-address> 5631

# SNC-connection from SAP to local system for SAPtelnet, if applicable

#KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" <IP-address> 23

# SNC-connection from SAP to local system for WTS, if applicable

#KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" <IP-address> 3389

# Access from local network to SAP

#P * 194.39.131.34 3299

#P * 194.39.131.34 *

P * * *

# All other connections will be denied

#D * * *


I created the certificate and not get any error.

Please provide me a solution.

Thanks

Former Member
Former Member replied

Dear All willing to help me.

It got resolved after I start the saprouter with parameters.

./saprouter -r -S 3299 -K "p:CN=XXXXX, OU=0000XXXXX, OU=SAProuter, O=SAP, C=DE" &

Thank you very much.

Priyan

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question