Re: "dict_addattr: attribute name too long" error when running raclient by cron

2010-03-17 Thread Sergio Belkin
2010/3/17 Alan DeKok : > Sergio Belkin wrote: >> When I run on the shell do it fine, but when it is launched by root it >> fails, resulting in: >> >> radclient: dict_init: >> /usr/local/share/freeradius/dictionary.freeradius[47]: dict_addattr: >> attribute name too long > >  You have multiple versi

Re: "dict_addattr: attribute name too long" error when running raclient by cron

2010-03-17 Thread Sergio Belkin
2010/3/17 Sergio Belkin : > Hi, I have a simple script as follows: > > #! /bin/bash > echo "Message-Authenticator = 0x00, FreeRADIUS-Statistics-Type = 16" | > radclient localhost:18120 status YellowSubmarine | tee > /var/log/radius/status-"$(date -d "yesterday" +%Y%m%d)".log > #echo "Message-Authen

Re: "dict_addattr: attribute name too long" error when running raclient by cron

2010-03-17 Thread Alan DeKok
Sergio Belkin wrote: > When I run on the shell do it fine, but when it is launched by root it > fails, resulting in: > > radclient: dict_init: > /usr/local/share/freeradius/dictionary.freeradius[47]: dict_addattr: > attribute name too long You have multiple versions of FreeRADIUS installed. Fi

"dict_addattr: attribute name too long" error when running raclient by cron

2010-03-17 Thread Sergio Belkin
Hi, I have a simple script as follows: #! /bin/bash echo "Message-Authenticator = 0x00, FreeRADIUS-Statistics-Type = 16" | radclient localhost:18120 status YellowSubmarine | tee /var/log/radius/status-"$(date -d "yesterday" +%Y%m%d)".log #echo "Message-Authenticator = 0x00, FreeRADIUS-Statistics-T