Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Tomcat and apache issue  (Read 6167 times)

0 Members and 1 Guest are viewing this topic.

sun_os

    Topic Starter


    Beginner

    Tomcat and apache issue
    « on: October 17, 2014, 05:39:26 AM »
    Dear All,

    I install the RHEL 5.5, run the apache and tomcat first time.

    I can find the configuration path but no package install anymore.  It is no error during the installation

    May I know what is the issue?

    Thank you very much

    Cheers,

     ;)

    DaveLembke



      Sage
    • Thanked: 662
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Windows 10
    Re: Tomcat and apache issue
    « Reply #1 on: October 17, 2014, 08:11:12 AM »
    Do you know your way around RedHat 5.5? If so look to see if the Apache Service is installed and running.

    Also this shows the path to default install for Apache on Linux. You will likely need to go here and edit your httpd.conf file to enable/disable modules and configure IP and ports etc.

    http://stackoverflow.com/questions/12202021/where-is-my-httpd-conf-file-located-apache

    sun_os

      Topic Starter


      Beginner

      Re: Tomcat and apache issue
      « Reply #2 on: October 17, 2014, 08:59:30 AM »
      Hi DaveLembke,

      I use the binary to install the APACHE

      ./configure --prefix=/opt
      make
      make install

      I can see the path, but no package was installed


      [attachment deleted by admin to conserve space]
      « Last Edit: October 17, 2014, 09:31:15 AM by sun_os »

      DaveLembke



        Sage
      • Thanked: 662
      • Certifications: List
      • Computer: Specs
      • Experience: Expert
      • OS: Windows 10
      Re: Tomcat and apache issue
      « Reply #3 on: October 17, 2014, 09:56:19 AM »
      Interesting... which version of Apache did you use? and is there anything in the httpd.conf that I see located in your screenshot at      [root@RHEL conf]#     where ls lists extra httpd.conf magic mime.types original

      The httpd.conf you should be able to open with a text editor like VI and see configuration info for Apache

      Also was the binary a good one with a good checksum?

      Also if you run  ....  service httpd status
      Does it show the Apache service running in background?

      sun_os

        Topic Starter


        Beginner

        Re: Tomcat and apache issue
        « Reply #4 on: October 18, 2014, 12:15:53 AM »
        Hi

        Please find attachment.



        [attachment deleted by admin to conserve space]

        DaveLembke



          Sage
        • Thanked: 662
        • Certifications: List
        • Computer: Specs
        • Experience: Expert
        • OS: Windows 10
        Re: Tomcat and apache issue
        « Reply #5 on: October 18, 2014, 05:13:41 AM »
        Interesting that it appears to have started an installation and didnt successfully complete with all contents. I am not familiar specifically with RHEL5.5, and primarily work with Mint and occasionally with Fedora, so I am going to direct you to this link here that shows what should work for installation steps.

        http://tecadmin.net/steps-to-install-tomcat-server-on-centos-rhel/

        I'd go in and do some manual clean up before attempting this though this way there is no possibility of version creep from remnants of the failed install mixing with the new install. Deleting the contents that were dropped from the failed install, and then performing this should be good enough to start back at a clean slate.

        sun_os

          Topic Starter


          Beginner

          Re: Tomcat and apache issue
          « Reply #6 on: October 18, 2014, 10:39:50 AM »
          Hi

          I installed the Apache , tomcat and Java , they are all installed success on the platform, but i can't see they are start up services.

          I don't know what happen on my os .  You give me the link to install tomcat, I check it should be correct installed previously . It is the same

          DaveLembke



            Sage
          • Thanked: 662
          • Certifications: List
          • Computer: Specs
          • Experience: Expert
          • OS: Windows 10
          Re: Tomcat and apache issue
          « Reply #7 on: October 18, 2014, 01:18:16 PM »
          Hmm... would it be troublesome to reinstall fresh RHEL 5.5 and then try again clean to see if we end up at the same problem?
          Its very strange that your having this issue.

          On other OS's installation is simple and flawless. My problem here is that I havent played with Red Hat in years, starting with Slackware 1997, then Red Hat 6.0 around 1999, then Fedora ( Core 2 thru version 6 ), and then tried Ubuntu for a short while, but found Mint more to my liking. I havent had the fun of playing with Red Hat Enterprise Linux yet to know if we are missing something important. To me it should be as easy as installing via RPM and configuring the config files etc and should work fairly easily.

          Doing some searching and reading, it appears that there is no need to install from an external binary source as for RHEL already comes with what you need. Found this... " Apache Tomcat is distributed as part of both Red Hat Enterprise Linux and Red Hat JBoss Web Server." at this site: https://access.redhat.com/blogs/766093/posts/781133

          So it should be an option in the GUI of the Red Hat features to enable when installing it at the get go, or added after the fact through the same manager built into the OS.

          sun_os

            Topic Starter


            Beginner

            Re: Tomcat and apache issue
            « Reply #8 on: October 20, 2014, 07:08:41 AM »
            OKAY

            I try to install it again first.

            Thank you for your help  :)

            DaveLembke



              Sage
            • Thanked: 662
            • Certifications: List
            • Computer: Specs
            • Experience: Expert
            • OS: Windows 10
            Re: Tomcat and apache issue
            « Reply #9 on: October 20, 2014, 09:57:26 AM »
            Glad to help... I am hoping that if you go with the version that is built into RHEL5.5 and select it to be installed/active from the program manager that this will resolve this for you as for maybe there is a mismatch in compatibility between the RHEL5.5 and that binary you were using of some sort.  :-\

            If this works for you, then you can update the version that came with  RHEL5.5 performing a normal update process to secure it etc as for the version that came initially with RHEL5.5 has likely had security updates since release.

            sun_os

              Topic Starter


              Beginner

              Re: Tomcat and apache issue
              « Reply #10 on: December 04, 2014, 01:39:38 AM »
              I re-install to fix it.

              Thank you all of your guys to reply message

              DaveLembke



                Sage
              • Thanked: 662
              • Certifications: List
              • Computer: Specs
              • Experience: Expert
              • OS: Windows 10
              Re: Tomcat and apache issue
              « Reply #11 on: December 05, 2014, 05:16:21 AM »
              Glad to hear a reinstall fixed it =)