Re: Freeradius hangs

2006-11-03 Thread Karthik R
If you had said this at the start, and posted the debug log, youwould have solved the problem a long time ago.This is even in the FAQ: http://wiki.freeradius.org/FAQ#The_NAS_seems_to_ignore_the_reply_of_the_radius_serverAlan DeKok. Alan, As you said, I tried with the option -i : radiusd --i

Re: Freeradius hangs

2006-11-03 Thread Alan DeKok
Karthik R [EMAIL PROTECTED] wrote: But still i get the below error message at the radius server end, only one NIC is active now on the server. Then the problem isn't in the RADIUS server, is it? The server is responding to the NAS, but for some reason, the NAS isn't receiving the packet, or

Re: Freeradius hangs

2006-11-02 Thread Karthik R
Karthik R [EMAIL PROTECTED] wrote: When I was observing the radius log, i was typing correct username and password sometime it says access was denied because username\password invalid on the domain. I didnt see anything going wrong in the log message but i didnt understand why i got the above

Re: Freeradius hangs

2006-11-02 Thread Alan DeKok
Karthik R [EMAIL PROTECTED] wrote: Sorry i missed this part. I mean when i try to connect to remote vpn gateway using MS-VPN dialer interface, on the dialer interface i get this error message ie. access was denied because username\password invalid on the domain. Does the RADIUS server

Re: Freeradius hangs

2006-11-02 Thread Alan DeKok
Karthik R [EMAIL PROTECTED] wrote: yes, the RADIUS server returned Access-accept for the session requested from NAS. But it again receives the access-request from NAS and sending duplicate reply. If you had said this at the start, and posted the debug log, you would have solved the problem a

Re: Freeradius hangs

2006-11-02 Thread Karthik R
Alan, yes,the RADIUS server returned Access-accept for the session requested from NAS. But it again receives the access-request from NAS and sending duplicate reply. Does it mean NAS unable to process theresponse receivedfrom Freeradius.Below is the reponse snap where i see access-accept and

RE: Freeradius hangs

2006-11-01 Thread Karthik R
sigh That's the message on the NAS. And you're simply repeatingyour earlier comment that it doesn't work.Again, what is the RADIUS server doing? You can't expect tounderstand what the RADIUS server is doing by looking at the NAS. You have to look at the RADIUS server. Alan, When Iwas observing

Re: Freeradius hangs

2006-11-01 Thread Alan DeKok
Karthik R [EMAIL PROTECTED] wrote: When I was observing the radius log, i was typing correct username and password sometime it says access was denied because username\password invalid on the domain. I didnt see anything going wrong in the log message but i didnt understand why i got the above

freeradius hangs

2006-10-31 Thread Karthik R
Karthik R [EMAIL PROTECTED] wrote: Am running Freeradius ver 1.1.1 on a RHEL 3 box which keeps hanging frequently. So everytime i need to restart the freeradius service. Is this version is stable one ?Yes. Where is it hanging? What is going wrong? Do you have anyadditional information? Alan

Re: freeradius hangs

2006-10-31 Thread Alan DeKok
Karthik R [EMAIL PROTECTED] wrote: Have configured dlink f/w for remote users login which authenticates users against AD using freeradius. When users tries to connect it says verifying username and password and it doesnt proceed further. sigh That's the message on the NAS. And you're simply

freeradius hangs, using 98% CPU

2006-03-08 Thread George C. Kaplan
For some time we've had an intermittent problem where freeradius becomes unresponsive, consuming at least 98% of the CPU. A 'kill -TERM' will sometimes kill the daemon, but usually a 'kill -9' is needed. This always seems to happen right about when we reload the config (with a HUP), or stop and

Re: freeradius hangs, using 98% CPU

2006-03-08 Thread Alan DeKok
George C. Kaplan [EMAIL PROTECTED] wrote: I'm guessing that the daemon can hang if it gets a signal just as the rlm_krb5 module is called. It's marked RLM_TYPE_THREAD_UNSAFE, so it gets a mutex, and attaching gdb to the hung daemon showed: That's bad. Is anyone aware of any freeradius

Re: Freeradius hangs after a HUP

2005-02-01 Thread Joe H
I was tired of trying to find a quick way to fix this so I ended up basically formatting the box and reinstalling. Everything works fine now. Not sure what the problem was but it's now resolved. Joe H. On Fri, 28 Jan 2005, Joe H wrote: On Thu, 27 Jan 2005, Alan DeKok wrote: Joe H [EMAIL

Re: Freeradius hangs after a HUP

2005-01-28 Thread Joe H
On Thu, 27 Jan 2005, Alan DeKok wrote: Joe H [EMAIL PROTECTED] wrote: I am new to using gdb so if I did something wrong let me know. See doc/bugs I did read the bugs and it looked like it was only for core files, this doesn't generate a core file. Type 'bt' in gdb, which will tell you

Re: Freeradius hangs after a HUP

2005-01-27 Thread Joe H
I have tried running the gdb program and it didn't mean much to me. Here is the output I got: (gdb) attach 53964 Attaching to program: /usr/local/sbin/radiusd, process 53964 Symbols already loaded for /usr/lib/libcrypt.so.2 Symbols already loaded for /usr/lib/libcipher.so.2 Symbols already

Re: Freeradius hangs after a HUP

2005-01-27 Thread Alan DeKok
Joe H [EMAIL PROTECTED] wrote: I am new to using gdb so if I did something wrong let me know. See doc/bugs Type 'bt' in gdb, which will tell you where in the code it's currently executing. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Freeradius hangs after a HUP

2005-01-26 Thread Joe H
Is it possible that an active connection to the radius server could hold the radius process from stopping or restarting properly? The total controls that we use for dialup access seem to make one connection to the radius server and hold it. I'm wondering if this could be causing the problem with

Re: Freeradius hangs after a HUP

2005-01-26 Thread Fabio Viração
Hi ; How can I send all these information to a Mysql Database ?? Does anyone have any ideia that can help me ?? Thanks Fabio Mon Aug 30 14:38:18 2004 NAS-IP-Address = 192.168.115.4 Cisco-NAS-Port = CAS 1:0 NAS-Port-Type = Async User-Name = 351289767299

Re: Freeradius hangs after a HUP

2005-01-26 Thread Joe H
Looks like someone needs to read the rules. Don't steal my thread, start your own. On Wed, 26 Jan 2005, [iso-8859-1] Fabio Viração wrote: Hi ; How can I send all these information to a Mysql Database ?? Does anyone have any ideia that can help me ?? Thanks Fabio Mon Aug 30 14:38:18

Re: Freeradius hangs after a HUP

2005-01-26 Thread Alan DeKok
Joe H [EMAIL PROTECTED] wrote: The total controls that we use for dialup access seem to make one connection to the radius server and hold it. RADIUS is UDP. There is no connection. Seems like it's waiting for the connection to end before it closes. Find out *where* in the code it's

Re: Freeradius hangs after a HUP

2005-01-25 Thread Stefan . Neis
Joe H schrieb: I updated all the server to freebsd 4.10 (snipp) Program received signal SIGTERM, Terminated. 0x10250654 in __sys_poll () from /usr/lib/libc_r.so.4 I'm not sure how helpful that will be to anyone but it's all the information it showed. Sounds like it's telling you that

Re: Freeradius hangs after a HUP

2005-01-24 Thread Joe H
I updated all the server to freebsd 4.10 with the latest patch release, rebuilt world and kernel and I am still having the same issue when I attempt to restart or HUP the radiusd process. It seems to be looping as Alan said. I did do the gdb and when it I issue the radiusd.sh restart command, it

freeradius hangs when sql-server does not answer

2005-01-19 Thread Hans-Peter Fuchs
. If packets are blocked freeradius hangs and does not answer incoming requests - even authorisation requests which do not need sql-server. Output from radiusd -X stops after showing the sql-statement send to mysql-server. Output continues normally after I release the iptables filter. Grüße Hans

Freeradius hangs after a HUP

2005-01-19 Thread Joe H
We have two seemingly identical freeradius servers, for this email lets call them radius-1 and radius-2. Both are FreeBSD 4.9 systems running freeradius 1.0.1 with an Openldap 2.2.18 authentication method. Both machines run freeradius without a problem. When I send a HUP to reload the config

Re: Freeradius hangs after a HUP

2005-01-19 Thread Terry J Fike Jr
Message: 8 Date: Wed, 19 Jan 2005 12:17:05 -0500 (EST) From: Joe H [EMAIL PROTECTED] To: freeradius-users@lists.freeradius.org Subject: Freeradius hangs after a HUP Reply-To: freeradius-users@lists.freeradius.org We have two seemingly identical freeradius servers, for this email lets call them

Re: Freeradius hangs after a HUP

2005-01-19 Thread Joe H
Message: 8 Date: Wed, 19 Jan 2005 12:17:05 -0500 (EST) From: Joe H [EMAIL PROTECTED] To: freeradius-users@lists.freeradius.org Subject: Freeradius hangs after a HUP Reply-To: freeradius-users@lists.freeradius.org We have two seemingly identical freeradius servers, for this email

Re: Freeradius hangs after a HUP

2005-01-19 Thread Alan DeKok
Joe H [EMAIL PROTECTED] wrote: With my situation, doing the restart of the process causes radius to stop working and the radius process climbs to about 90% CPU usage. It sounds like it's in a busy loop. My suggestion is to use gdb to attach to the running process, and see where in the