Re: postgres perl DBI

From: Herbert Liechti <Herbert(dot)Liechti(at)thinx(dot)ch>
To: postgres <pgsql-general(at)postgreSQL(dot)org>
Subject: Re: postgres perl DBI
Date: 2000-07-31 22:50:27
Message-ID: 398602B3.D074AE98@thinx.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Fetter, David M" wrote:

> I'm having issues with installing the postgres DBI for perl. Here is the
> output of make test and a verification postmaster is running:
>
> [~/DBD-Pg-0.95] dmfetter(at)mwabs505! make test
> PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib
> -I/usr/local/lib/perl5/5.00503/sun4-solaris -I/usr/local/lib/perl5/5.00503
> test.pl
> OS: solaris
> Use of uninitialized value at test.pl line 53.
> DBI->data_sources .......... not ok:
> DBI->connect(dbname=template1) failed: PQconnectPoll() -- connect() failed:
> Connection refused
> Is the postmaster running (with -i) at 'mwabs504'
> and accepting connections on TCP/IP port '5432'?
> at test.pl line 59

Is the postmaster running? Do you run the make test routine with
a user who can access the database. Try the same with
the postgres user. I usually do only the make install step
as root.
Regards Herbie

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Herbert Liechti E-Mail: Herbert(dot)Liechti(at)thinx(dot)ch
ThinX networked business services Stahlrain 10, CH-5200 Brugg
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Chris Bitmead 2000-08-01 00:01:57 Re: hierarchy select question?
Previous Message Tom Lane 2000-07-31 22:49:38 Re: Corrupted Table