Ticket #264 (closed defect: worksforme)
Unable to install SysTray on windows 2003 servers
| Reported by: | jrodz | Owned by: | MickeM |
|---|---|---|---|
| Priority: | 10 | Milestone: | 0.3.6 |
| Component: | NSClientListener | Version: | 0.3.5 |
| Severity: | Bugs | Keywords: | |
| Cc: |
Description
This happens in windows 2003 servers only. The icon appears momentarily on the systray, but keeps dissapearing and the status is offline. The procedure used to install NSClient++ and the SysTray is the following:
1. Download the latest stable version of the NSClient++ addon from http://sourceforge.net/projects/nscplus 2. Unzip the NSClient++ files into a new C:\NSClient++ directory 3. Open a command prompt and change to the C:\NSClient++ directory 4. Register the NSClient++ system service with the following command: nsclient++ /install 5. Install the NSClient++ systray with the following command (’SysTray’ is case-sensitive): nsclient++ SysTray 6. Open the services manager and make sure the NSClientpp service is allowed to interact with the desktop (see the ’Log On’ tab of the services manager). If it isn’t already allowed to interact with the desktop, check the box to allow it to. 7. Edit the NSC.INI file (located in the C:\NSClient++ directory) and make the following changes: Uncomment all the modules listed in the [modules] section, except for CheckWMI.dll and RemoteConfiguration.dll Optionally require a password for clients by changing the ’password’ option in the [Settings] section. Uncomment the ’allowed_hosts’ option in the [Settings] section. Add the IP address of the Nagios server to this line, or leave it blank to allow all hosts to connect. Make sure the ’port’ option in the [NSClient] section is uncommented and set to ’12489’ (the default port). 8. Start the NSClient++ service with the following command: 19 nsclient++ /start 9. If installed properly, a new icon should appear in your system tray. It will be a yellow circle with a black ’M’ inside. 10. Success! The Windows server can now be added to the Nagios monitoring configuration...
C:\NSClient++>nsclient++ SysTray /start l \NSClient++.cpp(370) Attempting to start NSCLient++ - 0.3.5.2 2008-09-24 l \FileLogger.cpp(93) Log path is: C:\NSClient++\\nsclient.log l \NSClient++.cpp(476) NSCLient++ - 0.3.5.2 2008-09-24 Started! e \Socket.h(645) Undefined cobind failed: 10048mmand, usage: inst: Only one usag e oall or uninstall f each socket address (protocol/network address/port) is normally permitted.
e \Socket.h(645) bind failed: 10048: Only one usage of each socket address (prot ocol/network address/port) is normally permitted.
l \NSClient++.cpp(530) Attempting to stop NSCLient++ - 0.3.5.2 2008-09-24 e \Socket.h(668) Socket did not start properly, we will now do nothing... e \Socket.h(668) Socket did not start properly, we will now do nothing... l \NSClient++.cpp(589) NSCLient++ - 0.3.5.2 2008-09-24 Stopped succcessfully
C:\NSClient++>nsclient++ SysTray /start l \NSClient++.cpp(370) Attempting to start NSCLient++ - 0.3.5.2 2008-09-24 l \FileLogger.cpp(93) Log path is: C:\NSClient++\\nsclient.log e \Socket.h(645) bind failed: 10048: Only one usage of each socket address (prot ocol/network address/port) is normally permitted.
e \Socket.h(645) bind failed: 10048: Only one usage of each socket address (prot ocol/network address/port) is normally permitted.
l \NSClient++.cpp(476) NSCLient++ - 0.3.5.2 2008-09-24 Started! e \Socket.h(668) Socket didUndef not stained command, usagrt properly, we wie: i nstall or uninll now do nothing.stall .. e \Socket.h(668) Socket did not start properly, we will now do nothing... l \NSClient++.cpp(530) Attempting to stop NSCLient++ - 0.3.5.2 2008-09-24 l \NSClient++.cpp(589) NSCLient++ - 0.3.5.2 2008-09-24 Stopped succcessfully






