Re: [WebDNA] RESTART WebDNA
This WebDNA talk-list message is from 2016
It keeps the original formatting.
numero = 113185
interpreted = N
texte = 773> The problem of the "stop" from a WebDNA page is of course that> you would not be able to start it afterwards, WebDNA being> offline.Correct. That's why I could use a 'restart' command for WebDNAthat will actually work from inside a [shell] context.If you know the proper command that should work please tell me andI'll try it again. It's been a couple year since I worked onthis, and I cannot find any reference to the restart command inthe online docs.> From the command line, start, stop as well as restart work> fine, as far as I know.But do the same commands work from within the [shell] context?The reason I ask because shell scripts sometimes do not work thesame inside a [shell] context as when typed into a Terminal window.Here's my situation:I want to give my client, the owner of the server, a WebDNA-basedadmin tool that will let him remotely restart WebDNA (or betteryet, reboot the server) if he discovers a problem while I am notavailable. This is a capability that any programmer/host in mysituation might want to give his clients.I worked on this a couple years ago but ran into a little problem:When I tried restarting WebDNA by entering the command in aTerminal window it worked, but when I used the same command in ashell script it failed.I never took it any further back then. Maybe the problem was thatthe same command in WebDNA's [shell] context failed because WebDNAis not 'root'?Regards,Kenneth GromeWebDNA Solutionshttp://www.webdnasolutions.comWeb Database Systems and Linux Server Administration---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list
.To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us.
Associated Messages, from the most recent to the oldest:
773> The problem of the "stop" from a WebDNA page is of course that> you would not be able to start it afterwards, WebDNA being> offline.Correct. That's why I could use a 'restart' command for WebDNAthat will actually work from inside a [shell] context.If you know the proper command that should work please tell me andI'll try it again. It's been a couple year since I worked onthis, and I cannot find any reference to the restart command inthe online docs.> From the command line, start, stop as well as restart work> fine, as far as I know.But do the same commands work from within the [shell] context?The reason I ask because shell scripts sometimes do not work thesame inside a [shell] context as when typed into a Terminal window.Here's my situation:I want to give my client, the owner of the server, a WebDNA-basedadmin tool that will let him remotely restart WebDNA (or betteryet, reboot the server) if he discovers a problem while I am notavailable. This is a capability that any programmer/host in mysituation might want to give his clients.I worked on this a couple years ago but ran into a little problem:When I tried restarting WebDNA by entering the command in aTerminal window it worked, but when I used the same command in ashell script it failed.I never took it any further back then. Maybe the problem was thatthe same command in WebDNA's [shell] context failed because WebDNAis not 'root'?Regards,Kenneth GromeWebDNA Solutionshttp://www.webdnasolutions.comWeb Database Systems and Linux Server Administration---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us.
Kenneth Grome
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:
WebCat2b13MacPlugIn - More limits on [include] (1997)
How to Display text in empty fields (1997)
Open Databases on Restart (1999)
Thanks ! (1997)
Need relative path explanation (1997)
Summing fields (1997)
problems with 2 tags (1997)
WC2b15 File Corruption (1997)
(2000)
Re:trouble (1997)
[WebDNA] fastcgi 7+ & [cart]? (2010)
[isfile] ? (1997)
List Name Change (2002)
[WebDNA] max-age (2016)
Default contains WEBDNA (1998)
Shipcost formula (2004)
WebStar 3 crackable !!!! (1998)
Roundup function? (1997)
WebCat2: Formulas.db question (1997)
Replace and Date (2002)