(RADIATOR) AuthBy FILE return "OK", but AuthBy SQL return "No reply" by using "mikem"
Hugh Irvine
hugh at open.com.au
Thu Apr 3 03:56:47 CST 2008
Hello Eddie -
In that case you should change the following line(s) in your
configuration file:
.....
# DbDir indicates where to find the dictionary and so on
DbDir /etc/radiator
# LogDir indicates the directory to use for logging
LogDir /var/log/radius
.....
Please see the relevant sections in the Radiator reference manual
("doc/ref.pdf").
hope that helps
regards
Hugh
On 3 Apr 2008, at 19:12, Eddie Chu wrote:
> It is strange that it work fine if I run "perl /usr/bin/radiusd -
> config_file /etc/radiator/radius.cfg" under /etc/radiator
> directory, which has a dictionary file, otherwise "cannot find the
> dictionary file" display.
>
> In other word, "cannot find the dictionary file" display when start
> Radiator through /etc/init.d/radiator or somewhere. It works fine
> if start under /etc/radiator, because a dictionary file is there.
>
> If so, why and how can I start it automatically.
>
>
> Eddie Chu
>
>
>
> -----Original Message-----
> From: Hugh Irvine [mailto:hugh at open.com.au]
> Sent: Thu 4/3/2008 3:38 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 -
>
> As the error message shown below indicates, Radiator cannot find the
> dictionary file:
>
> .....
>
> > Sat Mar 29 10:52:51 2008: ERR: Could not open dictionary file './
> > dictionary': No such file or directory
>
> .....
>
> hope that helps
>
> regards
>
> Hugh
>
>
> On 3 Apr 2008, at 17:55, Eddie Chu wrote:
> > 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.
> >
> >
> >
> >
> > <radius.cfg>
>
>
>
> 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.
>
>
>
>
>
> --
> 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.
--
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