[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
RE: 2nd catalog configuration, won't start...
A lot of stuff to wade through, but it looks like a permission or config
problem. Just looking at the DOCROOT defines, www.hub.com looks wrong
(shouldn't be in web server dir) and www.pgsql.com looks right.
Variable DOCROOT /usr/local/httpd/share/apache/htdocs
Variable DOCROOT /home/projects/pgsql.com
The file errors could be permissions or that the files are not there.
Christopher Thompson
>
> ****** message to minivend-users from The Hermit Hacker
> <scrappy@hub.org> ******
>
>
> BTW...before you read this, if there is a document that I've missed
> somewhere that answers these questions, please feel free to
> tell me where
> it is. I printed off the minivend.pod file so that I can easily go
> through it, and it tells alot about after you have it running,
> but I can't
> even seem to get it to that step :(
>
> ========
>
>
> I just tried to do a 'makecat' on a second server, and think
> I'm seriously
> missing something in the docs.
>
> So far, my experience is that you have to run 'makecat' as
> root, since it
> needs to write to directories in 'DocumentRoot' directories...no probs,
> that is what I'm doing.
>
> Went through the whole thing and create a second catalog, no probs there
> either.
>
> Restart minivend:
>
> %~/mvend/bin/restart
> Sent TERM to server on PID 64799.
> MiniVend server stopped.
> MiniVend V3.14
> Configuring catalog hub_prod...Variable: read from non-existent
> file, skipping.
> In line 43 of the configuration file 'catalog.cfg':
> Variable LEFTSIDE <leftside
>
> Variable: read from non-existent file, skipping.
> In line 44 of the configuration file 'catalog.cfg':
> Variable RIGHTSIDE <rightside
>
> Variable: read from non-existent file, skipping.
> In line 45 of the configuration file 'catalog.cfg':
> Variable NO_RIGHT <no_right
>
> Variable: read from non-existent file, skipping.
> In line 46 of the configuration file 'catalog.cfg':
> Variable MENUBAR <menubar
>
> Variable: read from non-existent file, skipping.
> In line 47 of the configuration file 'catalog.cfg':
> Variable MENUBOTTOM <menubottom
>
> Variable: read from non-existent file, skipping.
> In line 48 of the configuration file 'catalog.cfg':
> Variable LOGOBAR <logobar
>
> Variable: read from non-existent file, skipping.
> In line 49 of the configuration file 'catalog.cfg':
> Variable COPYRIGHT <copyright
>
> Could not open salestax file
> /home/projects/minivend/catalogs/hub_prod/products/salestax.asc:
> Permission denied
> Could not open error file error.log: Permission denied
>
> to report this error:
> - - - [21/July/1999:14:53:21 -0400] hub_prod - Could not open
> salestax file
> /home/projects/minivend/catalogs/hub_prod/products/salestax.asc:
> Permission denied
>
> Could not open shipping file
> /home/projects/minivend/catalogs/hub_prod/products/shipping.asc:
> Permission denied
> Could not open error file error.log: Permission denied
>
> to report this error:
> - - - [21/July/1999:14:53:21 -0400] hub_prod - Could not open
> shipping file
> /home/projects/minivend/catalogs/hub_prod/products/shipping.asc:
> Permission denied
>
> hub_prod config error: Couldn't open
> '/home/projects/minivend/catalogs/hub_prod/products/locale.asc'
> read/write: Permission denied
>
>
> hub_prod: error in configuration. Skipping.
> hub_prod: config error. Skipping.
> Configuring catalog pgsql_prod...done.
> MiniVend server started in INET and UNIX mode(s) (process id 66213)
>
> Great, the first one I create still "configures", but the
> second one, not
> a hope.
>
> Checking out the differences between my config files shows what
> I *think*
> I should be expecting:
>
> %diff hub_prod/catalog.cfg pgsql_prod/catalog.cfg
> 3,14c3,14
> < Variable SERVER_NAME www.hub.org
> < Variable CGI_URL /hub_prod.cgi
> < Variable SECURE_SERVER http://www.hub.org
> < Variable ORDERS_TO sales@hub.org
> < Variable IMAGE_DIR /hub_prod/images
> < Variable DOCROOT /usr/local/httpd/share/apache/htdocs
> < Variable SAMPLEHTML
> /usr/local/httpd/share/apache/htdocs/hub_prod
> < Variable SAMPLEURL http://www.hub.org/hub_prod
> <
> < Variable COMPANY The Art Store
> < Variable ADDRESS 123 Any St.
> < Variable CITY Anytown, USA 00000
> ---
> > Variable SERVER_NAME www.pgsql.com
> > Variable CGI_URL /pgsql_prod.cgi
> > Variable SECURE_SERVER http://www.pgsql.com
> > Variable ORDERS_TO sales@pgsql.com
> > Variable IMAGE_DIR /pgsql_prod/images
> > Variable DOCROOT /home/projects/pgsql.com
> > Variable SAMPLEHTML /home/projects/pgsql.com/pgsql_prod
> > Variable SAMPLEURL http://www.pgsql.com/pgsql_prod
> >
> > Variable COMPANY PostgreSQL, Inc
> > Variable ADDRESS Suite 2, 251 Main Street
> > Variable CITY Wolfville, Nova Scotia, B0P 1X0
> 100c100
> < VendURL http://__SERVER_NAME____CGI_URL__
> ---
> > VendURL http://__SERVER_NAME____CGI_URL__
> 1113c1113
> < RemoteUser sales
> ---
> > RemoteUser jeff
>
> Do the 'RemoteUsers' have to be the same or something? :(
>
> Marc G. Fournier ICQ#7615664
> IRC Nick: Scrappy
> Systems Administrator @ hub.org
> primary: scrappy@hub.org secondary:
> scrappy@{freebsd|postgresql}.org
>
> -
> To unsubscribe from the list, DO NOT REPLY to this message.
> Instead, send
> email with 'UNSUBSCRIBE minivend-users' in the body to
> Majordomo@minivend.com.
> Archive of past messages: http://www.minivend.com/minivend/minivend-list
>