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:
Problems with ^ could be solved with [REPLACE CHARACTERS] (1997)
New Mac Emailer... (1997)
Running 2 two WebCatalog.acgi's (1996)
Hiding words (2000)
rotating thumbnails (1997)
suffix mapping for NT? (1997)
Hiding the URL(was Cart ID Duplication) (2001)
Document contains no data... (1999)
OT-Load balance (2004)
Protecting webdelivery (1997)
default value from Lookup (was Grant, please help me) (1997)
Feature request: [decrypt seed=xxxxx] from [lookup] (2005)
ErrorMessages.db (2004)
[SearchString] usage (1997)
RE: Can a database get stomped by simultaneous access? (1997)
QuitFeedback & DBNotOpened errors (1997)
cart info (1998)
[shell] command (2000)
Sami (1998)
WC2b12: Yes, Formulas.db is for real (1997)