On Wednesday 29 March 2006 00:10, Ron Senykoff wrote: > Hello all, > > Working on 2nd version of my qbox project > http://www.cs.luc.edu/projects/comp412/q-box/ > > I'm having trouble figuring out how to make lrp treat my init script > as a script and not a daemon. At the end of running, it says "The > command failed. Usually this is due to an error in the configuration > file."
Are you trying to start your init script from webconf? If so, the problem is that webconf looks for a running process matching the init script. If you are making your own .lwp for webconf, you can customize the behavior by modifying the call to svcstat.sh See http://leaf.sourceforge.net/doc/guide/webconf-howto.html, section "4.3.4.3 svcstat.sh" for the complete details. If you are just using the basic webconf.lrp, this is a "false positive." The init script was run, but webconf has no way of knowing that, so it reports the command failed. You can ignore the failure message, or you can look at /var/webconf/www/lrcfg.cgi under the section "Daemon Status" for how other exceptions were handled. > > Is there any way around this? Or will I need to create a .pid file > even though there is no process? > > TIA! > -Ron ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ leaf-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/leaf-devel
