2 Replies Latest reply: Sep 23, 2009 2:15 PM by Shail Goel RSS

    WebCache will not start - How to set logging - Failed to start a managed ..

    635527
      Can anyone tell me how to set more detailed logging in webcache / opmnctl? The log file listed in the error shows nothing. I would guess I need to edit the webcache.xml file but don't know the values I should enter.

      This seem to be a common problem. To be exact I am doing an install of Oracle Grid Control and get this error.
      I have worked on this for the last couple of days and seem to hit a dead end.

      I have done the solution of change permissions webcachectl with same results. I also change the owner to root  and tried again. Same error.
      [root@ bin]# ls -l
      total 3508
      -rwx------ 1 oracle oinstall 16802 Jun 27 11:27 webcachectl
      -rwx------ 1 oracle oinstall 3562649 Jun 27 11:27 webcached
      -rwx------ 1 oracle oinstall 4651 Sep 29 2003 webcache_setuser.sh

      Thanks in advance
      SG
      [root@hostname bin]# ./webcache_setuser.sh setroot oracle
      The ORACLE_HOME environment variable is not set.
      Set ORACLE_HOME and restart ./webcache_setuser.sh
      [root@hostname bin]# export ORACLE_HOME=/home/oracle/OracleHomes/oms10g
      [root@hostname bin]# ./webcache_setuser.sh setroot oracle

      setroot task completed successfully.

      [root@ bin]# ls -l
      total 3508
      -rwxr-x--- 1 oracle oinstall 16802 Jun 27 11:27 webcachectl
      -rwsr-x--- 1 root oinstall 3562649 Jun 27 11:27 webcached
      -rwx------ 1 oracle oinstall 4651 Sep 29 2003 webcache_setuser.sh
      [root@ bin]#

      INITIAL ERROR

      [oracle@hostname webcache]$ /home/oracle/OracleHomes/oms10g/opmn/bin/opmnctl startproc ias-component=WebCache
      opmnctl: starting opmn managed processes...
      ================================================================================
      opmn id=hostname:6201
      0 of 2 processes started.

      ias-instance id=EnterpriseManager0.hostname
      ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
      ias-component/process-type/process-set:
      WebCache/WebCache/WebCache

      Error
      --> Process (pid=19983)
      failed to start a managed process after the maximum retry limit
      Log:
      /home/oracle/OracleHomes/oms10g/opmn/logs/WebCache~WebCache~1

      --------------------------------------------------------------------------------
      ias-component/process-type/process-set:
      WebCache/WebCacheAdmin/WebCacheAdmin

      Error
      --> Process (pid=19976)
      failed to start a managed process after the maximum retry limit
      Log:
      /home/oracle/OracleHomes/oms10g/opmn/logs/WebCache~WebCacheAdmin~1

      [oracle@hostname webcache]$

      Contents of /home/oracle/OracleHomes/oms10g/opmn/logs/WebCache~WebCache~1
      Oracle Application Server Web Cache 10g (10.1.2)
      Copyright (c) 1999, 2005, Oracle. All rights reserved.


      --------
      09/06/28 08:34:49 Start process
      --------
      Oracle Application Server Web Cache 10g (10.1.2)
      Copyright (c) 1999, 2005, Oracle. All rights reserved.
      --------
      09/06/28 08:34:51 Start process
      --------
      Oracle Application Server Web Cache 10g (10.1.2)
      Copyright (c) 1999, 2005, Oracle. All rights reserved.

      Edited by: user632524 on Jun 28, 2009 5:55 AM

      Edited by: user632524 on Jun 28, 2009 5:55 AM