Gentoo Archives: gentoo-user

From: Pandu Poluan <pandu@××××××.info>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] DBI connect dbname=template1 failed Permission denied
Date: Thu, 15 Dec 2011 05:24:48
Message-Id: CAA2qdGVm45dg_U4sRcU4rZMUyh+_vsN3bs=XXdk=JPThiwcExw@mail.gmail.com
In Reply to: [gentoo-user] DBI connect dbname=template1 failed Permission denied by Joseph
1 On Dec 15, 2011 10:55 AM, "Joseph" <syscon780@×××××.com> wrote:
2 >
3 > I have postgresql up and running but when I try to connect via apache to
4 postgresql I get an error:
5 >
6 > [error] [client 127.0.0.1] DBI
7 connect('dbname=template1','sql-ledger',...) failed: could not connect to
8 server: Permission denied, referer: http://localhost/sql-ledger/admin.pl
9 >
10 > Anybody knows what to look for?
11 >
12 > --
13 > Joseph
14 >
15
16 Check pg_hba.conf
17
18 Rgds,

Replies

Subject Author
Re: [gentoo-user] DBI connect dbname=template1 failed Permission denied Joseph <syscon780@×××××.com>