11 Replies Latest reply: Sep 10, 2013 12:00 AM by Djay-OC RSS

    HTTP_SERVER not coming up after clone

    Djay-OC


      After clone on Linux 6 64 bit HTTP_SERVER not coming up

       

      [oracle@CHNMCT297942D scripts]$ ./adopmnctl.sh status

      You are running adopmnctl.sh version 120.6.12010000.5

      Checking status of OPMN managed processes...

      Processes in Instance: VISEND_chnmct297942d.chnmct297942d.ad.infosys.com
      ---------------------------------+--------------------+---------+---------
      ias-component                    | process-type       |     pid | status
      ---------------------------------+--------------------+---------+---------
      OC4JGroup:default_group          | OC4J:oafm          |   32072 | Alive
      OC4JGroup:default_group          | OC4J:forms         |   32001 | Alive
      OC4JGroup:default_group          | OC4J:oacore        |   31867 | Alive
      HTTP_Server                      | HTTP_Server        |     N/A | Down


      adopmnctl.sh: exiting with status 0

       

      HTTP_Server~1.log says

      --------

      13/09/06 11:29:53 Start process

      --------

      /home/oracle/application/inst/apps/VISEND_chnmct297942d/ora/10.1.3/Apache/Apache/bin/apachectl startssl: execing httpd

      fopen: No such file or directory

      httpd: could not open document config file /home/oracle/application/inst/apps/VISEND_chnmct297942d/ora/10.1.3/Apache/Apache/conf/endeca.conf

       

      Not able to troubleshoot further.

        • 1. Re: HTTP_SERVER not coming up after clone
          Hussein Sawwan-Oracle

          Do you use Endeca? If yes, and the file is missing then copy it again from the source instance and try then.

           

          Connecting to http://<endeca-host>:8090/endeca fails with Error: You don't have permission to access /endeca/web/guest on this server (Doc ID 1528332.1)

          Installing Oracle E-Business Suite Extensions for Oracle Endeca, Release 12.1.3.2 (Doc ID 1517172.1)

           

          Thanks,

          Hussein

          • 2. Re: HTTP_SERVER not coming up after clone
            Djay-OC


            Copied the file and http_server is up now. But not getting login page.

            Ran ojspcompile then autoconfig on both tier which completed successfully.

             

            Still getting blank page for ebs url.

            • 3. Re: HTTP_SERVER not coming up after clone
              Djay-OC

              [oracle@CHNMCT297942D oacore_default_group_1]$ cat /etc/hosts


              10.87.176.74 chnmct297942d.ad.com       chnmct297942d
              127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
              ::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

               

              [oracle@CHNMCT297942D oacore_default_group_1]$ echo $HOSTNAME
              CHNMCT297942D.ad.com

               

              [oracle@CHNMCT297942D oacore_default_group_1]$ ping $HOSTNAME
              PING chnmct297942d.ad.com (10.87.176.74) 56(84) bytes of data.
              64 bytes from chnmct297942d.ad.com (10.87.176.74): icmp_seq=1 ttl=64 time=0.067 ms
              64 bytes from chnmct297942d.ad.com (10.87.176.74): icmp_seq=2 ttl=64 time=0.063 ms

               

              when checked server.log in oacore LOG_HOME/ora/10.1.3/j2ee/oacore/oacore_default_group_1 found below


              13/09/09 17:15:37.107 10.1.3.5.0 Stopped (Shutdown executed by oc4jadmin from 127.0.0.1 (localhost))
              13/09/09 17:26:46.221 10.1.3.5.0 Started
              13/09/09 17:26:48.64 10.1.3.5.0 Started
              13/09/09 17:29:36.850 10.1.3.5.0 Stopped (Shutdown executed by oc4jadmin from 127.0.0.1 (localhost))
              13/09/09 17:40:02.876 10.1.3.5.0 Started
              13/09/09 17:40:04.477 10.1.3.5.0 Started
              13/09/09 17:43:36.362 10.1.3.5.0 Stopped (Shutdown executed by oc4jadmin from 127.0.0.1 (localhost))

               

              Access.log shows

               

              127.0.0.1 - - [09/Sep/2013:17:42:21 +0530] "HEAD  /index.html HTTP/1.1" 200 0 0 "-" "-"

              127.0.0.1 - - [09/Sep/2013:17:42:41 +0530] "HEAD  /index.html HTTP/1.1" 200 0 0 "-" "-"

              127.0.0.1 - - [09/Sep/2013:17:43:01 +0530] "HEAD  /index.html HTTP/1.1" 200 0 0 "-" "-"

              127.0.0.1 - - [09/Sep/2013:17:43:21 +0530] "HEAD  /index.html HTTP/1.1" 200 0 0 "-" "-"

               

              Error.log shows

               

              [Mon Sep  9 17:26:44 2013] [notice] Accept mutex: fcntl (Default: fcntl)

              [Mon Sep  9 17:40:01 2013] [notice]  configured -- resuming normal operations

              [Mon Sep  9 17:40:01 2013] [notice] Accept mutex: fcntl (Default: fcntl)


              Is it anyway related to host IP configuration ?

              • 4. Re: HTTP_SERVER not coming up after clone
                Asif Muhammad

                Hi,

                 

                Is it anyway related to host IP configuration ?

                I hardly doubt that IP would be the cause for the issue.

                 

                Anyways, did you bounce the Apps Tier after running the autoconfig on the apps Tier. Please bounce the system and let us know of the status if you have not bounced the system as at yet.

                 

                In addition to the above, also check the alert log file for any errors.

                 

                Thanks &

                Best Regards,

                • 5. Re: HTTP_SERVER not coming up after clone
                  Djay-OC

                  Hi Asif,

                   

                  Yes , i did bounce the apache/ all applicaiton services,

                   

                  even 1. Cleared $CUSTOM_TOP/_pages , ran ojspcompile , autoconfig on both tiers.

                           2.  Tried to manually open the forms by setting Secure_authentication to OFF forms also not opening

                   

                  Regards,

                  • 6. Re: HTTP_SERVER not coming up after clone
                    Asif Muhammad

                    Hi,

                     

                     

                    Suggest you to have a look at threads:

                    https://forums.oracle.com/thread/1048498

                     

                    Cleared $CUSTOM_TOP/_pages , ran ojspcompile , autoconfig on both tiers.

                    I believe you are referring to $COMMON_TOP/_pages. Please note that you are not suppose to remove files in R12 in order to clear the cache. Removal of these files were followed in 11i. For R12

                     

                    Have a look at:

                    https://forums.oracle.com/message/4024066#4024066

                    https://forums.oracle.com/message/10308246#10308246

                     

                    As mentioned earlier, please also have a review of the DB log file.

                     

                    Thanks &

                    Best Regards,

                    • 7. Re: HTTP_SERVER not coming up after clone
                      Djay-OC

                      No solution from both discussions. Database alert.log doesnt have any errors.

                      One thing to note both db and application on same node.

                      • 8. Re: HTTP_SERVER not coming up after clone
                        Asif Muhammad

                        Hi,

                         

                        Can you query the db for any invalid objects, and post the details here.

                         

                        Also check if you find any errors in the HTTP_Server, Apache and Application log files.. I suggest you upload the file so that we may have a review on the logfiles.

                         

                        Thanks &

                        Best Regards

                        • 9. Re: HTTP_SERVER not coming up after clone
                          Djay-OC

                          Please find below


                          Invalid objects

                           

                          OBJECT_TYPE           COUNT(*)
                          ------------------- ----------
                          PACKAGE BODY               228
                          MATERIALIZED VIEW            1
                          JAVA CLASS                 256
                          JAVA SOURCE                  1
                          SYNONYM                      4
                          TABLE                        3

                          6 rows selected.

                           

                          Apache access_log.1378684800

                           

                          127.0.0.1 - - [09/Sep/2013:19:55:34 +0530] "HEAD  /index.html HTTP/1.1" 200 0 0 "-" "-"
                          127.0.0.1 - - [09/Sep/2013:19:55:54 +0530] "HEAD  /index.html HTTP/1.1" 200 0 0 "-" "-"
                          127.0.0.1 - - [09/Sep/2013:19:56:14 +0530] "HEAD  /index.html HTTP/1.1" 200 0 0 "-" "-"
                          127.0.0.1 - - [09/Sep/2013:19:56:34 +0530] "HEAD  /index.html HTTP/1.1" 200 0 0 "-" "-"

                           

                          $LOG_HOME/10.1.3/opmn/oafm_default_group_1/oafmstd.err

                           

                          13/09/09 18:18:26 Error: <connector name="AppsSOAAdapter" path="AppsSOAAdapter.rar" /> will not be bootstrapped since corresponding module declaration was not found in application.xml.
                          13/09/09 18:18:26 Error: <connector name="OracleASjms" path="OracleASjms.rar" /> will not be bootstrapped since corresponding module declaration was not found in application.xml.
                          13/09/09 18:52:54 Error: <connector name="AppsSOAAdapter" path="AppsSOAAdapter.rar" /> will not be bootstrapped since corresponding module declaration was not found in application.xml.
                          13/09/09 18:52:54 Error: <connector name="OracleASjms" path="OracleASjms.rar" /> will not be bootstrapped since corresponding module declaration was not found in application.xml.
                          13/09/09 18:52:54 Error: <connector name="AppsSOAAdapter" path="AppsSOAAdapter.rar" /> will not be bootstrapped since corresponding module declaration was not found in application.xml.
                          13/09/09 18:52:54 Error: <connector name="OracleASjms" path="OracleASjms.rar" /> will not be bootstrapped since corresponding module declaration was not found in application.xml.


                          $LOG_HOME/10.1.3/opmn/oafm_default_group_1/oafmstd.out


                          13/09/09 18:53:00 INFO: SecuritySensitive.lookupException password is not available for indirect password via application context (user: ASADMIN)
                          13/09/09 18:53:01 SEVERE: ApplicationStateRunning.initConnector Error occurred initializing connectors.  Exception is: Exception creating connection pool.  Exception: oracle.oc4j.sql.DataSourceException: Exception setting the property 'dbcFile' on the DataSource. Exception: java.lang.reflect.InvocationTargetException
                          13/09/09 18:53:01 SEVERE: ApplicationStateRunning.initConnector Stack trace: oracle.oc4j.sql.DataSourceException: Exception creating connection pool.  Exception: oracle.oc4j.sql.DataSourceException: Exception setting the property 'dbcFile' on the DataSource. Exception: java.lang.reflect.InvocationTargetException
                                  at com.evermind.server.ApplicationStateRunning.initDataSourceConnectionPool(ApplicationStateRunning.java:2142)
                                  at com.evermind.server.ApplicationStateRunning.initDataSourceConnector(ApplicationStateRunning.java:2085)
                                  at com.evermind.server.ApplicationStateRunning.initConnector(ApplicationStateRunning.java:1317)
                                  at com.evermind.server.ApplicationStateRunning.initConnectors(ApplicationStateRunning.java:366)
                                  at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:224)
                                  at com.evermind.server.Application.setConfig(Application.java:460)
                                  at com.evermind.server.Application.setConfig(Application.java:361)
                                  at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1919)
                                  at com.evermind.server.ApplicationServer.initializeDeployedApplications(ApplicationServer.java:1667)
                                  at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1050)
                                  at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
                                  at java.lang.Thread.run(Thread.java:619)
                          Caused by: javax.resource.ResourceException: oracle.oc4j.sql.DataSourceException: Exception setting the property 'dbcFile' on the DataSource. Exception: java.lang.reflect.InvocationTargetException
                                  at oracle.oc4j.sql.spi.ResourceAdapterImpl.createDataSourceConnectionPool(ResourceAdapterImpl.java:104)
                                  at oracle.oc4j.sql.DataSourceUtils.getDataSourceConnectionPool(DataSourceUtils.java:325)
                                  at com.evermind.server.ApplicationStateRunning.initDataSourceConnectionPool(ApplicationStateRunning.java:2121)
                                  ... 11 more
                          Caused by: oracle.oc4j.sql.DataSourceException: Exception setting the property 'dbcFile' on the DataSource. Exception: java.lang.reflect.InvocationTargetException
                                  at oracle.oc4j.sql.DataSourceUtils.setProperties(DataSourceUtils.java:123)
                                  at oracle.oc4j.sql.config.DataSourceConfigUtils.createConnectionFactory(DataSourceConfigUtils.java:338)
                                  at oracle.oc4j.sql.DataSourceConnectionPoolImpl.<init>(DataSourceConnectionPoolImpl.java:108)
                                  at oracle.oc4j.sql.spi.ResourceAdapterImpl.createDataSourceConnectionPool(ResourceAdapterImpl.java:99)
                                  ... 13 more

                          13/09/09 18:53:01 Oracle Containers for J2EE 10g (10.1.3.5.0)  initialized


                          $LOG_HOME/ora/10.1.3/opmn/HTTP_Server~1.log

                           

                          13/09/09 18:14:19 Stop process
                          --------
                          /home/oracle/application/inst/apps/VISEND_chnmct297942d/ora/10.1.3/Apache/Apache/bin/apachectl stop: httpd stopped

                          --------
                          13/09/09 18:18:10 Start process
                          --------
                          /home/oracle/application/inst/apps/VISEND_chnmct297942d/ora/10.1.3/Apache/Apache/bin/apachectl startssl: execing httpd

                          --------
                          13/09/09 18:21:52 Stop process
                          --------
                          /home/oracle/application/inst/apps/VISEND_chnmct297942d/ora/10.1.3/Apache/Apache/bin/apachectl stop: httpd stopped

                          --------
                          13/09/09 18:52:32 Start process
                          --------
                          /home/oracle/application/inst/apps/VISEND_chnmct297942d/ora/10.1.3/Apache/Apache/bin/apachectl startssl: execing httpd

                          • 10. Re: HTTP_SERVER not coming up after clone
                            Hussein Sawwan-Oracle

                            Please see (12.1.3 Login Page Is Not Working (Doc ID 1529771.1)).

                             

                            Thanks,

                            Hussein

                            • 11. Re: HTTP_SERVER not coming up after clone
                              Djay-OC

                              Hi Hussein and Asif,

                               

                              Issue solved. Firewall was enabled .I disabled the firewall. url opening and its working fine.

                              We were using it for our educational purpose hence a newbie installed OEM 6 with default settings.

                               

                              Thanks again.