[ic] interchange server is not available....

Doug Alcorn doug@lathi.net
30 Aug 2000 01:26:32 -0400


I know this is covered in the FAQ.  I also know this is a permissions
problem.  I am just too sleep-stupid to find my mistake.  Here's the
lowdown: interchange 4.5.5 is installed as user 'minivend' in group
'minivend'.  On my RedHat box, all new users get their own group.  I
installed the 'example' catalog based on 'simple' per the QuickStart.
I can access it fine.  When I create a catalog 'universal' for user
'univcell.univcell' I get the dreaded "server is not available"
message.  As per the docs, I added user 'minivend' to group
'univcell'.

$ ls -l /home/minivend/mvend/etc/socket 
srw-------   1 minivend minivend        0 Aug 30 00:57 /home/minivend/mvend/etc/socket
$ ls -l /home/httpd/cgi-bin/universal 
-rwsr-xr-x   1 minivend minivend     7316 Aug 19 14:06 /home/httpd/cgi-bin/universal
$ id minivend
uid=508(minivend) gid=510(minivend) groups=506(univcell),510(minivend)
$ find /home/univcell/catalogs/universal/ ! -group univcell
$ find /home/univcell/catalogs/universal ! -user univcell
/home/univcell/catalogs/universal/etc/status.universal
/home/univcell/catalogs/universal/images
/home/univcell/catalogs/universal/products/merchandising.sql
/home/univcell/catalogs/universal/products/variable.gdbm
/home/univcell/catalogs/universal/products/route.gdbm
/home/univcell/catalogs/universal/products/orderline.sql
/home/univcell/catalogs/universal/products/userdb.sql
/home/univcell/catalogs/universal/products/affiliate.sql
/home/univcell/catalogs/universal/products/pricing.sql
/home/univcell/catalogs/universal/products/inventory.sql
/home/univcell/catalogs/universal/products/country.sql
/home/univcell/catalogs/universal/products/products.sql
/home/univcell/catalogs/universal/products/cat.sql
/home/univcell/catalogs/universal/products/transactions.sql
/home/univcell/catalogs/universal/products/area.sql
/home/univcell/catalogs/universal/products/locale.gdbm
/home/univcell/catalogs/universal/error.log
/home/univcell/catalogs/universal/universal.structure
$ ls -l /home/univcell/catalogs/universal/error.log
-rw-------   1 minivend univcell     6404 Aug 30 00:47 /home/univcell/catalogs/universal/error.log
$ ps -ef | grep minivend
minivend  7368     1  0 00:57 ?        00:00:00 minivend                        
$ tail -13 /home/minivend/mvend/error.log
- - - [30/August/2000:00:57:19 -0400] - - Sending debug to /tmp/mvdebug.
- - - [30/August/2000:00:57:20 -0400] - - Low traffic settings.
- - - [30/August/2000:00:57:20 -0400] - - Calling UI....
- - - [30/August/2000:00:57:21 -0400] - - ...UI is loaded....
- - - [30/August/2000:00:57:22 -0400] - - Interchange V4.5.5
- - - [30/August/2000:00:57:22 -0400] - - Config 'example' at server startup
- - - [30/August/2000:00:57:22 -0400] - - Using MySQL, DSN=dbi:mysql:test_example
- - - [30/August/2000:00:57:24 -0400] - - Config 'universal' at server startup
- - - [30/August/2000:00:57:25 -0400] - - Using MySQL, DSN=dbi:mysql:test_universal.
- - - [30/August/2000:00:57:27 -0400] - - START server (7333) (INET and UNIX)
- - - [30/August/2000:00:57:28 -0400] - - Accepting connections from localhost|127\.0\.0\.1
- - - [30/August/2000:00:57:28 -0400] - - START server (7368) (INET and UNIX)
$ cat /tmp/mvdebug
Start DEBUG at Tue Aug 29 21:00:32 2000

Since the example catalog (which is owned by 'minivend') works and the
universal catalog does not (which is not owned by 'minivend'), I am
assuming this is a permissions problem.  As I said earlier, I don't
know what permissions need to change.
-- 
 (__)  Doug Alcorn (mailto:doug@lathi.net - http://www.lathi.net)
 oo /  "It's too late for paradise"
 |_/