- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- PostgreSQL 8.3 and php on HP-UX 11.23
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
Discussions
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
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-29-2011 06:08 AM
06-29-2011 06:08 AM
PostgreSQL 8.3 and php on HP-UX 11.23
Hello !
I have a problem with php extension pgsql . I've installed postgres 8.3 on my HP-UX server with the bundle web1_A.13.00-001_HP-UX_B.11.23_IA_PA.depot.
Then I've installed apache 2.2 with HP-UX Apache-based Web Server v.3.17.
Now when I try to connect to my postgreSQL database with php I have this error in postgres logs :
LOG: incomplete startup packet...
I tried to compile pgsql.sl from php source, connection seems to work with small sql requests... but when I try to execute longer requests I have a "broken pipe" error in postgres logs... same php script works perfectly if I launch it with php command (without apache)...
Any idea from what's going wrong with pgsql on my HP-UX server ?
- Tags:
- SQL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2011 07:32 AM
06-29-2011 07:32 AM
Re: PostgreSQL 8.3 and php on HP-UX 11.23
I would first try a depot based version of Postgres. Go to http://software.hp.com
Search for Internet Express.
Chose the Postgres, download and swinstall
This version is modified by HP before put into depot format and avoids many common problem with compile it yourself software.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2011 08:00 AM
06-29-2011 08:00 AM
Re: PostgreSQL 8.3 and php on HP-UX 11.23
Hi,
thanks, but my bundle hpuxws22atw-b317-64.depot comes from http://software.hp.com (it's HPUX Internet Express you talk about in your post).
I installed it to upgrade postgres from 8.1, to 8.3.... but pgsql.sl doesn't work with this version on my HP-UX. So i tried to upgrade apache and php with HP-UX Apache-based Web Server v.3.17 (find on http://software.hp.com ) => php can't connect postgres anymore... it's why i tried to compile postgres extension... but if someone know how to use postgres 8.3 with php on HP-UX 11.23 without any software installation I'm interested.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2011 09:39 PM
06-29-2011 09:39 PM
Re: PostgreSQL 8.3 and php on HP-UX 11.23
My bad. Can you look at the mysql.log file when this connection fails. Please post.
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2011 12:38 AM
06-30-2011 12:38 AM
Re: PostgreSQL 8.3 and php on HP-UX 11.23
Before pgsql.sl re-compile (using depot based software) :
I have this error in my pg log file : LOG: incomplete startup packet
=> no connection between php and postgres
After pgsql.sl re-compe :
I have this error : "LOG: could not send data to client: Tube interrompu" (I think "Tube interrompu" is Broken pipe in english).
=> error with large request...
Error in php log :
PHP Warning: pg_query() [<a href='function.pg-query'>function.pg-query</a>]: Query failed: could not receive data from server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2013 06:46 AM
03-27-2013 06:46 AM
Re: PostgreSQL 8.3 and php on HP-UX 11.23
Were you able to resolve the "incomplete packet" issue.. I'm stuck on the same issue right now ! Please advice..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2014 01:48 AM
12-11-2014 01:48 AM
Re: PostgreSQL 8.3 and php on HP-UX 11.23
Is the issue resolved? If yes, can you please tell me how? I am facing the same issue now.