Hi!
Finally I discovered what was the problem - now I'm totally embarrassed...
I double checked all of the config files & dictionaries, without success.
Then I looked at /var/log/messages and saw the line:
Jan 10 11:20:47 antun openser: rc_get_seqnbr: couldn't open sequence
file /var/run/radius.seq: Permission denied
So, I started openSER as root , and now it works :-)
Thanks to everyone who tried to help!
Best regards,
Antun
Antun Mihalicek wrote:
Hi!
I'm trying to enable RADIUS accounting on OpenSER with the use of
radiusclient-ng, and using FreeRADIUS as radius server.
When I initiate or terminate a session on OpenSER, following error occurs:
Jan 10 12:21:58 [30155] ERROR:acc:acc_rad_request: radius-ing failed
I've been googling for this issue, and I've found out that some people
also had this error, but in their case RADIUS packet was sent to RADIUS
server but was rejected , but in my case it wasn't even sent to the
RADIUS server, as I saw from debug output on FreeRADIUS. As I've seen on
forums, people said that this kind of error means that something's wrong
with radiusclient-ng. I've used radiusclient-ng 0.5.5 & 0.5.6, both
with same results. Did anyone had similar problem? Does radiusclient-ng
have some kind of log or something?
Thanks for your answer!