|
From: <gha...@fr...> - 2002-03-24 13:34:09
|
On Sun, 24 Mar 2002, Omar Baheyeldin wrote:
> Thanks David again
> But when I tried admin.pl , I had the error No
> database drivers available ,
^^^^^^^
> though I have the following OK
> 1-postgres installed
> (ps aux |grep postgre)
> 2- It is accepting tcp/ip connection
> ( psql -h 127.0.0.1 -d template1 ) is working fine
> 3- Apache configured to run pl extensions ,and the
> directory root to sql-ledger is OK
> 4- Permiissions for the users and template are set for
> nobody
>
> I cannot find where the problem is
I've stared at similar problems before. You are not
seeing the word "drivers". Yes, you have postgres
installed and it is accepting connections. What you
are missing is one or more of the perl modules that
allow perl to communicate with a PostgreSQL database.
Those are the drivers in question. DBD::PG is probably
one of them (that is the CPAN name for it). If you
are running RedHat, Mandrake, Debian, ...; you need
to download another module (which may pull along a few
other modules vis dependencies) which contains this
module. Debian always renames perl modules, as they
don't follow Debian standards. Makes it hard to find
the things some times. Alternatively, you can download
them from CPAN and install them "locally" (into /usr/local).
That should get you started.
Gord
Matter Realisations http://www.materialisations.com/
Gordon Haverland, B.Sc. M.Eng. President
101 9504 182 St. NW Edmonton, AB, CA T5T 3A7
780/481-8019 ghaverla @ freenet.edmonton.ab.ca
780/993-1274 (cell)
|