try to start the EM manager
[Email protected] ~]$ emctl start dbconsole
TZ set to Asia/chungking
Oracle Enterprise Manager 10g Databasecontrol Release 10.2.0.5.0
Copyright (c) 1996, Oraclecorporation. All rights reserved.
Https://linux5:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 10gDatabase Control ..... ..... ..... ..... ..... ............. .......... ... failed........................ .........
------------------------------------------------------------------
Logs is generated in Directory/u01/app/oracle/product/10.2.1/db_1/linux5_test/sysman/log
Failed to start
View status
[Email protected] ~]$ emctl status Dbconsole
TZ set to Asia/chungking
Oracle Enterprise Manager 10g Databasecontrol Release 10.2.0.5.0
Copyright (c) 1996, Oraclecorporation. All rights reserved.
Https://linux5:1158/em/console/aboutApplication
Oracle Enterprise Manager 10g is notrunning.
------------------------------------------------------------------
Logs is generated in Directory/u01/app/oracle/product/10.2.1/db_1/linux5_test/sysman/log
but viewing the process, there are dbconsole related processes
[Email protected] ~]$ Ps-ef | grep dbconsole
Oracle 6626 1 0 01:55 pts/1 00:00:01/U01/APP/ORACLE/PRODUCT/10.2.1/DB_1/PERL/BIN/PERL/U01/APP/ORACLE/PRODUCT/10 .2.1/db_1/bin/emwd.pldbconsole/u01/app/oracle/product/10.2.1/db_1/linux5_test/sysman/log/emdb.nohup
find relevant information from the Internet and see a suggestion to reload em.
The steps are as follows:
Remove EM First
1 Delete the following tables and views or roles, which are related to EM, and if they are not removed, reinstalling EM will prompt those users or roles to exist and stop the installation.
sql> DROP publicsynonym Setemviewusercontext;
sql> DROP publicsynonym mgmt_target_blackouts;
Sql> drop Rolemgmt_user;
sql> DROP Usermgmt_view CASCADE;
sql> DROP Usersysman CASCADE;
2 Remove Em
Emca-deconfig Dbcontrol Db-repos Drop
3 then rebuild
Emca-config Dbcontrol Db-reposcreate
INFO: >>>>>>>>>>>the Database Control URL is https://linux5:1158/em<<<< <<<<<<<
Enterprise Manager Configuration completedsuccessfully
Finished EMCA at Sep 11:01:37 AM
View em status after Rebuild , still not successfully started
[Email protected] ~]$ emctl start dbconsole
TZ set to Asia/chungking
Oracle Enterprise Manager 10g Databasecontrol Release 10.2.0.5.0
Copyright (c) 1996, Oraclecorporation. All rights reserved.
Https://linux5:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 10gDatabase Control ..... started.............
------------------------------------------------------------------
Logs is generated in Directory/u01/app/oracle/product/10.2.1/db_1/linux5_test/sysman/log
[Email protected] ~]$ emctl status Dbconsole
TZ set to Asia/chungking
Oracle Enterprise Manager 10g Databasecontrol Release 10.2.0.5.0
Copyright (c) 1996, Oraclecorporation. All rights reserved.
Https://linux5:1158/em/console/aboutApplication
EM Daemon is not running.
------------------------------------------------------------------
Logs is generated in Directory/u01/app/oracle/product/10.2.1/db_1/linux5_test/sysman/log
Viewing the contents of a log
content in emdctl.trc
2015-09-30 09:30:30 Thread-4135220928warn http:snmehl_connect:connectfailed
to (linux5:1830): Connection refused (Error = 111)
There is a problem with the 10.2.0.4 and 10.2.0.5 versions of em from mos, which requires a patch to be installed in advance p8350262
Installation steps
[Email protected] sw]$ Emctl stop Dbconsole
TZ set to Asia/chungking
Oracle Enterprise Manager 10g Databasecontrol Release 10.2.0.5.0
Copyright (c) 1996, Oraclecorporation. All rights reserved.
Https://linux5:1158/em/console/aboutApplication
Stopping Oracle Enterprise Manager 10gDatabase Control ...
... Stopped.
[Email protected] sw]$ Ps-ef | grep dbconsole
Oracle 7821 1759 0 15:43 pts/1 00:00:00 grep dbconsole
[[email protected] sw]$ ls
10201_database_linux_x86_64.cpio 8350262 Database P8350262_10205_generic.zip
[[Email protected] sw]$ CD 8350262/
[Email protected] 8350262]$ Opatch apply
Start em successfully after running
[Email protected] 8350262]$ Emctl statusdbconsole
TZ set to Asia/chungking
Oracle Enterprise Manager 10g Databasecontrol Release 10.2.0.5.0
Copyright (c) 1996, Oraclecorporation. All rights reserved.
Https://linux5:1158/em/console/aboutApplication
Oracle Enterprise Manager 10g is running.
------------------------------------------------------------------
Logs is generated in Directory/u01/app/oracle/product/10.2.1/db_1/linux5_test/sysman/log
This article is from the "Sunny" blog, make sure to keep this source http://dbasunny.blog.51cto.com/9192126/1699629
OEM startup failure