(RADIATOR) Shutdown in a Hook
Hugh Irvine
hugh at open.com.au
Mon Jan 5 15:13:05 CST 2004
Salut Jerome -
Bonne Annee!
The "main::shutdown" routine does not itself stop the server.
Have a look at the code in "radiusd" in the Radiator 3.8 top level
distribution directory.
regards
Hugh
On 06/01/2004, at 4:16 AM, Jerome Fleury wrote:
> Hello there,
>
> under certain conditions, I would like Radiator to shutdown itself
> inside a hook. I tried:
>
> if ($@) {
> &main::log($main::LOG_ERROR, " (jeje) cannot recreate data structures
> from \"$config_file\":
> $@. Exiting.") if $@;
> close CONF;
> &main::shutdown();
> }
>
> the log prints:
>
> Mon Jan 5 18:16:59 2004: NOTICE: SIGTERM received: stopping
>
> But the server doesn't really stop. It's still alive.
>
> Any idea someone ?
>
> Thanks!
> --
> Jerome Fleury
> ===
> Archive at http://www.open.com.au/archives/radiator/
> Announcements on radiator-announce at open.com.au
> To unsubscribe, email 'majordomo at open.com.au' with
> 'unsubscribe radiator' in the body of the message.
>
>
NB: have you included a copy of your configuration file (no secrets),
together with a trace 4 debug showing what is happening?
--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
-
CATool: Private Certificate Authority for Unix and Unix-like systems.
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.
More information about the radiator
mailing list