Showing posts with label Fortigate. Show all posts
Showing posts with label Fortigate. Show all posts

Monday, July 5, 2010

FortiOS v3.00 MR5 - CPU Usage Too High

Problem:

Fortigate 3600 running version 3.00 MR5 Patch 2 keeps sending high CPU trap SNMP traps to the SNMP trap servers. CPU utilization is confirmed to be high, based from the output of “get system performance status” or from the GUI. From “diag sys top”, confirmed that the “merged_daemons” process is using 99% of the total CPU, then shortly goes down to 14%.


Cause:
This is due to bug documented below:

0062617: race condition in flgd can cause merged_daemons to spin
The merged_daemons was constantly in the 'R' state and consuming 99% of CPU (when top is first started, the usage will display as 99% -- the usage will decrease to 14% while top is running).

Fix: Build: 0566


Workaround:
Restart merged_daemons as follows:
  • Enter diag sys top and take note of the PID of merged_daemons
  • Enter diagnose sys kill 11 [pid]
Note that merged_daemons may still climb back up to 99%.


Resolution/Workaround:
Upgrade to FortiOS MR6 or later.

Tuesday, December 1, 2009

Fortigate: Password recovery

To reset the FortiGate unit password:
  1. Connect the terminal to the FortiGate unit using the null modem cable.
  2. Log on at the console with the user name "maintainer" and password "bcpb" followed immediately by the unit serial number. You must enter the alphabetic characters of the serial number in upper case.
  3. Enter the following commands:
    config system admin
    edit admin
    set password mypassword
    end

Special Notes:
  • You must first power down the FortiGate unit, and power it up again.
  • Follow the above steps within one minute of the restart

If the maintainer login is initially unsuccessful, try the following two tips to ensure successful login:
  • You many not have the correct serial #. Copy the serial # displayed on the console during initial boot-up and paste it into a terminal editor window.
  • In the terminal editor window, finish composing the full password by adding "bcpb" before the serial # and then copy & paste the entire password into the console.