Return-Path: Delivered-To: apmail-tcl-websh-dev-archive@www.apache.org Received: (qmail 74837 invoked from network); 20 Aug 2007 09:09:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Aug 2007 09:09:41 -0000 Received: (qmail 23267 invoked by uid 500); 20 Aug 2007 09:09:38 -0000 Delivered-To: apmail-tcl-websh-dev-archive@tcl.apache.org Received: (qmail 23250 invoked by uid 500); 20 Aug 2007 09:09:38 -0000 Mailing-List: contact websh-dev-help@tcl.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list websh-dev@tcl.apache.org Received: (qmail 23239 invoked by uid 99); 20 Aug 2007 09:09:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Aug 2007 02:09:38 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [194.126.145.18] (HELO netcetera.ch) (194.126.145.18) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Aug 2007 09:09:35 +0000 Received: from fire-17.netcetera.ch (fire-17 [172.17.1.210]) by fusion.netcetera.ch (8.11.7p1+Sun/8.7.3) with ESMTP id l7K99C827212; Mon, 20 Aug 2007 11:09:12 +0200 (MEST) Received: by fire-17.netcetera.ch (8.11.7p1+Sun) id l7K99BI26880; Mon, 20 Aug 2007 11:09:11 +0200 (MEST) Date: Mon, 20 Aug 2007 11:09:11 +0200 From: Ronnie Brunner To: Eckhard Lehmann Cc: websh-dev@tcl.apache.org Subject: Re: Websh error: "no interp !" on Windows Message-ID: <20070820090911.GA26840@netcetera.ch> References: <1711468842@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1711468842@web.de> User-Agent: Mutt/1.5.9i X-Virus-Checked: Checked by ClamAV on apache.org Hi > I had a look at Websh (latest release) today and compiled it on > Windows XP, Apache 2.2 (latest release) with MSVC 8 express. > > During installation, configuration and startup of Apache including > the Websh module, everything is fine... no errors in the log - also > no statement whether it worked. But when I try to load a page, an > internal server error comes up and the error.log states: > > [Sun Aug 19 22:07:16 2007] [error] [client 127.0.0.1] mod_websh - no interp !\n > [Sun Aug 19 22:07:16 2007] [error] [client 127.0.0.1] couldn't run websh script: C:/Programme/Apache2.2/htdocs/index.html > > What's up there? Is the module not correctly initialized or is there > something missing - maybe an environment variable? The websh/bin > directory is in the path, as well as Tcl/bin directory. I even set > TCL_LIBRARY... Mhh. Seems not to be the environment, as Apache usually does not start if it doesn't find Tcl (shuts down with something like "httpd.exe: Syntax error on line 119 of C:/Program Files/Apache Software Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/Program Files/Apache Software Foundation/Apache2.2/modules/mod_websh.so into server: The specified module could not be found." This can happen if you have a corrupt websh.conf though: if your interpreter map throws an error, you get exactly the error you describe. The interperter map is a proc that returns the interpreter class for a request and is configured as follows by default: # Setup interpreter classes for mod_websh proc web::interpmap {file} { return $file } If that doesn't help and you're interested, I can send you a more verbose interpool.c to help track down the problem. BTW: by "the latest version" you mean the latest release 3.6.0b4 or the latest source from svn? Please try the latest from svn: it's very likely better than the release. hth Ronnie -- Ronnie Brunner | ronnie.brunner@netcetera.ch phone +41-44-247 79 79 | fax +41-44-247 70 75 Netcetera AG | 8040 Z�rich | Switzerland | http://netcetera.ch --------------------------------------------------------------------- To unsubscribe, e-mail: websh-dev-unsubscribe@tcl.apache.org For additional commands, e-mail: websh-dev-help@tcl.apache.org