
[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Please specify the MailOrderTo directive
Here we go again...
OK, here is what is happening. I create a catalog with makecat. Next, I
restart Interchange. Interchange fails to open the catalog and reports,
"Please specify the MailOrderTo directive in the configuration file...".
I have been through the docs and the archives and will now address the
advice I have found so far:
Here is the contents of the cgi-bin:
-rwsr-xr-x 1 interch interch 7164 Nov 10 13:19 imaginegoodhealthcom
The ownership and permissions seem to be right here.
'interch' is the user that runs interchange and 'interch' is specified as
the Interchange User in the makecat setup script.
The catuser in this case was set to 'imaginegoodhealthcom'.
The owner and the group for the catalogs directory are all set to
'imaginegoodhealthcom' like so:
drwxrwsr-x 14 imagineg imagineg 4096 Nov 10 13:24 imaginegoodhealthcom
and:
drwxrws--- 2 imagineg imagineg 4096 Nov 10 13:19 backup
-rw-rw---- 1 imagineg imagineg 11177 Nov 10 13:19 catalog.cfg
drwxrws--- 2 imagineg imagineg 4096 Nov 10 13:19 config
drwxrws--- 6 imagineg imagineg 4096 Nov 10 13:19 dbconf
-rw-rw---- 1 imagineg imagineg 0 Nov 10 13:19 error.log
drwxrws--- 2 imagineg imagineg 4096 Nov 10 13:19 etc
lrwxrwxrwx 1 root imagineg 59 Nov 10 13:19 images ->
/home/imaginegoodhealthcom/html/imaginegoodhealthcom/images
drwxrws--- 2 imagineg imagineg 4096 Nov 10 13:19 logs
drwxrws--- 2 imagineg imagineg 4096 Nov 10 13:19 orders
drwxrws--- 6 imagineg imagineg 4096 Nov 10 13:19 pages
drwxrws--- 2 imagineg imagineg 4096 Nov 10 13:19 products
drwxrws--- 2 imagineg imagineg 4096 Nov 10 13:19 session
drwxrws--- 2 imagineg imagineg 4096 Nov 10 13:19 special_pages
lrwxrwxrwx 1 root imagineg 27 Nov 10 13:24 templates ->
/var/www/catalogs/templates
drwxrws--- 2 imagineg imagineg 4096 Nov 10 13:19 tmp
drwxrws--- 2 imagineg imagineg 4096 Nov 10 13:19 upload
The products directory (which is the one that variables.txt is in) looks
like this:
-rw-rw-r-- 1 imagineg imagineg 9237 Nov 10 13:19 1da.csv
-rw-rw-r-- 1 imagineg imagineg 10240 Nov 10 13:19 2ndDayAir.csv
-rw-rw-r-- 1 imagineg imagineg 5571 Nov 10 13:19 450.csv
-rw-rw-r-- 1 imagineg imagineg 5571 Nov 10 13:19 986.csv
-rw-rw-r-- 1 imagineg imagineg 1520 Nov 10 13:19 access.asc
-rw-rw-r-- 1 imagineg imagineg 83 Nov 10 13:19 affiliate.txt
-rw-rw-r-- 1 imagineg imagineg 138 Nov 10 13:19 area.txt
-rw-rw-r-- 1 imagineg imagineg 138 Nov 10 13:19 cat.txt
-rw-rw-r-- 1 imagineg imagineg 88 Nov 10 13:19 component.txt
-rw-rw-r-- 1 imagineg imagineg 9431 Nov 10 13:19 country.txt
-rw-rw-r-- 1 imagineg imagineg 24 Nov 10 13:19 downloadable.txt
-rw-rw-r-- 1 imagineg imagineg 144 Nov 10 13:19 files.txt
-rw-rw-r-- 1 imagineg imagineg 111 Nov 10 13:19 gift_certs.txt
-rw-rw-r-- 1 imagineg imagineg 6603 Nov 10 13:19 gndcomm.csv
-rw-rw-r-- 1 imagineg imagineg 6585 Nov 10 13:19 Ground.csv
-rw-rw-r-- 1 imagineg imagineg 48 Nov 10 13:19 inventory.txt
-rw-rw-r-- 1 imagineg imagineg 599 Nov 10 13:19 locale.txt
-rw-rw-r-- 1 imagineg imagineg 163 Nov 10 13:19 merchandising.txt
-rw-rw-r-- 1 imagineg imagineg 28024 Nov 10 13:19 mv_metadata.asc
-rw-rw-r-- 1 imagineg imagineg 9349 Nov 10 13:19 NextDayAir.csv
-rw-rw-r-- 1 imagineg imagineg 21859 Nov 10 13:19 NextDayAir.gdbm
-rw-rw-r-- 1 imagineg imagineg 226 Nov 10 13:19 options.txt
-rw-rw-r-- 1 imagineg imagineg 203 Nov 10 13:19 orderline.txt
-rw-rw-r-- 1 imagineg imagineg 83 Nov 10 13:19 order_returns.txt
-rw-rw-r-- 1 imagineg imagineg 35 Nov 10 13:19 pricing.txt
-rw-rw-r-- 1 imagineg imagineg 226 Nov 10 13:19 products.txt
-rw-rw-r-- 1 imagineg imagineg 278 Nov 10 13:19 route.txt
-rw-rw-r-- 1 imagineg imagineg 18 Nov 10 13:19 salestax.asc
-rw-rw-r-- 1 imagineg imagineg 1325 Nov 10 13:19 shipping.asc
-rw-rw-r-- 1 imagineg imagineg 5521 Nov 10 13:19 state.txt
-rw-rw-r-- 1 imagineg imagineg 466 Nov 10 13:19 transactions.txt
-rw-rw-r-- 1 imagineg imagineg 523 Nov 10 13:19 userdb.txt
-rw-rw-r-- 1 imagineg imagineg 2868 Nov 10 13:19 variable.txt
All of this information is exactly the way another catalog is setup, and it
works but this one does not.
Now, reading the archives, I read that some have tried 'chgrp -R interch
catalogdir' or even a 'chown', so I tried that as well. Sure enough that
does fix the above issue. But, it creates a new problem. After doing that,
IC starts up and the catalog seems to load, but when browsing to the
catalogs page (http://www.domain.com/cgi-bin/catalog), the server reports a
404 message. But the program is there and is set properly as indicated
above. In messing with this, I have also had the server tell me that
Interchange was unavailable - another problem that indicates a permission
issue.
I read this from an earlier post:
"This is really a permissions problem. Your Interchange daemon does not
have access to your catalog files.
One common fix for this is to edit your servers /etc/group file and add
your interchange user to the group that owns your catalog files."
This makes total sense to me, but I already have interch as a member of the
user's group. So that must not be it...
I currently have 3 sites down and am willing to compensate someone for a
good tip in the right direction. Anyone have any ideas what I can try next?
Jason
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users