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:

default value from Lookup (was Grant, please help me) (1997) emailer settings and control questions (1997) [format] problem (2001) Trouble creating a temp database (2000) Talk List Suggestions (1997) Waitfor file (2000) PSC recommends what date format yr 2000??? (1997) search across ip/domain addresses? (1998) international time (1997) Shared conversion under WebTen (1998) RE:It just Does't add up!!! (1997) 2nd try:Webcat interfering with Webstar? (1998) Smith Micro supports our users in so many ways... We are here to (1999) Emailer choke (1997) searchable list archive (1997) SIMS & WebCat .... Alias Folder (2002) How can I record purchases to a database? (1998) test (2004) Crypted pages on Mac OS X Server (2000) WebDNA-Talk Digests (1997)