Error when using Emctl start Dbconsole:
environment variable oracle_unqname not defined. Please set Oracle_unqname to database unique name
Workaround:
Set environment variables: Export oracle_unqname= $ORACLE _sid
If not, remove the EM reconfiguration:
Emca-deconfig Dbcontrol Db-repos Drop
1. Change the password
Alter user DBSNMP identified by ORCL;
2. Regenerate
Emca-config Dbcontrol Db-repos Create
Enter the following information:
Database SID:ORCL
Listener Port number: 1521
Listener Oracle_home [/home/oracle/app/oracle/product/11.2.0/dbhome_1]:
SYS User's password:
DBSNMP User's password:
Sysman User's password:
e-mail address of the notification (optional):
Outgoing (SMTP) server for notifications (optional):
-----------------------------------------------------------------
The following settings have been specified
Database Oracle_home .../home/oracle/app/oracle/product/11.2.0/dbhome_1, ....----
The local hostname ....... localhost.localdomain .....
The listener is oracle_home .../home/oracle/app/oracle/product/11.2.0/dbhome_1------
Listener port number ...... ....... 1521
Database SID ..... ORCL-----
The e-mail address of the notification .....
Notification of the outgoing (SMTP) server ..... .....
Oracle EM_ error for