Should.  I guess let's start at the beginning...Does the module exist in
/etc/httpd/modules?

-----Original Message-----
From: Randy Paries [mailto:[EMAIL PROTECTED]
Sent: Monday, April 05, 2004 11:58 AM
To: 'Tomcat Users List'
Subject: RE: Building jk2-2.0.4 on rh9 having some problems


Actually 
ls -ls /etc/httpd/
total 12
   0 lrwxrwxrwx    1 root     root           25 Mar 23 16:13 build ->
../../usr/lib/httpd/build
   4 drwxr-xr-x    7 root     root         4096 Apr  5 10:20 conf
   4 drwxr-xr-x    2 root     root         4096 Apr  1 10:22 conf.d
   4 drwxr-xr-x    2 apache   apache       4096 Mar 23 11:14 local
   0 lrwxrwxrwx    1 root     root           19 Mar 22 08:36 logs ->
../../var/log/httpd
   0 lrwxrwxrwx    1 root     root           27 Mar 22 08:36 modules ->
../../usr/lib/httpd/modules
   0 lrwxrwxrwx    1 root     root           13 Mar 22 08:36 run ->
../../var/run

Apache should be able to traverse a SYM link shouldn't it?

RP 

-----Original Message-----
From: Hamilton, Andrew [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 05, 2004 10:50 AM
To: Tomcat Users List
Subject: RE: Building jk2-2.0.4 on rh9 having some problems

Your running into pathing problems.  Your using /usr/lib/httpd/modules and
/etc/httpd/modules.  apache wants to use /etc/httpd/modules.  Copy your
mod_jk2.so there.

Drew

-----Original Message-----
From: Randy Paries [mailto:[EMAIL PROTECTED]
Sent: Monday, April 05, 2004 11:46 AM
To: 'Tomcat Users List'
Subject: Building jk2-2.0.4 on rh9 having some problems


Hello

I am building  jk2-2.0.4 on rh9 and apache 2

I first configure

./configure --with-apxs2=/usr/sbin/apxs --with-java-home=${JAVA_HOME}
--with-java-platform=2 --enable-jni 

Make (no errors)

cd ../build/jk2/apache2

============================================================================
====
When I do this I ge the following error
 apxs -n jk2 -i mod_jk2.so
/usr/lib/httpd/build/instdso.sh SH_LIBTOOL='/usr/lib/httpd/build/libtool'
mod_jk2.so /usr/lib/httpd/modules
/usr/lib/httpd/build/libtool --mode=install cp mod_jk2.so
/usr/lib/httpd/modules/ cp mod_jk2.so /usr/lib/httpd/modules/mod_jk2.so
mv: cannot move `/usr/lib/httpd/modules/' to a subdirectory of itself,
`/usr/lib/httpd/modules/mod_jk2.so.so'
chmod 755 /usr/lib/httpd/modules/mod_jk2.so
chmod: failed to get attributes of `/usr/lib/httpd/modules/mod_jk2.so': No
such file or directory
apxs:Error: Command failed with rc=65536
============================================================================
====

So I manually do the command
cp mod_jk2.so /usr/lib/httpd/modules/mod_jk2.so

But now when I try to start httpd I get the error:
Cannot load /etc/httpd/modules/mod_jk2.so into server:
/etc/httpd/modules/mod_jk2.so: cannot open shared object file: No such file
or directory

Thanks for anyhelp

randy


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to