, ,

Error During Remove Agent Service

среда, 12 марта 2014 г. Оставить комментарий

I got an error:OpenService failed - The specified service does not exist as an installed service.


C:\app\product\11.2.0\client_2\bin>schagent.exe -registerdatabase dbag 8080
Agent Registration Password ? *******************
*
Oracle Scheduler Agent Registration for 11.2 Agent
Agent Registration Successful!

C:\app\product\11.2.0\client_2\bin>schagent.exe -unregisterdatabase dbag 8080

1] dbag

Enter the number of the database being unregistered or 0 to cancel:
1
Oracle Scheduler Agent Unregistration for 11.1 Agent
Agent Unregistration Failed!
Error: ORA-27452: 192 is an invalid name for a database object.

C:\app\product\11.2.0\client_2\bin>schagent.exe -unregisterdatabase dbag 8080
No registered database v11.2 or higher to be unregistered.

C:\app\product\11.2.0\client_2\bin>schagent.exe -removeagentservice
OpenService failed - The specified service does not exist as an installed service. (0x424)


SQL> select * from all_scheduler_external_dests;

DESTINATION_NAME HOSTNAME PORT IP_ADDRESS ENABLED COMMENTS
----------------- ---------------- ------ ---------------- ------- ---------------------------------------------------------
AGENT_1 192.168.100.102 65001 192.168.100.102 TRUE Registered on 30-JAN-14 11.06.31.426000 AM EUROPE/MOSCOW

SQL>

begin
dbms_scheduler.drop_agent_destination(destination_name => 'AGENT_1');
end;

SQL>

Remove windows service:


C:\app\product\11.2.0\client_2\bin>sc delete OraClient11g_home2_OracleSchedulerExecutionAgent
[SC] DeleteService SUCCESS

0 коммент. »

Оставьте Ваш комментарий