Re: WebDNA 5.1/Apache 2

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 54573
interpreted = N
texte = Thanks for the advice. I enabled the CatchSignal setting, which produced: # cat SignalCacher.debug ---Tue Dec 2 13:51:52 2003 CET Processid 8032 receive SIGTERM: ---Tue Dec 2 13:52:27 2003 CET Processid 19434 receive SIGINT: ---Tue Dec 2 13:52:29 2003 CET Processid 19443 receive SIGINT: ---Tue Dec 2 13:52:30 2003 CET Processid 19446 receive SIGINT: ---Tue Dec 2 13:52:31 2003 CET Processid 19449 receive SIGINT: ---Tue Dec 2 13:52:32 2003 CET Processid 19452 receive SIGINT: ---Tue Dec 2 13:52:33 2003 CET Processid 19455 receive SIGINT: ---Tue Dec 2 13:52:34 2003 CET Processid 19458 receive SIGINT: ---Tue Dec 2 13:56:50 2003 CET Processid 19461 receive SIGINT: In /var/log/messages, one crash caused 852 of these messages: Dec 2 15:05:24 www WebDNAMonitor[20166]: WebDNA restarts with pid [2418] At which point WebDNA returns to normal. This is caused seemingly at random. I cannot find a pattern so I wrote a script to hammer the WebDNA server for a minute or two: -- test.pl -- #!/usr/bin/perl for($i = 0; $i < 1000; $i++) { print "\rhit $i"; system("curl -s -u admin:mypass http://www10.anu.net/cgi-bin/WebCatalogEngine/Admin/AdminPrefs.tpl >> /dev/null"); } print "\n\a"; -- eof -- I tailed the /var/log/messages and SignalCatcher.debug files while doing this. It crashed 9 times. The httpd error log reports this every time WebDNA crashes: [Tue Dec 02 15:05:10 2003] [notice] child pid 29996 exit signal Segmentation fault (11) Since I installed WebDNA, with no sites on the machine (just testing the admin), WebDNA has restarted 69150 times: # cat /var/log/messages | grep "WebDNA restarts" | wc -l 69150 Any more clues? -c On 1 Dec 2003, at 20:09, Le Pham wrote: > Hi: > > If you see the message "Sorry WebDNA server not running" that means > WebDNA > stops. After refresh the page you are able to see that page again > because > WebDNA just is restarted via its monitor program. Do the followings > might > give you more infomation where WebDNA stops > Goto /Your-apache-root/cgi-bin/WebCatalogEngine/ > Stop WebDNA > Open file "WebCatalog Prefs" and modify the value of entry > "CatchSignal" > from 0(zero) to 1 > Restart WebDNA > When WebDNA stop, it will write the file named "SignalCatcher.debug" > in > folder /..../cgi-bin/WebCatalogEngine > > I hope you can find some things helpful from that debug file. > > You can also go to file /var/log/messages to see how often WebDNA > stops. > Just search for the lines that contains "WebDNA" substring > > Le. > > > -----Original Message----- > From: Chris Wik > To: WebDNA Talk > Sent: 12/1/03 10:56 AM > Subject: WebDNA 5.1/Apache 2 > > I have installed WebDNA 5.1c on a Redhat 9 server running Apache 2. I'm > hoping to move our current MacOS X/Apache 1.3 WebDNA server to > Linux/Apache 2. > > After fixing a bunch of things the INSTALL file failed to even hint at > (eg giving the web server write permission to all the .db files in the > WebCatalogEngine folder) everything seems to be working. > > However, sporadically and seemingly completely unpredictably, I am > seeing "Sorry WebDNA server not running." messages. Reloading the page > a couple times fixes the problem. Can anyone shed any light on this? > Has anyone seen this happen before? Where should I look to find more > information? > > The apache error log shows this: > [Mon Dec 01 19:36:51 2003] [notice] child pid 24238 exit signal > Segmentation fault (11) > [Mon Dec 01 19:37:49 2003] [notice] child pid 24274 exit signal > Segmentation fault (11) > [Mon Dec 01 19:49:16 2003] [notice] child pid 17052 exit signal > Segmentation fault (11) > > But the WebDNA error logs are empty. (yes WebDNA has write permission) > > Ideas? > > TIA. > Chris -- Chris Wik Systems Admin ANU Internet Services http://www.anu.net/ ------------------------------------------------------------- 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: WebDNA 5.1/Apache 2 ( Chris Wik 2003)
  2. WebDNA 5.1/Apache 2 ( Chris Wik 2003)
Thanks for the advice. I enabled the CatchSignal setting, which produced: # cat SignalCacher.debug ---Tue Dec 2 13:51:52 2003 CET Processid 8032 receive SIGTERM: ---Tue Dec 2 13:52:27 2003 CET Processid 19434 receive SIGINT: ---Tue Dec 2 13:52:29 2003 CET Processid 19443 receive SIGINT: ---Tue Dec 2 13:52:30 2003 CET Processid 19446 receive SIGINT: ---Tue Dec 2 13:52:31 2003 CET Processid 19449 receive SIGINT: ---Tue Dec 2 13:52:32 2003 CET Processid 19452 receive SIGINT: ---Tue Dec 2 13:52:33 2003 CET Processid 19455 receive SIGINT: ---Tue Dec 2 13:52:34 2003 CET Processid 19458 receive SIGINT: ---Tue Dec 2 13:56:50 2003 CET Processid 19461 receive SIGINT: In /var/log/messages, one crash caused 852 of these messages: Dec 2 15:05:24 www WebDNAMonitor[20166]: WebDNA restarts with pid [2418] At which point WebDNA returns to normal. This is caused seemingly at random. I cannot find a pattern so I wrote a script to hammer the WebDNA server for a minute or two: -- test.pl -- #!/usr/bin/perl for($i = 0; $i < 1000; $i++) { print "\rhit $i"; system("curl -s -u admin:mypass http://www10.anu.net/cgi-bin/WebCatalogEngine/Admin/AdminPrefs.tpl >> /dev/null"); } print "\n\a"; -- eof -- I tailed the /var/log/messages and SignalCatcher.debug files while doing this. It crashed 9 times. The httpd error log reports this every time WebDNA crashes: [Tue Dec 02 15:05:10 2003] [notice] child pid 29996 exit signal Segmentation fault (11) Since I installed WebDNA, with no sites on the machine (just testing the admin), WebDNA has restarted 69150 times: # cat /var/log/messages | grep "WebDNA restarts" | wc -l 69150 Any more clues? -c On 1 Dec 2003, at 20:09, Le Pham wrote: > Hi: > > If you see the message "Sorry WebDNA server not running" that means > WebDNA > stops. After refresh the page you are able to see that page again > because > WebDNA just is restarted via its monitor program. Do the followings > might > give you more infomation where WebDNA stops > Goto /Your-apache-root/cgi-bin/WebCatalogEngine/ > Stop WebDNA > Open file "WebCatalog Prefs" and modify the value of entry > "CatchSignal" > from 0(zero) to 1 > Restart WebDNA > When WebDNA stop, it will write the file named "SignalCatcher.debug" > in > folder /..../cgi-bin/WebCatalogEngine > > I hope you can find some things helpful from that debug file. > > You can also go to file /var/log/messages to see how often WebDNA > stops. > Just search for the lines that contains "WebDNA" substring > > Le. > > > -----Original Message----- > From: Chris Wik > To: WebDNA Talk > Sent: 12/1/03 10:56 AM > Subject: WebDNA 5.1/Apache 2 > > I have installed WebDNA 5.1c on a Redhat 9 server running Apache 2. I'm > hoping to move our current MacOS X/Apache 1.3 WebDNA server to > Linux/Apache 2. > > After fixing a bunch of things the INSTALL file failed to even hint at > (eg giving the web server write permission to all the .db files in the > WebCatalogEngine folder) everything seems to be working. > > However, sporadically and seemingly completely unpredictably, I am > seeing "Sorry WebDNA server not running." messages. Reloading the page > a couple times fixes the problem. Can anyone shed any light on this? > Has anyone seen this happen before? Where should I look to find more > information? > > The apache error log shows this: > [Mon Dec 01 19:36:51 2003] [notice] child pid 24238 exit signal > Segmentation fault (11) > [Mon Dec 01 19:37:49 2003] [notice] child pid 24274 exit signal > Segmentation fault (11) > [Mon Dec 01 19:49:16 2003] [notice] child pid 17052 exit signal > Segmentation fault (11) > > But the WebDNA error logs are empty. (yes WebDNA has write permission) > > Ideas? > > TIA. > Chris -- Chris Wik Systems Admin ANU Internet Services http://www.anu.net/ ------------------------------------------------------------- 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/ Chris Wik

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:

Error:Too many nested [xxx] contexts (1997) Sendmail truncation in Eudora Clients (1998) completed orders database (1997) Calendar Program (2004) locking variables? (2000) Setting up WebCatalog with Retail Pro data (1996) WILDWEBCAT encrypt.tpl submission (1998) taxTotal, grandTotal (1997) removing programming logic white space (2003) webcat-sys (1998) Shell traceroute (2001) Checkboxes (1998) The max=0 issue is a bug ... CALL TO ACTION (2000) WebCat2: Found Items syntax, etc. (1997) WebCatalog can't find database (1997) Forms & Tables (1998) FlushDatabase Suggestion (1998) RE: PIXO support (1997) Question about replacing words (1998) Online reference (1997)