Skip to main content
Stephen_Daniel
Staff
Staff
Sep 23, 2024 6:32 AM UTC

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

  • Apr 16, 2026 12:05 PM UTC
  • 0 replies
  • 1378 views
  • Translate All
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.

Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024