[ic] Interchange + PostgreSQL Install

Dan Browning danb@cyclonecomputers.com
Wed, 30 Aug 2000 01:00:59 -0700


I just installed the latest CVS.  What am I doing wrong?  Again, everything
works fine if I makecat without pgsql support.  But when I do enable pgsql
support:

cgi-bin/ds11/index.html gives me a 505 (premature end of script errors)
and in error.log:

10.0.0.21 t3nYpMwG:10.0.0.21 - [30/August/2000:00:54:29 -0700] ds11
/cgi-bin/ds1
1/index.html action=index path=index

Is all that shows up.

> -----Original Message-----
> From: interchange-users-admin@minivend.com
> [mailto:interchange-users-admin@minivend.com]On Behalf Of Dan Browning
> Sent: Wednesday, August 30, 2000 12:37 AM
> To: interchange-users@minivend.com
> Cc: minivend-users@minivend.com
> Subject: RE: [ic] Interchange + PostgreSQL Install
>
>
> OK.  So I found out that I have a permissions problem (I was
> trying to mix
> interchange user ownership and ds user ownership).  Now the
> catalog and
> everything else is owned by the interchange user and that is
> helping (I can
> at least get into the admin module).  But the
> /cgi-bin/ds5/index.html link
> dies with a ...
> **************************************************************
> *************
> Internal Server Error
> The server encountered an internal error or misconfiguration
> and was unable
> to complete your request.
> Please contact the server administrator, root@localhost and
> inform them of
> the time the error occurred, and anything you might have done
> that may have
> caused the error.
> More information about this error may be available in the
> server error log.
> --------------------------------------------------------------
> --------------
> ----
> Apache/1.3.12 Server at colossus.cyclonecomputers.com Port 80
> **************************************************************
> *************
> The /var/log/httpd/error.log had...
> [Wed Aug 30 00:20:03 2000] [error] [client 10.0.0.21] Premature end of
> script he
> aders: /home/httpd/cgi-bin/ds6
> **************************************************************
> *************
> But nothing was in the var/interchange/error.log
>
> > -----Original Message-----
> > From: interchange-users-admin@minivend.com
> > [mailto:interchange-users-admin@minivend.com]On Behalf Of
> Dan Browning
> > Sent: Wednesday, August 30, 2000 12:13 AM
> > To: interchange-users@minivend.com
> > Subject: RE: [ic] Interchange + PostgreSQL Install
> >
> >
> > Here's a few snippings from my error.log:
> >
> > 10.0.0.21 - - [29/August/2000:23:50:18 -0700] -
> > /cgi-bin/ds5/index.html
> > Undefine
> > d catalog: /cgi-bin/ds5
> > 10.0.0.21 - - [29/August/2000:23:50:19 -0700] -
> > /cgi-bin/ds5/index.html
> > Undefine
> > d catalog: /cgi-bin/ds5
> > 10.0.0.21 - - [29/August/2000:23:56:32 -0700] -
> > /cgi-bin/ds5/admin/index.html Un
> > defined catalog: /cgi-bin/ds5
> >
> > > -----Original Message-----
> > > From: interchange-users-admin@minivend.com
> > > [mailto:interchange-users-admin@minivend.com]On Behalf Of
> > Dan Browning
> > > Sent: Tuesday, August 29, 2000 11:56 PM
> > > To: interchange-users@minivend.com
> > > Subject: [ic] Interchange + PostgreSQL Install
> > >
> > >
> > > The interchange .rpm install on rh6.2 works great.  I'm
> > trying to do a
> > > bin/makecat, but everytime I do it with Postgresql support,
> > > everything LOOKS
> > > ok, but it doesn't actually work (/cgi-bin/ds4/index.html
> > gives a 404
> > > error).  However, the front page (/ds4) does come up.
> > >
> > > I've found that ps auxw | grep minivend shows minivend is
> > > running (using
> > > 14mb ram).  And the /barry demo still works great.  But the
> > > command "service
> > > interchange status" says "interchange dead but subsys
> > > locked".  service
> > > interchange restart doesn't help the situation either, it
> > > just says the
> > > shutdown failed, and startup OK.  None of this happened
> > until I did a
> > > bin/makecat that included pgSQL.
> > >
> > > To setup postgresql, I downloaded 7.0.2, and did:
> > > su postgres
> > > createuser ds
> > > createdb	testds
> > > createuser root
> > >
> > > and if I login as either root or ds, I can psql into the
> > > testds database
> > > just fine and create/drop tables just fine.
> > >
> > > During bin/makecat, I have a normal db creation:
> > > run "createdb test_ds5"? ...............y
> > > CREATE DATABASE
> > > done.
> > > Moving link program to /home/httpd/cgi-bin/ds5..............done.
> > >
> > > I'm downloading the CVS now, I'll see what that does.  I
> > > would appreciate
> > > any direction.  Thanks,
> > >
> > > 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
> > >
> > >
> >
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@www.minivend.com
> > http://www.minivend.com/mailman/listinfo/interchange-users
> >
> >
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@www.minivend.com
> http://www.minivend.com/mailman/listinfo/interchange-users
>
>