Category Archives: Security

How to repairing database on FortiMail

Run this command using CLI:

1. Collect result from the commands:
# diagnose debug sqldb-error read
# diagnose debug crashlog read

2. Back up the current log to an external FTP server:
# execute backup disk alllogs ftp x.x.x.x <username> <password>

3. Run the following command to recreate the SQL database:
#execute log recreate-sqldb

4. If the symptom persists, then proceed with following command to format the log disk:
# execute formatlogdisk


%d bloggers like this: