Apache Web Server won't start

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.
pengrenAsked:
Who is Participating?
 
MindphaserConnect With a Mentor Commented:
Points refunded and moved to PAQ

** Mindphaser - Community Support Moderator **
0
 
mathavraCommented:
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
 
pengrenAuthor Commented:
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
 
pengrenAuthor Commented:
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
 
MindphaserCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.