You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Edy Lie <fr...@magix.com.sg> on 2001/12/15 15:53:40 UTC
mod_jk solaris
Greetings ...
I have installed tomcat 3.3 in Solaris 8 sparc with apache 1.3.22. Tomcat able to run and mod_jk.so has been compiled from source and place in the directory /usr/local/apache/libexec/mod_jk.so
But when i tried to start mod_jk with apache i got this message. I have tried google but no luck still. Thanks
# /usr/local/apache/bin/apachectl configtest
Syntax error on line 4 of /usr/local/jakarta-tomcat-3.3/conf/auto/mod_jk.conf:
Cannot load /usr/local/apache/libexec/mod_jk.so into server: ld.so.1: /usr/local/apache/bin/httpd: fatal: relocation error: file /usr/local/apache/libexec/mod_jk.so: symbol ap_table_get: referenced symbol not found
entry for mod_jk.conf
########## Auto generated on Sat Dec 15 22:24:08 GMT+08:00 2001##########
<IfModule !mod_jk.c>
LoadModule jk_module libexec/mod_jk.so
</IfModule>
JkWorkersFile "/usr/local/jakarta-tomcat-3.3/conf/jk/workers.properties"
JkLogFile "/usr/local/jakarta-tomcat-3.3/logs/mod_jk.log"
JkLogLevel emerg
JkMount /admin ajp13
JkMount /admin/* ajp13
JkMount /examples ajp13
JkMount /examples/* ajp13
Regards,
Edy Lie
Re: mod_jk solaris
Posted by Peter Hitchman <pe...@derwent.co.uk>.
Hi,
So I am guessing that the problem is that the symbol get_ap_table does not
exists in the httpd binary?
Pete
Edy Lie wrote:
> Hi Pete
>
> Thanks for the reply
>
> this is what i get when i issued
>
> # ldd mod_jk.so
> librt.so.1 => /usr/lib/librt.so.1
> libaio.so.1 => /usr/lib/libaio.so.1
> libc.so.1 => /usr/lib/libc.so.1
> libdl.so.1 => /usr/lib/libdl.so.1
> /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1
>
> ----- Original Message -----
> From: "Peter Hitchman" <pe...@derwent.co.uk>
> To: "Tomcat Users List" <to...@jakarta.apache.org>
> Sent: Saturday, December 15, 2001 11:39 PM
> Subject: Re: mod_jk solaris
>
> > Hi,
> > First off I am no tomcat expert, but I recognise the dynamic link error.
> > If you use the nm uitlity to dump the contents of the mod_jk.so, you will
> > see that ap_table_get is an
> > undefined reference, this means that it has to exist in another library,
> > either linked in statically or
> > as in this case in a library/binaty linked to dynamically at run time.
> > My suggestion is that you use the ldd command with mod_jk.so, and see if
> > this shows you any dependancies
> > that cannot be resolved. So when I do "ldd mod_jok.so" I get:
> >
> > librt.so.1 => /usr/lib/librt.so.1
> > libaio.so.1 => /usr/lib/libaio.so.1
> > libc.so.1 => /usr/lib/libc.so.1
> > libdl.so.1 => /usr/lib/libdl.so.1
> > /usr/platform/SUNW,UltraAX-i2/lib/libc_psr.so.1
> >
> > To be honest I cannot see this object in these libraries, but the symbol
> > does appear in a nm dump of the program httpd,
> > so this suggests either something did not build properly or there is a
> > mismatch between the tomcat and apache versions.
> > We have the same configuration working on Solaris 8 with apache 1.2.20 and
> > tomcat 3.2.3.
> >
> > Regards
> >
> > Pete
> >
> > [END]
> >
> > Edy Lie wrote:
> >
> > > Greetings ...
> > >
> > > I have installed tomcat 3.3 in Solaris 8 sparc with apache 1.3.22.
> > > Tomcat able to run and mod_jk.so has been compiled from source and place
> > > in the directory /usr/local/apache/libexec/mod_jk.so
> > >
> > > But when i tried to start mod_jk with apache i got this message. I have
> > > tried google but no luck still. Thanks
> > >
> > > # /usr/local/apache/bin/apachectl configtest
> > > Syntax error on line 4 of
> > > /usr/local/jakarta-tomcat-3.3/conf/auto/mod_jk.conf:
> > > Cannot load /usr/local/apache/libexec/mod_jk.so into server: ld.so.1:
> > > /usr/local/apache/bin/httpd: fatal: relocation error: file
> > > /usr/local/apache/libexec/mod_jk.so: symbol ap_table_get: referenced
> > > symbol not found
> > >
> > > entry for mod_jk.conf
> > >
> > > ########## Auto generated on Sat Dec 15 22:24:08 GMT+08:00
> > > 2001##########
> > >
> > > <IfModule !mod_jk.c>
> > > LoadModule jk_module libexec/mod_jk.so
> > > </IfModule>
> > >
> > > JkWorkersFile "/usr/local/jakarta-tomcat-3.3/conf/jk/workers.properties"
> > > JkLogFile "/usr/local/jakarta-tomcat-3.3/logs/mod_jk.log"
> > >
> > > JkLogLevel emerg
> > >
> > > JkMount /admin ajp13
> > > JkMount /admin/* ajp13
> > >
> > > JkMount /examples ajp13
> > > JkMount /examples/* ajp13
> > >
> > > Regards,
> > > Edy Lie
> >
> >
> >
> > **********************************************************************
> > This email and any files transmitted with it are confidential and
> > intended solely for the use of the individual or entity to whom they
> > are addressed. If you have received this email in error please notify
> > the system manager.
> >
> > This footnote also confirms that this email message has been swept by
> > MIMEsweeper for the presence of computer viruses.
> >
> > www.mimesweeper.com
> > **********************************************************************
> >
> >
> > --
> > To unsubscribe: <ma...@jakarta.apache.org>
> > For additional commands: <ma...@jakarta.apache.org>
> > Troubles with the list: <ma...@jakarta.apache.org>
>
> --
> To unsubscribe: <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
**********************************************************************
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
Re: mod_jk solaris
Posted by Edy Lie <fr...@magix.com.sg>.
Hi Pete
Thanks for the reply
this is what i get when i issued
# ldd mod_jk.so
librt.so.1 => /usr/lib/librt.so.1
libaio.so.1 => /usr/lib/libaio.so.1
libc.so.1 => /usr/lib/libc.so.1
libdl.so.1 => /usr/lib/libdl.so.1
/usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1
----- Original Message -----
From: "Peter Hitchman" <pe...@derwent.co.uk>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Saturday, December 15, 2001 11:39 PM
Subject: Re: mod_jk solaris
> Hi,
> First off I am no tomcat expert, but I recognise the dynamic link error.
> If you use the nm uitlity to dump the contents of the mod_jk.so, you will
> see that ap_table_get is an
> undefined reference, this means that it has to exist in another library,
> either linked in statically or
> as in this case in a library/binaty linked to dynamically at run time.
> My suggestion is that you use the ldd command with mod_jk.so, and see if
> this shows you any dependancies
> that cannot be resolved. So when I do "ldd mod_jok.so" I get:
>
> librt.so.1 => /usr/lib/librt.so.1
> libaio.so.1 => /usr/lib/libaio.so.1
> libc.so.1 => /usr/lib/libc.so.1
> libdl.so.1 => /usr/lib/libdl.so.1
> /usr/platform/SUNW,UltraAX-i2/lib/libc_psr.so.1
>
> To be honest I cannot see this object in these libraries, but the symbol
> does appear in a nm dump of the program httpd,
> so this suggests either something did not build properly or there is a
> mismatch between the tomcat and apache versions.
> We have the same configuration working on Solaris 8 with apache 1.2.20 and
> tomcat 3.2.3.
>
> Regards
>
> Pete
>
> [END]
>
> Edy Lie wrote:
>
> > Greetings ...
> >
> > I have installed tomcat 3.3 in Solaris 8 sparc with apache 1.3.22.
> > Tomcat able to run and mod_jk.so has been compiled from source and place
> > in the directory /usr/local/apache/libexec/mod_jk.so
> >
> > But when i tried to start mod_jk with apache i got this message. I have
> > tried google but no luck still. Thanks
> >
> > # /usr/local/apache/bin/apachectl configtest
> > Syntax error on line 4 of
> > /usr/local/jakarta-tomcat-3.3/conf/auto/mod_jk.conf:
> > Cannot load /usr/local/apache/libexec/mod_jk.so into server: ld.so.1:
> > /usr/local/apache/bin/httpd: fatal: relocation error: file
> > /usr/local/apache/libexec/mod_jk.so: symbol ap_table_get: referenced
> > symbol not found
> >
> > entry for mod_jk.conf
> >
> > ########## Auto generated on Sat Dec 15 22:24:08 GMT+08:00
> > 2001##########
> >
> > <IfModule !mod_jk.c>
> > LoadModule jk_module libexec/mod_jk.so
> > </IfModule>
> >
> > JkWorkersFile "/usr/local/jakarta-tomcat-3.3/conf/jk/workers.properties"
> > JkLogFile "/usr/local/jakarta-tomcat-3.3/logs/mod_jk.log"
> >
> > JkLogLevel emerg
> >
> > JkMount /admin ajp13
> > JkMount /admin/* ajp13
> >
> > JkMount /examples ajp13
> > JkMount /examples/* ajp13
> >
> > Regards,
> > Edy Lie
>
>
>
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
>
> This footnote also confirms that this email message has been swept by
> MIMEsweeper for the presence of computer viruses.
>
> www.mimesweeper.com
> **********************************************************************
>
>
> --
> To unsubscribe: <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
Re: mod_jk solaris
Posted by Peter Hitchman <pe...@derwent.co.uk>.
Hi,
First off I am no tomcat expert, but I recognise the dynamic link error.
If you use the nm uitlity to dump the contents of the mod_jk.so, you will
see that ap_table_get is an
undefined reference, this means that it has to exist in another library,
either linked in statically or
as in this case in a library/binaty linked to dynamically at run time.
My suggestion is that you use the ldd command with mod_jk.so, and see if
this shows you any dependancies
that cannot be resolved. So when I do "ldd mod_jok.so" I get:
librt.so.1 => /usr/lib/librt.so.1
libaio.so.1 => /usr/lib/libaio.so.1
libc.so.1 => /usr/lib/libc.so.1
libdl.so.1 => /usr/lib/libdl.so.1
/usr/platform/SUNW,UltraAX-i2/lib/libc_psr.so.1
To be honest I cannot see this object in these libraries, but the symbol
does appear in a nm dump of the program httpd,
so this suggests either something did not build properly or there is a
mismatch between the tomcat and apache versions.
We have the same configuration working on Solaris 8 with apache 1.2.20 and
tomcat 3.2.3.
Regards
Pete
[END]
Edy Lie wrote:
> Greetings ...
>
> I have installed tomcat 3.3 in Solaris 8 sparc with apache 1.3.22.
> Tomcat able to run and mod_jk.so has been compiled from source and place
> in the directory /usr/local/apache/libexec/mod_jk.so
>
> But when i tried to start mod_jk with apache i got this message. I have
> tried google but no luck still. Thanks
>
> # /usr/local/apache/bin/apachectl configtest
> Syntax error on line 4 of
> /usr/local/jakarta-tomcat-3.3/conf/auto/mod_jk.conf:
> Cannot load /usr/local/apache/libexec/mod_jk.so into server: ld.so.1:
> /usr/local/apache/bin/httpd: fatal: relocation error: file
> /usr/local/apache/libexec/mod_jk.so: symbol ap_table_get: referenced
> symbol not found
>
> entry for mod_jk.conf
>
> ########## Auto generated on Sat Dec 15 22:24:08 GMT+08:00
> 2001##########
>
> <IfModule !mod_jk.c>
> LoadModule jk_module libexec/mod_jk.so
> </IfModule>
>
> JkWorkersFile "/usr/local/jakarta-tomcat-3.3/conf/jk/workers.properties"
> JkLogFile "/usr/local/jakarta-tomcat-3.3/logs/mod_jk.log"
>
> JkLogLevel emerg
>
> JkMount /admin ajp13
> JkMount /admin/* ajp13
>
> JkMount /examples ajp13
> JkMount /examples/* ajp13
>
> Regards,
> Edy Lie
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
**********************************************************************
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>