(RADIATOR) AuthLog SYSLOG problems

Heikki Vatiainen hvn at archred.com
Wed May 19 16:21:43 CDT 2004


On Wed, May 19, 2004 at 12:59:07PM -0600, Bret Jordan wrote:

> Wed May 19 12:46:41 2004: ERR: Could not load AuthLog module 
> Radius::AuthLogSYSLOG: syntax error at 
> /usr/local/radiator/Radiator-3.9/Radius/AuthLogSYSLOG.pm line 103, near 
> ""$self->{Facility}|$self->{Priority}"}"
> syntax error at /usr/local/radiator/Radiator-3.9/Radius/AuthLogSYSLOG.pm 
> line 103, near "$str)"
> Unmatched right curly bracket at 
> /usr/local/radiator/Radiator-3.9/Radius/AuthLogSYSLOG.pm line 106, at 
> end of line
> syntax error at /usr/local/radiator/Radiator-3.9/Radius/AuthLogSYSLOG.pm 
> line 106, near "}"
> Compilation failed in require at (eval 26) line 3, <FILE> line 56.

Looks like there is a problem with the current version of
patches-3.9.tar.gz. Line 103 in file Radius/AuthLogSYSLOG.pm should be
     eval {syslog("$self->{Facility}|$self->{Priority}", $str)};
but the incorrect version has
     eval {syslog("$self->{Facility}|$self->{Priority}"}, $str)};

If you remove the extra }, it should work again.

-- 
Heikki Vatiainen
Arch Red Oy, Tampere, Finland

--
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list