Re: Crashes and prior posting

This WebDNA talk-list message is from

2006


It keeps the original formatting.
numero = 68030
interpreted = N
texte = #!/bin/sh curl -m 5 http://localhost/cgi-bin/WebCatalogEngine/Admin/index.tpl - o /tmp/WebDNATest &> /dev/null read x < /tmp/WebDNATest if [ "$x" = "Sorry WebDNA server not running." ]; then echo "WebDNA Not Running... Restarting..." cd /www/cgi-bin/WebCatalogEngine/ killall WebCatalog killall -s 9 WebCatalog /www/bin/apachectl graceful ./WebCatalog & > /dev/null else if [ "$x" = "" ]; then echo "WebDNA Dead... Restarting..." cd /www/cgi-bin/WebCatalogEngine/ killall WebCatalog killall -s 9 WebCatalog /www/bin/apachectl restart ./WebCatalog & > /dev/null else echo "WebDNA Running" fi fi rm /tmp/WebDNATest -- Jesse Proudman, Blue Box Group, LLC On Oct 10, 2006, at 12:16 PM, Palle Bo Nielsen wrote: > Are you willing to share that script? > > Palle > > > > On 10/10/2006, at 21.11, Jesse Proudman wrote: > >> No solution, but I've written a shell script that watches for that >> and then tries a few methods to bring the server back up. It's >> kept our boxes running happily for 80+ days. We don't run the >> regular install version of WebDNA (I've moved files all around) so >> I'm not sure if it would work but it's something to think of. >> >> -- >> >> Jesse Proudman, Blue Box Group, LLC >> >> >> >> >> On Oct 10, 2006, at 12:08 PM, Palle Bo Nielsen wrote: >> >>> In our case, yes - why? You have a solution? >> >> >> ------------------------------------------------------------- >> 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 > digest@talk.smithmicro.com> >> Web Archive of this list is at: http://webdna.smithmicro.com/ >> > > > -- > Venlig hilsen > Palle B. Nielsen (PowerPalle) > http://www.macnyt.dk/ > iChat: powerpalle > > > > ------------------------------------------------------------- > 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 digest@talk.smithmicro.com> > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- 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 Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Crashes and prior posting ( Jesse Proudman 2006)
  2. Re: Crashes and prior posting ( Palle Bo Nielsen 2006)
  3. Re: Crashes and prior posting ( Jesse Proudman 2006)
  4. Re: Crashes and prior posting ( Palle Bo Nielsen 2006)
  5. Re: Crashes and prior posting ( Palle Bo Nielsen 2006)
  6. Re: Crashes and prior posting ( Jesse Proudman 2006)
  7. Crashes and prior posting ( Larry Hewitt 2006)
#!/bin/sh curl -m 5 http://localhost/cgi-bin/WebCatalogEngine/Admin/index.tpl - o /tmp/WebDNATest &> /dev/null read x < /tmp/WebDNATest if [ "$x" = "Sorry WebDNA server not running." ]; then echo "WebDNA Not Running... Restarting..." cd /www/cgi-bin/WebCatalogEngine/ killall WebCatalog killall -s 9 WebCatalog /www/bin/apachectl graceful ./WebCatalog & > /dev/null else if [ "$x" = "" ]; then echo "WebDNA Dead... Restarting..." cd /www/cgi-bin/WebCatalogEngine/ killall WebCatalog killall -s 9 WebCatalog /www/bin/apachectl restart ./WebCatalog & > /dev/null else echo "WebDNA Running" fi fi rm /tmp/WebDNATest -- Jesse Proudman, Blue Box Group, LLC On Oct 10, 2006, at 12:16 PM, Palle Bo Nielsen wrote: > Are you willing to share that script? > > Palle > > > > On 10/10/2006, at 21.11, Jesse Proudman wrote: > >> No solution, but I've written a shell script that watches for that >> and then tries a few methods to bring the server back up. It's >> kept our boxes running happily for 80+ days. We don't run the >> regular install version of WebDNA (I've moved files all around) so >> I'm not sure if it would work but it's something to think of. >> >> -- >> >> Jesse Proudman, Blue Box Group, LLC >> >> >> >> >> On Oct 10, 2006, at 12:08 PM, Palle Bo Nielsen wrote: >> >>> In our case, yes - why? You have a solution? >> >> >> ------------------------------------------------------------- >> 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 > digest@talk.smithmicro.com> >> Web Archive of this list is at: http://webdna.smithmicro.com/ >> > > > -- > Venlig hilsen > Palle B. Nielsen (PowerPalle) > http://www.macnyt.dk/ > iChat: powerpalle > > > > ------------------------------------------------------------- > 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 digest@talk.smithmicro.com> > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- 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 Web Archive of this list is at: http://webdna.smithmicro.com/ Jesse Proudman

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:

WebCat2 - [format thousands] (1997) [HIDEIF] inside [FOUNDITEM] (1997) WebCatalog for guestbook ? (1997) Quotes inside alt tags (2008) Frames and WebCat (1997) Error Lob.db records error message not name (1997) Sandbox CPU Usage Issue (2005) Emailer (WebCat2) (1997) Problems passing [SKU] with $Replace in 2.0 (1997) Checkboxes (1998) Need help!! on searching in two databases. (1998) Solve the Problem, get the code! (2001) Emailer setup (1997) WC2.0 Memory Requirements (1997) Slow Server (2005) shownext (2001) There's no belittling going on here ... (2000) RE: protect tag on NT (1997) Chat (2002) Nesting format tags (1997)