agent 1.2.10 crash on AIX 6100-08

Started by xiuzhh, February 08, 2014, 05:57:56 AM

Previous topic - Next topic

xiuzhh

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:/>

Victor Kirhenshtein

Hi!

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

Best regards,
Victor

xiuzhh

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.

Victor Kirhenshtein

Thanks for nailing it, I'll include fix in next release.

Best regards,
Victor