There is a known issue where the DB Admin Console is unable to start (either with the Windows Service in Windows or with emctl start dbconsole in other OS platforms) due to the following error:
“Starting Oracle Enterprise Manager 11g Database Control …The OracleDBConsole<SID> service is starting……….. The OracleDBConsole<SID> service could not be started.
“A service specific error occurred: 2.
“More help is available by typing NET HELPMSG 3547.”
The first place to look for the errors above is the folder with the database log files located in %DB_ORACLE_HOME%\<Hostname>_<db_unique_name>\sysman\log ($DB_ORACLE_HOME/<Hostname>_<db_unique_name>/sysman/log in Unix). One log file to check is emdctl.trc. Check for errors such as: “ERROR main: nmectl.c: nmectl_validateTZRegion, agentTZoffset =-###,and testTZoffset for <Time_Zone>:-### do not match”
If this error is present, the time zone currently set for your Oracle Database does not match the time zone of the database server hosting the database. To solve the problem, you will need to reset the time zone for your database to match what is set in the OS:
Windows:
1. Open up Command Prompt as an administrator
2. Set the following environment variables*:
set ORACLE_HOME=C:\app\%USERNAME%\product\11.2.0\dbhome_1
set PATH=%ORACLE_HOME%\BIN;%PATH%
set ORACLE_SID=<SID>
3. Run the following command to reset the time zone: emctl resetTZ dbconsole
4. After successful completion of step 3, please start the DB console.
Unix:
1. Open up an SSH terminal session
2. Set the following environment variables*:
export ORACLE_HOME=/oracle/app/$USER/product/11.2.0/dbhome_1
export PATH=$ORACLE_HOME/bin:$PATH
export ORACLE_SID=<SID>
3. Run the following command to reset the time zone: emctl resetTZ dbconsole
4. After successful completion of step 3, please start the DB console.
*=Your DB Oracle Home may differ than the example provided.
After running the steps above, you should be able to successfully start up the DB console for Oracle Enterprise Manager 11g Database Control.
The post Unable to Start Oracle Enterprise Manager 11g Database Control Due to Time Zone Change appeared first on PITSS Americas.