Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 13231 invoked from network); 8 Nov 2000 23:59:41 -0000 Received: from natty.paycom.net (208.236.105.27) by locus.apache.org with SMTP; 8 Nov 2000 23:59:41 -0000 Received: mail@127.0.0.1 Sender: tonyk@natty.paycom.net Message-ID: <3A09E9D4.A7BC1860@paycom.net> Date: Wed, 08 Nov 2000 16:03:33 -0800 From: Tony Keith Organization: Paycom X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 To: tomcat-user@jakarta.apache.org Subject: Re: 3.2b6 mod_jserv.so mod_jk.so garbled API module structure... References: <3A099DED.C24E343@center7.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N I'm seeing the exact same problem with 3.2b6. Paul Tiemann wrote: > I'm attempting to install a 3.2 version of tomcat in order to achieve > virtual hosts in a single JVM. > > When I try to start apache I get this: > > "Starting httpd: Syntax error on line 1 of > /opt/apache/conf/tomcat-apache.conf: > API module structure `jserv_module' in file > /opt/apache/libexec/mod_jserv.so is garbled - perhaps this is not an > Apache module DSO?" > > I thought it might be my installation of apache (which was previously > working with the old mod_jserv.so with DSO). I downloaded 1.3.14 and > built it, just in case. These are were my exact parameters to the > apache build process: > > ./configure --prefix=/opt/apache --enable-rule=SHARED_CORE > --enable-module=so > make > make install > > The first mod_jserv.so I tried was the one I downloaded from the 3.2b6 > bin/linux/i386/ download directory. Since it didn't work, I feared that > it might be the netscape save-file problem, so I downloaded the source > for 3.2b6 and built it in the src/native/apache/jserv directory with the > following command: > > /opt/apache/bin/apxs -c *.c -o mod_jserv.so > > That built a mod_jserv.so file that I put into the /opt/apache/libexec/ > directory, and tried again, but no luck. I got the same 'garbled' > message again. So I diffed the file I had just built and the one I got > from jakarta.apache.org, and they were the same. > > I went to the user mailing list archive hosted on mikal.org and did some > looking around. Someone said to use ld to create the mod_jserv.so file > manually from the .o files that are created from the apxs compile. I > did that too, and got a mod_jserv.so file that did differ from the one > on jakarta.apache.org, but it still provided the exact same error > message when I try to start apache. > > I've debugged as far as I know how without reading through the code and > attempting to find a bug. > > Does anyone have any ideas that would save me the time of scrutinizing > the source? :) > > Any and all help is greatly appreciated! > Paul Tiemann -- Tony Keith