cm_proxy Does Not Function Consistently (Doc ID 1344304.1)

Last updated on AUGUST 19, 2013

Applies to:

Oracle Communications Billing and Revenue Management - Version 7.0.0.0.1 to 7.0.0.1.0 [Release 7.0.0]
Information in this document applies to any platform.
Checked for relevance on 19-Aug-2013

Symptoms


cm_proxy works only intermittently.
cm_proxy dumps core inconsistently even while using standard opcode calls such as PCM_OP_READ_FLDS.

ERROR
-----------------------

  In $PIN_HOME/sys/test/cm_proxy]# cat default.pinlog
E Tue Dec 22 11:50:43 2009 machine <no name>:6912 pcp_xdrst.c(22):2333 1:machine:<no_name>:6912:1:4:1261443023:32
pcpxdr_op_decode: bad xdr: 50
E Tue Dec 22 11:50:43 2009 machine <no name>:6912 pcm.c(30):673 1:machine:<no_name>:6912:1:4:1261443023:32
Op (4) receive failed (50) in pcm_op
E Tue Dec 22 11:53:33 2009 machine <no name>:8318 pcp_xdrst.c(22):2333 1:machine:<no_name>:8318:1:4:1261443213:4
pcpxdr_op_decode: bad xdr: 50
E Tue Dec 22 11:53:33 2009 machine <no name>:8318 pcm.c(30):673 1:machine:<no_name>:8318:1:4:1261443213:4
Op (4) receive failed (50) in pcm_op
E Tue Dec 22 11:53:33 2009 machine <no name>:8318 pcp_xdrst.c(22):2333 1:machine:<no_name>:8318:1:4:1261443213:5
pcpxdr_op_decode: bad xdr: 50
E Tue Dec 22 11:53:33 2009 machine <no name>:8318 pcm.c(30):673 1:machine:<no_name>:8318:1:4:1261443213:5
Op (4) receive failed (50) in pcm_op


STEPS
-----------------------
The issue can be reproduced with the following steps:
1. configured cm_proxy to run in OOB environment with the folling pin.conf settings:
[/pin/pin01/opt/portal/7.0/sys/cm_proxy]# egrep -v '(^$|^#)' pin.conf
- cm_proxy qm_n_fe              1
- cm_proxy qm_max_per_fe        16
- cm_proxy qm_n_be              2
- cm_proxy qm_shmsize           4194304
- cm_proxy qm_bigsize           1048576
- cm_proxy qm_port              13900
- cm_proxy qm_logfile           /pin/pin01/var/portal/7.0/cm_proxy/cm_proxy.pinlog
- cm_proxy qm_restart_children  0
- cm_proxy qm_debug             0x07    # example: print all debug info
- cm_proxy qm_debug_front       0x0F    # example: print all debug info, front end
- cm_proxy qm_debug_back        0x0F    # example: print all debug info, back end
- cm_proxy oplist       system_test 3,4,5,6,7,8,11,16
- cm_proxy allowed      10.161.201.10   system_test
- nap   cm_ptr  ip      sam-pin-dev  10501
- -     userid  0.0.0.1 /service/pcm_client 1
- nap   login_type      1
- nap   login_name      root.0.0.0.1
- nap   login_pw        password

2. created subdirectory under sys/test called cm_proxy with following pin.conf entries:
/pin/pin01/opt/portal/7.0/sys/test/cm_proxy]# egrep -v '(^$|^#)' pin.conf
- nap cm_ptr ip machine1 13900
- nap login_type 0
- - userid 0.0.0.1 /service/pcm_client 1
- nap login_name root.0.0.0.1
- nap login_pw   password

3. then run testnap from sys/test/cm_proxy and repeatedly execute the same PCM_OP_READ_FLDS command until failure
nap(6912)> xop PCM_OP_READ_FLDS - 1
xop: opcode 4, flags 0
# number of field entries allocated 3, used 3
0 PIN_FLD_POID           POID [0] 0.0.0.1 /account 1 1
0 PIN_FLD_NAME            STR [0] "Brand Host"
0 PIN_FLD_ACCOUNT_NO      STR [0] "ROOT"
nap(6912)> xop PCM_OP_READ_FLDS - 1
xop: opcode 4, flags 0
xop PCM_OP_READ_FLDS - 1
XOP "4" failed: err 50:PIN_ERR_STREAM_EOF, field 0/0:0,
loc 2:PIN_ERRLOC_PCP, errclass 0:UNKNOWN, rec_id 0, resvd 0

Actual Result:
------------
cm_proxy coredump, $PIN_HOME/sys/cm_proxy/core

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms