- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: PostgreSQL error
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2009 11:27 PM
тАО06-21-2009 11:27 PM
PostgreSQL error
When I try to connect to a PostgreSQL database running locally using PHP I get the following error:
"Warning: pg_connect() [function.pg-connect]: Unable to connect to PostgreSQL server: could not get socket error status: No such file or directory in <script>"
The error that appears in the postgresql log is:
"LOG: incomplete startup packet"
I can connect to the database using pgAdmin III.
I have tried to connect to the database locally and via TCP/IP. I can connect locally using psql command.
Any advise is appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2009 04:57 AM
тАО06-22-2009 04:57 AM
Re: PostgreSQL error
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2009 03:40 PM
тАО06-22-2009 03:40 PM
Re: PostgreSQL error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2009 11:55 PM
тАО06-22-2009 11:55 PM
Re: PostgreSQL error
Check this forum:
http://forums.devshed.com/postgresql-help-21/pg-connect-unable-to-connect-to-postgresql-server-48639.html
Best Regards,
Eric Antunes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2009 12:50 AM
тАО06-23-2009 12:50 AM
Re: PostgreSQL error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-01-2009 02:11 PM
тАО10-01-2009 02:11 PM
Re: PostgreSQL error
I have exactly the same problem and after trying many solutions, I came to the conclusion that the problem is the PHP module for postgre.
I hosted my website on another server with Debian and everything seems to work. In this test the web application connects to the POSTGRE on HP-UX.
I tested with the PHP of the HP-UX Apache-based Web Server version B.2.2.8.04 and B.2.0.59.02.
I trying with POSTGRE 8.1.17 compiled by myself, 8.2.5 and 8.3.7 both binary from iexpress DVD.
Who else can I do to solve this problem??