cancel
Showing results for 
Search instead for 
Did you mean: 

Error While trying to connect to System

former_member183818
Contributor
0 Kudos

Dear Experts,

I have raised an issue with SAP and they are trying to connect to our system, but getting connection error.

From SM59 i got the following error.

Error Details from SM59 - ABAP -SAPOSS - Connection Test

Logon Connection Error

Error Details Error when opening an RFC connection

Error Details ERROR: CPIC program connection ended (read error)

Error Details LOCATION: SAP-Server gccprdci_GCP_01 on host gccprdci (wp 0)

Error Details COMPONENT: CPIC

Error Details COUNTER: 538

Error Details MODULE:

Error Details LINE:

Error Details RETURN CODE: 223

Error Details SUBRC: 0

Error Details RELEASE: 701

Error Details TIME: Fri Jun 24 11:06:12 2011

Error Details VERSION:

Please help on how to open the connection

Accepted Solutions (0)

Answers (5)

Answers (5)

former_member183818
Contributor
0 Kudos

Thanks All

Former Member
0 Kudos

Hi,

Check the Logon details in "Logon & Security" Tab of your SAPOSS RFC connection.

If the PW Status is not "saved" then set the password as "CPIC" and make a connection test.

former_member183818
Contributor
0 Kudos

Password is Saved. Tried connection Test Same error is comming

Former Member
0 Kudos

Hello Simon,

Are you able to reach your router from your system?

Check the routing string which you have mentioned on the Msg Server part in SM59.

Also as suggested by Juan check the router certificates too.

Regards

Vivek

former_member185031
Active Contributor
0 Kudos

You can also stop and start the saprouter again. I have seen these kind of error due to router problems. You have to check the router logs also dev_rout file.

Regards,

Subhash

former_member183818
Contributor
0 Kudos

I have reneiwed the license. Our support team is able to connect to our system throough router string. Please help on how to establish a connection with SAP

JPReyes
Active Contributor
0 Kudos

Seems like you didn't read the replies, please post the errors on the logs... not much to do without information

Regards

Juan

former_member183818
Contributor
0 Kudos

Error Log From dev_rout

Sat Jun 25 18:55:10 2011

      • ERROR => SncPAcquireCred()==SNCERR_GSSAPI [sncxxall.c 1439]

GSS-API(maj): No credentials were supplied

GSS-API(min): No credentials found for this name (not logged on) (USER=SYSTEM)

Could't acquire INITIATING credentials for

name="p:CN=XXX_SAP_ROUTER, OU=0000XXXXXX, OU=SAProuter, O=SAP, C=DE"

<<- SncSessionInitiatorAK()==SNCERR_GSSAPI

'target_acl_key' (addr=01D1F8B8, len=86) full hexdump

0x00000 00030401 00080606 2b240301 25010000 ........ +$..%...

0x00010 00443042 310b3009 06035504 06130244 .D0B1.0. ..U....D

0x00020 45310c30 0a060355 040a1303 53415031 E1.0...U ....SAP1

0x00030 12301006 0355040b 13095341 50726f75 .0...U.. ..SAProu

0x00040 74657231 11300f06 03550403 13087361 ter1.0.. .U....sa

0x00050 70736572 7632 pserv2

      • ERROR => NiSncIInitHdlSecurity: SncSessionInitiatorAK failed (rc=-4;002FDDD8) [nisnc.c 1082]

      • ERROR => NiSnc2Connect C3/-1, 194.39.131.34 (rc=-17) [nirout.cpp 2816]

      • ERROR => NiRClientHandle: NiRExRouteCon for C3/-1 'gccprddb.gulfcement.local' failed (rc=-17) [nirout.cpp 2243]

      • ERROR => SncPAcquireCred()==SNCERR_GSSAPI [sncxxall.c 1439]

GSS-API(maj): No credentials were supplied

GSS-API(min): No credentials found for this name (not logged on) (USER=SYSTEM)

Could't acquire INITIATING credentials for

name="p:CN=XXX_SAP_ROUTER, OU=XXXXX, OU=SAProuter, O=SAP, C=DE"

<<- SncSessionInitiatorAK()==SNCERR_GSSAPI

'target_acl_key' (addr=01D1F8B8, len=86) full hexdump

0x00000 00030401 00080606 2b240301 25010000 ........ +$..%...

0x00010 00443042 310b3009 06035504 06130244 .D0B1.0. ..U....D

0x00020 45310c30 0a060355 040a1303 53415031 E1.0...U ....SAP1

0x00030 12301006 0355040b 13095341 50726f75 .0...U.. ..SAProu

0x00040 74657231 11300f06 03550403 13087361 ter1.0.. .U....sa

0x00050 70736572 7632 pserv2

      • ERROR => NiSncIInitHdlSecurity: SncSessionInitiatorAK failed (rc=-4;002FDDD8) [nisnc.c 1082]

      • ERROR => NiSnc2Connect C3/-1, 194.39.131.34 (rc=-17) [nirout.cpp 2816]

      • ERROR => NiRClientHandle: NiRExRouteCon for C3/-1 'gccprddb.gulfcement.local' failed (rc=-17) [nirout.cpp 2243]

What should be done

former_member227283
Active Contributor
0 Kudos

Hi,

While configuring SAP Router you might have given some password. Now while starting sap router you are not providing the same password. To resolve you problem do the following steps.

1. Set the environment variable USER=<Username through which you are starting SAPROUTER>

2. Run the following command in cmd from the location of saprouter

sapgenpse seclogin u2013p local.pse u2013O <Username through which you are starting SAPROUTER>

Once above 2 steps are done restart the saprouter.

Thanks

Anil Bhandary

former_member183818
Contributor
0 Kudos

Enviornment Variable User I am not able to find.

Former Member
0 Kudos

Hi,

I think you are starting the router with user SYSTEM which you din't add it in the acl, add this as suggested by Anil and restart the router.

Regards,

Vamshi.

former_member183818
Contributor
0 Kudos

Hi Thanks for the answer,

In Enviornment Variable the values are

Variable Name: TEMP Variable Value :%USERPROFILE%\Local Settings\Temp

Variable Name: TMP Variable Value :%USERPROFILE%\Local Settings\Temp

and in system variables the values are;

Variable Name: ClusterLog Variable Value :C:\WINDOWS\Cluster\cluster.log

Variable Name: ComSpec Variable Value :%SystemRoot%\system32\cmd.exe

Variable Name: FP_NO_HOST_CHECK Variable Value :NO

Variable Name: NUMBER_OF_PROCESSORS Variable Value :8

Variable Name: OS Variable Value : Windows_NT

Variable Name: Path Variable Value : C:\Program Files\Windows Resource Kits\Tools\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem

Variable Name: PATHEXT Variable Value : .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH

Variable Name: SECUDIR Variable Value : C:\saprouter

Variable Name: SNC_LIB Variable Value : C:\saprouter\ntintel\sapcrypto.dll

Variable Name: SNC_LIB Variable Value : C:\saprouter\ntintel\sapcrypto.dll

where I should provide the USER details

Thanks

JPReyes
Active Contributor
0 Kudos

I think this is related to your SAP router certificate... (assuming it was working fine before)

Check your dev_rfc* log for errors, also check that your SAProuter certificate is not expired.

Regards

Juan

Former Member
0 Kudos

Have you given the correct message server string ??