From owner-freebsd-questions@FreeBSD.ORG Wed Feb 18 08:06:06 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8CF9516A4CE for ; Wed, 18 Feb 2004 08:06:06 -0800 (PST) Received: from tmenv.com (c3eea6795.cable.wanadoo.nl [62.234.103.149]) by mx1.FreeBSD.org (Postfix) with SMTP id 31A5E43D1D for ; Wed, 18 Feb 2004 08:06:05 -0800 (PST) (envelope-from martijn@tmenv.com) Received: (qmail 422 invoked from network); 18 Feb 2004 16:27:15 -0000 X-Virus-Scanned: by amavis-ng-0.1.6.4-02dc on www.tmenv.com Received: from pc-00003.tmenv.com (HELO martijn) (192.168.1.3) by intranet.tmenv.com (192.168.1.7) with SMTP; 18 Feb 2004 16:27:09 -0000 From: "martijn" To: Date: Wed, 18 Feb 2004 17:15:54 +0100 Message-ID: MIME-Version: 1.0 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: problems with interchange-4.8.7 on FreeBSD 5.1 RELEASE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2004 16:06:06 -0000 Hi, I am trying to install and run interchange on my FreeBSD server. I first updated the ports directory-> succesful. Then I did a "make -DCHECK_FOR_IC_USER all install". This went all well. A new user and group (interch) is added and it seems that it is installed properly. Next thing to do is creating a new catalog for interchange. Therfor I did the following: % cd /usr/local % bin/makecat A wizzard starts and I accepted all the defaults. And somewhere the wizzard is asking for the location of "vlink". As I did not know what the right thing to do was. I searched for this file and found it in /usr/local/interchange/src/ The above path is exactly what I typed in during the makecat. After the makecat has finished I started the interchange server. Via su interch. (first I had to change the shell of interch via chpass, otherwise it was not possible to su). All seemed to go well. But after all this I can see the file 'foundation' in cgi-bin but it will not run. Browsing to http://myIP/cgi-bin/foundation gives the following error in my /var/log/httpd-error.log. -------------------------/var/log/httpd-error.log ------------------------- ----------------------------------- [Wed Feb 18 16:28:54 2004] [error] (8)Exec format error: exec of /usr/local/www/cgi-bin/foundation failed [Wed Feb 18 16:28:54 2004] [error] [client 192.168.1.3] Premature end of script headers: /usr/local/www/cgi-bin/foundation----------------------------------------- I have tried the complet procedure from making the port till making the catalog for 4 times now. I even have rebuild my kernel with maxusers 256 as red somewhere this could be the problem with this type of error on an FreeBSD system running interchange. Can someone help me on this subject. ------------------------ output uname -a ------------------------------------------------------------------------ FreeBSD freebsd.tmenv.com 5.1-RELEASE FreeBSD 5.1-RELEASE #1: Wed Feb 18 13:34:02 CET 2004 root@freebsd.tmenv.com:/usr/src/sys/i386/compile/FREEBSD i386 -----------------------------------------------------------Best regards,Martijn Dekker.