Re: webdna osx server startupitem

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 50395
interpreted = N
texte = Le,FYI, your WebDNA 5 WebSTAR installer puts this in the StartupParameters.plist file. This fails to launch WebDNA at startup:{ Description = Apache-WebCatalog server; Messages = {start = Starting WebCatalog; stop = Stopping WebCatalog; }; OrderPreference = None; Provides = (WebCatalog); Requires = (Web Server); }After many hours, I changed the last line: Requires = (Web Server);to: Requires = (4D WebSTAR); and that fixed the problem. WebDNA now starts correctly.Also, I found that in order to get WebDNA to be able to write to dbs and use writefile, I needed to run WebSTAR installer's set permissions option. Thus, it appears your installer does not install everything with the correct permissions by default. WebDNA was the last thing I installed, and I had installed as root, and it did not work until running set permissions.This is all on OS X Server 10.2.6. I hope this saves some others some time and that you fix your installer.Karl On Thursday, May 15, 2003, at 12:47 PM, Karl Schroll wrote:> Le, > > I was able to fix the permissions problem using WebStar's set > permissions option. > > However, I still can't get webdna to startup automatically. What is > the solution? > > On Thursday, May 15, 2003, at 12:10 PM, Karl Schroll wrote: > >> >> Le, >> >> I have spent a lot of time trying to get webdna 5 to startup with a >> new webstar install, on a new xserve running X Server 10.2.6,, and >> stumbled on the following from you last week. I tried this, and >> webdna still does not start on startup. But I can manually start it >> using your script in the webcatalogengine folder. But when I >> manually start it up, it seems the permissions might be wrong because >> although it runs, I can't modify any databases or use writefiles. >> And I don't know how to fix that. I am absolutely certain that I >> installed webdna as root. How do I fix permissions if that is wrong? >> Is there ANY documentation on this from SM? >> >> Also, I came across another post from Nitai saying that your startup >> item actually belongs in library/startupitems, not the >> system/library/startupitems, which is where your installer puts it. >> I tried that, but that doesn't work either. >> >> Please let me know how to get webdna to startup automatically and to >> fix permissions for it. I am in a bit of a time crunch, so your >> prompt reply is appreciated. >> >> Karl >> >> >> 2003/05/07 13:32:24 >> Le Pham >> Re: URGENT: WebDNA Server Not Running >> >> >> > [cyclone:WebServer/cgi-bin/WebCatalogEngine] pbn% cd >> > /Applications/4DWebSTAR/WebServer/cgi-bin/WebCatalogEngine >> > [cyclone:WebServer/cgi-bin/WebCatalogEngine] pbn% >> /Applications/4DWebSTAR/WebServer/cgi-bin/WebCatalogEngine/ >> WebDNAMonitor -d >> > [cyclone:WebServer/cgi-bin/WebCatalogEngine] pbn% WebCatalog: >> setgroups: Operation not permitted >> >> You got the error message because you are not root when you start >> WebCatalog >> Try above commands again after you switch to be root >> >> >> > After the above commands in the Terminal, the WebDNA Engine IS >> running. >> > But after a restart of the computer the WebDNA Engine is NOT >> running... >> >> Open file >> /system/library/startupitems/WebCatalog-webstar/WebCatalog-webstar. >> and modify it to look like below: >> >> ---- snip ---- >> >> #!/bin/sh >> >> ## >> # Start Web Server >> ## >> >> cd /Applications/4DWebSTAR/WebServer/cgi-bin/WebCatalogEngine >> sleep 1 >> /Applications/4DWebSTAR/WebServer/cgi-bin/WebCatalogEngine/ >> WebDNAMonitor -d >> >> ---- snip ---- >> >> restart the computer to see if WebCatalog start >> >> Hope this help, >> Le >> >> >> >> >> >> >> >> > ------------------------------------------------------------- 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 osx server startupitem (Karl Schroll 2003)
Le,FYI, your WebDNA 5 WebSTAR installer puts this in the StartupParameters.plist file. This fails to launch WebDNA at startup:{ Description = Apache-WebCatalog server; Messages = {start = Starting WebCatalog; stop = Stopping WebCatalog; }; OrderPreference = None; Provides = (WebCatalog); Requires = (Web Server); }After many hours, I changed the last line: Requires = (Web Server);to: Requires = (4D WebSTAR); and that fixed the problem. WebDNA now starts correctly.Also, I found that in order to get WebDNA to be able to write to dbs and use writefile, I needed to run WebSTAR installer's set permissions option. Thus, it appears your installer does not install everything with the correct permissions by default. WebDNA was the last thing I installed, and I had installed as root, and it did not work until running set permissions.This is all on OS X Server 10.2.6. I hope this saves some others some time and that you fix your installer.Karl On Thursday, May 15, 2003, at 12:47 PM, Karl Schroll wrote:> Le, > > I was able to fix the permissions problem using WebStar's set > permissions option. > > However, I still can't get webdna to startup automatically. What is > the solution? > > On Thursday, May 15, 2003, at 12:10 PM, Karl Schroll wrote: > >> >> Le, >> >> I have spent a lot of time trying to get webdna 5 to startup with a >> new webstar install, on a new xserve running X Server 10.2.6,, and >> stumbled on the following from you last week. I tried this, and >> webdna still does not start on startup. But I can manually start it >> using your script in the webcatalogengine folder. But when I >> manually start it up, it seems the permissions might be wrong because >> although it runs, I can't modify any databases or use writefiles. >> And I don't know how to fix that. I am absolutely certain that I >> installed webdna as root. How do I fix permissions if that is wrong? >> Is there ANY documentation on this from SM? >> >> Also, I came across another post from Nitai saying that your startup >> item actually belongs in library/startupitems, not the >> system/library/startupitems, which is where your installer puts it. >> I tried that, but that doesn't work either. >> >> Please let me know how to get webdna to startup automatically and to >> fix permissions for it. I am in a bit of a time crunch, so your >> prompt reply is appreciated. >> >> Karl >> >> >> 2003/05/07 13:32:24 >> Le Pham >> Re: URGENT: WebDNA Server Not Running >> >> >> > [cyclone:WebServer/cgi-bin/WebCatalogEngine] pbn% cd >> > /Applications/4DWebSTAR/WebServer/cgi-bin/WebCatalogEngine >> > [cyclone:WebServer/cgi-bin/WebCatalogEngine] pbn% >> /Applications/4DWebSTAR/WebServer/cgi-bin/WebCatalogEngine/ >> WebDNAMonitor -d >> > [cyclone:WebServer/cgi-bin/WebCatalogEngine] pbn% WebCatalog: >> setgroups: Operation not permitted >> >> You got the error message because you are not root when you start >> WebCatalog >> Try above commands again after you switch to be root >> >> >> > After the above commands in the Terminal, the WebDNA Engine IS >> running. >> > But after a restart of the computer the WebDNA Engine is NOT >> running... >> >> Open file >> /system/library/startupitems/WebCatalog-webstar/WebCatalog-webstar. >> and modify it to look like below: >> >> ---- snip ---- >> >> #!/bin/sh >> >> ## >> # Start Web Server >> ## >> >> cd /Applications/4DWebSTAR/WebServer/cgi-bin/WebCatalogEngine >> sleep 1 >> /Applications/4DWebSTAR/WebServer/cgi-bin/WebCatalogEngine/ >> WebDNAMonitor -d >> >> ---- snip ---- >> >> restart the computer to see if WebCatalog start >> >> Hope this help, >> Le >> >> >> >> >> >> >> >> > ------------------------------------------------------------- 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/ Karl Schroll

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:

PCS Frames (1997) passing the variable (1999) [WebDNA] Bug in Emailer (2008) Problems getting parameters passed into email. (1997) Ship to list (2005) Webten + Webcat running smooth (1998) Questions To Answer (1997) problems with 2 tags (1997) Show if time tags (1997) date range (1998) Wrapping text (1998) Why does setheader provide a db= parameter? (2005) WebCat2b13MacPlugIn - More limits on [include] (1997) (OT) SERVER FREEZES ALL AT SAME TIME (2004) #$%@! formulas (1998) More Shopping Cart Problems (2000) [WebDNA] SETMIMEHEADER problem (2013) WC2f3 (1997) OT - royalty free images (2002) OK, here goes... (1997)