Description | This article describes how to fix the ‘database not available’ status as seen in the FortiWeb System Resources widget. |
Scope | FortiWeb, FortiWeb VM. |
Solution |
FortiWeb builds a database from its events, attack, and traffic raw logs. In some cases, the database became unavailable and caused an improper log view in FortiWeb. There are also cases where the database is available but the GUI log view shows inconsistent and delayed log entries.
From GUI:
From CLI:
Provided that this is not an issue with FortiWeb hard disks, the database status issue can be fixed by rebuilding the FortiWeb database using CLI.
From CLI:
Run the below CLI command for database rebuild:
# execute db rebuild
This operation will clean and rebuild database for disklog.
Note:
1) In 6.4.0 and earlier, database rebuild will prompt for a reboot and if machine learning is enabled, machine learning data will be lost.
2) In 7.0 and later, FortiWeb will not reboot for database rebuild and if machine learning is enabled, machine learning data will be lost.
Steps to verify:
From GUI:
1) Navigate to Dashboard -> Status -> System Resources widget.
From CLI:
# get system status
Related document:
|
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2023 Fortinet, Inc. All Rights Reserved.