Re: [WebDNA] WebDNA restart script
This WebDNA talk-list message is from 2015
It keeps the original formatting.
numero = 111972
interpreted = N
texte = I also have the mail problem a couple of times a year.Sent from my iPad> On Jan 20, 2015, at 7:13 AM, "Psi Prime Inc, Matthew A Perosi "
wrote:>=20> Donovan,>=20> Most of my servers are stable all year long, but I have one or two bad app=les that hiccup and give me the "template not found" error. It always aggrav=ates me that parts of my CMS will run fine, but only one or two pages say th=ey are not found. Even though the WebDNA Monitor says the engine is running=, I stop it and restart it to solve this issue.>=20> Other than the "template not found" issue, there's another issue that goes= unnoticed until it's way too late. Emails get stuck in the EMailFolder wit=hout any other hint of a problem. When this happens, it happens to all webs=ites on the server all at once. A WebDNA stop/start does not solve this iss=ue, so I have to reboot the server. This has been a problem for me since 19=97 when I started using WebDNA. Every server I've ever had, from WebCat 3 o=n RedHat 3, WebCat 4 on RedHat 4, WebDNA 5 on RedHat 5, WebDNA 6 on RedHat 5= and CentOS 6.2/6.3/6.4 have all randomly decided to one day trap all the em=ails.>=20> Well, in early 2014 a mission critical server for my utility company clien=t stopped sending emails. It only took us about 18 hours to notice, but the=y were livid. So I developed a bunch of triggers, and set up a dedicated se=rver just to ping every one of my production servers. Now, twice a day, all= at once, I get a series of emails from all the servers sent to my smartphon=e. I know everything is working as long as I see every email. It turns out= that this is a really good DNS and network check too.>=20> Now, the other issue, and the one you are wondering about with the command= not working started happening in November 2014 with one of the servers. Th=is one server is a VPS from GoDaddy. I think it started right after they up=graded it from CentOS 6.3 to 6.4. This server is running the WebDNA 6.? Pre=-Gold build you gave me in the summer of 2013.>=20> I have a form page for uploading images. Once submitted the script runs t=his command:> [text]garbage=3D[Shell scriptid=3Djr4newslettersimages][/Shell][/text]>=20> Normally the images are processed through ImageMagick and we see them on h=e screen. But several times a day since November the images do not upload. = Here's the script that's getting called:>=20> "[PathToImageMagick]convert" -size [smThumb]x[smThumb] "../../../newslette=rs/images/original/[uploadedimg]" -resize [smThumb]x[smThumb] +profile "*" "=../../../newsletters/images/thumb/[uploadedimg]"[unurl][line_ending][/unurl]=[!]> [/!]"[PathToImageMagick]convert" -size [medThumb]x[medThumb] "../../../new=sletters/images/original/[uploadedimg]" -resize [medThumb]x[medThumb] +profi=le "*" "../../../newsletters/images/medThumb/[uploadedimg]"[unurl][line_endi=ng][/unurl][!]> [/!]"[PathToImageMagick]convert" -size [lgThumb]x[lgThumb] "../../../newsl=etters/images/original/[uploadedimg]" -resize [lgThumb]x[lgThumb] +profile "=*" "../../../newsletters/images/[uploadedimg]"[unurl][line_ending][/unurl]>=20> Of course that script has not changed in years, so that's not the problem.= Just like the "template not found" issue, a stop/start of the engine fixes= this.>=20> I assume it's some strange disconnect with the OS 6.3 to 6.4 upgrade, perh=aps a library. I also assume it will go away when I eventually upgrade to W=ebDNA 8.> In the mean time I just have a cron job running this script every hour dur=ing normal business hours:> /etc/rc.d/init.d/WebCatalogCtl stop> sleep 5> /etc/rc.d/init.d/WebCatalogCtl start>=20> I love my cats, but I always seem to find new ways to skin them. ;-)>=20> -Matt>=20>=20>=20>> On 1/20/2015 9:33 AM, Donovan Brooke wrote:>> Hi Matt,>> I have experienced the =E2=80=9Ctemplate not found=E2=80=9D error, curren=tly only on my 6.2 Server boxes. It is rare (few times a year), so when it h=appens I just do a manual restart. I=E2=80=99m not sure what you mean by "co=mmands stop working=E2=80=9D. I haven=E2=80=99t experienced that.>>=20>> I have other (significant traffic) servers (6.3 and 8.0 Server versions) t=hat have uptime=E2=80=99s over a year. That=E2=80=99s not to say that the =E2==80=9Ctemplate not found=E2=80=9D error couldn=E2=80=99t happen on those box=es someday. If you are experiencing these things regularly, it would be inte=resting to find out what is causing the issues.>>=20>> I don=E2=80=99t think switching to FastCGI is going to change your =E2=80==9Cstability issues=E2=80=9D other than you won=E2=80=99t need a cron job if= you have a server that is crashing. The engine is pretty much the same betw=een Server and FastCGI, only FastCGI restarts itself inherently, without the= need of a WebDNA Monitor app. If you have a server that is crashing, you ma=y not notice things as much, but the event would still be recorded.. and thi=ngs like sessions, or page loads could still be interrupted. The =E2=80=9Ct=emplate not found=E2=80=9D error seems an error other than crashing.>>=20>> If I had to guess, this error has something to do with code... Maybe not b=ad code necessarily, but maybe task-oriented code that WebDNA fails to execu=te through in an ideal/complete fashion. I think the answer would eventually= come in a keen eye on the WebDNA and Apache logs, and trying to isolate an e=xact time when WebDNA stops recognizing a file.>>=20>> Anyway, I=E2=80=99d be interested if you find anything, as I was aware of= the =E2=80=9Ctemplate not found" issue, but it was never a priority because= of the rarity of the event.>>=20>> Sincerely,>> Donovan>>=20>>=20>>=20>>=20>>> On Jan 20, 2015, at 5:23 AM, Matthew Perosi wrote:>>>=20>>> This is exactly why I have to restart mine every once in a while. WebDNA= says it's running, but some commands stop working.>>>=20>>> Sometimes pages give me a "template not found" type error while others a=re fine.>>>=20>>> On one of my servers running CentOS 6.3 and webDNA 6.2 I have a cron job= restarting WebDNA every 2 hours during the work day because calls to ImageM=agic stop working at random, but everything else works.>>>=20>>> A cron restart prevents it all. I'm looking forward to the inevitable sw=itch to fastcgi to be free of these stability issues.>>>=20>>> Matt>>>=20>>> Sent from my European iPhone>>>=20>>>> On Jan 20, 2015, at 2:35 AM, Stuart Tremain wrote:=>>>>=20>>>> Chris does the app just ping WebDNA or does it check if it is working i=e checks that it is processing commands etc ?>>>>=20>>>>=20>>>>=20>>>> Kind regards>>>>=20>>>> Stuart Tremain>>>> IDFK Web Developments>>>> AUSTRALIA>>>> webdna@idfk.com.au>>>>=20>>>>=20>>>>=20>>>>=20>>>>=20>>>>> On 20 Jan 2015, at 6:17 pm, christophe.billiottet@webdna.us wrote:>>>>>=20>>>>> Check that WebDNAMonitor is up and running: this small application mon=itors WebDNA server and restart it if necessary.>>>>>=20>>>>> - chris>>>>>=20>>>>>=20>>>>>=20>>>>>=20>>>>>=20>>>>>> On 20 Jan 2015, at 09:56, Stuart Tremain wrote:>>>>>>=20>>>>>> Every now and then WebDNA stops working =E2=80=A6..>>>>>>=20>>>>>>=20>>>>>>=20>>>>>> Kind regards>>>>>>=20>>>>>> Stuart Tremain>>>>>> IDFK Web Developments>>>>>> AUSTRALIA>>>>>> webdna@idfk.com.au>>>>>>=20>>>>>>=20>>>>>>=20>>>>>>=20>>>>>>=20>>>>>>> On 20 Jan 2015, at 5:37 pm, Dan Strong wrote:>>>>>>>=20>>>>>>> Why do you ask?>>>>>>>=20>>>>>>> ------------------------------------>>>>>>> Sent from phone>>>>>>>=20>>>>>>> -Dan Strong>>>>>>> http://DanStrong.com>>>>>>>=20>>>>>>> On Jan 19, 2015 7:47 PM, "Stuart Tremain" wrote=:>>>>>>> I saw a couple of people are restarting WebDNA on a regular basis us=ing CRON on Linux.>>>>>>>=20>>>>>>> May I ask as to why you feel this is necessary ?>>>>>>>=20>>>>>>>=20>>>>>>>=20>>>>>>>=20>>>>>>> Kind regards>>>>>>>=20>>>>>>> Stuart Tremain>>>>>>> IDFK Web Developments>>>>>>> AUSTRALIA>>>>>>> webdna@idfk.com.au>>>>>>>=20>>>>>>>=20>>>>>>>=20>>>>>>>=20>>>>>>>=20>>>>>>> --------------------------------------------------------->>>>>>> This message is sent to you because you are subscribed to>>>>>>> the mailing list .>>>>>>> To unsubscribe, E-mail to: >>>>>>> archives: http://mail.webdna.us/list/talk@webdna.us>>>>>>> Bug Reporting: support@webdna.us>>>>>>> --------------------------------------------------------- This messa=ge is sent to you because you are subscribed to the mailing list . To unsubs=cribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Re=porting: support@webdna.us>>>>>> --------------------------------------------------------- This messag=e is sent to you because you are subscribed to the mailing list . To unsubsc=ribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Rep=orting: support@webdna.us>>>>> --------------------------------------------------------->>>>> This message is sent to you because you are subscribed to>>>>> the mailing list .>>>>> To unsubscribe, E-mail to: >>>>> archives: http://mail.webdna.us/list/talk@webdna.us>>>>> Bug Reporting: support@webdna.us>>>> --------------------------------------------------------->>>> This message is sent to you because you are subscribed to>>>> the mailing list .>>>> To unsubscribe, E-mail to: >>>> archives: http://mail.webdna.us/list/talk@webdna.us>>>> Bug Reporting: support@webdna.us>>> --------------------------------------------------------->>> This message is sent to you because you are subscribed to>>> the mailing list .>>> To unsubscribe, E-mail to: >>> archives: http://mail.webdna.us/list/talk@webdna.us>>> Bug Reporting: support@webdna.us>> --------------------------------------------------------->> This message is sent to you because you are subscribed to>> the mailing list .>> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us>> Bug Reporting: support@webdna.us>>=20>>=20>>=20>> --=20>> Matthew A Perosi>> Corporate Consultant>> Mobile Marketing Expert>> Senior Web Developer>> SEO Analyst & Educator>> matt@psiprime.com>>=20>> Psi Prime, Inc.>> 323 Union Blvd.>> Totowa, NJ 07512>>=20>> Direct: 888.872.0274>> Fax: 888.488.5924>>=20>> http://www.perosi.com> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us
Associated Messages, from the most recent to the oldest:
I also have the mail problem a couple of times a year.Sent from my iPad> On Jan 20, 2015, at 7:13 AM, "Psi Prime Inc, Matthew A Perosi " wrote:>=20> Donovan,>=20> Most of my servers are stable all year long, but I have one or two bad app=les that hiccup and give me the "template not found" error. It always aggrav=ates me that parts of my CMS will run fine, but only one or two pages say th=ey are not found. Even though the WebDNA Monitor says the engine is running=, I stop it and restart it to solve this issue.>=20> Other than the "template not found" issue, there's another issue that goes= unnoticed until it's way too late. Emails get stuck in the EMailFolder wit=hout any other hint of a problem. When this happens, it happens to all webs=ites on the server all at once. A WebDNA stop/start does not solve this iss=ue, so I have to reboot the server. This has been a problem for me since 19=97 when I started using WebDNA. Every server I've ever had, from WebCat 3 o=n RedHat 3, WebCat 4 on RedHat 4, WebDNA 5 on RedHat 5, WebDNA 6 on RedHat 5= and CentOS 6.2/6.3/6.4 have all randomly decided to one day trap all the em=ails.>=20> Well, in early 2014 a mission critical server for my utility company clien=t stopped sending emails. It only took us about 18 hours to notice, but the=y were livid. So I developed a bunch of triggers, and set up a dedicated se=rver just to ping every one of my production servers. Now, twice a day, all= at once, I get a series of emails from all the servers sent to my smartphon=e. I know everything is working as long as I see every email. It turns out= that this is a really good DNS and network check too.>=20> Now, the other issue, and the one you are wondering about with the command= not working started happening in November 2014 with one of the servers. Th=is one server is a VPS from GoDaddy. I think it started right after they up=graded it from CentOS 6.3 to 6.4. This server is running the WebDNA 6.? Pre=-Gold build you gave me in the summer of 2013.>=20> I have a form page for uploading images. Once submitted the script runs t=his command:> [text]garbage=3D[Shell scriptid=3Djr4newslettersimages][/Shell][/text]>=20> Normally the images are processed through ImageMagick and we see them on h=e screen. But several times a day since November the images do not upload. = Here's the script that's getting called:>=20> "[PathToImageMagick]convert" -size [smThumb]x[smThumb] "../../../newslette=rs/images/original/[uploadedimg]" -resize [smThumb]x[smThumb] +profile "*" "=../../../newsletters/images/thumb/[uploadedimg]"[unurl][line_ending][/unurl]=[!]> [/!]"[PathToImageMagick]convert" -size [medThumb]x[medThumb] "../../../new=sletters/images/original/[uploadedimg]" -resize [medThumb]x[medThumb] +profi=le "*" "../../../newsletters/images/medThumb/[uploadedimg]"[unurl][line_endi=ng][/unurl][!]> [/!]"[PathToImageMagick]convert" -size [lgThumb]x[lgThumb] "../../../newsl=etters/images/original/[uploadedimg]" -resize [lgThumb]x[lgThumb] +profile "=*" "../../../newsletters/images/[uploadedimg]"[unurl][line_ending][/unurl]>=20> Of course that script has not changed in years, so that's not the problem.= Just like the "template not found" issue, a stop/start of the engine fixes= this.>=20> I assume it's some strange disconnect with the OS 6.3 to 6.4 upgrade, perh=aps a library. I also assume it will go away when I eventually upgrade to W=ebDNA 8.> In the mean time I just have a cron job running this script every hour dur=ing normal business hours:> /etc/rc.d/init.d/WebCatalogCtl stop> sleep 5> /etc/rc.d/init.d/WebCatalogCtl start>=20> I love my cats, but I always seem to find new ways to skin them. ;-)>=20> -Matt>=20>=20>=20>> On 1/20/2015 9:33 AM, Donovan Brooke wrote:>> Hi Matt,>> I have experienced the =E2=80=9Ctemplate not found=E2=80=9D error, curren=tly only on my 6.2 Server boxes. It is rare (few times a year), so when it h=appens I just do a manual restart. I=E2=80=99m not sure what you mean by "co=mmands stop working=E2=80=9D. I haven=E2=80=99t experienced that.>>=20>> I have other (significant traffic) servers (6.3 and 8.0 Server versions) t=hat have uptime=E2=80=99s over a year. That=E2=80=99s not to say that the =E2==80=9Ctemplate not found=E2=80=9D error couldn=E2=80=99t happen on those box=es someday. If you are experiencing these things regularly, it would be inte=resting to find out what is causing the issues.>>=20>> I don=E2=80=99t think switching to FastCGI is going to change your =E2=80==9Cstability issues=E2=80=9D other than you won=E2=80=99t need a cron job if= you have a server that is crashing. The engine is pretty much the same betw=een Server and FastCGI, only FastCGI restarts itself inherently, without the= need of a WebDNA Monitor app. If you have a server that is crashing, you ma=y not notice things as much, but the event would still be recorded.. and thi=ngs like sessions, or page loads could still be interrupted. The =E2=80=9Ct=emplate not found=E2=80=9D error seems an error other than crashing.>>=20>> If I had to guess, this error has something to do with code... Maybe not b=ad code necessarily, but maybe task-oriented code that WebDNA fails to execu=te through in an ideal/complete fashion. I think the answer would eventually= come in a keen eye on the WebDNA and Apache logs, and trying to isolate an e=xact time when WebDNA stops recognizing a file.>>=20>> Anyway, I=E2=80=99d be interested if you find anything, as I was aware of= the =E2=80=9Ctemplate not found" issue, but it was never a priority because= of the rarity of the event.>>=20>> Sincerely,>> Donovan>>=20>>=20>>=20>>=20>>> On Jan 20, 2015, at 5:23 AM, Matthew Perosi wrote:>>>=20>>> This is exactly why I have to restart mine every once in a while. WebDNA= says it's running, but some commands stop working.>>>=20>>> Sometimes pages give me a "template not found" type error while others a=re fine.>>>=20>>> On one of my servers running CentOS 6.3 and webDNA 6.2 I have a cron job= restarting WebDNA every 2 hours during the work day because calls to ImageM=agic stop working at random, but everything else works.>>>=20>>> A cron restart prevents it all. I'm looking forward to the inevitable sw=itch to fastcgi to be free of these stability issues.>>>=20>>> Matt>>>=20>>> Sent from my European iPhone>>>=20>>>> On Jan 20, 2015, at 2:35 AM, Stuart Tremain wrote:=>>>>=20>>>> Chris does the app just ping WebDNA or does it check if it is working i=e checks that it is processing commands etc ?>>>>=20>>>>=20>>>>=20>>>> Kind regards>>>>=20>>>> Stuart Tremain>>>> IDFK Web Developments>>>> AUSTRALIA>>>> webdna@idfk.com.au>>>>=20>>>>=20>>>>=20>>>>=20>>>>=20>>>>> On 20 Jan 2015, at 6:17 pm, christophe.billiottet@webdna.us wrote:>>>>>=20>>>>> Check that WebDNAMonitor is up and running: this small application mon=itors WebDNA server and restart it if necessary.>>>>>=20>>>>> - chris>>>>>=20>>>>>=20>>>>>=20>>>>>=20>>>>>=20>>>>>> On 20 Jan 2015, at 09:56, Stuart Tremain wrote:>>>>>>=20>>>>>> Every now and then WebDNA stops working =E2=80=A6..>>>>>>=20>>>>>>=20>>>>>>=20>>>>>> Kind regards>>>>>>=20>>>>>> Stuart Tremain>>>>>> IDFK Web Developments>>>>>> AUSTRALIA>>>>>> webdna@idfk.com.au>>>>>>=20>>>>>>=20>>>>>>=20>>>>>>=20>>>>>>=20>>>>>>> On 20 Jan 2015, at 5:37 pm, Dan Strong wrote:>>>>>>>=20>>>>>>> Why do you ask?>>>>>>>=20>>>>>>> ------------------------------------>>>>>>> Sent from phone>>>>>>>=20>>>>>>> -Dan Strong>>>>>>> http://DanStrong.com>>>>>>>=20>>>>>>> On Jan 19, 2015 7:47 PM, "Stuart Tremain" wrote=:>>>>>>> I saw a couple of people are restarting WebDNA on a regular basis us=ing CRON on Linux.>>>>>>>=20>>>>>>> May I ask as to why you feel this is necessary ?>>>>>>>=20>>>>>>>=20>>>>>>>=20>>>>>>>=20>>>>>>> Kind regards>>>>>>>=20>>>>>>> Stuart Tremain>>>>>>> IDFK Web Developments>>>>>>> AUSTRALIA>>>>>>> webdna@idfk.com.au>>>>>>>=20>>>>>>>=20>>>>>>>=20>>>>>>>=20>>>>>>>=20>>>>>>> --------------------------------------------------------->>>>>>> This message is sent to you because you are subscribed to>>>>>>> the mailing list .>>>>>>> To unsubscribe, E-mail to: >>>>>>> archives: http://mail.webdna.us/list/talk@webdna.us>>>>>>> Bug Reporting: support@webdna.us>>>>>>> --------------------------------------------------------- This messa=ge is sent to you because you are subscribed to the mailing list . To unsubs=cribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Re=porting: support@webdna.us>>>>>> --------------------------------------------------------- This messag=e is sent to you because you are subscribed to the mailing list . To unsubsc=ribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Rep=orting: support@webdna.us>>>>> --------------------------------------------------------->>>>> This message is sent to you because you are subscribed to>>>>> the mailing list .>>>>> To unsubscribe, E-mail to: >>>>> archives: http://mail.webdna.us/list/talk@webdna.us>>>>> Bug Reporting: support@webdna.us>>>> --------------------------------------------------------->>>> This message is sent to you because you are subscribed to>>>> the mailing list .>>>> To unsubscribe, E-mail to: >>>> archives: http://mail.webdna.us/list/talk@webdna.us>>>> Bug Reporting: support@webdna.us>>> --------------------------------------------------------->>> This message is sent to you because you are subscribed to>>> the mailing list .>>> To unsubscribe, E-mail to: >>> archives: http://mail.webdna.us/list/talk@webdna.us>>> Bug Reporting: support@webdna.us>> --------------------------------------------------------->> This message is sent to you because you are subscribed to>> the mailing list .>> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us>> Bug Reporting: support@webdna.us>>=20>>=20>>=20>> --=20>> Matthew A Perosi>> Corporate Consultant>> Mobile Marketing Expert>> Senior Web Developer>> SEO Analyst & Educator>> matt@psiprime.com>>=20>> Psi Prime, Inc.>> 323 Union Blvd.>> Totowa, NJ 07512>>=20>> Direct: 888.872.0274>> Fax: 888.488.5924>>=20>> http://www.perosi.com> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us
Terry Wilson
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:
WebDNA on Linux (2005)
Re:listfiles-looking for slick solution (1997)
[OT] Mozilla | Was: R.I.P. Netscape (2003)
Ampersand (1997)
WebCatalog can't find database (1997)
[WebDNA] Problem with bcc email (2017)
Multiple security dbs (1997)
Re:Virtual hosting and webcatNT (1997)
RAM variables (1997)
Format question WC Mac f3 (1997)
Re:Searching for ALL / empty form field (1997)
Nested search (1997)
HELP WITH DATES (1997)
Re[3]: Charting records by state (2000)
unique ascending numbers (2003)
[Sum] function? (1997)
No Wanna Duppys (1998)
UnacceptedCard in 4.0 (2000)
Re:no [search] with NT (1997)
synching databases on multiple servers (1997)