OPNsense Forum
English Forums => General Discussion => Topic started by: support@etel.co.zw on August 10, 2017, 09:54:36 pm
-
Dear Community,
I am new to OPNSENSE and its exciting. My challenge is that , I am running OPNSENSE on XEN Server, when the Server Hardware reboot, OPNSENSE reboots but Captive Portal will be down. My Captive portal is using Free Radius as an authentication server. I am having to restart the Captive Portal Service.
May you assist on this one.
Buta
Harare Zimbabwe
-
Hello,
Just to say that I'm experiencing the same behavior on my own configuration. In my case it's running on a dedicated hardware.
Thanks,
Quentin
-
Hello,
After some investigation on this, it seems that the PID file (/var/run/lighttpd-api-dispatcher.pid) is not cleaned when power outage occurs.
This file breaks the startup script of the Captive Portal.
I think that a simple check should be enough for this (checking that the PID is still alive).
Thanks,
Quentin Canel
-
Hi Quentin,
Indeed, nice catch. A patch[1] is available for testing. :)
# opnsense-patch b3cfe6e
Cheers,
Franco
[1] https://github.com/opnsense/core/commit/b3cfe6e
-
Works perfectly for me thanks ! :)
-
Yay, thanks for testing. :)