From owner-freebsd-questions@FreeBSD.ORG Tue Nov 29 19:32:59 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B7C2106566B for ; Tue, 29 Nov 2011 19:32:59 +0000 (UTC) (envelope-from vogelke@hcst.net) Received: from beta.hcst.com (beta.hcst.com [192.52.183.241]) by mx1.freebsd.org (Postfix) with ESMTP id D620A8FC08 for ; Tue, 29 Nov 2011 19:32:58 +0000 (UTC) Received: from beta.hcst.com (localhost [127.0.0.1]) by beta.hcst.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pATJWvdq028907 for ; Tue, 29 Nov 2011 14:32:57 -0500 Received: (from vogelke@localhost) by beta.hcst.com (8.14.3/8.14.3/Submit) id pATJWvRx028906; Tue, 29 Nov 2011 14:32:57 -0500 Received: by kev.msw.wpafb.af.mil (Postfix, from userid 32768) id 917F5BF56; Tue, 29 Nov 2011 14:24:05 -0500 (EST) To: freebsd-questions@freebsd.org In-reply-to: <4ED45A0A.5050802@herveybayaustralia.com.au> (message from Da Rock on Tue, 29 Nov 2011 14:05:30 +1000) Organization: Array Infotech X-Disclaimer: I don't speak for the USAF or Array Infotech. X-GPG-ID: 1024D/711752A0 2006-06-27 Karl Vogel X-GPG-Fingerprint: 56EB 6DBF 4224 C953 F417 CC99 4C7C 7D46 7117 52A0 References: <4ED45A0A.5050802@herveybayaustralia.com.au> Message-Id: <20111129192405.917F5BF56@kev.msw.wpafb.af.mil> Date: Tue, 29 Nov 2011 14:24:05 -0500 (EST) From: vogelke+unix@pobox.com (Karl Vogel) Subject: Re: Twiki problems - no such file or directory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vogelke+unix@pobox.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Nov 2011 19:32:59 -0000 >> On Tue, 29 Nov 2011 14:05:30 +1000, >> Da Rock said: D> I installed twiki on a test server to get a handle on how it operates, D> and it all worked fine so I installed it on the production server. The D> only difference between the 2 is that the production server uses vhosts. D> When I try to run *any* of the twiki scripts (twiki/bin/view, D> twiki/bin/configure) I get "no such file or directory" in the httpd D> error logs. I did see the reply about checking the perl path; this is for people who run into other "no such file" problems. If the path fix hadn't worked, my next step would have been adding vhosts to the test server and seeing if I could get them both to fail in the same way. We've had similar problems, and replacing the program with a call to truss helps us troubleshoot: root# mv /path/to/apache /path/to/apache.bin root# cat /path/to/apache #!/bin/sh exec /usr/bin/truss -o /tmp/apache$$ -f /path/to/apache.bin exit 1 -- Karl Vogel I don't speak for the USAF or my company The freshmen bring a little knowledge in and the seniors take none out, so it accumulates through the years. --A. Lawrence Lowell, Pres. of Harvard