Re: WebCatalog - Mac vs Linux

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 26244
interpreted = N
texte = For me, only the file/dir permissions and some file paths caused problems. [orderfile] contexts worked the same on both platforms.I was able to transfer 2 sites with a minimal amount of work. Webcat work I mean. Setting up Linux/Apache was something else.I also have Webcat crashing on me regularly. At one point, it occured every other day at around 15h30! I could not find the cause.The first thing I did was to have a crontab entry that run every minute and executed the a modified WebCatalogCtl script. The script already has the process checking code. All I did was to take out the string that was being echoed every time the script was run which cause an e-mail to root.That did not work really well. For some reason, when Wecat was brought up after a crash, it would sometimes have difficulties communicating with Apache.So, what i did instead, and it worked well so far, was to have a script run daily, in the etc/cron.daily directory, that calls the original WebCatalogCtl script with a 'restart' arg. AND I also restart Apache (httpsd restart).The cron job runs at around 4AM and takes about 5 sec. to completeSince then, a month and a half now, we've had no crash whatsoever.Not really pretty but it works.Clem.At 08:58 -0600 1/19/00, Albert Everett wrote: >Hi there, > >Has anyone boiled down a list of things we need to know to make the >Linux/Apache version of WebCatalog to work? > >I've got a site working on both platforms. I'll be watching both over the >next little while to decide which to go with for the long term. I lean >toward the unix version because all my other web sites are on a unix box. > >I noticed that (for my site that passes size/color into the cart page via >forms from item pages): > >- the Linux version needs an [orderfile] context on the cart page >- the Mac version will not work with the [orderfile] context on the cart page >- in the Linux version, the cart item remove command doesn't work on the >invoice page, but the remove does show after a page reload >- in the Linux version, I need to pay close attention to file/dir >permissions (not a big surprise) >- in the Linux version, there doesn't seem to be the option of using Apache >includes instead of WebCat includes > >So it seems that there are some fundamental differences in the way the two >versions deal with cart files. Of course I would prefer that a set of files >would work on both versions without customization. Any other differences we >should be aware of? > >Also, is there a unix utility you know of that watches to make sure a >process is running and fires it up if it's not? I noticed that something >crashed WebCat on the Linux box and it took two restarts to get it back up. >MySQL does this sort of thing. > >Albert > >---------------------------------------- >Albert Everett - Web International, Inc. > 501/372-0393 > aeverett@webinternational.net > www.webinternational.net ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Associated Messages, from the most recent to the oldest:

    
  1. Re: WebCatalog - Mac vs Linux (Peter Ostry 2000)
  2. Re: WebCatalog - Mac vs Linux (Clement Ross 2000)
  3. WebCatalog - Mac vs Linux (Albert Everett 2000)
For me, only the file/dir permissions and some file paths caused problems. [orderfile] contexts worked the same on both platforms.I was able to transfer 2 sites with a minimal amount of work. Webcat work I mean. Setting up Linux/Apache was something else.I also have Webcat crashing on me regularly. At one point, it occured every other day at around 15h30! I could not find the cause.The first thing I did was to have a crontab entry that run every minute and executed the a modified WebCatalogCtl script. The script already has the process checking code. All I did was to take out the string that was being echoed every time the script was run which cause an e-mail to root.That did not work really well. For some reason, when Wecat was brought up after a crash, it would sometimes have difficulties communicating with Apache.So, what i did instead, and it worked well so far, was to have a script run daily, in the etc/cron.daily directory, that calls the original WebCatalogCtl script with a 'restart' arg. AND I also restart Apache (httpsd restart).The cron job runs at around 4AM and takes about 5 sec. to completeSince then, a month and a half now, we've had no crash whatsoever.Not really pretty but it works.Clem.At 08:58 -0600 1/19/00, Albert Everett wrote: >Hi there, > >Has anyone boiled down a list of things we need to know to make the >Linux/Apache version of WebCatalog to work? > >I've got a site working on both platforms. I'll be watching both over the >next little while to decide which to go with for the long term. I lean >toward the unix version because all my other web sites are on a unix box. > >I noticed that (for my site that passes size/color into the cart page via >forms from item pages): > >- the Linux version needs an [orderfile] context on the cart page >- the Mac version will not work with the [orderfile] context on the cart page >- in the Linux version, the cart item remove command doesn't work on the >invoice page, but the remove does show after a page reload >- in the Linux version, I need to pay close attention to file/dir >permissions (not a big surprise) >- in the Linux version, there doesn't seem to be the option of using Apache >includes instead of WebCat includes > >So it seems that there are some fundamental differences in the way the two >versions deal with cart files. Of course I would prefer that a set of files >would work on both versions without customization. Any other differences we >should be aware of? > >Also, is there a unix utility you know of that watches to make sure a >process is running and fires it up if it's not? I noticed that something >crashed WebCat on the Linux box and it took two restarts to get it back up. >MySQL does this sort of thing. > >Albert > >---------------------------------------- >Albert Everett - Web International, Inc. > 501/372-0393 > aeverett@webinternational.net > www.webinternational.net ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Clement Ross

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

WebCatb15 Mac CGI -- [purchase] (1997) RE: is sku a REQUIRED field on NT (1997) Off Topic: MacOS X Server on iMac (2000) free shipping (2000) Problem 2: Prefs file... (1997) The IBC root beer has arrived! (1997) carriage returns in data (1997) Signal Raised Error (Part II) (1997) SMITH MICRO: FW: Emailer stops on Win 2000 (2002) Help need to figure this out today!!! Advanced Question. (2004) WC2b15 File Corruption (1997) Problems getting parameters passed into email. (1997) PIXO support (1997) Server IP address? (1998) test (2006) SMSI FTP - calander system (2002) Can't use old cart file (was One more try) (1997) OT: Advice (2003) A little help on e-mail (HELP!!! :-) ) (1998) 5.0 Preview Promotion Extension (2003)