RadiusD takes everything else with it on exit.

2002-10-27 Thread Paul Hampson
(CVS Snapshot 20021026 from website) I seem to be having the opposite problem to everyone else on the list... My radiusd seems to work fine (just setting it up) but when I kill it (either with the debian init.d script supplied or 'kill') it kills every other thread it can get it's hands on. All

Storing realms in database

2002-10-27 Thread wisam
I am running freeRADIUS 0.71 vesrion. I am trying to store the realms in database instead of realms file. The problem is how to check the realms in database before authorization. The first time I include the sql module is in auhorization. I would appreciate if someone can help me in this.

unsubscribe

2002-10-27 Thread Rostislav Rusev
unsubscribe

Cleanup again.....

2002-10-27 Thread delphi
Hi! Hmmwhen radiusd runs as daemon it don't clean up modules again...Code if (do_exit) never works. I think this is because in sig_fatal(): /* * We're running as a daemon, we're the MASTER daemon, * and we got a fatal signal. Tear the rest of the *

Freeradius training

2002-10-27 Thread Yasser Ahmed Hosny
Dear All, I am running Freeradius 0.7.1, I wonder if is there is any firm that provides technical training on that RADIUS, so that it could be easier to start with administrating and managing that vital process. Also, Ive realized that there exists a RADIUS book that was published

mysql

2002-10-27 Thread alantu
freeradius-users [root@localhost root]# /usr/sbin/radiusd -x Starting - reading configuration files ... Module: Loaded SQL rlm_sql: Driver rlm_sql_mysql loaded and linked rlm_sql: Attempting to connect to root@localhost:/radius rlm_sql: starting 0 rlm_sql: Attempting to connect #0 rlm_sql:

RE: mysql

2002-10-27 Thread Tim D. McCracken
-Original Message- From: [EMAIL PROTECTED] [mailto:freeradius-users-admin;lists.cistron.nl]On Behalf Of alantu Sent: Sunday, October 27, 2002 6:17 AM To: [EMAIL PROTECTED] Subject: mysql freeradius-users [root@localhost root]# /usr/sbin/radiusd -x Starting - reading

Re: RadiusD takes everything else with it on exit.

2002-10-27 Thread delphi
I confirm. I think that problem again in sig_fatal(): radiusd.c line 239: kill(-1, SIGTERM); My 'man 2 kill' says: If pid equals -1, then sig is sent to every process except for the first one, from higher numbers in the process table to lower. (CVS Snapshot 20021026

Re: radiusd crashing (sig11)

2002-10-27 Thread Alan DeKok
Justin Wheeler [EMAIL PROTECTED] wrote: ... I'm assuming this means it failed after receiving a -HUP signal? (It's given one every 15 minutes to rehash our config files and usernames) Yes. It doesn't handle HUP very well. If so, I can deal with that, I'll just rewrite our scripts to

Re: PAP CHAP won't work together

2002-10-27 Thread Alan DeKok
Tim D. McCracken [EMAIL PROTECTED] wrote: I got it fixed! Based on an earlier discussion (and as shown earlier in this thread) I had set auth-type=PAP in users. Which is wrong, if you want to do authentication OTHER than PAP. After digging through about 300 messages in the archive, I

Re: RadiusD takes everything else with it on exit.

2002-10-27 Thread Alan DeKok
Paul Hampson [EMAIL PROTECTED] wrote: I seem to be having the opposite problem to everyone else on the list... My radiusd seems to work fine (just setting it up) but when I kill it (either with the debian init.d script supplied or 'kill') it kills every other thread it can get it's hands on.

Re: Freeradius training

2002-10-27 Thread Alan DeKok
Yasser Ahmed Hosny [EMAIL PROTECTED] wrote: I am running Freeradius 0.7.1, I wonder if is there is any firm that provides technical training on that RADIUS, so that it could be easier to start with administrating and managing that vital process. I don't know of any firm offering training,

Re: Storing realms in database

2002-10-27 Thread Alan DeKok
wisam [EMAIL PROTECTED] wrote: I am running freeRADIUS 0.71 vesrion. I am trying to store the realms in database instead of realms file. The problem is how to check the realms in database before authorization. You can't. The 'realms' module doesn't do any database lookups. It only uses the

Re[2]: RadiusD takes everything else with it on exit.

2002-10-27 Thread delphi
Global 'kill' was fixed, thanx. But: 1. When I'm running with -x (process does not fork to background) and send TERM to main process, modules are cleaned-up, I see STATS: Total Threads: 3,Active Threads: 0 STATS: Total number of requests handled so far: 0

Mac OS X 10.2 Jaguar and FreeRADIUS

2002-10-27 Thread Alex Bottinelli
I am trying to compile the latest version of FreeRADIUS in Mac OS X 10.2 and keep hitting errors. Is there anyone out there who has successfully gotten FreeRADIUS to compile and operate on Mac OS X 10.2? I'd love to hear from you so we could discuss the specifics. My email address is [EMAIL

how to periodically clean up the mysql accounting table entries of freeradius?

2002-10-27 Thread Peter Santiago
I wonder if this has been asked already or not How does one regularly purge old records after a specified time from the sql database (radacct table)? TIA - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: how to periodically clean up the mysql accounting table entriesof freeradius?

2002-10-27 Thread Kostas Kalevras
On Mon, 28 Oct 2002, Peter Santiago wrote: I wonder if this has been asked already or not How does one regularly purge old records after a specified time from the sql database (radacct table)? TIA Take a look at dialup_admin/bin/clean_radacct -- Kostas Kalevras Network

RE: how to periodically clean up the mysql accounting table entries of freeradius?

2002-10-27 Thread Peter Santiago
Thanks -Original Message- From: [EMAIL PROTECTED] [mailto:freeradius-users-admin;lists.cistron.nl]On Behalf Of Kostas Kalevras Sent: Monday, October 28, 2002 6:46 AM To: Freeradius-Users Subject: Re: how to periodically clean up the mysql accounting table entries of freeradius? On Mon,

RE: RadiusD takes everything else with it on exit.

2002-10-27 Thread Gene Parks
for those of you using inetd I would like to make a suggestion. This suggestion comes from long hours of working with programs trying to figure out why they are crashing and discovering it is something with inetd. If you will install daemontools, your system will become more stable. Daemontools

Threading fix (unrobusted)

2002-10-27 Thread Paul Hampson
(Crossposted to freeradius-users due to severity of problem and triviality of fix) This should stop FreeRadius from taking all the processes is can reach with it, while still allowing it to exit cleanly. (If the commented out kill(0) is used, it doesn't die properly, and do_exit is never used)

Re: Threading fix (unrobusted)

2002-10-27 Thread Frank Cusack
On Mon, Oct 28, 2002 at 03:35:34PM +1100, Paul Hampson wrote: (Crossposted to freeradius-users due to severity of problem and triviality of fix) This should stop FreeRadius from taking all the processes is can reach with it, while still allowing it to exit cleanly. (If the commented out

Re: radiusd crashing (sig11)

2002-10-27 Thread Jared Quinn
... I'm assuming this means it failed after receiving a -HUP signal? (It's given one every 15 minutes to rehash our config files and usernames) Yes. It doesn't handle HUP very well. If your userbase changes so rapidly you need to restart radius so frequently you migh tbe better off

Re: how to periodically clean up the mysql accounting table entries of freeradius?

2002-10-27 Thread Jared Quinn
I wonder if this has been asked already or not How does one regularly purge old records after a specified time from the sql database (radacct table)? TIA I use Postgres for the database and have a perl script which runs every few minutes which goes through radacct, finds any records which

unsubscribe

2002-10-27 Thread HungLin
unsubscribe - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html