Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
finnzi
New Contributor

Webinterface unresponsive on a Fortigate 1500D

Howdy all,

 

Just got two Fortigate 1500D boxes.

 

Running v5.2.2,build0642,141118 (GA).

 

We configured the management interfaces on them and starting going through the web interface. However it suddenly seemed to stall/halt. Port 443 did accept connections but I was unable to retrieve anything (all existing sessions just seem to "hang").

 

The SSH interface was available and everything seemed to be functioning as expected except for the web interface.

 

We did reboot the boxes and regained access to the interface but I was just wondering if there was some way to restart the web interface without restarting the whole box ;-)?

 

Bgrds,

Finnur

1 Solution
emnoc
Esteemed Contributor III

You can kill the httpsd  daemon and it will restart. This should be the WebGUI daemon.

 

Execute the following;

 

get sys perf top

 

or

 

diag sys top

 

Find the pid # and then kill it using a unix signal 9 kill. It will restart automatically. FortiOS runs some type of self-auto restarts so you will always find a  few process that's always running regardless if your using them or not.

 

To kill it in a sudden death.

diag sys kill 9 <insert pid >

 

If the pid  is not shown in the running list, you can use the hidden fnsysctl cmd to find the last dump <pid> in the following local directory. This is a little more work  & requires you to be creative.

fnsysctl ls /var/run/

     and then cat out the  pid of interest;

fnsysctl cat  /var/run/<nameoftheprocess>.pid

 

TAC frowns on using the fnsysctl commands but it's an option.

 

FWIW: I would open a case with TAC and see what they say, but I had a similar problem where  https access was not working, we toggle the admin port under global sys and then back to a new port number and https started working correctly. I now run https web access on port 1443 since beta'ing 5.2 due to very weirdness and haven't had any issues ever since doing this.

 

ken

 

 

PCNSE 

NSE 

StrongSwan  

View solution in original post

PCNSE NSE StrongSwan
3 REPLIES 3
emnoc
Esteemed Contributor III

You can kill the httpsd  daemon and it will restart. This should be the WebGUI daemon.

 

Execute the following;

 

get sys perf top

 

or

 

diag sys top

 

Find the pid # and then kill it using a unix signal 9 kill. It will restart automatically. FortiOS runs some type of self-auto restarts so you will always find a  few process that's always running regardless if your using them or not.

 

To kill it in a sudden death.

diag sys kill 9 <insert pid >

 

If the pid  is not shown in the running list, you can use the hidden fnsysctl cmd to find the last dump <pid> in the following local directory. This is a little more work  & requires you to be creative.

fnsysctl ls /var/run/

     and then cat out the  pid of interest;

fnsysctl cat  /var/run/<nameoftheprocess>.pid

 

TAC frowns on using the fnsysctl commands but it's an option.

 

FWIW: I would open a case with TAC and see what they say, but I had a similar problem where  https access was not working, we toggle the admin port under global sys and then back to a new port number and https started working correctly. I now run https web access on port 1443 since beta'ing 5.2 due to very weirdness and haven't had any issues ever since doing this.

 

ken

 

 

PCNSE 

NSE 

StrongSwan  

PCNSE NSE StrongSwan
finnzi
New Contributor

emnoc wrote:

You can kill the httpsd  daemon and it will restart. This should be the WebGUI daemon.

 

Execute the following;

 

 

get sys perf top

 

 

or

 

 

diag sys top

 

 

Find the pid # and then kill it using a unix signal 9 kill. It will restart automatically. FortiOS runs some type of self-auto restarts so you will always find a  few process that's always running regardless if your using them or not.

 

To kill it in a sudden death.

 

diag sys kill 9 <insert pid >

 

 

If the pid  is not shown in the running list, you can use the hidden fnsysctl cmd to find the last dump <pid> in the following local directory. This is a little more work  & requires you to be creative.

 

fnsysctl ls /var/run/

 

     and then cat out the  pid of interest;

 

fnsysctl cat  /var/run/<nameoftheprocess>.pid

 

 

TAC frowns on using the fnsysctl commands but it's an option.

 

FWIW: I would open a case with TAC and see what they say, but I had a similar problem where  https access was not working, we toggle the admin port under global sys and then back to a new port number and https started working correctly. I now run https web access on port 1443 since beta'ing 5.2 due to very weirdness and haven't had any issues ever since doing this.

 

ken

 

 

Great, thanks man!

 

Bgrds,

Finnur

sec4pc
New Contributor

Thanks ran into an issue with web interface and this resolved it!   

Labels
Top Kudoed Authors