Ticket #264 (closed defect: worksforme)

Opened 21 months ago

Last modified 19 months ago

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

Change History

Changed 19 months ago by east

  • priority changed from 1 to 10
  • version changed from 0.3.4 to 0.3.5
  • milestone changed from 0.4.0 to 0.3.6

sry, my english is not so good.

i have the same problem but what can i do??? i have tetsted on all windows machine like xp, server 2000, 2003 server ... and all version like 0.3.2-0.3.5!

the SysTray is not working and i can not work with the services of the SysTray icon.

is this a programmer failure?

what can i do to work and show the SysTray permanent and can work with the services to allowed the servieces to allowes the connection with the desktop???

Changed 19 months ago by anonymous

  • status changed from new to closed
  • resolution set to worksforme

Read the FAW section on systray it explains this a bit. But in short on modern windows there is a new experimental thing you can used called shared session. On older windows you can use the systray module.

// MickeM

Changed 19 months ago by mickem

FAW=FAQ even...

Changed 19 months ago by anonymous

it's working ;) thx

Note: See TracTickets for help on using tickets.