3 Replies Latest reply: Jul 22, 2005 2:32 PM by orafad RSS

    problem with ascontrol service

    ivano
      System: iAS 10g 10.1.2 (J2EE and Web Cache version) on windows 2003

      I have a problem with ASControl Service. Sometimes it goes down. If I try to restart it, I have a generic error. If I check the Event viewer, it says: 'error 1 type 6 (disk)'. If I restart the server, it works but after a random time (from minutes to days) it still goes down.

      The services OraclexxxASControl e OraclexxxProcessManager have "log on as" a domain user that is a member of Administrators group

      In OraclexxxASControlsrvc.log I found this when the service goes down

      07/18/05 11:52:55 Recieved ServCtrlHdlr command, 4
      07/18/05 11:57:55 Recieved ServCtrlHdlr command, 4
      07/18/05 12:02:55 Recieved ServCtrlHdlr command, 4
      07/18/05 12:07:55 Recieved ServCtrlHdlr command, 4
      07/18/05 12:12:55 Recieved ServCtrlHdlr command, 4
      07/18/05 12:17:55 Recieved ServCtrlHdlr command, 4
      07/18/05 12:22:55 Recieved ServCtrlHdlr command, 4
      07/18/05 12:23:52 Recieved ServCtrlHdlr command, 4
      07/18/05 12:24:19 Watchdog process exited with exit code 0

      When I try to restart I have this:

      -------------- [Oracleoracleas1ASControl] ------------
      EMDROOT=c:\oracle\as10
      ORACLE_HOME=c:\oracle\as10
      EMDSTATE=c:\oracle\as10
      CONSOLE_CFG=iasconsole
      TRACE_LEVEL=16
      TIMEOUT=15
      07/20/05 09:52:57 Start pending...
      07/20/05 09:52:57 Verifying iasconsole is not started already. Command line "c:\oracle\as10\bin\emctl.bat" istatus iasconsole
      07/20/05 09:53:12 iasconsole may already be running. termStatus=3

      Can someone help me?
        • 1. Re: problem with ascontrol service
          orafad
          Maybe you should try to log a Bug with Oracle.

          It seems when you try to restart 'iasconsole', it is partially still up. "iasconsole may already be running" - try using net stop/start, emctl.bat script or to kill processes part of iasconsole and then restart. This way, at least you dont need to reboot the machine.

          Have you checked other log files (emagent, as control logs) for errors?
          • 2. Re: problem with ascontrol service
            ivano
            I've looked to other logs:


            in 'emiasconsole.nohup' when the shutdown happened:

            ----- Mon Jul 18 12:22:47 2005::Process with pid 2564 not found. Checking for file c:\oracle\as10/sysman/log/exitStatus_iasconsole -----
            ----- Mon Jul 18 12:22:47 2005::Exitfile c:\oracle\as10/sysman/log/exitStatus_iasconsole not found. Signaling abnormal exit -----
            ----- Mon Jul 18 12:22:48 2005::EMAgent exited at Mon Jul 18 12:22:48 2005 with signal 99 -----
            ----- Mon Jul 18 12:22:48 2005::EMAgent has exited due to an internal error -----
            ----- Mon Jul 18 12:22:48 2005:: - checking for corefile at c:\oracle\as10/sysman/emd -----
            ----- Mon Jul 18 12:22:48 2005::EMAgent coredump not found!! -----
            ----- Mon Jul 18 12:22:48 2005::Restarting EMAgent. -----
            launchprocess::Launching process : c:\oracle\as10/bin/emagent
            launchprocess::Launched process successfuly. Process Id is : 4792
            ----- Mon Jul 18 12:22:48 2005::Agent Launched with PID 4792 at time Mon Jul 18 12:22:48 2005 -----
            ----- Mon Jul 18 12:23:06 2005::Process with pid 4792 not found. Checking for file c:\oracle\as10/sysman/log/exitStatus_iasconsole -----
            ----- Mon Jul 18 12:23:06 2005::Exitfile c:\oracle\as10/sysman/log/exitStatus_iasconsole not found. Signaling abnormal exit -----
            ----- Mon Jul 18 12:23:07 2005::EMAgent exited at Mon Jul 18 12:23:07 2005 with signal 99 -----
            ----- Mon Jul 18 12:23:07 2005::EMAgent has exited due to an internal error -----
            ----- Mon Jul 18 12:23:07 2005:: - checking for corefile at c:\oracle\as10/sysman/emd -----
            ----- Mon Jul 18 12:23:07 2005::EMAgent coredump not found!! -----
            ----- Mon Jul 18 12:23:07 2005::Restarting EMAgent. -----
            launchprocess::Launching process : c:\oracle\as10/bin/emagent
            launchprocess::Launched process successfuly. Process Id is : 4976
            ----- Mon Jul 18 12:23:07 2005::Agent Launched with PID 4976 at time Mon Jul 18 12:23:07 2005 -----
            ----- Mon Jul 18 12:24:16 2005::Process with pid 4976 not found. Checking for file c:\oracle\as10/sysman/log/exitStatus_iasconsole -----
            ----- Mon Jul 18 12:24:16 2005::Exitfile c:\oracle\as10/sysman/log/exitStatus_iasconsole not found. Signaling abnormal exit -----
            ----- Mon Jul 18 12:24:17 2005::EMAgent exited at Mon Jul 18 12:24:17 2005 with signal 99 -----
            ----- Mon Jul 18 12:24:17 2005::EMAgent has exited due to an internal error -----
            ----- Mon Jul 18 12:24:17 2005:: - checking for corefile at c:\oracle\as10/sysman/emd -----
            ----- Mon Jul 18 12:24:17 2005::EMAgent coredump not found!! -----
            ----- Mon Jul 18 12:24:17 2005::EMAgent is Thrashing. Exiting loop. -----
            ----- Mon Jul 18 12:24:17 2005::EMWD Stopping IASConsole. -----
            ----- Failed to shutdown iASConsole Gracefully!. -----
            ----- Mon Jul 18 12:24:19 2005::Commiting Process death. -----
            ----- Mon Jul 18 12:24:19 2005::Exited due to Thrash. -----


            ----------------------------------------------------------------------------------------------------------------------

            in the same time in the file emagent.trc

            2005-07-18 12:23:36 Thread-5796 ERROR engine: [host,w3ashub002.prodhub.int,openPorts] : nmeegd_GetMetricData failed : 'uname' is not recognized as an internal or external command,
            operable program or batch file.
            Failed to run the uname command at c:/oracle/as10/sysman/admin/scripts/openports.pl line 33.

            2005-07-18 12:23:37 Thread-5796 ERROR fetchlets.oslinetok: Process stderr = 'uname' is not recognized as an internal or external command,
            operable program or batch file.
            Failed to run the uname command at c:/oracle/as10/sysman/admin/scripts/insecureservices.pl line 35.

            2005-07-18 12:23:37 Thread-5796 ERROR engine: [host,w3ashub002.prodhub.int,insecureServices] : nmeegd_GetMetricData failed : 'uname' is not recognized as an internal or external command,
            operable program or batch file.
            Failed to run the uname command at c:/oracle/as10/sysman/admin/scripts/insecureservices.pl line 35.

            2005-07-18 12:23:37 Thread-5796 ERROR collector: Error merging upload on demand files metric belonging to target w3ashub002.prodhub.int


            -----------------------------------------------------------------------------------------------------------------------

            in emagentfetchlet.log

            2005-07-18 12:23:02,820 [main] WARN ias.util getMetricResultUtil.311 - Error getting metric opmn_process_info Error getting metric opmn_process_info rows is null
            2005-07-18 12:23:20,105 [main] WARN ias.util getMetricResultUtil.311 - Error getting metric opmn_process_info Error getting metric opmn_process_info rows is null


            -----------------------------------------------------------------------------------------------------------------------

            in emdctl.trc

            (error = 10061)
            2005-07-18 12:22:48 Thread-952 WARN http: snmehl_connect: connect failed to (w3ashub002.prodhub.int:1830): No connection could be made because the target machine actively refused it.
            (error = 10061)
            2005-07-18 12:23:07 Thread-4928 WARN http: snmehl_connect: connect failed to (w3ashub002.prodhub.int:1830): No connection could be made because the target machine actively refused it.
            (error = 10061)
            2005-07-18 12:24:17 Thread-744 WARN http: snmehl_connect: connect failed to (w3ashub002.prodhub.int:1830): No connection could be made because the target machine actively refused it.
            • 3. Re: problem with ascontrol service
              orafad
              Well, does the emagent PIDs exist and does processes abort like it looks like from the emiasconsole.nohup log?

              I see there are a couple of similar problems reported with DBConsole on Windows 2003. Best bet is to try to log a Bug with Oracle.