Forum .LRN Q&A: Problems with daemontools-run

Collapse
Posted by Gonzalo López on
I add the service to daemontools:
$ ln -s /home/dotlrn/dotlrn/etc/daemontools /etc/service/dotlrn

I want to start the server:
$ svc -u /etc/service/dotlrn

What I get is:

$ svc: warning: unable to control /etc/service/dotlrn: file does not exist

I know that this question was asked before but I couldn't get the answer.
I think my problem is that svscan is not running but I didn't find the way to iniciate it.

Collapse
Posted by Gonzalo López on
Finally I created the "supervise" directory and now there is no warning but it still does nothing:

imedir@oz52:~$ sudo svc -u /etc/service/dotlrn
imedir@oz52:~$

And my server only works for some time. Then it stops and I can't fix that problem.

This is what I get from the terminal when the server aborts:

imedir@oz52:~$ sudo /home/dotlrn/dotlrn/etc/daemontools/run
[13/Jul/2009:16:01:21][4466.3084801728][-main-] Notice: nsd.tcl: starting to read config file...
[13/Jul/2009:16:01:21][4466.3084801728][-main-] Notice: nsd.tcl: using threadsafe tcl: 1
[13/Jul/2009:16:01:21][4466.3084801728][-main-] Notice: nsd.tcl: finished reading config file.
Aborted

And this is the error.log file:

[13/Xul/2009:16:33:36][4466.3063937936][-conn:11-] Warning: template::form::check_elements: MISSING FORMWIDGET: department_form:department_form:formbutton:ok
[13/Xul/2009:16:35:13][4466.3063937936][-conn:11-] Warning: /doc/ has no doc(title) set.
Tcl_SetBooleanObj called with shared object

Thanks

Collapse
Posted by Derick Leony on
Probably related to this:
http://www.openacs.org/forums/message-view?message_id=2622291

AOLserver 4.5.0-14 works well, though.

Collapse
Posted by Héctor Romojaro on
Hi Gonzalo,

If you are using Debian, please check this thread related to the "Tcl_SetBooleanObj called with shared object" error:

* https://openacs.org/forums/message-view?message_id=2817445

Cheers, Héctor

Collapse
Posted by Gonzalo López on
Thanks.
I am using Ubuntu 9.04 but I'll try to fix my problem with that info.

Thanks again