Error while installing mod_jk2
Hello Sir,
I am Sunil C. Please help me rectify this error while instaling mod_jk2 on Apache2.0.
I referred some documents while installing mod_jk2 module for Apache.
cd jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2
./configure --with-apxs2=/usr/local/apache/bin/apxs
make
cd ../build/jk2/apache2/
/usr/local/apache/bin/apxs -n jk2 -i mod_jk2.so
i got the following error:
[root@Colavo-RH9 apache2]# /usr/local/apache2/bin/apxs -n jk2 -i mod_jk2.so
/usr/local/apache2/build/instdso.sh SH_LIBTOOL='/usr/local/apache2/build/libtool
' mod_jk2.so /usr/local/apache2/modules
/usr/local/apache2/build/libtool --mode=install cp mod_jk2.so /usr/local/apache2
/modules/
cp mod_jk2.so /usr/local/apache2/modules/mod_jk2.so
mv: cannot move `/usr/local/apache2/modules/' to a subdirectory of itself, `/usr
/local/apache2/modules/mod_jk2.so.so'
chmod 755 /usr/local/apache2/modules/mod_jk2.so
chmod: failed to get attributes of `/usr/local/apache2/modules/mod_jk2.so': No s
uch file or directory
apxs:Error: Command failed with rc=65536
please help me rectify this problem..
Also when I loaded the module into Apache , httpd.conf file , it gives error while startup.
The error is :
Syntax error on line 232 /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/mod_jk2.so into server.undefined symbol apr_socket_send
I have already copied mod_jk2.so into modules directory.
Please help me
--
Sunil
Reply to: