Re: postgres perl DBI
От | Herbert Liechti |
---|---|
Тема | Re: postgres perl DBI |
Дата | |
Msg-id | 398602B3.D074AE98@thinx.ch обсуждение исходный текст |
Ответ на | postgres perl DBI ("Fetter, David M" <Fetter.David@emeryworld.com>) |
Список | 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@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.Liechti@thinx.ch ThinX networked business services Stahlrain 10, CH-5200 Brugg ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
В списке pgsql-general по дате отправления: