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:
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:
Roundup function? (1997)
[OT] Bad Hard Drive? (2003)
WebCat2final1 crashes (1997)
More than one db with the same namn (was: WC2f3) (1997)
WebCat2b12 forgets serial # (1997)
E-mailer error codes (1997)
[WebDNA] [redirect] include a value to pass along? (2010)
WebCat & Liststar (1997)
Auto Submit (2000)
[format 40s]text[/format] doesn't work (1997)
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
Cart passing in URL... (2004)
b18 problem on NT 4.0 (1997)
I'm new be kind (1997)
Clean source code (2007)
Missing from Docs [folderName] (1997)
[WebDNA] Sorting -- Dealing with Blanks (2008)
FAX orders (1996)
[WebDNA] [WSC] WebDNA Development Summit (2014)
Strange search... (2001)