Monthly Archives: March 2012


I refuse to purchase support for CSS in WordPress, so I found a workaround. The guys at Pelago have a really quick and easy way to make CSS tags inline, thus making your tweaks visible in WordPress. It’s intended for use with e-mail, but a it’s a cool WP hack for those of us who refuse to pony up.

Check it out:


Oracle Software Targets Without Inventory

Quick links


  • Software Targets Without Inventory
  • OCM is not installed or configured – executeCommand(): failed to verify harvester jar
  • No Oracle Homes found under Net Services Administration

After deploying several Oracle Enterprise Manager Agents on various hosts, Grid Control was returning several error messages. These errors include software targets without inventory messages, GC Harvester and OCM issues, and Net Services Administration errors. In my case the errors were confined to one host, but only a portion of the databases on that host were returning errors. Several websites suggested stopping, un-securing and securing the management agent. Other sites suggested installing Oracle Configuration Manager (OCM). These actions did not rectify the problems. I eventually determined that a lowercase drive letter was the culprit and was able to quickly fix the issue by removing the databases in Grid Control, manually re-adding each database, and changing the Oracle home path from c:\oracle to C:\oracle.


OS Microsoft Windows Server 2003 SP2 (32-bit)
Database Oracle 10g
Oracle 11g
Grid Control Oracle Enterprise Manager 11g Release 1 Grid Control


In the lower right of the home page, selecting Database Installations from the Deployments Summary drop-down returns the following error.

Deployments Summary
View Database Installations
Software Targets Without Inventory: 3 of 12
Database Installations Targets Installations Patches Applied
Oracle Database 10g 6 3 Yes
Oracle Database 11g 1 2 No

Clicking the link on the front page or selecting the “Deployments” tab, clicking “Host Configuration Collection Problems” and selecting the “Software Targets Without Inventory” sub-tab displays the following table.

Host Configuration Collection Problems

Target Name Target Type Host Oracle Home
MyDatabase3 Database Instance ServerName c:\oracle\product\10.2.0\db
MyDatabase4 Database Instance ServerName c:\oracle\product\10.2.0\db
MyDatabase5 Database Instance ServerName c:\oracle\product\10.2.0\db

This problem is further detailed by following the “System Errors” link at the bottom of the page.

Management Services and Repository

Component Type Agent Timestamp Level Error Text
GC Harvester n/a Feb 28, 2012 2:00:00 AM Error OCM is not installed or configured – executeCommand(): failed to verify harvester jar
GC Harvester n/a Feb 27, 2012 2:00:00 AM Error OCM is not installed or configured – executeCommand(): failed to verify harvester jar

Navigating to the host page and clicking the “Net Services Administration” link returns the following error.

Net Services Administration

Select Configuration File Location Oracle Home
No Oracle Homes found


Selecting the targets page for a particular host lists the agents, listeners, and databases on that host. The difference between the databases is the drive letter of the installed location. Note that MyDatabase3 has a lowercase “c” while the other databases have an uppercase “C”.

Host: ServerName

Name Installed location Availability Type
Agent:3872 C:\oracle\product\11.1.0\agent11g Agent
MyDatabase1 C:\oracle\product\11.1.0\agent11g Database Instance
MyDatabase2 C:\oracle\product\11.1.0\agent11g Database Instance
MyDatabase3 c:\oracle\product\11.1.0\agent11g Database Instance
MyDatabase4 c:\oracle\product\11.1.0\agent11g Database Instance
MyDatabase5 c:\oracle\product\11.1.0\agent11g Database Instance


From the databases tab, click the radio button next to the problematic database and click the “Remove” button. Once removed, click the “Add” button, select the Host and click the “Continue” button. Select the checkbox next to the database and click the configure icon.

Targets Discovered on Host: ServerName

Select Name Group Configure Metrics

When adding a target, you must change the lowercase drive letter to an upper case drive letter.

Configure Database Instance: Properties

Name Value
Oracle home path c:\oracle\product\10.2.0\db
Monitor Username dbsnmp
Monitor Password ******
Role Normal
Listener Machine Name ServerName
Port 1521
Database SID MyDatabase3