Hello again,
I upgraded to 4.0.5-2 running on Ubuntu 12.04 in hopes of fixing the bug
where the freeradius process dies randomly (I believe we were suffering
from this bug:
http://www.packetfence.org/bugs//bug_view_page.php?bug_id=1675&history=1).
Unfortunately, the freeradius process still appears to be dying at random.
I am receiving this error in the radius.log file:
rlm_perl: perl_embed:: module = /usr/local/pf/raddb/packetfence.pm , func =
post_auth exit status= syntax error at line 1, column 49, byte 49 at
/usr/lib/perl5/XML/Parser.pm line 187.
Here is the output from the FreeRADIUS debug:
# Executing section authorize from file
/usr/local/pf/raddb/sites-enabled/packetfence
+- entering group authorize {...}
[suffix] No '@' in User-Name = "84383551d8ae", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
++[preprocess] returns ok
[eap] No EAP-Message, not doing EAP
++[eap] returns noop
[files] users: Matched entry DEFAULT at line 1
++[files] returns ok
++[expiration] returns noop
++[logintime] returns noop
rlm_perl: Added pair NAS-Port-Type = Wireless-802.11
rlm_perl: Added pair Service-Type = Call-Check
rlm_perl: Added pair Tunnel-Medium-Type = IEEE-802
rlm_perl: Added pair Tunnel-Type = VLAN
rlm_perl: Added pair Calling-Station-Id = 84:38:35:51:d8:ae
rlm_perl: Added pair Called-Station-Id = 04:c5:a4:c3:bf:b0:BlitzNet
rlm_perl: Added pair Airespace-Wlan-Id = 2
rlm_perl: Added pair User-Name = 84383551d8ae
rlm_perl: Added pair NAS-Identifier = WISM2_SDC
rlm_perl: Added pair User-Password = 84383551d8ae
rlm_perl: Added pair NAS-Port = 13
rlm_perl: Added pair NAS-IP-Address = 158.104.249.7
rlm_perl: Added pair Tunnel-Private-Group-Id = 260
rlm_perl: Added pair Framed-MTU = 1300
rlm_perl: Added pair Auth-Type = Accept
++[packetfence] returns noop
Found Auth-Type = Accept
Auth-Type = Accept, accepting the user
Login OK: [84383551d8ae] (from client 158.104.249.7 port 13 cli
84:38:35:51:d8:ae)
# Executing section post-auth from file
/usr/local/pf/raddb/sites-enabled/packetfence
+- entering group post-auth {...}
++[exec] returns noop
++? if (!EAP-Type || (EAP-Type != 21 && EAP-Type != 25))
? Evaluating !(EAP-Type ) -> TRUE
?? Skipping (EAP-Type != 21 )
?? Skipping (EAP-Type != 25)
++? if (!EAP-Type || (EAP-Type != 21 && EAP-Type != 25)) -> TRUE
++- entering if (!EAP-Type || (EAP-Type != 21 && EAP-Type != 25)) {...}
rlm_perl: perl_embed:: module = /usr/local/pf/raddb/packetfence.pm , func =
post_auth exit status= syntax error at line 1, column 49, byte 49 at
/usr/lib/perl5/XML/Parser.pm line 187.
Segmentation fault (core dumped)
The packetfence.pm does contain the proper XML header that was the cause of
this in the bug report. Here is the relevant part of packetfence.pm:
my $response_body;
$curl->setopt(CURLOPT_HEADER, 0);
$curl->setopt(CURLOPT_URL, 'http://127.0.0.1:' . SOAP_PORT); # TODO:
See note1
# $curl->setopt(CURLOPT_URL, 'http://127.0.0.1:' .
$Config{'ports'}{'soap'}); # TODO: See note1
$curl->setopt(CURLOPT_HTTPHEADER, ['Content-Type: text/xml;
charset=UTF-8']);
$curl->setopt(CURLOPT_POSTFIELDS, $request);
$curl->setopt(CURLOPT_WRITEDATA, \$response_body);
libsoap-lite-perl version is: ii libsoap-lite-perl
1.0 Perl implementation of a SOAP client and
server
At this point, I have had to remove our PF install from production, as the
radiusd process will not stay running.
I would greatly appreciate any help on this!
Thanks,
--
Fletcher Haynes <fhay...@willamette.edu>
Systems Administrator/Network Services Consultant
Willamette Integrated Technology Services
Willamette University, Salem, OR
Phone: 503.370.6016
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users