Freeradius 3.0.13-8.el7_4 and external syslog server

Bram Assendorp bramassendorp at gmail.com
Mon Feb 26 09:39:57 CET 2018


Hello Freeradius Users,

I have installed a freeradius server on Centos 7.

Now I want to have the freeradius messages forwarded to a external syslog
server.

Within the radiusd.conf I have changed the "logdir" and "destination"
parameter to "syslog"

Also added the *.* @IPAddress:514 at the end of the rsyslog.conf file.

Restarted both the rsyslog and radiusd service, but then no client will
authenticate.

I'm getting the following errors:

*--

2018-02-26 08:46:48 Daemon.Debug servername.local Feb 26 08:46:48
SERVERNAME radiusd[31843]: (0) auth_log: ERROR: Couldn't open file
syslog/radacct/192.168.1.7/auth-detail-20180226: Failed to create directory
syslog: Permission denied
2018-02-26 08:46:48 Daemon.Notice servername.local Feb 26 08:46:48
SERVERNAME radiusd[31843]: (0) Invalid user (auth_log: Couldn't open file
syslog/radacct/192.168.1.7/auth-detail-20180226: Failed to create directory
syslog: Permission denied): [b8386116681f/b8386116681f] (from client
SWITCHNAME port 50001 cli B8-38-61-16-68-1F)
2018-02-26 08:46:48 Daemon.Info servername.local Feb 26 08:46:48 SERVERNAME
radiusd[31843]: Need 4 more connections to reach 10 spares
2018-02-26 08:46:48 Daemon.Info servername.local Feb 26 08:46:48 SERVERNAME
radiusd[31843]: rlm_sql (SHBMSQL01): Opening additional connection (6), 1
of 26 pending slots used
2018-02-26 08:46:57 Daemon.Debug servername.local Feb 26 08:46:57
SERVERNAME radiusd[31843]: (1) auth_log: ERROR: Couldn't open file
syslog/radacct/192.168.1.7/auth-detail-20180226: Failed to create directory
syslog: Permission denied
2018-02-26 08:46:57 Daemon.Notice servername.local Feb 26 08:46:57
SERVERNAME radiusd[31843]: (1) Invalid user (auth_log: Couldn't open file
syslog/radacct/192.168.1.7/auth-detail-20180226: Failed to create directory
syslog: Permission denied): [b8386116681f/b8386116681f] (from client
SWITCHNAME port 50001 cli B8-38-61-16-68-1F)
2018-02-26 08:46:57 Daemon.Info servername.local Feb 26 08:46:57 SERVERNAME
radiusd[31843]: Need 3 more connections to reach 10 spares
2018-02-26 08:46:57 Daemon.Info servername.local Feb 26 08:46:57 SERVERNAME
radiusd[31843]: rlm_sql (SHBMSQL01): Opening additional connection (7), 1
of 25 pending slots used
2018-02-26 08:47:13 Daemon.Error servername.local Feb 26 08:47:13
SERVERNAME radiusd[31843]: Ignoring request to auth address * port 1812
bound to server default from unknown client 192.168.1.192 port 1645 proto
udp
2018-02-26 08:47:18 Daemon.Error servername.local Feb 26 08:47:18
SERVERNAME radiusd[31843]: Ignoring request to auth address * port 1812
bound to server default from unknown client 192.168.1.192 port 1645 proto
udp
2018-02-26 08:47:23 Daemon.Error servername.local Feb 26 08:47:23
SERVERNAME radiusd[31843]: Ignoring request to auth address * port 1812
bound to server default from unknown client 192.168.1.192 port 1645 proto
udp
2018-02-26 08:47:28 Daemon.Error servername.local Feb 26 08:47:28
SERVERNAME radiusd[31843]: Ignoring request to auth address * port 1812
bound to server default from unknown client 192.168.1.192 port 1645 proto
udp

*--

Thank you for your help.

Kind Regards,

Bram.


More information about the Freeradius-Users mailing list