Re: CGI. postgres local install, DBD::Pg fails
- From: brian.darkblueb@xxxxxxxxx
- Date: Tue, 07 Aug 2007 23:28:29 -0700
On Aug 7, 9:50 am, brian.darkbl...@xxxxxxxxx wrote:
On Aug 7, 8:10 am, "J. Gleixner" <glex_no-s...@xxxxxxxxxxxxxxxxxxxxx>
wrote:
brian.darkbl...@xxxxxxxxx wrote:
DBD::Pg installed fine on a stock OS X machine. Apache is turned on
via web sharing.
When we installed DBD::Pg, it magically 'found' that postgres was
installed in the local (admin) folder instead of /usr/local. All
DBD::Pg test ran as fine.
BUT when code runs as a CGI, the CGI user 'www' apparently cannot
access the postgres libraries. A quick attempt at setting a library's
permissions (libq ?) was no help.
suggestions welcome
How do you know 'www' can't access the libraries? What is the error?
I am not at the machine at this moment, but, two knowledgeable people
looked carefully at the logs and said that this was the case. I will
be there on the show floor at LinuxWorld later today. Suggestions
welcome.
a manual fix of permissions did the trick.. nothing more exotic than
that.
.
- References:
- CGI. postgres local install, DBD::Pg fails
- From: brian . darkblueb
- Re: CGI. postgres local install, DBD::Pg fails
- From: J. Gleixner
- Re: CGI. postgres local install, DBD::Pg fails
- From: brian . darkblueb
- CGI. postgres local install, DBD::Pg fails
- Prev by Date: Re: Help in file locking and synchronization
- Next by Date: Re: copy all files
- Previous by thread: Re: CGI. postgres local install, DBD::Pg fails
- Next by thread: Help in file locking and synchronization
- Index(es):
Relevant Pages
|