check_radius issue after 3.2.1 update

Alex alexd at cal.net
Sat May 1 00:06:28 CEST 2010


I was able to fix it by changing ownership of the files in
/etc/radiusclient/ from 644 to 666
[alexd at owl radiusclient]$ sudo chmod 666 *
[alexd at owl radiusclient]$ ll
-rw-rw-rw- 1 root root  6385 Mar  5  2007 dictionary
-rw-rw-rw- 1 root root 12388 Mar  5  2007 dictionary.ascend
-rw-rw-rw- 1 root root  1517 Mar  5  2007 dictionary.compat
-rw-rw-rw- 1 root root   599 Mar  5  2007 dictionary.merit
-rw-rw-rw- 1 root root   135 Mar  5  2007 issue
-rw-rw-rw- 1 root root   410 Mar  5  2007 port-id-map
-rw-rw-rw- 1 root root  2522 Oct 23  2009 radiusclient.conf
-rw-rw-rw- 1 root root   440 Apr 22 15:46 servers
[alexd at owl radiusclient]$ /usr/lib/nagios/plugins/check_radius -H zeus2 -F
/etc/radiusclient/radiusclient.conf -u nagios -p nagioscheck
Auth OK

Thank you for pointing me in the right direction.

Alex

-----Original Message-----
From: Alex [mailto:alexd at cal.net] 
Sent: Friday, April 30, 2010 2:57 PM
To: 'Nagios Users List'
Subject: RE: [Nagios-users] check_radius issue after 3.2.1 update

>> Try executing the script as the nagios use not as root and see what the
output is .
>> root and nagios have differing env setting in the shell , and there 
>> might be the problem in your response.

>> Assaf

[root at owl plugins]# su - nagios
-sh-3.2$ /usr/lib/nagios/plugins/check_radius -H zeus2 -F
/etc/radiusclient/radiusclient.conf -u nagios -p nagioscheck
Auth Error

You're right, that seems to be the issue. Could you by chance recommend what
I need to do in order to get this fixed?

Thank you,

Alex


------------------------------------------------------------------------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list