2015年8月20日 星期四

【Oracle ERP Note 】ORACLE_UNQNAME not defined


Problem:

Try to start up Oracle OEM, and get the following error:

[prodba]$ emctl status agent
Environment variable ORACLE_UNQNAME not defined. Please set ORACLE_UNQNAME to database unique name.

Solution:

[prodba]$ export $ORACLE_UNQNAME=LAB

LAB is Oracle SID

Then, the system will start the process, emagent.

[root@dev ~]# netstat -tlnp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name

tcp        0      0 :::3938                     :::*                        LISTEN      7689/emagent
tcp        0      0 :::1158                     :::*                        LISTEN      7669/java

Reference:

1. https://community.oracle.com/thread/2195939

沒有留言:

張貼留言

prettyPrint();