I was able to upgrade from 5.4 to 5.7 using "yum update packetfence-5.7.0 
--enablerepo=packetfence" but these services won't start:

radiusd-acct
radius
radsniff3

Here is the error I get when I start radiusd in debug mode:

radiusd -X -d /usr/local/pf/raddb

Starting - reading configuration files ...
including dictionary file /usr/share/freeradius/dictionary
including dictionary file /usr/share/freeradius/dictionary.dhcp
including dictionary file /usr/share/freeradius/dictionary.vqp
Errors reading /usr/local/pf/raddb/dictionary: dict_init: 
/usr/local/pf/raddb/dictionary[47]: dict_addattr: Duplicate attribute name 
Called-Station-SSID

If I edit /usr/local/pf/raddb/dictionary and comment out the line that gives 
the error:

#ATTRIBUTE      Called-Station-SSID     3010    string

Startup gets much further:

including configuration file 
/usr/local/pf/raddb/sites-enabled/packetfence-tunnel
including configuration file /usr/local/pf/raddb/sites-enabled/packetfence
/usr/local/pf/raddb/sites-enabled/packetfence[69]: Parse error in condition
/usr/local/pf/raddb/sites-enabled/packetfence[69]: (!EAP-Type || (EAP-Type != 
EAP-TTLS  && EAP-Type != PEAP)) {
/usr/local/pf/raddb/sites-enabled/packetfence[69]:                            ^ 
Failed to parse value for attribute
Errors reading or parsing /usr/local/pf/raddb/radiusd.conf


I followed the upgrade doc to the letter. Does anyone know how I can 
troubleshoot this? This is the section with line 69.

     69         if (!EAP-Type || (EAP-Type != EAP-TTLS  && EAP-Type != PEAP)) {
     70             update control {
     71                 PacketFence-RPC-Server = ${rpc_host}
     72                 PacketFence-RPC-Port = ${rpc_port}
     73                 PacketFence-RPC-User = ${rpc_user}
     74                 PacketFence-RPC-Pass = ${rpc_pass}
     75                 PacketFence-RPC-Proto = ${rpc_proto}
     76             }
     77             packetfence
     78             sql




------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to