Solved

Apache Web Server won't start

Posted on 2001-06-07
5
439 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

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…
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…

724 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