Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Apache Web Server won't start

Posted on 2001-06-07
5
Medium Priority
?
458 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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

610 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