Louis,

All I get in the webservices_error_log is :

Argument "" isn't numeric in numeric eq (==) at /usr/local/pf/lib/pf/radius.pm 
line 160.

The webservices_access_log has lots of:

127.0.0.1 - - [05/Sep/2013:00:40:12 -0400] "POST / HTTP/1.1" 200 699 "-" "-"
127.0.0.1 - - [05/Sep/2013:00:40:12 -0400] "POST / HTTP/1.1" 200 845 "-" "-"




I have applied the patch below.

https://github.com/inverse-inc/packetfence/commit/be9d4917ec04d91cb4f0cf0ee55bc2bf57a0ba52

But not the other 3 that were suggested by Ludovic on Wednesday...

It ran about 16 hours without crashing...


Thanks

Dave


David Bulanda
Network Services Manager
dgbula...@indianatech.edu<mailto:dgbula...@indianatech.edu>
Indiana Tech<http://www.indianatech.edu/>




From: Louis Munro [mailto:lmu...@inverse.ca]
Sent: Thursday, September 05, 2013 9:12 AM
To: packetfence-users@lists.sourceforge.net
Subject: Re: [PacketFence-users] FreeRadius Stopping

Hi Dave,
Have you checked for errors in logs/webservices_errors_log and  
logs/webservices_access_log ?

The packetfence module of FreeRADIUS calls on this webservice. The issue could 
be related to that.

Regards,
--
Louis Munro
lmu...@inverse.ca<mailto:lmu...@inverse.ca>  ::  
www.inverse.ca<http://www.inverse.ca>
+1.514.447.4918 *125  :: +1 (866) 353-6153
Inverse inc. :: Leaders behind SOGo (www.sogo.nu<http://www.sogo.nu>) and 
PacketFence (www.packetfence.org<http://www.packetfence.org>)

On 2013-09-04, at 13:07 , Derek Wuelfrath 
<dwuelfr...@inverse.ca<mailto:dwuelfr...@inverse.ca>> wrote:


Debug is probably the only way you'll get an answer.

radiusd -X -d /usr/local/pf/raddb > /usr/local/pf/logs/radius.log 2>&1

Running FreeRADIUS in debug mode will remove the "multithreading" support which 
is almost all of the time the cause of the crash (not that multithreading is 
buggy in FreeRADIUS but it is contributing to crashing).

That can certainly help you but that may also "prevent" your FreeRADIUS from 
crashing.

Derek

--
Derek Wuelfrath
dwuelfr...@inverse.ca<mailto:dwuelfr...@inverse.ca> :: +1.514.447.4918 (x110) 
:: www.inverse.ca<http://www.inverse.ca>
Inverse inc. :: Leaders behind SOGo (www.sogo.nu<http://www.sogo.nu>) and 
PacketFence (www.packetfence.org<http://www.packetfence.org>)

On 2013-09-04, at 6:41 AM, Jason Frisvold 
<xenoph...@godshell.com<mailto:xenoph...@godshell.com>> wrote:


Bulanda, Dave G wrote:

Louis,

Radius is still stopping. I have an external NMS monitor for the process
and alert and then restart the service pfcmd service radius restart  (As
it is still leaving a pid file.) At least this is minimizing the impact
on my users, but I would like to resolve this.

What other places/logs can I check?

Well...  Not sure if you're going to like this, but I would recommend
running radiusd with the -X flag and redirecting output to a log file.
This puts radiusd into debug mode and will provide significantly more
information on what's happening.  From the log you provided, it appears
that radiusd is just stopping with no log entry indicating what
happened.  Debug is probably the only way you'll get an answer.

radiusd -X -d /usr/local/pf/raddb > /usr/local/pf/logs/radius.log 2>&1

This does run in the foreground, though, so you'll have to keep a
session open.  I suggest using the screen command for this so a timeout
doesn't kill your session.


Thank you again for all the help,

David Bulanda


--
---------------------------
Jason 'XenoPhage' Frisvold
xenoph...@godshell.com<mailto:xenoph...@godshell.com>
---------------------------

"Any sufficiently advanced magic is indistinguishable from technology.\"
- Niven's Inverse of Clarke's Third Law

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net<mailto:PacketFence-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/packetfence-users


------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net<mailto:PacketFence-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/packetfence-users

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to