[ic] Interchange + PostgreSQL results in error 505's (premature end of script headers)

Dan Browning danb@cyclonecomputers.com
Sun, 3 Sep 2000 01:32:16 -0700


OK.  I feel totally retarded.  I've wasted the last several weeks of my
life.

My installation of DBD::Pg was hokey.  I forgot to set POSTGRES_INCLUDE and
POSTGRES_LIB environment variables to /usr/include/pgsql and /usr/lib/pgsql,
respectively, before running my automated perl module installer script on
it.

Pgsql+Interchange works great for me now.  Would anybody be interested in a
"case study"?  I'm running it on rh62 on a dual zeon 550 (512cache/ea) with
6 ultra160 cheetahs on a mylex acceleraid 352 (Raid 0/1 for full-speed
writes), and 1gb RAM, and 5 network cards (4 in FEC for 400mbps).

Thanks for excusing my retardedness.  I think sometimes I just have to
explain my problem to someone a few times before I realize what the solution
is myself.

> -----Original Message-----
> From: interchange-users-admin@minivend.com
> [mailto:interchange-users-admin@minivend.com]On Behalf Of Dan Browning
> Sent: Saturday, September 02, 2000 10:18 PM
> To: minivend-users@minivend.com; interchange-users@minivend.com
> Subject: [ic] Interchange + PostgreSQL results in error 505's
> (premature
> end of script headers)
>
>
> I've tried for the past 2-3 weeks to get Interchange working
> with PostgreSQL
> (I would be happy even with just MySQL, but I can't get that working
> either).
>
> I've tried every combination I can think of.  I'm running
> PostgreSQL 7.0.2,
> DBI::pg, and Interchange or Minivend.  Here are the error logs:
>
>
> # tail /usr/local/interchange/error.log
> *****************************************
> - - - [02/September/2000:21:42:17 -0700] - - Using PostgreSQL,
> DSN=dbi:Pg:dbname=test_ds16.
> - - - [02/September/2000:21:42:17 -0700] - - Config 'ds17' at
> server startup
> - - - [02/September/2000:21:42:17 -0700] - - Using PostgreSQL,
> DSN=dbi:Pg:dbname=test_ds17.
> - - - [02/September/2000:21:42:17 -0700] - - Config 'ds18' at
> server startup
> - - - [02/September/2000:21:42:17 -0700] - - Using PostgreSQL,
> DSN=dbi:Pg:dbname=test_ds18.
> - - - [02/September/2000:21:42:17 -0700] - - START server
> (3579) (INET and
> UNIX)
> - - - [02/September/2000:21:42:18 -0700] - - Accepting
> connections from
> localhost|127\.0\.0\.1
> - - - [02/September/2000:21:42:18 -0700] - - START server
> (3639) (INET and
> UNIX)
> 10.0.0.21 AJ5J3Ryi:10.0.0.21 - [02/September/2000:21:42:20 -0700] ds18
> /cgi-bin/ds18/index.html action=index path=index
> 10.0.0.21 5J3Ryieh:10.0.0.21 - [02/September/2000:21:42:22 -0700] ds18
> /cgi-bin/ds18/index.html action=index path=index
> *****************************************
>
>
> # tail /var/log/httpd/error.log
> *****************************************
> [Sat Sep  2 21:23:32 2000] [error] [client 10.0.0.21] File
> does not exist:
> /home/httpd/html/ds15/images/images/white_line.gif
> [Sat Sep  2 21:27:11 2000] [error] [client 10.0.0.21] Premature end of
> script headers: /home/httpd/cgi-bin/ds16
> [Sat Sep  2 21:28:34 2000] [error] [client 10.0.0.21] Premature end of
> script headers: /home/httpd/cgi-bin/ds17
> [Sat Sep  2 21:28:55 2000] [error] [client 10.0.0.21] Premature end of
> script headers: /home/httpd/cgi-bin/ds17
> [Sat Sep  2 21:28:58 2000] [error] [client 10.0.0.21] Premature end of
> script headers: /home/httpd/cgi-bin/ds17
> [Sat Sep  2 21:28:58 2000] [error] [client 10.0.0.21] Premature end of
> script headers: /home/httpd/cgi-bin/ds17
> [Sat Sep  2 21:34:37 2000] [error] [client 10.0.0.21] Premature end of
> script headers: /home/httpd/cgi-bin/ds17
> [Sat Sep  2 21:36:49 2000] [error] [client 127.0.0.1] Premature end of
> script headers: /home/httpd/cgi-bin/ds17
> [Sat Sep  2 21:42:20 2000] [error] [client 10.0.0.21] Premature end of
> script headers: /home/httpd/cgi-bin/ds18
> [Sat Sep  2 21:42:22 2000] [error] [client 10.0.0.21] Premature end of
> script headers: /home/httpd/cgi-bin/ds18
> *****************************************
>
> Dan Browning
> Network & Database Administrator
> Cyclone Computer Systems
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@www.minivend.com
> http://www.minivend.com/mailman/listinfo/interchange-users
>
>