cancel
Showing results for 
Search instead for 
Did you mean: 

ERROR => RFC ======> CPIC-CALL: 'ThSAPOCMINIT' : cmRc=20 thRc=20

bhavesh_patel3
Explorer
0 Kudos

Hi Experts,

Getting following error in trace file (with secinfo file):

Please help to solve the issue.

Note: This is not an authorization issue.

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

M *

M * LOCATION SAP-Gateway on host xxxxxxxxx / sapgw03

M * /avp/saplink/avprfc/avprfc.sh on host xxxxx.mycompany.com

M *

M * TIME Mon May 20 15:48:52 2013

M * RELEASE 700

M * COMPONENT SAP-Gateway

M * VERSION 2

M * RC 676

M * MODULE gwr3cpic.c

M * LINE 6937

M * COUNTER 5587

M *

M

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

M

A RFC 1485 CONVID 10802368

A * CMRC=20 DATA=0 STATUS=0 SAPRC=20 ThSAPOCMINIT

A RFC> ABAP Programm: RSRFCPIN (Transaction: SM59)

A RFC> User: Z001NYUR (Client: 000)

A RFC> Destination: AVP_TEST (handle: 2, , )

A *** ERROR => RFC ======> CPIC-CALL: 'ThSAPOCMINIT' : cmRc=20 thRc=20

No storage allocation available

[abrfcio.c 8167]

A *** ERROR => RFC Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 1501

CPIC-CALL: 'ThSAPOCMINIT' : cmRc=20 thRc=20

No storage allocation available

DEST =AVP_TEST

HOST =136.157.188.88

PROG =/avp/saplink/avprfc/avprfc.sh

GWHOST =xxxxx.mycompany.com

GWSERV =sapgw03

[abrfcio.c 8167]

A TH VERBOSE LEVEL FULL

A ** RABAX: end RX_GET_MESSAGE

From source system RFC developer trace file:

**** Trace file opened at 20130520 154852 EDT SAP-REL 700,0,353 RFC-VER

U 3 1366406

======> CPIC-CALL: 'ThSAPOCMINIT' : cmRc=20 thRc=20

No storage allocation available

ABAP Programm: RSRFCPIN (Transaction: SM59)

User: Z001NYUR (Client: 000)

Destination: AVP_TEST (handle: 2, , )

Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 1501

CPIC-CALL: 'ThSAPOCMINIT' : cmRc=20 thRc=20

No storage allocation available

DEST =AVP_TEST

HOST =136.157.188.88

PROG =xxxxx.mycompany.com

GWHOST =xxxxx.mycompany.com

GWSERV =sapgw03

==============================

Regards,

Bhavesh Patel

Accepted Solutions (0)

Answers (3)

Answers (3)

Reagan
Advisor
Advisor
0 Kudos

Hello

This is NOT related to any space issue at the OS or at the DB level.

This is due to the gateway configuration.

Suggest you to check the gateway trace file dev_rd

Cheers

RB

isaias_freitas
Advisor
Advisor
0 Kudos

Hello Bhavesh!

It seems that the issue was related to the secinfo rules, after all.

And it was also related to the DNS alias you have for the CI server.

Sometimes, for some reason, the gateway was comparing the secinfo rules to the DNS alias, instead of the actual hostname (and despite that the SM59 destination was maintained using the hostname only, never mentioning the DNS alias).

The solution would be to add a rule like:

P TP=<program to be started> HOST=<hostname>,<DNS alias> USER=<list of users allowed to run the program> USER-HOST=internal

* the keyword "internal" can be used as of kernel release 720, and it means "any SAP server from this SAP system".

Kind regards,

Isaías

bhavesh_patel3
Explorer
0 Kudos

Thanks Isaias,

Working well with following in secfile:

P TP=/avp/saplink/avprfc/avprfc.sh USER=* HOST=* USER-HOST=*

No issue reported for many days ; thus, can be said as solved.

Regards,

Bhavesh Patel


Former Member
0 Kudos

Need to re-read the GW security files globally from SMGW when error " No storage allocation" occurs for TCP/IP type RFC connections.

Also If target system contains gateway services then it needs to take restart after maintain secinfo and reginfo files.

Thanks,

Divyesh Kathiriya

isaias_freitas
Advisor
Advisor
0 Kudos

Hello Divyesh,


Need to re-read the GW security files globally from SMGW when error " No storage allocation" occurs for TCP/IP type RFC connections.

Just reloading the security files might not solve the "no storage allocation" error.

You might need to first fix a rule within the security files.

The Gateway Access Control Lists - Application Server Infrastructure - SCN Wiki page can help with that. It also has links to SAP KBAs that have videos showing how the security rules work.


Also If target system contains gateway services then it needs to take restart after maintain secinfo and reginfo files.

I do not see any need to restart SAP or the Gateway.

If we are addressing a standalone gateway, you can use the gwmon tool (menu path "m" -> 9 -> 4) to reload the security files without having to restart it.

In addition, one should avoid "bringing up to life" old threads. Search the SCN for "stop necromancing" .

Regards,

Isaías

Former Member
0 Kudos

Hi,

If you made any changes to reginfo and secinfo go to your gateway.Your gateway

SMGW) choose  Goto  Expert Functions  External Security  Reread

Kind Regards,

Johan

Former Member
0 Kudos

Hi Bhavesh,

Did this help in resolving your problem?

Or do you still have errors?

Johan

Former Member
0 Kudos

Hi Bhavesh,

Please look at  your OS storage are there any full filesystems or drives? clear space or add space

A *** ERROR => RFC ======> CPIC-CALL: 'ThSAPOCMINIT' : cmRc=20 thRc=20

No storage allocation available

Kind Regards,

Johan

bhavesh_patel3
Explorer
0 Kudos

Hi Johan,

Thanks for the reply.

The error lone ( No storage allocation available ) is not relating to any file-system / drive full.

We have already plenty of space in all the mount points (on LINUX) and, none of the Oracle table / tablespace is having issue to expand.

Best,

Bhavesh

Former Member
0 Kudos

Did you reread the files as previously suggested? Also did you make any changes to the secinfo or reginfo files?

Please check if note is applicable to you Note 1480390 - Incorrect behavior of the report RSRFCPIN

As per sap note Note 63347 - List: CPIC error codes your error is:

CM_PRODUCT_SPECIFIC_ERROR    20

Can you retest this RFC and add the latest entry in the file,  are you calling to a non sap system or between sap systems?

Regards.

Johan