Solved

Apache Web Server won't start

Posted on 2001-06-07
5
413 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
  • 2
  • 2
5 Comments
 
LVL 3

Expert Comment

by:mathavra
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Points refunded and moved to PAQ

** Mindphaser - Community Support Moderator **
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  â€¦
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

762 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now