Start-run-enter services. MSC-An error occurred while starting the oracledbconsoleorcl service.
Start manually from the CMD command line:
C:/Documents and Settings/wangnc> emctl start dbconsole
Environment Variable oracle_sid not defined. Please define it.
Set oracle_sid environment variables:
C:/Documents and Settings/wangnc> set oracle_sid = orcl
C:/Documents and Settings/wangnc> emctl start dbconsole
.
Still not, to the directory c:/Oracle/product/10.2.0/db_1/Solaris/J2EE found only oc4j_dbconsole_localhost_orcl directory, and no such directory as OC4J_DBConsole_sz-wangncD.cn.linecom.com_orcl, and then set oracle_hostname:
C:/Documents and Settings/wangnc> set oracle_hostname = localhost
C:/Documents and Settings/wangnc> emctl start dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996,200 5 Oracle Corporation. All rights reserved.
Http: // localhost: 1158/EM/console/aboutapplication
Starting Oracle Enterprise Manager 10g Database Control... the oracledbconsoleorcl service is starting .............
The oracledbconsoleorcl service cocould not be started.
A service specific error occurred: 2.
More help is available by typing net helpmsg 3547.
The following error is prompted:
C:/Documents and Settings/wangnc> net helpmsg 3547
A service specific error occurred :***.
Explanation
A service-specific error occurred.
Action
Refer to the help or documentation for that service to determine the problem.
The reason does not appear to be oracle_hostname. Cancel the settings:
C:/Documents and Settings/wangnc> set oracle_hostname =
C:/Documents and Settings/wangnc> set oracle_hostname
Environment Variable oracle_hostname Not Defined
Try to set the C:/Windows/system32/Drivers/etc/hosts file, and start again or not:
C:/Documents and Settings/wangnc> emctl start dbconsole
.
Since oracle was installed in the company, I now use broadband Internet access outside,Dynamic DHCP allocationIP address, so simply dial the network cable and confirm:
C:/Documents and Settings/wangnc> ipconfig
Windows IP configuration
Ethernet Adapter local area connection:
Media State ......: Media disconnected
Start dbconsole manually again:
C:/Documents and Settings/wangnc> emctl start dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996,200 5 Oracle Corporation. All rights reserved.
Http: // localhost: 1158/EM/console/aboutapplication
Starting Oracle Enterprise Manager 10g Database Control... the oracledbconsoleorcl service is starting ............................
The oracledbconsoleorcl service was started successfully.
Finally started, and then plugged in the network cable again, and confirmed:
C:/Documents and Settings/wangnc> ipconfig
Windows IP configuration
Ethernet Adapter local area connection:
Connection-specific DNS suffix.: Local
IP address ......: 192.168.10.63
Subnet Mask ......: 255.255.255.0
Default Gateway ......: 192.168.10.1
Check the status of the dbconsole service. Although it seems wrong, it is no longer a problem to log on to http: // localhost: 1158/EM.
C:/Documents and Settings/wangnc> emctl status dbconsole
.
-- End --