[ic] undefined catalog with mod_interchange

Lyn St George interchange-users@interchange.redhat.com
Thu Feb 21 10:45:01 2002


On 21 Feb 2002 10:08:00 -0500, Doug Alcorn wrote:

>
>I'm running a debian/woody box with the interchange .debs.  I have four
>catalogs installed.  Three of them are working fine.  Two of them use
>standard cgi-bin and the other two are mod_interchange.  One of the
>mod_interchange catalogs works fine.  It's just the last one I've
>added that doesn't work.  If I access the catalog through cgi-bin, it
>loads up fine.  However, when I try to access it via cgi-bin I get
>"undefined catalog".  Here's the vhost settings in apache's
>httpd.conf:
>
><VirtualHost univcell.lathi.net:80>
>    ServerAdmin webmaster@univcell.com
>    DocumentRoot /home/univcell/html
>    ScriptAlias /cgi-bin/   /home/univcell/cgi-bin/
>    ServerName www.univcell.com
>    ErrorLog /home/univcell/log/error_log
>    CustomLog /home/univcell/log/access_log combined
>    Options FollowSymLinks
>    <Location /univcell>
>        SetHandler interchange-handler
>        InterchangeServer localhost:7786
>    </Location>
></VirtualHost>
>
>Here's the Catalog configuration line:
>
>Catalog univcell /home/univcell/catalogs/univcell /cgi-bin/ic/univcell /univcell


If this is Interchange.cfg, it should be:
blah..    /univcell, not /cgi-bin/ic/univcell

and Catalog.cfg should have:
Variable    CGI_URL		/univcell

ie, including <Location /univcell> in httpd.conf, all 3 should be the same.


>When I start interchange, here's the relevant part of the error.log:
>
>- - - [20/February/2002:23:06:24 -0600] - - Config 'univcell' at server startup
>- - - [20/February/2002:23:06:24 -0600] - - Using MySQL, DSN=dbi:mysql:univcell.
>- - - [20/February/2002:23:06:24 -0600] - - START server (25132) (INET and UNIX)
>- - - [20/February/2002:23:06:25 -0600] - - Accepting connections from localhost|127\.0\.0\.1
>- - - [20/February/2002:23:06:25 -0600] - - START server (25138) (INET and UNIX)
>209.15.197.109 - - [20/February/2002:23:06:41 -0600] - /univcell/index.html CGI mapping error: Undefined 
catalog: /univcell/index.html at /usr/lib/interchange/Vend/Server.pm line 182.
>
>Obviously, the last line is when I try to load the catalog via
>mod_interchange.  Here's what's in /var/run/interchange:
>
>-rw-------    1 intercha intercha        6 Feb 20 23:06 interchange.pid
>srw-------    1 intercha intercha        0 Feb 20 23:06 interchange.sock=
>srwx------    1 intercha intercha        0 Feb 20 23:06 interchange.sock.ipc=
>-rw-------    1 intercha intercha   269445 Feb 13 15:59 interchange.structure
>-rw-------    1 intercha intercha       12 Feb 20 23:06 mode.inet
>-rw-------    1 intercha intercha       37 Feb 20 23:06 mode.unix
>-rw-------    1 intercha intercha       25 Feb 20 23:06 status.digicel
>-rw-------    1 intercha intercha       25 Feb 20 23:06 status.foundation
>-rw-------    1 intercha intercha       25 Feb 20 23:06 status.services
>-rw-------    1 intercha intercha       25 Feb 20 23:06 status.univcell
>
>-- 
> (__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net)
> oo / PGP 02B3 1E26 BCF2 9AAF 93F1  61D7 450C B264 3E63 D543
> |_/  If you're a capitalist and you have the best goods and they're
>      free, you don't have to proselytize, you just have to wait. 
>
>_______________________________________________
>interchange-users mailing list
>interchange-users@interchange.redhat.com
>http://interchange.redhat.com/mailman/listinfo/interchange-users
>


Cheers
Lyn St George
+---------------------------------------------------------------------------------
+ http://www.zolotek.net .. eCommerce hosting, consulting
+ http://www.os2docs.org .. some 'How To' stuff ...
+----------------------------------------------------------------------------------