Hi All,
we have a environment, where management is on R80 and gateway is on R75.40 SPLAT.
We sometime faces following error when we install policy on gateway:
"Installation failed. Reason: Load on Module failed - failed to load security policy"
clearing the string_dictionary_table resolves the issue, but this time it didn't. We increased the limit of string_dictionary_table from 65,536 to 131072 as table was already reached peak limit. After doing this still we are getting same error when installing the policy.
We ran cpd debug and debug the process of fetching of the local policy from the temporary directory. we get following error:
fetching the local policy:
fw_atomic_download: sizeof struct fwatomload 872
fw_atomic_download: FWATOMICLOAD 40047a03
fw_atomic_download: FWATOMICLOAD done ret=-1
fw_atomic_download: FWATOMICLOAD failed: Invalid argument
fw_atomic_download: unlocking mutex: install_policy_mutex
Failed to Load Security Policy: Invalid argument
fw_rfetchx_local_ex: failed to load Security Policy
update_load_connection: no connection
In fwa_vrfy_db restore = -1
logo_directory_restore: dir=/opt/CPsuite-R75.40/fw1/state/__tmp/FW1/
Failed to Load Security Policy: Invalid argument
Fetching Security Policy Failed
CPD logs:
[22 Nov 13:21:26] Installing Security Policy XXXXXXX on all.all@XXXXXXX
[22 Nov 13:21:26] fwasync_mux_timeout: 281: timed out after 100000 miliseconds
[22 Nov 13:21:26] fwasync_mux_timeout: 281: inbuf: 0/12 outbuf: 0/0 state: 77f1f440 1
[22 Nov 13:21:26] fwasync_mux_timeout: 281: calling handler 77f1f640
[22 Nov 13:21:26] resched timeout to conn_id=281, conn=6d5ea280, comm=6d200738, due to 1 active sessions
[22 Nov 13:21:28] opsec_send_datagram_e: SESSION ID:4 is sending DG_ID=4 DG_TYPE=0x1701(???)
[22 Nov 13:21:28] pushing dgtype=1701 len=18828 to list=0x8f44adc
[22 Nov 13:21:28] pulling dgtype=1701 len=18828 to list=0x8f44adc
[22 Nov 13:21:28] demultiplex type=1701 session-id=4
[22 Nov 13:21:28] amon_client_handle_reply: return code - 0
[22 Nov 13:21:28] opsec_comm_notify: COM 0x8f4adb0 got signal 131074
[22 Nov 13:21:30] Failed to Load Security Policy: Invalid argument
[22 Nov 13:21:31] ckpSSL_do_read: read 12 bytes
[22 Nov 13:21:31] fwasync_conn_get: get max buffer size (1048576) .
[22 Nov 13:21:31] ckpSSL_InputPending 1 pending bytes
[22 Nov 13:21:31] ckpSSL_InputPending 1 pending bytes
[22 Nov 13:21:31] ckpSSL_do_read: read 8 bytes
[22 Nov 13:21:31] fwasync_conn_get: get max buffer size (1048576) .
[22 Nov 13:21:31] demultiplex type=d session-id=7
[22 Nov 13:21:31] opsec_got_ping_peer_request
[22 Nov 13:21:31] got_peer_req: sess: 7, peer_dg_id:2, query:0
[22 Nov 13:21:31] ckpSSL_do_write: write 20 bytes
[22 Nov 13:21:31] opsec_comm_notify: COM 0x6d2af208 got signal 131074
[22 Nov 13:21:31] cpd_server_signal_handler: session=0x6d259ba0, event=135683
[22 Nov 13:21:31] Failed to Load Security Policy: Invalid argument
[22 Nov 13:21:31] Fetching Security Policy Failed
[22 Nov 13:21:31]
[22 Nov 13:21:31] Commit_exec_cb : RTPM_SUCCESS - l_nRetCode = 11
[22 Nov 13:21:31] Commit_exec_cb : Executable Failed, returned Load on Module failed - failed to load Security Policy.
[22 Nov 13:21:31] sendDatagramOfCommitInstall: policy commit failed
[22 Nov 13:21:31] readMessagesFile: file with messages doesn't exist, there are no commit messages
[22 Nov 13:21:31] removeMessageFile: Removing file with warnings
[22 Nov 13:21:31] removeMessageFile: File doesn't exist, nothing to do
[22 Nov 13:21:31] opsec_send_datagram_e: SESSION ID:7 is sending DG_ID=7 DG_TYPE=0x1202(???)
[22 Nov 13:21:31] ckpSSL_do_write: write 18 bytes
[22 Nov 13:21:31] opsec_comm_notify: COM 0x6d2af208 got signal 131074
[22 Nov 13:21:31] cpd_server_signal_handler: session=0x6d259ba0, event=135683
[22 Nov 13:21:31] ckpSSL_do_read: read 12 bytes
[22 Nov 13:21:31] fwasync_conn_get: get max buffer size (1048576) .
[22 Nov 13:21:31] demultiplex type=3 session-id=7
[22 Nov 13:21:31] Destroying session (6d259ba0) id 7 (ent=8a82690) reason=PEER_ENDED
[22 Nov 13:21:31] SESSION ID:7 already resumed read
[22 Nov 13:21:31] All sessions removed from comm 0x6d2af208. Peer may close it.
[22 Nov 13:21:31] opsec_send_datagram_e: is sending DG_ID=0 DG_TYPE=0xa(DGTYPE_MAY_CLOSE_COMM)
[22 Nov 13:21:31] ckpSSL_do_write: write 12 bytes
I checked sk33893 but didn't find any solution that can be applied.
Device model - UTM 3070
Management - MDS - smart -1 50
any suggestions please, how to resolve this.
Thanks