Problem upgrading to 1.1.8

Started by Marco Incalcaterra, January 09, 2012, 04:35:29 PM

Previous topic - Next topic

Marco Incalcaterra

Dear Victor,

I have some problems upgrading from version 1.1.6 to 1.1.8.

1) After upgraded the node I use as proxy, all the nodes accessed through that proxy became unreachable immediately, just reinstalling agent ver. 1.1.6 and everything works properly again. I have the same problem with version 1.1.7. All the nodes accessed directly are fine.
2) After upgraded the server to version 1.1.8, in the legacy console (tab "performance"), for some nodes I'm no more able to see the "Physical Memory" and "Disk Queue" graph properly updated (see attachment). This behaviour isn't related to the version of the agent installed, also this behaviour is present in some nodes accessed directly and in some nodes accessed through the proxy. All my system are Windows based, most of them are x64 but there are also x86 (behaviour present indifferently on both platform).

Here is the config of the agent used as proxy (I removed the public IPs of my server):


MasterServers = xx.xx.xx.xx, yy.yy.yy.yy
LogFile = {syslog}
FileStore = C:\Program Files\NetXMS\var
SubAgent = winperf.nsm
ListenPort = 4700
EnableProxy = yes
EnableSNMPProxy = yes

*WinPerf
Counter = System.IO.DiskQueue.C:"\LogicalDisk(C:)\Current Disk Queue Length":60:A:INT:"Average Current Disk Queue Length on C:"
Counter = System.IO.DiskTime.C:"\LogicalDisk(C:)\% Disk Time":60:A:INT:"Average % Disk Time on C:"
Counter = System.IO.DiskQueue.D:"\LogicalDisk(D:)\Current Disk Queue Length":60:A:INT:"Average Current Disk Queue Length on D:"
Counter = System.IO.DiskTime.D:"\LogicalDisk(D:)\% Disk Time":60:A:INT:"Average % Disk Time on D:"


Do you have any hints for me?

Best regards.
Marco

Victor Kirhenshtein

On what OS server are running and what database and database driver you are using? Is there any errors in server's log?

Best regards,
Victor

Marco Incalcaterra

Quote from: Victor Kirhenshtein on January 09, 2012, 08:27:22 PM
On what OS server are running and what database and database driver you are using? Is there any errors in server's log?

Best regards,
Victor


Hi Victor,

NetXms server is installed on a Windows 2003 R2 x64 SP2, the DB is Microsoft SQL 2008 R2 installed on the same machine.
The machine used as proxy is a Windows 2003 R2 x64 SP2.

There are no errors related to netxms in the event log of the server, but I found that on the machine used as proxy I have this error message:

The NetXMS Agent service terminated unexpectedly.  It has done this 3 time(s).

So I started manually the agent with this command:

"C:\Program Files\NetXMS\bin\nxagentd.exe" -c "C:\Program Files\NetXMS\etc\nxagentd.conf" -n "NetXMSAgentdW32" -e "NetXMS Win32 Agent" -D 9

and I left it running for several minutes without any problem. I Started again the service with Windows service console and it crashed again almost immediately putting the same message in the event log.

The proxy executed "manually" did not produce any changes in the behaviour of the performance tab.

Another additional info I forgot to mention in my original post (I guess totally unrelated to this), during the installation of version 1.1.8 on the server I got the message you can find in the snapshot attached, just clicked ok and finished the installation without any other particular message (I remember the same message either upgrading server to version 1.1.7).

Best regards,
Marco.

Victor Kirhenshtein

Hi!

I have fixed one problem related to MS SQL server - data update queries fails randomly. This could be the reason for missing charts. You can check it by downloading patched nxcore.dll from here: https://www.netxms.org/download/patches/012/nxcore.dll. Strange message during install is a bug in installer caused by incorrect handling of path with spaces - I fixed it for next release.

Now I'm trying to reproduce the proxy problem. To better identify problem, could you please add to nxagentd.conf:

CreateCrashDumps = yes
DumpDirectory = <some writable directory>

and after agent crash send me finfo and mdmp files created?

Best regards,
Victor

Victor Kirhenshtein

I have found a bug in proxy code - it may or may not be the cause for your problem. Could you please try to replace nxagentd.exe with this one: https://www.netxms.org/download/patches/013/nxagentd.exe?

Best regards,
Victor

lindeamon

hi victor,

currently i do not have any use for the patches you have posted here but just to be on the safe side,will it be implemented in the next release ?
i just do not want to forget those problem in case i run into them myself in the future

Best Regards,
Lindeamon

Marco Incalcaterra

Quote from: Victor Kirhenshtein on January 10, 2012, 01:50:25 AM
I have found a bug in proxy code - it may or may not be the cause for your problem. Could you please try to replace nxagentd.exe with this one: https://www.netxms.org/download/patches/013/nxagentd.exe?

Best regards,
Victor


Hi Victor,

The patch for proxy works fine. I confirm that also the patch for the server works fine: now I have again the performance tab graphs properly filled.

Thank you very much for your quick solution!

Best regards,
Marco

Victor Kirhenshtein

Hi!

Quote from: lindeamon on January 10, 2012, 10:11:31 AM
currently i do not have any use for the patches you have posted here but just to be on the safe side,will it be implemented in the next release ?
i just do not want to forget those problem in case i run into them myself in the future

Yes, those fixes already part of main source tree and will be part of next release.

Best regards,
Victor