Starting from Oracle10g, Oracle has greatly enhanced OEM tools and fully displayed EM tools through the server side.
In 10g, the client does not need to install any Oracle client tools, and can call powerful EM tools with just the browser.
On the server side, you can start the EM tool console through the following command:
emctl start dbconsole
The following is the startup process:
[oracle@danaly ~]$ emctl start dbconsole
TZ set to PRC
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
http://danaly.hurrray.com.cn:1158/ em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control ........................ started.
---- -------------------------------------------------- ------------
Logs are generated in directory /opt/oracle/product/10.2.0/danaly.hurrray.com.cn_danaly/sysman/log
After startup We can access it by entering the following url in the browser:
http://danaly.hurrray.com.cn:1158/em/
Similarly, to stop OEM, you can enter the following command:
emctl stop dbconsole
The following is the stop process:
[oracle@danaly ~]$ emctl stop dbconsole
TZ set to PRC
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright ( c) 1996, 2005 Oracle Corporation. All rights reserved.
http://danaly.hurrray.com.cn:1158/em/console/aboutApplication
Stopping Oracle Enterprise Manager 10g Database Control ...... Stopped.
You can also type emctl directly to view the options supported by emctl:
[oracle@danaly ~]$ emctl
TZ set to PRC
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1 .0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
Invalid arguments
Unknown command option
Usage::
Oracle Enterprise Manager 10g Database Control commands:
emctl start| stop| status| setpasswd dbconsole