Re: [WebDNA] Multiple Instances of WebDNA causing multiple copies

This WebDNA talk-list message is from

2012


It keeps the original formatting.
numero = 109059
interpreted = N
texte = Tom Duke wrote: > Donovan, > > Hi - our host has been thinking along those lines. We do a weekly > restart of WebDNA on a Saturday night - he's changing the way that we do > that - i.e. a stop and start rather than a reboot. > > I'm not sure what command is being used - what would the correct syntax be? > > Thanks > - Tom Tom, In your case, I'd do something like this: ------------------------------ su - # or sudo su # Stop WebDNA using WebCatalogCtl /var/www/cgi-bin/WebCatalogEngine/WebCatalogCtl stop # WebDNA copies will likely still be running in your case, so: # Make sure all WebDNA instances are killed (doing ps aux again), if not, repeat above. # Remove the .pid file rm -f /var/www/cgi-bin/WebCatalogEngine/*.pid # Ensure appropriate permissions chgrp -R apache /var/www/cgi-bin/WebCatalogEngine/* chmod -R g+w /var/www/cgi-bin/WebCatalogEngine/* # The above, is a blanket method to ensure WebDNA will work. # a knowledgable admin may want to create more selectively secure perms. # Start WebDNA using WebCatalogCtl /var/www/cgi-bin/WebCatalogEngine/WebCatalogCtl start # Always [start,stop,restart] WebDNA using WebCatalogCtl only on 6.2. # WebDNA will create another .pid file.. if that is ever missing, you know that something is wrong in your setup. # Finally check your ps aux again to make sure only one copy is running. -------------------------- Lastly to note, and this is not a huge problem, whatever is starting a new web cat process every week, is adding an extra '/' in the path: /var/www/cgi-bin//WebCatalogEngine/WebDNAMonitor .................^ My guess is that the server is being restarted weekly, and that the above path is in the startup script. Donovan -- Donovan Brooke WebDNA Software Corporation http://www.webdna.us **[Square Bracket Utopia]** Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Multiple Instances of WebDNA causing multiple copies of emails (WebDNA Solutions 2012)
  2. Re: [WebDNA] Multiple Instances of WebDNA causing multiple copies of emails (Tom Duke 2012)
  3. Re: [WebDNA] Multiple Instances of WebDNA causing multiple copies of emails (WebDNA Solutions 2012)
  4. Re: [WebDNA] Multiple Instances of WebDNA causing multiple copies (Donovan Brooke 2012)
  5. Re: [WebDNA] Multiple Instances of WebDNA causing multiple copies of emails (Tom Duke 2012)
  6. Re: [WebDNA] Multiple Instances of WebDNA causing multiple copies (Donovan Brooke 2012)
  7. [WebDNA] Multiple Instances of WebDNA causing multiple copies of emails (Tom Duke 2012)
Tom Duke wrote: > Donovan, > > Hi - our host has been thinking along those lines. We do a weekly > restart of WebDNA on a Saturday night - he's changing the way that we do > that - i.e. a stop and start rather than a reboot. > > I'm not sure what command is being used - what would the correct syntax be? > > Thanks > - Tom Tom, In your case, I'd do something like this: ------------------------------ su - # or sudo su # Stop WebDNA using WebCatalogCtl /var/www/cgi-bin/WebCatalogEngine/WebCatalogCtl stop # WebDNA copies will likely still be running in your case, so: # Make sure all WebDNA instances are killed (doing ps aux again), if not, repeat above. # Remove the .pid file rm -f /var/www/cgi-bin/WebCatalogEngine/*.pid # Ensure appropriate permissions chgrp -R apache /var/www/cgi-bin/WebCatalogEngine/* chmod -R g+w /var/www/cgi-bin/WebCatalogEngine/* # The above, is a blanket method to ensure WebDNA will work. # a knowledgable admin may want to create more selectively secure perms. # Start WebDNA using WebCatalogCtl /var/www/cgi-bin/WebCatalogEngine/WebCatalogCtl start # Always [start,stop,restart] WebDNA using WebCatalogCtl only on 6.2. # WebDNA will create another .pid file.. if that is ever missing, you know that something is wrong in your setup. # Finally check your ps aux again to make sure only one copy is running. -------------------------- Lastly to note, and this is not a huge problem, whatever is starting a new web cat process every week, is adding an extra '/' in the path: /var/www/cgi-bin//WebCatalogEngine/WebDNAMonitor .................^ My guess is that the server is being restarted weekly, and that the above path is in the startup script. Donovan -- Donovan Brooke WebDNA Software Corporation http://www.webdna.us **[Square Bracket Utopia]** Donovan Brooke

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:

[math] storage of variables (1997) WC2f3 (1997) Help name our technology! (1997) Answer: WebDelivery downloads alias, not original ? (1997) Running _every_ page through WebCat ? (1997) GroupField Returns (2002) forms and variables (1998) can webcat determine an image's pixel dimensions? (2000) Tab Charactor (1997) emailer on Windows Beta 18 (1997) Suffix Mapping (1997) WebCatalog vs. Cold Fusion (1998) wish list (2002) Problem with updating 2.1b7 -> 2.1.1 (1998) DB permission issues (2004) [protect] (2000) Displaying backgrounds (1999) [index] (1997) Newbie Tax Question (1997) Delete problem (2005)