[ic] Help with IC setup

interchange-users@interchange.redhat.com interchange-users@interchange.redhat.com
Tue Dec 18 16:57:01 2001


I gave up on the RPM...  I found out later that it didn't test for and
warn me of one of the required CPAN modules: Storable-1.0.14.tar.gz Make
sure you have that one installed.  I switched to the tarball install,
which was quite different, and as a result, I have an install that I can
run makecat on, and some of the pages work.  I haven't tried going back to
the rpm, now that I have the missing CPAN module, so I cannot say if that
was my only holdup..

Someone did report that the rpm installed for them on the first try, and 
runs great, but didn't say much about the OS release, modules or anything 
else, so it is hard to verify or explain their success.

I posted a summary a day or two ago, detailing the steps I took to get a 
(somewhat) working version running on a RH 7.0 box.  You might look for it 
in the archives.  Try:

http://interchange.redhat.com/archive/interchange-users/2001/msg12110.html

I still have problems.  Trying to submit an order stalls and errors out.  
I dunno why.  The shipping box in the form comes up empty, so maybe that 
has something to do with it.

There appears to be lots of little challanges to overcome to get this app 
working.  It reminds me of the days when contributors would put a syntax 
error into their code just before tarring it up, so that at least you had 
to know enough to recognize the #DEFINE was not a comment and or a blatant 
error in the makefile.  I guess it kept the truly clueless from even 
getting started, and asking too many questions.

Good Luck, and if you do switch to the tarball, and find the answer to the 
order submit page hang, please post it back to the list.

On Tue, 18 Dec 2001, Tom Carroll wrote:

> I posted this message yesterday, but the person who was giving me pointers
> was at a loss of what to do further.  I do appreciate his help.
> 
> I'm running Mitel's SME version 5.  Many people know this as E-Smith Server
> and Gateway (ESSG).  It's a secure server/gateway/firewall.  SME/ESSG is
> built on RedHat Linux.  The last version of ESSG was based on the Redhat 7.0
> kernel.  SME 5 is based on the RedHat 7.1 kernel.
> 
> I'm trying to install the Interchange 4.8.3 RPM package on my SME server.
> Everything appeared to have installed fine.  I pulled down and installed all
> the available CPAN modules from the ic web site.
> 
> I was able to run makecat and configure a catalog named "store".  I could
> bring up the web page that had the two links for customer or admin.  Neither
> worked.  I would get the "We're sorry" screen.
> 
> I chown and chgrp -R the /usr/lib/interchange, /var/lib/interchange, and
> /var/log/interchange directories to "interch".  I also ran a chmod -R 770 on
> those three directories.
> 
> I have tried to configure with and without the CGIWRAP/SUEXEC option.  If I
> answer no to that question I get the "We're sorry" screen.  If I tell it I
> use CGIWRAP/SUEXEC it will not complete the makecat program.  There is some
> error near the end that dumps the makecat script.  It gives me the error
> "chmod sampledata.xls: No such file or directory."  I don't understand since
> the file does exist and the permissions are correct.  I've looked through
> the faq, getting started guide and also search the forums.  Have I
> completely missed something?
> 
> Oh, and all the web pages and virtual sites are kept under the
> home/e-smith/files/primary (for main server site) and
> /home/e-smith/files/ibays/ for any additional/virtual sites.  Each of those
> directories have three sub directories called /cgi-bin/, /files/, and
> /html/.  I'm trying to put the store under a virtual site in the
> /home/e-smith/files//ibays/dataware/ directory.
> 
> I sure hope this is not too confusing.  I don't know of any other way to
> explain this.
> 
> Here's a copy of the message I posted yesterday, just in case:
> 
> I believe this is what my interchange is set up as:
> 
> /usr/lib/interchange <--- core install directory
> /var/lib/interchange <--- location of catalogs, stores and support files
> 
> /home/e-smith/files/ibays/dataware/cgi-bin <--- location of my store file
> /home/e-smith/files/ibays/dataware/html/store <--- location of html files
> /home/e-smith/files/ibays/dataware/html/store/images <--- location of image
> files
> 
> I'm telling makecat:
> 
> Catalog name:                                     store
> Server name:                                       www.datawarecomp.com
> (this is a virtual domain/ibay on my SME server)
> DemoType:                                         foundation
> permtype:                                            M
> InterchangeUser:                                  interch
> CatUser:                                              interch
> InterchangeGroup:                               <blank>
> MailOrderTo:                                       orders@datawarecomp.com
> CatRoot:
> /var/lib/interchange/store
> CgiDir:
> /home/e-smith/files/ibays/dataware/cgi-bin
> CgiUrl:                                                 /cgi-bin/store
> Aliases:                                                /store
> DocumentRoot:
> /home/e-smith/files/ibays/dataware/html
> SampleHtml:
> /home/e-smith/files/ibays/dataware/html/store
> ImageDir:
> /home/e-smith/files/ibays/dataware/html/store/images
> ImageUrl:                                             /store/images
> INET or UNIX mode:                           UNIX
> Do you use CGIWRAP or SUEXEC:    Y
> 
> At this point it checks and/or creates the directories and copies the demo
> files.
> 
> Your company name:                            Dataware Computers
> Sample data type:                                  tools
> Set to 1 if you want MySQL...:              <blank>
> Account name:                                      interch
> Administrative password:                      pass
> Set to 1 to display demo helper:            1
> 
> At this point it finds some system commands to run.
> 
> It moves a link to /home/e-smith/files/ibays/dataware/cgi-bin/store
> 
> It tells me the standard warning about selecting SUEXEC/CGIWrap option and
> being root.  However it does correctly select 5013/5013 which is the interch
> user and group.
> 
> This is where the error "chown sampledata.xls: No such file or directory"
> 
> Thanks for any help!
> 
> Tom
> 
> 
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
> 

-- 
--------------------
Timothy Burt
Internet Specialist