Products | Versions |
---|---|
TIBCO Enterprise Message Service | - |
Not Applicable | - |
Resolution:
Description:
C:\Users\user_name\tibco\ems\5.1\bin>emsntsrg.exe /i tibemsd
Results in the following error: emsntsrg.exe: OpenSCManager failed (5)
Command : emsntsrg.exe /r tibemsd results in the following error:
emsntsrg.exe: OpenSCManager failed (5)
emsntsrg is a utility which registers or unregisters the TIBCO EMS server daemon or the EMS multicast daemon as a Windows service.
See the TIBCO Enterprise Message Service User’s Guide , Chapter 5, Running the EMS Server “Running the EMS Server as a Windows Service” for emsntsrg command line options
Environment:
Microsoft Windows - Vista
Resolution:
The cause of the error is that the command line console session does not have admin privileges, which are needed to register/unregister EMS as a service.
Under Microsoft Vista, when the admin account is used to run a command prompt the account normally does not get all the privileges it used to get in older versions of Microsoft Windows. To run the service operations the privileges have to be elevated. In order to accomplish this the user can right click the icon of the command prompt in their program group and in the menu select “run as administrator”. The command prompt that is launched should now be able to run privileged operations.
After elevating the privileges for the command prompt running the services registers or unregisters the EMS server correctly.