FortiWeb
A FortiWeb can be configured to join a Security Fabric through the root or downstream FortiGate.
okhatab
Staff
Staff
Article Id 330772
Description

This article describes how to restart a daemon or process on FortiWeb using CLI.

Scope FortiWeb version 7.6 and later.
Solution
  1. Run the command 'diagnose system ps | grep <daemon required>' to identify the process ID for the one intended.
    For example: If it is required to restart proxyd then from the command output, its PID is 3346:

    diagnose system ps | grep proxyd

     3336 root      110m S    /bin/adfsproxyd

     3346 root     3925m S    /bin/proxyd <--------- Current PID value is 3346.

    29239 root      2844 S    /bin/cli_grep proxyd

  2. Restart the required daemon/ process using the 'diagnose system kill 9 <PID>'.

  3. To restart proxyd using the PID value obtained:

    diagnose system kill 9 3346

  4. After a few seconds, confirm that restart was successful by using 'diagnose system ps | grep <daemon required>' by confirming that the PID changed and the state is back to the S state:

    diagnose system ps | grep proxyd

     3336 root      110m S    /bin/adfsproxyd

    29806 root     1889m S    /bin/proxyd <--------- Value changed to 29806 and state is S.

    30138 root      2844 S    /bin/cli_grep proxyd

 

Note: As the command 'diagnose system ps | grep proxyd' has been introduced in version 7.6.0, the command 'fn ps | grep proxyd' can be used instead with versions 7.0, 7.2 and 7.4.

 

Related document:

System kill