Oracle Apps DBA

My photo
More than 5+ Years of IT Experience in administering Enterprise wide Multi Vendor UNIX Servers, Oracle Databases (8i to 11gR2), Middle-tiers, Applications and Clusters. I am a Sun Certified System Administrator (SCSA) for Solaris 10, oracle 10g database certified associate(OCA), Oracle 10g Database certified professional (OCP) and Oracle E-Business suite R12 certified professionl(OCP)

Oracle Database and Applications

Sunday, 27 January 2013

Error: The command name "list_plugins_on_server" is not a recognized command

When trying to check all plugins available on the server getting error:

[ora11g@monitorem ~]$ emcli list_plugins_on_server
Error: The command name "list_plugins_on_server" is not a recognized command.
Run the "help" command for a list of recognized commands.
You may also need to run the "sync" command to synchronize with the current OMS.


Cause:
emcli is not synchronized with OMS

Action:
[ora11g@monitorem ~]$ which emctl
/u01/HomeEM12c/12c_Home/oms/bin/emctl
[ora11g@monitorerp ~]$ emcli sync
Error: Session expired. Run emcli login to establish a session.
[ora11g@monitorerp ~]$ emcli login -username=sysman
Enter password
Login successful

[ora11g@monitorem ~]$ emcli sync
Synchronized successfully






No comments: