Skip to main content
Stephen_Daniel
Staff
Staff
September 23, 2024

Technical Tip: Error 'cmf_query_commit error' When Configuring pre_admin-disclaimer-text and post_admin-disclaimer-text

  • April 16, 2026 at 12:05 PM
  • 0 replies
  • 1370 views
Description This article addresses an issue where the error 'cmf_query_commit error' occurs when attempting to configure pre_admin-disclaimer-text and post_admin-disclaimer-text under config system replacemsg admin.
Scope FortiGate.
Solution

When attempting to configure pre_admin-disclaimer-text and post_admin-disclaimer-text under config system replacemsg admin, error 'cmd_commit_cmdb: cmf_query_commit error: -1' is seen:

 

FGT # config system replacemsg admin "pre_admin-disclaimer-text"

FGT (pre_admin-discla~ext) # set buffer 'This is a disclaimer text.'

FGT (pre_admin-discla~ext) # show
config system replacemsg admin "pre_admin-disclaimer-text"
set buffer "This is a disclaimer text."
end

FGT (pre_admin-discla~ext) # end

cmd_commit_cmdb: cmf_query_commit error: -1.
Command fail. Return code 2

 

The console log shows the following errors while making this configuration change:

 

< pid-5202 /bin/newcli> [shmf_filemap_add:119] shmf_slab_page_by_pgid(fileid=183, pageid=1) failed
< pid-5202 /bin/newcli> [shmf_ptr_from_slabid:293] shmf_filemap_add(fileid=183, pageid=1) failed
< pid-5202 /bin/newcli> [shmf_filemap_add:119] shmf_slab_page_by_pgid(fileid=183, pageid=1) failed
< pid-5202 /bin/newcli> [shmf_ptr_from_slabid:293] shmf_filemap_add(fileid=183, pageid=1) failed
< pid-5202 /bin/newcli> [shmf_filemap_add:119] shmf_slab_page_by_pgid(fileid=183, pageid=1) failed
< pid-5202 /bin/newcli> [shmf_ptr_from_slabid:293] shmf_filemap_add(fileid=183, pageid=1) failed
< pid-5202 /bin/newcli> [shmf_filemap_add:119] shmf_slab_page_by_pgid(fileid=183, pageid=1) failed
< pid-5202 /bin/newcli> [shmf_ptr_from_slabid:293] shmf_filemap_add(fileid=183, pageid=1) failed

< pid-3235 /bin/cmdbsvr> [__shmf_slab_realloc:513] shmf_filemap_find(slabid=183,1) failed: vdname='global', node='admin'
< pid-3235 /bin/cmdbsvr> [__shmf_slab_free_page:245] can't find pageid=1 in fileid=183.
< pid-3235 /bin/cmdbsvr> [shmf_slab_free:628] __shmf_slab_free_page(fileid=183, pageid=1) failed.

 

This issue has been resolved in v7.4.5 and v7.6.1.

Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT