Skip to main content

Posts

Showing posts with the label Em 12c

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

java thread main java emcli EM12c

Error encountered while trying to extract emcli utility from EM 12c cloud control OMS Home: [ora11g@monitorerp EMCLI]$ java -jar emclikit.jar client -install_dir=/u01/12c_Agent/EMCLI Exception in thread "main" java.lang.ClassFormatError: oracle.sysman.emCLI.CLIInstallLaunch (unrecognized class file version) at java.lang.VMClassLoader.defineClass(libgcj.so.7rh) at java.lang.ClassLoader.defineClass(libgcj.so.7rh) at java.security.SecureClassLoader.defineClass(libgcj.so.7rh) at java.net.URLClassLoader.findClass(libgcj.so.7rh) at java.lang.ClassLoader.loadClass(libgcj.so.7rh) at java.lang.ClassLoader.loadClass(libgcj.so.7rh) at gnu.java.lang.MainThread.run(libgcj.so.7rh)   Cause: Expected version of java executable is not exists in PATH variable.   Solution: => Set JDK 1.6_u30 in PATH vriable and rerun the command it should execute without any errors => If java 1.6_uxx is not preset in your OS then please download and install it. ...