Results 1 to 10 of 10

Thread: mod_resin not installing?

  1. #1
    Registered User
    Join Date
    May 2004
    Posts
    2

    Default mod_resin not installing?

    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.

  2. #2
    Member
    Join Date
    May 2004
    Location
    Kelowna, BC.
    Posts
    58

    Default

    Quote Originally Posted by bubbles
    Hi,
    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.
    I did:
    Code:
    export JAVA_HOME="/usr/local/jdk/"
    cd /usr/local/cpanel/modules-install/modresin-Linux-i686
    ./install
    /scripts/addresin
    ..and it seems to be working properly. .jsp's are being processed beeeyootifully.

  3. #3
    Registered User
    Join Date
    May 2004
    Posts
    2

    Default

    Thanks!
    It's working now!

  4. #4
    Member
    Join Date
    May 2004
    Location
    Kelowna, BC.
    Posts
    58

    Default

    Quote Originally Posted by bubbles
    Thanks!
    It's working now!
    np, glad it worked! since making that post, i've uninstalled mod_resin and managed to get tomcat+mod_jk to work properly. however, i'll probably switch back since its 10x easier w/resin.

  5. #5
    Member
    Join Date
    Aug 2004
    Posts
    472

    Default resin showing as failed after uninstalling

    Hello,

    When I installed and then unistalled resin, service status is showing resin as failed. Any one knows how to solve this. how can we remove it from service status.

    resin failed

    Regards,
    David

  6. #6
    Member
    Join Date
    May 2004
    Location
    Kelowna, BC.
    Posts
    58

    Default

    You can remove the appropriate file (bind, interchange, etc) from the /etc/chkserv.d directory and /var/run/chkservd. Make sure you restart chksrvd after this.

  7. #7
    Member omega00's Avatar
    Join Date
    Mar 2006
    Location
    Sunshine Coast, QLD, Australia
    Posts
    19

    Exclamation Its good

    commands for freebsd are as follows:
    Note: setenv is the same as the export command, only with different syntax (namley a space instead of the '=' sign)
    Code:
    setenv JAVA_HOME /usr/local/jdk/
    cd /usr/local/cpanel/modules-install/modresin-FreeBSD-i386
    ./install
    /scripts/addresin
    Just depends on which shell you are using.

    Edit: ***A reboot was required before running /script/addresin in my case***
    Last edited by omega00; 04-05-2006 at 06:53 PM.
    - Smart is when you know only to believe half of what you hear. Brilliant is knowing which half.

  8. #8
    cPanel Partner NOC cPanel Partner NOC Badge AndyReed's Avatar
    Join Date
    May 2004
    Location
    Minneapolis, MN
    Posts
    2,223

    Default

    Quote Originally Posted by omega00
    commands for freebsd
    What FreeBSD version are you running, v5.x or v6?
    Andy Reed
    CCNA, RHCE, and Ubuntu Technologist
    ServerTune.com

  9. #9
    Member omega00's Avatar
    Join Date
    Mar 2006
    Location
    Sunshine Coast, QLD, Australia
    Posts
    19

    Exclamation

    v5.x Sorry, I should have mentioned it. :-)
    - Smart is when you know only to believe half of what you hear. Brilliant is knowing which half.

  10. #10
    cPanel Partner NOC cPanel Partner NOC Badge AndyReed's Avatar
    Join Date
    May 2004
    Location
    Minneapolis, MN
    Posts
    2,223

    Default

    Quote Originally Posted by omega00
    v5.x Sorry, I should have mentioned it. :-)
    Thanks, omega00. Mod Resin is pain in the nick, sometimes won't even work, with earlier versions of FreeBSD such as v4.x.
    Andy Reed
    CCNA, RHCE, and Ubuntu Technologist
    ServerTune.com

Similar Threads

  1. Addon Module: mod_resin
    By cPanelBilly in forum cPanel Developers
    Replies: 37
    Last Post: 09-12-2007, 03:02 PM
  2. Java/mod_resin
    By splashw in forum cPanel Developers
    Replies: 4
    Last Post: 06-19-2007, 09:12 AM
  3. help installing
    By PSP_Xploit in forum cPanel Developers
    Replies: 1
    Last Post: 06-17-2006, 05:19 AM