Re: Signal -HUP

2008-04-02 Thread Giovanni Lovato
Alan DeKok wrote:
 Dmitry A. Sysoev wrote:
 Good afternoon!
 Why the radiusd (ver 2.0.3+ cvs) with
 killall -HUP radiusd is not reload configuration files?
 
   Because it doesn't.  It's hard to do right.  And no, Apache doesn't
 handle HUP, either.  It just *looks* like it handles HUP.  It really
 re-starts itself from scratch.
 
   If you need FreeRADIUS to reload the configuration files, then stop 
 re-start it.

How can I check for syntax errors on configuration files without
starting FreeRADIUS? There exists something like ISC DHCPD -T option?


smime.p7s
Description: S/MIME Cryptographic Signature
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Signal -HUP

2008-04-02 Thread Alan DeKok
Giovanni Lovato wrote:
 How can I check for syntax errors on configuration files without
 starting FreeRADIUS? There exists something like ISC DHCPD -T option?

  Read the man radiusd documentation.

  Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Signal -HUP

2008-04-02 Thread A . L . M . Buxey
Hi,

 How can I check for syntax errors on configuration files without
 starting FreeRADIUS? There exists something like ISC DHCPD -T option?


with FreeRADIUS 2.0.2 


[EMAIL PROTECTED] ~]$ radiusd -h
Usage: radiusd [-d db_dir] [-l log_dir] [-i address] [-n name] [-fsvXx]
Options:

  -C  Check configuration and exit.
  -d raddb_dirConfiguration files are in raddbdir/*.
  -f  Run as a foreground process, not a daemon.
  -h  Print this help message.
  -i ipaddr   Listen on ipaddr ONLY
  -n name Read raddb/name.conf instead of raddb/radiusd.conf
  -p port Listen on port ONLY
  -s  Do not spawn child processes to handle requests.
  -v  Print server version information.
  -X  Turn on full debugging.
  -x  Turn on additional debugging. (-xx gives more debugging).

so, -C is the option you want.  sure. could've been -T like some other
software. but why copy when you can innovate? :-)

alan
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Signal -HUP

2008-04-01 Thread A . L . M . Buxey
Hi,
  
 Thanks for answers, but why
 Freeradius version 1.1.0 is can do that?

ha ha ha.

because it LOOKS like it is doing a proper HUP but in fact
many many things arent cleared properly.

ALWAYS restart the service

alan
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


RE: Signal -HUP

2008-04-01 Thread Dmitry A. Sysoev
 
Thanks for answers, but why
Freeradius version 1.1.0 is can do that?

-Original Message-
From: Alan DeKok [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 01, 2008 2:20 PM
To: [EMAIL PROTECTED]; FreeRadius users mailing list
Subject: Re: Signal -HUP

Dmitry A. Sysoev wrote:
 Good afternoon!
 Why the radiusd (ver 2.0.3+ cvs) with
 killall -HUP radiusd is not reload configuration files?

  Because it doesn't.  It's hard to do right.  And no, Apache doesn't handle
HUP, either.  It just *looks* like it handles HUP.  It really re-starts
itself from scratch.

  If you need FreeRADIUS to reload the configuration files, then stop 
re-start it.

  Alan DeKok.

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Signal -HUP

2008-04-01 Thread Alan DeKok
Dmitry A. Sysoev wrote:
 Good afternoon!
 Why the radiusd (ver 2.0.3+ cvs) with
 killall -HUP radiusd is not reload configuration files?

  Because it doesn't.  It's hard to do right.  And no, Apache doesn't
handle HUP, either.  It just *looks* like it handles HUP.  It really
re-starts itself from scratch.

  If you need FreeRADIUS to reload the configuration files, then stop 
re-start it.

  Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Signal -HUP

2008-04-01 Thread Ivan Kalik
This is in the release notes:

limited support for HUP. (The configuration for some modules is
re-loaded on HUP. Nothing else is reloaded.)

Ivan Kalik
Kalik Informatika ISP


Dana 1/4/2008, Dmitry A. Sysoev [EMAIL PROTECTED] piše:

Good afternoon!
Why the radiusd (ver 2.0.3+ cvs) with
killall -HUP radiusd is not reload configuration files?
Thanks



-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Signal -HUP

2008-04-01 Thread Dmitry A. Sysoev
Good afternoon!
Why the radiusd (ver 2.0.3+ cvs) with
killall -HUP radiusd is not reload configuration files?
Thanks
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Signal -HUP

2008-04-01 Thread Alan DeKok
Dmitry A. Sysoev wrote:
  
 So and what modules then are reload on a signal -HUP?

  Read the radius.log file and see.

  If this isn't sufficient, please supply documentation to help everyone
else who has this problem.

  Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


RE: Signal -HUP

2008-04-01 Thread Dmitry A. Sysoev
 
So and what modules then are reload on a signal -HUP?


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 01, 2008 3:17 PM
To: [EMAIL PROTECTED]; FreeRadius users mailing list
Subject: Re: Signal -HUP

Hi,
  
 Thanks for answers, but why
 Freeradius version 1.1.0 is can do that?

ha ha ha.

because it LOOKS like it is doing a proper HUP but in fact many many things
arent cleared properly.

ALWAYS restart the service

alan

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Signal -HUP

2008-04-01 Thread Alan DeKok
Dmitry A. Sysoev wrote:
  
 Thanks for answers, but why
 Freeradius version 1.1.0 is can do that?

  It can't.

  And don't CC me on messages to the list.  As you might have noticed
already, I read the list.  And DON'T set return-receipt requested.
It's rude, and I NEVER send return receipts.

  Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


RE: Signal -HUP

2008-04-01 Thread Dmitry A. Sysoev

Thanks!

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Alan DeKok
Sent: Tuesday, April 01, 2008 4:25 PM
To: FreeRadius users mailing list
Subject: Re: Signal -HUP

Dmitry A. Sysoev wrote:
  
 So and what modules then are reload on a signal -HUP?

  Read the radius.log file and see.

  If this isn't sufficient, please supply documentation to help everyone
else who has this problem.

  Alan DeKok.
-
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Signal -HUP

2008-04-01 Thread A . L . M . Buxey
Hi,

 already, I read the list.  And DON'T set return-receipt requested.
 It's rude, and I NEVER send return receipts.

ditto.  my mail server also doesnt honour 'sender would like to recall'
messages that outlook sends. you've sent it.

alan
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


After signal HUP freeRADIUS Segmentation fault

2007-08-13 Thread Hangjun He
  freeRADIUS version is 1.1.6..
  I saw same question in mail-list(freeRADIUS 0.8),  Did this problem fix?? 
   
  Thanks.
   
   
   
  Nothing to do.  Sleeping until we see a request.
Reloading configuration files.
reread_config:  reading radiusd.conf
Config:   including file: /usr/local/etc/raddb/clients.conf
Config:   including file: /usr/local/etc/raddb/eap.conf
Config:   including file: /usr/local/etc/raddb/ldap.conf
 main: prefix = /usr/local
 main: localstatedir = /usr/local/var
 main: logdir = /usr/local/var/log/radius
 main: libdir = /usr/local/lib
 main: radacctdir = /usr/local/var/log/radius/radacct
 main: hostname_lookups = no
 main: max_request_time = 45
 main: cleanup_delay = 5
 main: max_requests = 256
 main: delete_blocked_requests = 0
 main: port = 0
 main: allow_core_dumps = no
 main: log_stripped_names = no
 main: log_file = /usr/local/var/log/radius/radius.log
 main: log_auth = no
 main: log_auth_badpass = no
 main: log_auth_goodpass = no
 main: pidfile = /usr/local/var/run/radiusd/radiusd.pid
 main: user = (null)
 main: group = (null)
 main: usercollide = no
 main: lower_user = no
 main: lower_pass = no
 main: nospace_user = no
 main: nospace_pass = no
 main: checkrad = /usr/local/sbin/checkrad
 main: proxy_requests = no
 main: debug_level = 0
read_config_files:  reading dictionary
Mon Aug 13 06:55:25 2007 : Info: rlm_exec: Wait=yes but no output defined. Did 
you mean output=none?
Mon Aug 13 06:55:25 2007 : Error: radiusd.conf[84] Auth-Type MS-CHAP already 
configured - skipping
Mon Aug 13 06:55:25 2007 : Info: rlm_eap_tls: Loading the certificate file as a 
chain
Mon Aug 13 06:55:25 2007 : Info: radiusd.conf Auth-Type eap already configured 
- skipping
Mon Aug 13 06:55:25 2007 : Info: Ready to process requests.
Segmentation fault

   
-
 雅虎免费邮箱3.5G容量,20M附件!- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html