Hi Olivier, Didn't hear back from you on the last inquiry ; hoping you have time for this one. Things are exactly as before except, for the first time, I'm getting error messages in logs/error_log. Everything seems fine, the WAP is switched correctly to the registration vlan, the captive portal appears but the validation always returns as 'bad user / password' while freeRadius returns 'good' ... Hoping you can cast some light on this as I've been hung up on it for over a week. Thanks in advance for any attention.
Error msg from error_log : -------------------------------------------------------------------- [Tue Nov 16 16:52:37 2010] -e: Constant subroutine ModPerl::ROOT::ModPerl::PerlRun::usr_local_pf_cgi_2dbin_redir_2ecgi::INSTALL_DIR redefined at /usr/lib/perl5/ModPerl/Util.pm line 69. [Tue Nov 16 16:52:37 2010] -e: Constant subroutine ModPerl::ROOT::ModPerl::PerlRun::usr_local_pf_cgi_2dbin_redir_2ecgi::SCAN_VID redefined at /usr/lib/perl5/ModPerl/Util.pm line 69. [Tue Nov 16 16:52:39 2010] redir.cgi: Prototype mismatch: sub ModPerl::ROOT::ModPerl::PerlRun::usr_local_pf_cgi_2dbin_redir_2ecgi::INSTALL_DIR: none vs () at /usr/share/perl/5.10/constant.pm line 115. [Tue Nov 16 16:52:39 2010] redir.cgi: Prototype mismatch: sub ModPerl::ROOT::ModPerl::PerlRun::usr_local_pf_cgi_2dbin_redir_2ecgi::SCAN_VID: none vs () at /usr/share/perl/5.10/constant.pm line 115. [Tue Nov 16 16:52:39 2010] -e: Constant subroutine ModPerl::ROOT::ModPerl::PerlRun::usr_local_pf_cgi_2dbin_redir_2ecgi::INSTALL_DIR redefined at /usr/lib/perl5/ModPerl/Util.pm line 69. [Tue Nov 16 16:52:39 2010] -e: Constant subroutine ModPerl::ROOT::ModPerl::PerlRun::usr_local_pf_cgi_2dbin_redir_2ecgi::SCAN_VID redefined at /usr/lib/perl5/ModPerl/Util.pm line 69. [Tue Nov 16 16:52:39 2010] -e: Constant subroutine ModPerl::ROOT::ModPerl::PerlRun::usr_local_pf_cgi_2dbin_register_2ecgi::INSTALL_DIR redefined at /usr/lib/perl5/ModPerl/Util.pm line 69. [Tue Nov 16 16:53:04 2010] -e: Constant subroutine ModPerl::ROOT::ModPerl::PerlRun::usr_local_pf_cgi_2dbin_register_2ecgi::INSTALL_DIR redefined at /usr/lib/perl5/ModPerl/Util.pm line 69. -------------------------------------------------------------------- Thanks in advance. Best wishes, Chris On Tue 2.Nov'10 at 16:51:16 -0400, Olivier Bilodeau wrote: > Hi Chris, > > > Yes, checked logs/error_log ; grepped the directory for > > 'authentication' and came up with nothing (no lines anywhere) that had > > an 'ERROR' flag on them. > > > > This log should not be a very verbose one, it is the apache errror log > for the captive portal. Errors would have been pretty obvious. No need > for grepping. > > > Made the mods ; here's the output from a registration attempt : > > > > packetfence.log:Nov 02 18:56:06 register.cgi(0) INFO: got result: 0 / 0 > > (ModPerl::ROOT::ModPerl::PerlRun::usr_local_pf_cgi_2dbin_register_2ecgi::handler) > > packetfence.log:Nov 02 18:56:37 register.cgi(0) INFO: got result: 0 / 1 > > (ModPerl::ROOT::ModPerl::PerlRun::usr_local_pf_cgi_2dbin_register_2ecgi::handler) > > packetfence.log:Nov 02 18:56:58 register.cgi(0) INFO: got result: 0 / 1 > > (ModPerl::ROOT::ModPerl::PerlRun::usr_local_pf_cgi_2dbin_register_2ecgi::handler) > > > > This tells us that the module compiles and executes fine but that the > check returned (0, 1). > > Looking at the authentication::radius module, I see that little > attention has been given to error-handling.. but I notice also that you > need to configure it: $RadiusServer and $RadiusSecret. > > Have you done so? > > If you did, then we will need to add error-handling code to see what's > going on there.. > > Module documentation if you want to look at it yourself: > http://search.cpan.org/~manowar/RadiusPerl/Radius.pm > > Cheers! ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev _______________________________________________ Packetfence-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/packetfence-users
