First, ensure Oracle installation succeeds and start Oracle service
Installation method for details: http://showerlee.blog.51cto.com/2047005/1118568
Oracle users use Sqlplus to log in to Oracle database backend
Sqlplus sys/123456 as Sysdba
1, modify the DBSNMP password:
Reconfigure the dbconsole, you need to enter a DBSNMP password, but any password will display an error and need to be modified beforehand.
Sql>alter user Dbsnmp identified by 123456;
2, delete the user created by the early dbconsole:
Sql>drop role Mgmt_user;
Sql>drop user Mgmt_view Cascade;
Sql>drop user Sysman Cascade;
3, delete the objects created by the earlier dbconsole:
Sql>drop public synonym mgmt_target_blackouts;
Sql>drop public synonym Setemviewusercontext;
4, recreate the Dbconsole: (if it is under Windows, go to the registry to remove Dbconsole services, restart the computer)
$EMCA-config Dbcontrol Db-repos Create
If this command fails, you can use the Rebuild command directly:
$EMCA-config Dbcontrol Db-repos recreate
According to the prompts, enter the SID first, and then enter Y to continue;
Input port 1521, input sys password, enter dbsnmp password, enter Sysman password, enter Y to continue
Long wait after the completion.
5, check state emctl status Dbconsole.
Restart Oracle Services
/etc/init.d/oracle restart
6, landing web Management
Native Input: https://localhost:1158/em/console/aboutApplication
Other machines accessible: https://"IP": 1158/em/console/aboutapplication
As shown in figure:
This article comes from "All the Way North" blog, please be sure to keep this source http://showerlee.blog.51cto.com/2047005/1125862
See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/database/Oracle/