Title: pcm_dyn_attach_mmap() issue
Issue: Following error observed while starting cm or in the cm.pinlog while executing any application connected to CM
mmap failed for pcm_dyn_attach_mmap(): Invalid argument
Cause: This error usually comes when you use reference to some mapping parameter/file in the CM or application's pin.conf and that is invalid or empty. E.g. if the entry file for ops_fields_extension_file is empty or invalid, we can get the error:
mmap failed for pcm_dyn_attach_mmap(): Invalid argument
Title: Resource Credit Limit Issue
Issue:
2:SACJOSHI-US:CustomerCenter:0:AWT-EventQueue-0:108:1476427204:0:root.0.0.0.1:::
Credit limit exceeded
<location=PIN_ERRLOC_FM:5 class=PIN_ERRCLASS_SYSTEM_DETERMINATE:1 errno=PIN_ERR_CREDIT_LIMIT_EXCEEDED:81>
<field num=0:0,0 recid=0 reserved=0 reserved2=0 time(sec:usec)=0:0>
<facility=0 msg_id=0 version=0>
Cause: This error usually comes when you use NCR (non-currency resource) to have a +ve balance impact. By default the credit limit for NCRs is 0 in BRM. In case, you need to have a positive balance impact on NCR, you need to update the credit limit.
0 PIN_FLD_POID POID [0] 0.0.0.1 /config/credit_profile 201 0
0 PIN_FLD_PROFILES ARRAY [2] allocated 2, used 2
1 PIN_FLD_CREDIT_FLOOR DECIMAL [0] NULL
1 PIN_FLD_CREDIT_LIMIT DECIMAL [0] NULL
Title: AMT procedure errors
Issue:
ORA-29280: invalid directory path
ORA-06512: at "WK33_PIN03.AMT_MV", line 347
ORA-06512: at line 1
Cause: The directory mentioned in Infranet.properties of pin_amt application is not created or if it is created you are using the name in lowercase, change it to upper case.
Issue:
ORA-29289: directory access denied
ORA-06512: at "WK33_PIN03.AMT_MV", line 347
ORA-06512: at line 1
Cause: Good news is that the directory exists but the db user with which pin_amt is being executed is not having read/write permission.
Issue:
ORA-02055: distributed update operation failed; rollback required
ORA-54013: INSERT operation disallowed on virtual columns
ORA-06512: at "WK33_PIN03.AMT_MV", line 722
ORA-06512: at line 1
Cause: Some table in the AMT_METADATA is having virtual column, check what are the custom tables added and check which one has virtual columns.
Title: Cache entry not found
E Mon Apr 8 16:13:58 2013 <<hostname>> cm:18233 fm_bill_utils_billing.c(49):1039 1:<<hostname>>:testnap:18231:-136099600:100001:1365405238:1
Could not find cache entry: "PIN_SEQUENCE_TYPE_PACKAGE_ID"
E Mon Apr 8 16:13:58 2013 <<hostname>> cm:18233 fm_subscription_purchase_deal.c:805 1:<<hostname>>:testnap:18231:-136099600:100001:1365405238:1
op_subscription_purchase_deal error
<location=PIN_ERRLOC_FM:5 class=PIN_ERRCLASS_SYSTEM_DETERMINATE:1 errno=PIN_ERR_NOT_FOUND:3>
<field num=^Aopsflds:0,0 recid=0 reserved=3 reserved2=0 time(sec:usec)=0:0>
<facility=0 msg_id=0 version=0>
Resolution: As the cache entry is missing, it means CM could not load few variable, restart cm to fix this.
Title: pricing_admin.pl failed in initializing
-bash-3.2$ ./pricing_admin.pl -init
EBUF: errno=<PIN_ERR_BAD_CRYPT:15> location=<PIN_ERRLOC_DM:4> class=<UNKNOWN:0> field num=<0:0,0> recid=<0> reserved=<0>
0 PIN_FLD_POID POID [0] 0.0.0.1 /config/pricing_admin -1 0
0 PIN_FLD_ACCOUNT_OBJ POID [0] 0.0.0.1 /account 1 0
0 PIN_FLD_HOSTNAME STR [0] "-"
0 PIN_FLD_NAME STR [0] "config_pricing_admin"
0 PIN_FLD_PROGRAM_NAME STR [0] "-"
0 PIN_FLD_CONFIG_INFO SUBSTRUCT [0] allocated 6, used 6
1 PIN_FLD_HOSTNAME STR [0] "sacjoshi-linux"
1 PIN_FLD_LOGIN STR [0] "INTEGRATE"
1 PIN_FLD_NAME STR [0] "brm11gdb"
1 PIN_FLD_PASSWD STR [0] "integrate"
1 PIN_FLD_PORT INT [0] 1521
1 PIN_FLD_SERVER_TYPE STR [0] "oracle"
call_opcode: PCM_OP_CREATE_OBJ failed. at ./pricing_admin.pl line 504.
Initializing config object for pricing admin failed.
Resolution: - crypt md5 entry is not enabled, enable this entry in dm_oracle's pin.conf
Another issue that can sometimes occur due to installation issues is:
-bash-3.2$ ./pricing_admin.pl -set <admins.txt
EBUF: errno=<PIN_ERR_BAD_ARG:4> location=<PIN_ERRLOC_DM:4> class=<UNKNOWN:0> field num=<PIN_FLD_POID:7,16> recid=<0> reserved=<0>
0 PIN_FLD_RESULTS ARRAY [*] NULL
0 PIN_FLD_POID POID [0] 0.0.0.1 /search -1 0
0 PIN_FLD_ARGS ARRAY [1] allocated 1, used 1
1 PIN_FLD_POID POID [0] 0.0.0.1 /config/pricing_admin -1 0
0 PIN_FLD_TEMPLATE STR [0] "select X from /config/pricing_admin where F1 = V1 "
0 PIN_FLD_FLAGS INT [0] 0
call_opcode: PCM_OP_GLOBAL_SEARCH failed. at ./pricing_admin.pl line 504.
Search failed for /config/pricing_admin object.