This discussion is archived
6 Replies Latest reply: Jul 14, 2008 11:14 PM by 523659 RSS

My Oracle AS HTTP_Server cannot start now !

523659 Newbie
Currently Being Moderated
I use command './opmnctl startall' to start My My Oracle AS Server, But it didn't work now.

step 1

$ ./opmnctl status

Processes in Instance: ias.c.abc.net
--------------------------------------------------------------+---------
ias-component | process-type | pid | status
--------------------------------------------------------------+---------
ASG | ASG | N/A | Down
OC4JGroup:default_group | OC4J:oc4j_soa | N/A | Down
OC4JGroup:default_group | OC4J:home | N/A | Down
HTTP_Server | HTTP_Server | N/A | Down

step 2

$ ./opmnctl startall
opmnctl: starting opmn and all managed processes...
================================================================================
opmn id=c.abc.net:6200
2 of 3 processes started.

ias-instance id=ias.c.abc.net
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
--------------------------------------------------------------------------------
ias-component/process-type/process-set:
HTTP_Server/HTTP_Server/HTTP_Server/

Error
--> Process (index=1,uid=878718185,pid=5735)
failed to start a managed process after the maximum retry limit
Log:
/home/oracle/app/ias/opmn/logs//HTTP_Server~1.log

step 3

$ ./opmnctl status

Processes in Instance: ias.c.abc.net
--------------------------------------------------------------+---------
ias-component | process-type | pid | status
--------------------------------------------------------------+---------
ASG | ASG | N/A | Down
OC4JGroup:default_group | OC4J:oc4j_soa | 5689 | Alive
OC4JGroup:default_group | OC4J:home | 5688 | Alive
HTTP_Server | HTTP_Server | N/A | Down

step 4

$ ./opmnctl startproc process-type=HTTP_Server
opmnctl: starting opmn managed processes...
================================================================================
opmn id=c.abc.net:6200
0 of 1 processes started.

ias-instance id=ias.c.abc.net
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
--------------------------------------------------------------------------------
ias-component/process-type/process-set:
HTTP_Server/HTTP_Server/HTTP_Server/

Error
--> Process (index=1,uid=878718188,pid=6246)
failed to start a managed process after the maximum retry limit
Log:
/home/oracle/app/ias/opmn/logs//HTTP_Server~1.log

Thx for any help !
  • 1. Re: My Oracle AS HTTP_Server cannot start now !
    577207 Newbie
    Currently Being Moderated
    Please mention your OAS version.

    Have you checked the folloiwng and post the contents;
    /home/oracle/app/ias/opmn/logs//HTTP_Server~1.log
    Adith
  • 2. Re: My Oracle AS HTTP_Server cannot start now !
    427906 Explorer
    Currently Being Moderated
    usually 3 reasons why apache doesn't start:

    1: ports already in use
    2: on linux with ports < 1024 not starting with rootprivs
    3: somebody changed the config and messed it up , should be able to see why as the previous poster says in the logfile
  • 3. Re: My Oracle AS HTTP_Server cannot start now !
    523659 Newbie
    Currently Being Moderated
    OAS version: Oracle SOA Suite Version 10.1.4

    In the HTTP_Server~1.log file, the content is

    --------
    08/07/14 16:45:12 Start process
    --------
    /home/oracle/app/ias/Apache/Apache/bin/apachectl startssl: execing httpd

    no other error message.
  • 4. Re: My Oracle AS HTTP_Server cannot start now !
    Shail Goel Pro
    Currently Being Moderated
    Can you also tell what's in your $OH/Apache/Apache/logs/error_logs.<99999> file?

    PS: From OHS's point of view, it is not that important right now but are you sure it is v10.1.4 ? If it is Oracle SOA Suite, it should be v10.1.3.1.x

    Thanks
    Shail
  • 5. Re: My Oracle AS HTTP_Server cannot start now !
    523659 Newbie
    Currently Being Moderated
    The error log I find in the error_logs.<99999> file is :

    [Mon Jul 14 17:22:07 2008] [warn] pid file /home/oracle/app/ias/Apache/Apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
    fopen: Permission denied
    httpd: could not log pid to file /home/oracle/app/ias/Apache/Apache/logs/httpd.pid

    I'm sure the Oracle SOA Suite Version is 10.1.4. I get Oracle Application Server 10g Software (10.1.3.x) at http://www.oracle.com/technology/software/products/ias/index.html.

    And I get the patchs(p5983637_101420_LINUX.zip, p5983640_101420_LINUX.zip) from metalink.

    It works well for about half of year. A few days ago, my workmate stop the server use command './opmnctl shutdown', but this command no response, so she reboot the server, And it didn't work now.
  • 6. Re: My Oracle AS HTTP_Server cannot start now !
    523659 Newbie
    Currently Being Moderated
    OK,I get it !

    Thx for shgoel's reminder.

    In the log file, I get the error:

    httpd: could not log pid to file /home/oracle/app/ias/Apache/Apache/logs/httpd.pid

    In the path $OH/Apache/Apache/logs/, I found the the file 'httpd.pid', view it's owner use 'ls -l', found the file's owner is root.

    So, when I start the server as user oracle, oracle user can't wite file of root. Permission denied.

    When I rename this file 'httpd.pid' as another name, My server start success.

    Thanks all repliers, Thanks very much!!

    Message was edited by:
    CNBoy