NetXMS Support Forum

English Support => General Support => Topic started by: xiuzhh on February 08, 2014, 05:57:56 AM

Title: agent 1.2.10 crash on AIX 6100-08
Post by: xiuzhh on February 08, 2014, 05:57:56 AM
Hi:
I  extracted nxagent-1.2.10-aix5.3-ppc64.tar on AIX 6100-06,and it runs well.But i tried this on  AIX 6100-08,it crashes everytime.

root:/>/opt/netxms/bin/nxagentd -f
[08-Feb-2014 11:57:04.045] [INFO ] Additional configs was loaded from /etc/nxagentd.conf.d
[08-Feb-2014 11:57:04.050] [INFO ] Debug level set to 0
[08-Feb-2014 11:57:04.050] [ERROR] Failed to load agent's registry from file /opt/netxms/var/netxms/registry.dat
[08-Feb-2014 11:57:04.050] [ERROR] Failed to save agent's registry to file /opt/netxms/var/netxms/registry.dat: No such file or directory
Segmentation fault(coredump)
root:/>
Title: Re: agent 1.2.10 crash on AIX 6100-08
Post by: Victor Kirhenshtein on February 08, 2014, 02:00:20 PM
Hi!

Can you please send me core file (to [email protected])?

Best regards,
Victor
Title: Re: agent 1.2.10 crash on AIX 6100-08
Post by: xiuzhh on February 10, 2014, 10:51:37 AM
Hi
    I solved this problem with modifing netxms-1.2.10\netxms-1.2.10\src\agent\subagents\aix\cpu.cpp line 31 :
    #define MAX_CPU               (64 + 1)   /* 64 + 1 for overall */
     My client server has more  than 64 cpu, so I modified it to a larger integer ,and it plays well.
Title: Re: agent 1.2.10 crash on AIX 6100-08
Post by: Victor Kirhenshtein on February 10, 2014, 04:03:29 PM
Thanks for nailing it, I'll include fix in next release.

Best regards,
Victor