You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rivet-dev@tcl.apache.org by yahalom emet <Ya...@xor-t.com> on 2003/03/27 05:53:29 UTC

installing rivet

Hi

I wanted to give rivet a try.
I downloaded,build,copied to apache module directory.
added in httpd.conf:
LoadModule rivet_module modules/mod_rivet.so
AddModule mod_rivet.c
Rivet_Script ChildInitScript "source /home/amadeus/mod_dtcl/ChildInit-ttml.tcl"

and I get:
Syntax error on line 829 of /etc/httpd/conf/httpd.conf:
Invalid command 'Rivet_Script', perhaps mis-spelled or defined by a module not included in the server configuration

what is missing?



Invalid command 'Rivet_Script', perhaps mis-spelled or defined by a 
module not included in the server configuration
Thanks

Yahalom Emet
Software Developer
Xor Technologies Ltd.

Tel: +972 (0)4-6619164
E-mail: yahalomE@xor-t.com
Web: http://www.xortechnologies.com



Re: installing rivet

Posted by "David N. Welton" <da...@dedasys.com>.
"yahalom emet" <Ya...@xor-t.com> writes:

[ Hope you don't mind that I cc'ed the list, but I like these things
to be available for people to find in the future, with google/mailing
list archives/etc...]

> in the docs you have this example: Rivet_Script GlobalInitScript
> "source /var/www/foobar.tcl" this is what confused me about
> configuration. it should be changed if it is not correct.

Whoops - fixed in CVS, thanks!

> and I see in apache log:
> [Sun Mar 30 07:02:05 2003] [error] Could not create request namespace

Which comes from:

    request_init = Tcl_NewStringObj("::Rivet::initialize_request\n",-1);
    if (Tcl_EvalObjEx(interp, request_init, TCL_EVAL_DIRECT) == TCL_ERROR)
    {

> what am I doing wrong?

My guess is that you haven't installed the Tcl packages in a place
where Rivet can find them - specifically, 'init.tcl' must be loaded.

-- 
David N. Welton
   Consulting: http://www.dedasys.com/
     Personal: http://www.dedasys.com/davidw/
Free Software: http://www.dedasys.com/freesoftware/
   Apache Tcl: http://tcl.apache.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-dev-help@tcl.apache.org


Re: installing rivet

Posted by "David N. Welton" <da...@dedasys.com>.
"yahalom emet" <Ya...@xor-t.com> writes:

> I wanted to give rivet a try.
> I downloaded,build,copied to apache module directory.
> added in httpd.conf:
> LoadModule rivet_module modules/mod_rivet.so
> AddModule mod_rivet.c
> Rivet_Script ChildInitScript "source /home/amadeus/mod_dtcl/ChildInit-ttml.tcl"

> and I get:
> Syntax error on line 829 of /etc/httpd/conf/httpd.conf:
> Invalid command 'Rivet_Script', perhaps mis-spelled or defined by a module not included in the server configuration

> what is missing?

You need to use RivetServerConf ChildInitScript "..."

-- 
David N. Welton
   Consulting: http://www.dedasys.com/
     Personal: http://www.dedasys.com/davidw/
Free Software: http://www.dedasys.com/freesoftware/
   Apache Tcl: http://tcl.apache.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-dev-help@tcl.apache.org