Hello Lisa -

On Fri, 13 Oct 2000, Lisa Goulet wrote:
> Hi colleagues,
> 
> Here's my scenario:
> 
> Postgresql server: radmin database is set up with tables with
> installPostgresql.sh script(I can see and query them in psql).
> 
> Radmin host: Radmin scripts are installed with install.pl
> 
> Both servers have the following perl db modules.
> 
> p5-DBD-Pg-0.95
> p5-DBI-1.14
> 
> When I execute editUser.pl from the web browser, I see the following error
> message in httpd-error.log. It looks as if the scripts default to mysql. How
> can I change this to Postgresql?
> 
> httpd-error.log
> 
>  [Fri Oct 13 10:27:42 2000] [notice] Apache/1.3.12 (Unix) configured --
> resuming normal operations
> install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC
> contains: /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503
> /usr/local/lib/perl5/site_perl/5.005/i386-freebsd
> /usr/local/lib/perl5/site_perl/5.005 .) at (eval 3) line 3.
> Perhaps the DBD::mysql perl module hasn't been fully installed,
> or perhaps the capitalisation of 'mysql' isn't right.
> Available drivers: ADO, ExampleP, Multiplex, Pg, Proxy.
>  at /usr/local/lib/perl5/site_perl/5.005/Radmin/DBSQL.pm line 195
> [Fri Oct 13 10:33:23 2000] [error] [client 213.35.228.25] Premature end of
> script headers: /data/www/cgi-bin/Radmin/private/editUser.pl 
> 

You will have to edit the file "Radmin/Sql.db" to set up the correct DBSource,
DBUsername and DBAuth variables. You can either do this in the distribution and
re-install, or you can edit the file in the Perl hierarchy directly.

hth

Hugh

ps - normally this is done in the database install script...

pps - have a look at section 5.2.6 in the Radmin reference manual

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



===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to