(RADIATOR) radiator instances not logging to single file, more clues

Tariq Rashid tariq.rashid at uk.easynet.net
Mon Jun 21 06:13:43 CDT 2004


as discussed last week, when setting up separate radiator installations in
different directories (eg /opt/rad1, /opt/rad2, etc), a problem i cam across
was that the radiator server would not override the log file location (as
specified in a radius.cfg file) properly when this was supplied as a command
line parameter. the ref manual suggests it should. 

what was happening was that 2 log files were beign created, the standard one
at
	/var/log/radius/radiator/xxxx
and also the local one, eg
	/opt/radiator38/var/log/radiator/xxxx

closer inspection shows different items being writtent to these files. does
this help anyone find why this is happening? perhaps different log/trace
levels are being writtent to different locations?

when a radius request is processed, again, it is written to one of the
locations (the correct local one). thus the incorrect file,a lthough
created, is not written to further. why is this created?

the start-up log is presented below.

tariq

---------------------------------------

cat  /var/log/radius/radiator/2004-06-21.log 
Mon Jun 21 12:04:07 2004: ERR: Could not resolve an address for Client
fa1-3-4.tnt-23-pstn.access.easynet.net
Mon Jun 21 12:04:07 2004: DEBUG: Reclaiming expired leases
Mon Jun 21 12:04:07 2004: DEBUG: do query is: 'update RADPOOL set STATE=0 
where STATE!=0 and EXPIRY < 1087815847': 

Mon Jun 21 12:04:08 2004: ERR: Could not open file
'/usr/local/etc/raddb/post-search-hook.pl' for parameter PostSearchHook: No
such file or directory
Mon Jun 21 12:04:08 2004: ERR: Could not open file
'/usr/local/etc/raddb/post-search-hook-mia.pl' for parameter PostSearchHook:
No such file or directory
Mon Jun 21 12:04:08 2004: ERR: Could not open file
'/usr/local/etc/raddb/post-auth-hook.pl' for parameter PostAuthHook: No such
file or directory
Mon Jun 21 12:04:08 2004: ERR: Could not open file
'/usr/local/etc/raddb/post-auth-hook.pl' for parameter PostAuthHook: No such
file or directory
Mon Jun 21 12:04:08 2004: ERR: Could not open file
'/usr/local/etc/raddb/post-auth-hook.pl' for parameter PostAuthHook: No such
file or directory
Mon Jun 21 12:04:08 2004: ERR: Could not open file
'/usr/local/etc/raddb/post-auth-hook.pl' for parameter PostAuthHook: No such
file or directory
Mon Jun 21 12:04:08 2004: ERR: Could not open file
'/usr/local/etc/raddb/post-auth-hook.pl' for parameter PostAuthHook: No such
file or directory
Mon Jun 21 12:04:08 2004: ERR: Could not open file
'/usr/local/etc/raddb/post-auth-hook.pl' for parameter PostAuthHook: No such
file or directory
Mon Jun 21 12:04:08 2004: ERR: Could not open file
'/usr/local/etc/raddb/post-auth-hook.pl' for parameter PostAuthHook: No such
file or directory
Mon Jun 21 12:04:08 2004: DEBUG: Finished reading configuration file
'/opt/radiator38/etc/radius.cfg'




 cat  var/log/radius/radiator/2004-06-21.log 
Mon Jun 21 12:04:08 2004: DEBUG: Reading dictionary file
'/opt/radiator38/etc/raddb/dictionary'
Mon Jun 21 12:04:08 2004: DEBUG: Creating authentication port 0.0.0.0:1645
Mon Jun 21 12:04:08 2004: DEBUG: Creating accounting port 0.0.0.0:1646
Mon Jun 21 12:04:08 2004: NOTICE: Server started: Radiator 3.8 on
havelock.auth.easynet.net

--
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