cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

cannot start SAProuter

Former Member
0 Likes
2,282

Hello guys,

Please help, I cannot start a saprouter. it seems that everything ok. but it says "No loggig active".

Here is my dev_rout file content:

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

trc file: "dev_rout", trc level: 2, release: "720"

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

Fri Mar 01 20:28:35 2013

NiIHSBufInit: initialize hostname buffer (IPv4)

NiHLInit: alloc host buf (200 entries)

NiSrvLInit: alloc serv bufs (200 entries)

NiIInit: allocated nitab (811 at 00000000024169F0)

NiIInit: host/serv bufs already initialized

NiPGetNodeAddrListInit: use GetAdaptersAddresses implementation (03)

NiIGetServNo: servicename '3299' = port 3299

SAP Network Interface Router, Version 40.4

Compiled Jan  8 2013 13:28:05

command line arg 0:          saprouter

command line arg 1:          -r

command line arg 2:          -S3299

command line arg 3:          -V

command line arg 4:          2

command line arg 5:          -K

command line arg 6:          p:CN=VM8, OU=0000001994, OU=SAProuter, O=SAP, C=DE

service   : 3299

routtab   : ./saprouttab

plug-in   : no plug-in

-argument: 'no argument'

clients   : 800

max servers  : 1

quelength : 1

maxheap   : 20000000

timeoutL  : 5000

tracefile : dev_rout

logfile   : no logging active

portrange : no portrange active

local address : default address

SncInit(): Initializing Secure Network Communication (SNC)

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

      GetUserName()="zh.abseitov"  NetWkstaUser="zh.abseitov"

SncInit(): Trying environment variable SNC_LIB as a

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

DlLoadLib success: LoadLibrary("C:\usr\sap\saprouter\nt-x86_64\sapcrypto.dll"), hdl 0, addr 0000000010000000

    using "C:\usr\sap\saprouter\nt-x86_64\sapcrypto.dll"

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

  SECUDIR="C:\usr\sap\saprouter" (from $SECUDIR)

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

  Internal SNC-Adapter (Rev 1.0) to SAPCRYPTOLIB

  Product Version = SAPCRYPTOLIB  5.5.5C pl34  (Mar  1 2012) MT,[aesni],NB

<<- SncInit()==SAP_O_K

         sec_avail = "true"

<<- SncSetMyName()==SAP_O_K

     in: myname = "p:CN=VM8, OU=0000001994, OU=SAProuter, O=SAP, C=DE"

NiBufISetParam: set max heap to 20000000

NiSetParamEx: switch NIP_CONNLOCAL off (not supported by platform)

NiMyHostName: hostname = 'VM8'

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

NiICreateHandle: hdl 1 state NI_INITIAL_LIS

NiIInitSocket: set default settings for new hdl 1/sock 336 (I4; ST)

NiITraceByteOrder: CPU byte order: little endian, reverse network, low val .. high val

NiIBind: hdl 1 bound to 3299 (IP only)

NiIBlockMode: set blockmode for hdl 1 FALSE

NiIListen: state of hdl 1 NI_LISTEN

reading routtab: './saprouttab'

NiIGetServNo: servicename '3200' = port 3200

NiIGetServNo: servicename '3299' = port 3299

contents of routtab ('./saprouttab', 4 entries):

KT*,*  p:CN=sapserv2, OU=SAProuter, O=  194.39.131.34/32                *         *

KP*,*  p:CN=sapserv2, OU=SAProuter, O=  192.168.191.203/32              3200      *

P*,*  192.168.0.0/16                   194.39.131.34/32                3299      *

D*,*  ::/0                             ::/0                            *         *

******* NI-ROUTER LOOP ********

Here is my saprouttab file content:

# SNC connection to and from SAP

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

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

# R/3 Server: 192.168.191.203

# R/3 Instance: 00

KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 192.168.191.203 3200

# Access from the local Network to SAP

P 192.168.*.* 194.39.131.34 3299

# deny all other connections

D * * *

Please help me to solve the problem.

View Entire Topic
Former Member
0 Likes

Hi,

  Please login to SAP system -> SM59 -> SAPOSS -> try to do the test connection and see whether it is working fine.

If Yes, then your SAPRouter is working fine.

As per the picture also, as Sunny said , Router is working fine.

PLease test the RFC and see whether it works.. If not, please attach the screenshot of RFC error.

Thanks and Regards,

Vimal

Former Member
0 Likes

Here is a snapshot of connection test of SAPOSS

Former Member
0 Likes

Hi,

Please try to ping the SAP Router server and see whether it resolves.

Please attach the screenshot of your techincal settings in OSS1 .

THanks and Regards,

Vimal

Former Member
0 Likes

I pinged the SAP server, everything looks fine.

Here is my OSS1 snapshot

Former Member
0 Likes

Okay.

In your saprouttab file, please add the entry

P *     *     * in the last line...

Restart the Saprouter and check the RFC please

Former Member
0 Likes

Don't give P * * * in the saprouttab file otherwise it will allow all connection from router.

Thanks

Sunny

Former Member
0 Likes

It says ERROR:wildcard character used in route target.

I do not have SAProuter service in services.msc and register.

Former Member
0 Likes

This is not error. It is warning which says you have allowed all connections. Please read router documentation, these are very basic things.

Thanks

Sunny

Former Member
0 Likes

Yes, it was warning, I mistyped.

I did everything by manual but it still gives message "NO LOGGING ACTIVE"

When I typed "saprouter -r" in cmd, dev_rout file content was like this:

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

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

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

Mon Mar 04 13:08:28 2013

SAP Network Interface Router, Version 40.4

command line arg 0:          saprouter

command line arg 1:          -r

main: pid = 5944, 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   9231]

*** ERROR => SNC field without SNC active, skip line 7 [nirout.cpp   9231]

Former Member
0 Likes

Hi Askhat bayarlin,

I am also facing the error . is your issue resolved ?

if solved can you please share the solution ASAP.

Regards,

krishna

Former Member
0 Likes

I did not solve the problem. But it shows the same as shown in the top picture, and it works fine for me.

However I will try to solve it. And after I solve it I will post the right answer. I am close to the solution!

Former Member
0 Likes

Hi Askhat,

Please check the validity of the certificate by executing the following command from the SAPRouter directory.

sapgenpse get_my_name

If the certificate is valid then you need to increase the trace level using the parameter -V<n> (where n can be 1, 2 and 3) and then check the trace file dev_rout after restarting the router service.

Also ensure that the port 3299 is opened at the firewall.

Inoreder to install the saprouter service you need to use the Microsoft executable (sc.exe) as ntscmgr is not recommended after windows server 2003 as per the note 618053.

Please revert with snapshots of the dev_rout file if the issue still persists.

Regards,

Varadharajan M

former_member183788
Active Participant
0 Likes

Dear Ashat,

       Check the RFC for SAP-OSS & SAPOSS

Target system:OSS

Group:EWA  and the parameters also and test the connection.