Hi,
I am running WHM 9.9.9 and cPanel 9.9.9-S15
I tried to install modresin via the addon modules page in WHM.
At the end I saw the message To add JSP/Servlets to a domain run /scripts/addresin, so I did. But I got this message "Sorry you must install the CPanel Resin addon module.".
humm. I thought I just did that.
So, I went back to the addon modules page in WHM. I uninstalled modresin. Then I installed it again. I rebooted my system and I still got the message "Sorry you must install the CPanel Resin addon module."
I looked at the addresin script and saw it was looking for /usr/local/apache/libexec/mod_caucho.so. Further down in the script, it is looking for /usr/local/resin/conf.
Neither of these files exist!
I did a find / -name *resin*, and here are my results:
/etc/chkserv.d/resin
/etc/rc.d/init.d/resin.sh
/scripts/addresin
/usr/local/cpanel/modules-install/modresin-Linux-i686
/usr/local/cpanel/modules-install/modresin-Linux-i686/addresin
/usr/local/cpanel/modules-install/modresin-Linux-i686/resin-a.sh
/usr/local/cpanel/modules-install/modresin-Linux-i686/resin
/usr/src/resin-3.0.9.tar.gz
/usr/src/resin-3.0.9
/usr/src/resin-3.0.9/conf/resin.conf
/usr/src/resin-3.0.9/contrib/init.resin
/usr/src/resin-3.0.9/contrib/init.resin.in
/usr/src/resin-3.0.9/lib/resin-jdk15.jar
/usr/src/resin-3.0.9/lib/resin.jar
/usr/src/resin-3.0.9/webapps/resin-doc.war
/var/cpanel/objcache/tn_modresin.jpg
/var/cpanel/addonmoduleversions/modresin
/var/cpanel/cpresin
/var/run/chkservd/resin
It looks as if the modresin install did not complete?
Here is my results from the modresin install:
Updating modresin....
receiving file list ... done
modresin-Linux-i686/
modresin-Linux-i686/addresin
modresin-Linux-i686/install
modresin-Linux-i686/installjava
modresin-Linux-i686/resin
modresin-Linux-i686/resin-a.sh
modresin-Linux-i686/uninstall
modresin-Linux-i686/version
wrote 237 bytes read 8951 bytes 18376.00 bytes/sec
total size is 8463 speedup is 0.92
Verifying that Java is installed and up to date...
Updating /scripts...Done
Java is already up to date
Now installing Resin
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
Using shared library flags from /usr/local/apache/bin/apxs
Using Apache configuration /usr/local/apache/conf/httpd.conf
Using Apache CFLAGS: -DLINUX=22 -DHAVE_SET_DUMPABLE -I/usr/include/gdbm -DMOD_SSL=208122 -DUSE_HSREGEX -DEAPI
checking for JAVA_HOME...
Restarting system services
/etc/rc.d/init.d/httpd start: httpd started
Stopping chkservd: [ OK ]
Starting chkservd: [ OK ]
Done
To add JSP/Servlets to a domain run /scripts/addresin
Done
Process Complete
Anyone have any idea what I should do next?
Oh yeah, I did check. JAVA_HOME is set correctly for the root user but not for anyone else. I am running WHM as root.
Thanks for any help.


LinkBack URL
About LinkBacks
Reply With Quote
