(RADIATOR) AuthBy FILE return "OK", but AuthBy SQL return "No reply" by using "mikem"

Eddie Chu eddie.chu at netmon.com.hk
Thu Apr 3 00:55:02 CST 2008


The config_file is attached, the debug message show below:
 
Sat Mar 29 10:52:51 2008: DEBUG: Reading dictionary file './dictionary'
Sat Mar 29 10:52:51 2008: ERR: Could not open dictionary file './dictionary': No such file or directory
Sat Mar 29 10:52:51 2008: DEBUG: Creating authentication port 0.0.0.0:1645
Sat Mar 29 10:52:51 2008: DEBUG: Creating accounting port 0.0.0.0:1646
Sat Mar 29 10:52:51 2008: NOTICE: Server started: Radiator 4.2 on aaa (LOCKED)
Can't call method "attrByNum" on an undefined value at /usr/lib/perl5/site_perl/Radius/Radius.pm line 1144.
          ...caught at /usr/bin/radiusd line 5.
 
 
 
Eddie Chu
 
 

	-----Original Message----- 
	From: Hugh Irvine [mailto:hugh at open.com.au] 
	Sent: Thu 4/3/2008 1:17 PM 
	To: Eddie Chu 
	Cc: radiator at open.com.au 
	Subject: Re: (RADIATOR) AuthBy FILE return "OK", but AuthBy SQL return "No reply" by using "mikem"
	
	


	Hello Eddie -
	
	Have you installed the DBI and DBD-mysql modules for Perl?
	
	To see what is happening you can run Radiator like this:
	
	
	        cd /your/Radiator/distribution
	
	        perl radiusd -foreground -log_stdout -trace 4 -config_file radius.cfg
	
	        ......
	
	To say any more I will need to see a copy of your configuration file 
	and a trace 4 debug as above.
	
	regards
	
	Hugh
	
	
	On 3 Apr 2008, at 15:58, Eddie Chu wrote:
	> After installing Radiator, the radpwtst test return OK with default 
	> setting of "AuthBy FILE" and with "mikem" user name.
	>
	> However, the radpwtst test return "No reply" after switching to 
	> "AuthBy SQL" by mean of
	> - overwrite radius.cfg by goodies/sql.cfg
	> - build sql schema with goodies/mysqlCreate.sql, after that "mikem" 
	> user can be found in the SUBSCRIBERS table
	> - restart radiator
	>
	> Pls advise how to tackle it or test the readiness of "AuthBy SQL".
	>
	>
	>
	> Eddie Chu
	>
	> --
	> 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.
	
	
	
	NB:
	
	Have you read the reference manual ("doc/ref.html")?
	Have you searched the mailing list archive (www.open.com.au/archives/
	radiator)?
	Have you had a quick look on Google (www.google.com)?
	Have you included a copy of your configuration file (no secrets),
	together with a trace 4 debug showing what is happening?
	Have you checked the RadiusExpert wiki:
	http://www.open.com.au/wiki/index.php/Main_Page
	
	--
	Radiator: the most portable, flexible and configurable RADIUS server
	anywhere. Available on *NIX, *BSD, Windows, MacOS X.
	Includes support for reliable RADIUS transport (RadSec),
	and DIAMETER translation agent.
	-
	Nets: internetwork inventory and management - graphical, extensible,
	flexible with hardware, software, platform and database independence.
	-
	CATool: Private Certificate Authority for Unix and Unix-like systems.
	
	
	

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: radius.cfg
URL: <http://www.open.com.au/pipermail/radiator/attachments/20080403/713f061b/attachment.ksh>


More information about the radiator mailing list