Re: [WebDNA] RESTART WebDNA

This WebDNA talk-list message is from

2016


It keeps the original formatting.
numero = 113192
interpreted = N
texte = 780 WebdnaMonitor utilizes a file that contains the process ID of the running en= gine.. if the running engine is killed (i.e. Not usually the best way to sto= p any application), there will likely end up being a mismatch between the mo= nitor and the engine. Then what will happen is rogue instances of the engine= ..=20 A better idea to give people the power to control WebDNA and restarts of the= server would be to build a separate and optional WebDNA server control app p= erhaps, that utilizes root capabilities... but there is already an app for t= hat... called shell, or terminal. D. Brooke Mobile > On Nov 18, 2016, at 11:47 AM, Donovan Brooke wrote: >=20 > For WebDNA Server, that is a bad suggestion :-/ >=20 >=20 >=20 > D. Brooke Mobile >=20 >> On Nov 18, 2016, at 11:01 AM, christophe.billiottet@webdna.us wrote: >>=20 >> Try this: >>=20 >> WebDNA Server: >> [SHELL]killall WebCatalog[/SHELL] >> This causes the WebCatalog process to basically commit suicide. Then WebD= NAMonitor will start another process. >>=20 >> With FastCGI, this would probably work instead: >> [SHELL]killall WebDNA.fcgi[/SHELL] >> Apache should restart the process afterwards. >>=20 >> Otherwise, if you really needed to use the WebCatalogCtl script to do it,= you=E2=80=99d need to setup "sudo" to allow the www-data user to execute th= e script as root. >>=20 >> - chris >>=20 >>=20 >>=20 >>> On Nov 18, 2016, at 19:51, Donovan Brooke wrote: >>>=20 >>> Ken, the reason it doesn=E2=80=99t work is that in a properly set up Web= DNA, you should have to be root to restart WebDNA=E2=80=A6 and certainly you= should be root when restarting a server. >>>=20 >>> Maybe look for a simple server admin tool that would require root access= =E2=80=A6 then you could give that access to the client.=20 >>>=20 >>> For example, WHM (CPANEL) requires root=E2=80=A6 thus it has the power t= o restart the server. >>>=20 >>> Sincerely, >>> Donovan >>>=20 >>>=20 >>=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 >=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 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:

    
  1. Re: [WebDNA] RESTART WebDNA (christophe.billiottet@webdna.us 2016)
  2. Re: [WebDNA] RESTART WebDNA (Stuart Tremain 2016)
  3. Re: [WebDNA] RESTART WebDNA (Stuart Tremain 2016)
  4. Re: [WebDNA] RESTART WebDNA (Stuart Tremain 2016)
  5. Re: [WebDNA] RESTART WebDNA (christophe.billiottet@webdna.us 2016)
  6. Re: [WebDNA] RESTART WebDNA (Stuart Tremain 2016)
  7. Re: [WebDNA] RESTART WebDNA (Lawrence Banahan 2016)
  8. Re: [WebDNA] RESTART WebDNA (Stuart Tremain 2016)
  9. Re: [WebDNA] RESTART WebDNA (christophe.billiottet@webdna.us 2016)
  10. Re: [WebDNA] RESTART WebDNA (Stuart Tremain 2016)
  11. Re: [WebDNA] RESTART WebDNA (Stuart Tremain 2016)
  12. Re: [WebDNA] RESTART WebDNA (christophe.billiottet@webdna.us 2016)
  13. Re: [WebDNA] RESTART WebDNA (Kenneth Grome 2016)
  14. Re: [WebDNA] RESTART WebDNA (Donovan Brooke 2016)
  15. Re: [WebDNA] RESTART WebDNA (Donovan Brooke 2016)
  16. Re: [WebDNA] RESTART WebDNA (christophe.billiottet@webdna.us 2016)
  17. Re: [WebDNA] RESTART WebDNA (Donovan Brooke 2016)
  18. Re: [WebDNA] RESTART WebDNA (Terry Wilson 2016)
  19. Re: [WebDNA] RESTART WebDNA (Kenneth Grome 2016)
  20. Re: [WebDNA] RESTART WebDNA (christophe.billiottet@webdna.us 2016)
  21. Re: [WebDNA] RESTART WebDNA (Kenneth Grome 2016)
  22. Re: [WebDNA] RESTART WebDNA (Donovan Brooke 2016)
  23. Re: [WebDNA] RESTART WebDNA (Stuart Tremain 2016)
  24. Re: [WebDNA] RESTART WebDNA (christophe.billiottet@webdna.us 2016)
  25. Re: [WebDNA] RESTART WebDNA (Stuart Tremain 2016)
  26. Re: [WebDNA] RESTART WebDNA (Stuart Tremain 2016)
  27. Re: [WebDNA] RESTART WebDNA (Donovan Brooke 2016)
  28. [WebDNA] RESTART WebDNA (Stuart Tremain 2016)
  29. Re: [WebDNA] Restart WebDNA (Stuart Tremain 2013)
  30. [WebDNA] Restart WebDNA (Stuart Tremain 2013)
780 WebdnaMonitor utilizes a file that contains the process ID of the running en= gine.. if the running engine is killed (i.e. Not usually the best way to sto= p any application), there will likely end up being a mismatch between the mo= nitor and the engine. Then what will happen is rogue instances of the engine= ..=20 A better idea to give people the power to control WebDNA and restarts of the= server would be to build a separate and optional WebDNA server control app p= erhaps, that utilizes root capabilities... but there is already an app for t= hat... called shell, or terminal. D. Brooke Mobile > On Nov 18, 2016, at 11:47 AM, Donovan Brooke wrote: >=20 > For WebDNA Server, that is a bad suggestion :-/ >=20 >=20 >=20 > D. Brooke Mobile >=20 >> On Nov 18, 2016, at 11:01 AM, christophe.billiottet@webdna.us wrote: >>=20 >> Try this: >>=20 >> WebDNA Server: >> [shell]killall WebCatalog[/SHELL] >> This causes the WebCatalog process to basically commit suicide. Then WebD= NAMonitor will start another process. >>=20 >> With FastCGI, this would probably work instead: >> [shell]killall WebDNA.fcgi[/SHELL] >> Apache should restart the process afterwards. >>=20 >> Otherwise, if you really needed to use the WebCatalogCtl script to do it,= you=E2=80=99d need to setup "sudo" to allow the www-data user to execute th= e script as root. >>=20 >> - chris >>=20 >>=20 >>=20 >>> On Nov 18, 2016, at 19:51, Donovan Brooke wrote: >>>=20 >>> Ken, the reason it doesn=E2=80=99t work is that in a properly set up Web= DNA, you should have to be root to restart WebDNA=E2=80=A6 and certainly you= should be root when restarting a server. >>>=20 >>> Maybe look for a simple server admin tool that would require root access= =E2=80=A6 then you could give that access to the client.=20 >>>=20 >>> For example, WHM (CPANEL) requires root=E2=80=A6 thus it has the power t= o restart the server. >>>=20 >>> Sincerely, >>> Donovan >>>=20 >>>=20 >>=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 >=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 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 . 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:

2.0 Info (1997) [WebDNA] Gratz with 6.1b1 (2008) WebCat2: Items xx to xx shown, etc. (1997) Thanks ! (1997) WCS Newbie question (1997) [WebDNA] RE: Error. WebDNA (version 5.1g or later) is not running. (2012) Email within tmpl ? (1997) Was some other silly subject.... (2004) Silly Question (1997) Possible Problem with Safari and Carts (2003) [replaceChars] would be nice ... (1997) I'm Baaaaaaaaaack - Questions! (2000) This message couldn't reach the list! (multi-column (1998) pictures / referrer etc. (1998) emailer setup (1997) ALL CAPS converted to All Caps - first letter capitalized only (2002) can webcat determine an image's pixel dimensions? (2000) PCS Frames (1997) Safari browser and WebDNA set-cookies (2003) Creating a webcounter - for another site (2000)