Solved

Apache Web Server won't start

Posted on 2001-06-07
5
433 Views
Last Modified: 2008-02-20
Hi,

               I have just installed Oracle 8.1.7 in typical mode on a Solaris Ultra 10 with 256MB RAM and 1GB swape
               space. The Apache server is supposed to start after the installation. But it didn't.

               When I tried to run the httpdsctl configtest. I met this error,

               Syntax error on line 15 of /u01/oracle/product/8.1.7/Apache/Apache/conf/mod__ose.conf:
               AuroraService - directive already in effect for this Server.

               I did installed the Apache server in process of oracle installation. Here is my mod__ose.conf,

               LoadModule ose_module      libexec/libjipa8i.so


               #
               # Apache configuration
               # Domain: /webdomains
               #
               # o/p generated by
               # exportwebdomain -format apache -netservice inst1_http -nodocs -nodefault /webdomains
               #

               <IfModule mod_ose.c>


               AuroraService inst1_http (here is the problem)


               #
               # Context for VPATH /context-test/
               #

               <Location /context-test/ >
               AddHandler aurora-server snoop
               </Location>

               <Location /context-test/admin/shell >
               SetHandler aurora-server
               </Location>

               <Location /context-test/errors/internal >
               SetHandler aurora-server
               </Location>

               <Location /context-test/examples/counter >
               SetHandler aurora-server
               </Location>

               <Location /context-test/examples/snoop >
               SetHandler aurora-server
               </Location>

               <Location /context-test/servlet/* >
               SetHandler aurora-server
               </Location>

               </IfModule>

               Below is my  tnsnames.ora file,

               # TNSNAMES.ORA Network Configuration File: /u01/oracle/product/8.1.7/network/admin/tnsnames.ora
               # Generated by Oracle configuration tools.


               INST1_HTTP.IEEE.ORG =
                (DESCRIPTION =
                  (ADDRESS_LIST =
                    (ADDRESS = (PROTOCOL = TCP)(HOST = tokyo)(PORT = 1521))
                  )
                  (CONNECT_DATA =
                    (SERVER = SHARED)
                    (SERVICE_NAME = tpd.ieee.org)
                   (PRESENTATION = http://admin)
                  )
                )



               TPD.IEEE.ORG =
                (DESCRIPTION =
                  (ADDRESS_LIST =
                    (ADDRESS = (PROTOCOL = TCP)(HOST = tokyo)(PORT = 1521))
                  )
                  (CONNECT_DATA =
                    (SERVICE_NAME = tpd.ieee.org)
                  )
                )

               EXTPROC_CONNECTION_DATA.IEEE.ORG =
                (DESCRIPTION =
                  (ADDRESS_LIST =
                    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
                  )
                  (CONNECT_DATA =
                    (SID = PLSExtProc)
                    (PRESENTATION = RO)
                  )
                )

               Can somebody help me out? THanks.
0
Comment
Question by:pengren
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 3

Expert Comment

by:mathavra
ID: 6165163
Usually you get this error When installing Oracle9i Application Server Enterprise Edition, if you have installed Apache previously in the same ORACLE_HOME, Apache configuration fails with the following error:

Syntax Error on line 14 of
<ORACLE_HOME>/Apache/Apache/conf/mod__ose.conf
Aurora Service - directive already effect for this server
<ORACLE_HOME>/Apache/Apache/bin/httpdsctl start: httpd could not be started

Try the following steps. It may work.

Remove the double entry of mod__ose.conf in the file $ORACLE_HOME/Apache/Apache/conf/oracle_apache.conf.

Restart your Oracle HTTP Server, using the following command:

prompt>$ORACLE_HOME/Apache/Apache/bin/apachectl start
0
 

Author Comment

by:pengren
ID: 6165360
Hi mathavra,

I tried your suggestion. I tried remove both of them, leave one, and both didn't work.

I installed 8i Enterprise Eidition. The installation of Apache in $ORACLE_HOME was done by oracle installer. I have not installed Apache before that.

0
 

Author Comment

by:pengren
ID: 6165367
Hi mathavra,

I tried your suggestion. I tried remove both of them, leave one, and both didn't work.

I installed 8i Enterprise Eidition. The installation of Apache in $ORACLE_HOME was done by oracle installer. I have not installed Apache before that.

0
 
LVL 6

Expert Comment

by:Mindphaser
ID: 7036011
Please update and finalize this old, open question. Please:

1) Award points ... if you need Moderator assistance to split points, comment here with details please or advise us in Community Support with a zero point question and this question link.
2) Ask us to delete it if it has no value to you or others
3) Ask for a refund so that we can move it to our PAQ at zero points if it did not help you but may help others.

EXPERT INPUT WITH CLOSING RECOMMENDATIONS IS APPRECIATED IF ASKER DOES NOT RESPOND.

Thanks,

** Mindphaser - Community Support Moderator **

P.S.  Click your Member Profile, choose View Question History to go through all your open and locked questions to update them.
0
 
LVL 6

Accepted Solution

by:
Mindphaser earned 0 total points
ID: 7043350
Points refunded and moved to PAQ

** Mindphaser - Community Support Moderator **
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and theā€¦
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.

736 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question