Hello Thao -
At 16:51 +0700 4/12/00, Le Van Thao wrote:
but when I run perl test.pl I get the following error:
Can't read $DBI::errstr, last handle unknown or destroyed at Radius/SqlDb.pm line 158.
Mon Dec 4 16:15:44 2000: ERR: Could not connect to SQL database with DBI->connect dbi:Sybase:rodopi, Rodopi, rodopi: install_driver(Sybase) failed: Can't locate DBD/Sybase.pm in @INC (@INC contains: . ./blib/arch ./blib/lib /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503 /usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005 .) at (eval 327) line 3.
Perhaps the DBD::Sybase perl module hasn't been fully installed,
or perhaps the capitalisation of 'Sybase' isn't right.
Available drivers: ADO, ExampleP, Multiplex, Proxy.
at Radius/SqlDb.pm line 141
Could not open log file './logfile': Permission denied at Radius/LogFILE.pm line 86.
Mon Dec 4 16:15:44 2000: ERR: Could not connect to any SQL database. Request is ignored. Backing off for 600 seconds
Could not open log file './logfile': Permission denied at Radius/LogFILE.pm line 86.
Can't read $DBI::errstr, last handle unknown or destroyed at Radius/SqlDb.pm line 158.
Mon Dec 4 16:25:51 2000: ERR: Could not connect to SQL database with DBI->connect dbi:Sybase:rodopi, Rodopi, rodopi: install_driver(Sybase) failed: Can't locate DBD/Sybase.pm in @INC (@INC contains: . ./blib/arch ./blib/lib /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503 /usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005 .) at (eval 343) line 3.
Perhaps the DBD::Sybase perl module hasn't been fully installed,
or perhaps the capitalisation of 'Sybase' isn't right.
Available drivers: ADO, ExampleP, Multiplex, Proxy.
at Radius/SqlDb.pm line 141
It looks like the DBI/DBD-Sybase modules are not installed
correctly.
I suggest you start with a very simple file based set up to
start with, so you can be sure that Radiator is installed and
operating correctly. Only when that is done should you go on to more
complicated configurations.
BTW - you might also find DBD-Proxy to be an attractive
alternative.
We also offer contract installation services if that is an
option for you.
regards
Hugh
--
NB: I am travelling this week, so there may be delays in our correspondence.
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, Interbiller, TACACS+, PAM, external, etc, etc.
Available on Unix, Linux,
FreeBSD, Windows 95/98/2000, NT, MacOS X.
