Applies to Enterprise Manager Grid Control – Version: to
Microsoft Windows

You are trying to start a Grid Control 10gR2 agent installed on Windows and you get the following error message.

C:\oracle\product\agent10g\BIN>emctl start agent
Oracle Enterprise Manager 10g Release
Copyright (c) 1996, 2006 Oracle Corporation. All rights reserved.
The service name is invalid.

More help is available by typing NET HELPMSG 2185.

If you type “NET HELPMSG 2185″ you get the following:

C:\oracle\product\agent10g\BIN>NET HELPMSG 2185

The service name is invalid.


The agent Windows service is missing. This can happen for a number of different reasons including manual deletion of the service.

1. Verify what was the agent service name. You can do that by looking under \sysman\log. You should see a file called srvc.log

The value in represents the service name. Typically this is: Oracleagent10gAgent

2. Open the Registry Editor (Start -> Run -> regedit) and verify that the service name is not present under HKLM->System->CurrentControlSet->Services

You can also check that the service is missing under Services (Start->Run->services.msc)

3. Create the Agent Service by running the following on the comnand prompt:
nmesrvops create \bin\nmesrvc.exe auto

is the value you found in Step1

is the directory where the agent is installed.

The followig message will be displayed when creation is successful
” Service “” create SUCCESS ”

4. Start the agent service or run \bin\emctl start agent from the command line to start the agent

Reference Metalink note-444356.1

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s