(RADIATOR) Problem: Radiator with Hawk-i

Sanjeev krishna sanjeev at ifxnw.com.bo
Wed Oct 30 13:33:12 CST 2002


Hello,
Iam configuring the Radiator for Hawk-i billing software and iam facing 
the errors showing that

Wed Oct 30 14:17:03 2002: ERR: Could not open dictionary file '/Radiator-3.3.1/d
ictionary': No such file or directory
Coulsdn't create dictionary from '/Radiator-3.3.1/dictionary'. Check log for mor
e information: No such file or directory at radiusd line 311.


My configuration file is

# hawki.cfg
#
#
#

Foreground
LogStdout
LogDir		D:\Radiator\Radiator-3.3.1\Radiator-3.3.1\log
DbDir		D:\Radiator\Radiator-3.3.1\Radiator-3.3.1\Radiusd
DictionaryFile D:\Radiator\Radiator-3.3.1\Radiator-3.3.1\dictionary
# User a lower trace level in production systems:
Trace 		4

# You will probably want to change this to suit your site.
<Client 200.x.x.x>
	Secret	xxxxx
	DupInterval 60
	NasType Ascend2
</Client>

# A standard Hawk-i system defines one DSN for the customer
# details and a different one for accounting details, so there
# are 2 AUthBy SQL clauses below
<Realm DEFAULT>
    AuthByPolicy ContinueAlways

    <AuthBy SQL>
	# This section does accounting
	# Adjust DBSource, DBUsername, DBAuth to suit your DB

	DBSource	dbi:ODBC:hawkmdb
	DBUsername	xx
	DBAuth          xxxx

	# No authentication in this clause
	AuthSelect

	# You may want to tailor these for your ACCOUNTING table
	# You can add your own columns to store whatever you like
	AccountingTable	radacct1
	AcctColumnDef	UserName,User-Name
	AcctColumnDef	LogDateTime,Timestamp,integer-date
	AcctColumnDef	AcctStatusType,Acct-Status-Type
	AcctColumnDef	AcctDelayTime,Acct-Delay-Time,integer
	AcctColumnDef	AcctInputOctets,Acct-Input-Octets,integer
	AcctColumnDef	AcctOutputOctets,Acct-Output-Octets,integer
	AcctColumnDef	AcctInputPackets,Acct-Input-Packets,integer
	AcctColumnDef	AcctOutputPackets,Acct-Output-Packets,integer
	AcctColumnDef	AcctSessionTime,Acct-Session-Time,integer
	AcctColumnDef	AcctTerminateCause,Acct-Terminate-Cause
	AcctColumnDef	NasIPAddress,NAS-IP-Address
	AcctColumnDef	NasIdentifier,NAS-Identifier
	AcctColumnDef	NasPortId,NAS-Port,integer
	AcctColumnDef	NasPortType,NAS-Port-Type,integer
	AcctColumnDef	ConnectInfo,Connect-Info
	AcctColumnDef	ServiceType,Service-Type
	AcctColumnDef	FramedProtocol,Framed-Protocol
	AcctColumnDef	FramedAddress,Framed-IP-Address
	AcctColumnDef	CallingStationId,Calling-Station-Id

	# You can arrange to log accounting to a file if the
	# SQL insert fails with AcctFailedLogFileName
	# That way you could recover from a broken SQL
	# server
	#AcctFailedLogFileName %D/missedaccounting
    </AuthBy>

    <AuthBy SQL>
	DBSource	dbi:ODBC:hawkmdb
	DBUsername	xx
	DBAuth		xxxxx

	# No accounting in this clause
	AuthSelect select
ClearTextPassword,ServiceType,SessionLimit,IdleLimit,StaticIP,IPNetmask,FramedRoute,FilterID,PortLimit,SpeedLimit,ExpiryDate
from Customers where CustomerID=%0 and Disable is null
	AuthColumnDef 0,Password,check
	AuthColumnDef 1,Service-Type,reply
	AuthColumnDef 2,Session-Timeout,reply
	AuthColumnDef 3,Idle-Timeout,reply
	AuthColumnDef 4,Framed-IP-Address,reply
	AuthColumnDef 5,Framed-IP-Netmask,reply
	AuthColumnDef 6,Framed-Route,reply
	AuthColumnDef 7,Filter-Id,reply
	AuthColumnDef 8,Port-Limit,reply
	AuthColumnDef 9,Connect-Rate,check
	AuthColumnDef 10,Expiration,check
    </AuthBy>
</Realm>


*If i configure the same file by removing the values at

*LogDir		
DbDir		
DictionaryFile 
*
by keeping it blank, the server is starting but its not Authenticating the Users in the Database*
*
*
*so could you please help me in finding the problem?*


Thanks,
Sanjeev



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