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:

Not reading blanks (1998) show all problem (1997) NT [delete] (1998) Separate SSL Server (1997) Security (1998) webcat- multiple selection in input field (1997) RE: Database Structure? (1998) WebCat2 beta 11 - new prefs ... (1997) notification solutions (1997) possible, WebCat2.0 and checkboxes-restated (1997) [WebDNA] Correct returnraw syntax? (2011) WCS Newbie question (1997) Problem 2: Prefs file... (1997) More Applescript (1997) Re:WebCatalog vidoes (was: Prices Dropped) (1998) Cart Question: The Epic Saga (1998) [NT] ie 4.0 required (1997) WebCat2 beta 11 - new prefs ... (1997) [/application] error? (1997) Wireless (2002)