Getting Error while loggin in Netxms

Started by Sumit Pandya, December 22, 2010, 02:10:23 PM

Previous topic - Next topic

Sumit Pandya

Hi All,
I have the following setup
1. netxms server is installed on solaris box
2. Console is on win machine.

I have made the DB and Server up on Solaris. When  i try to connect thru Console it give core dump on Solaris console.

The following is the errors
==
[22-Dec-2010 17:25:33] ItemPoller: object index lock acquired (index size 12)
[22-Dec-2010 17:25:33] ItemPoller: (5) calling QueueItemsForPolling for node toba [12]
[22-Dec-2010 17:25:33] ItemPoller: object index lock released
[22-Dec-2010 17:25:35] ItemPoller: wakeup
[22-Dec-2010 17:25:35] ItemPoller: object index lock acquired (index size 12)
[22-Dec-2010 17:25:35] ItemPoller: (5) calling QueueItemsForPolling for node toba [12]
[22-Dec-2010 17:25:35] ItemPoller: object index lock released
[22-Dec-2010 17:25:38] ItemPoller: wakeup
[22-Dec-2010 17:25:38] ItemPoller: object index lock acquired (index size 12)
[22-Dec-2010 17:25:38] ItemPoller: (5) calling QueueItemsForPolling for node toba [12]
[22-Dec-2010 17:25:38] ItemPoller: object index lock released
[22-Dec-2010 17:25:38] [CLSN-0] Received message CMD_GET_SERVER_INFO
[22-Dec-2010 17:25:38] [CLSN-0] Server time zone: WIT-07   
[22-Dec-2010 17:25:38] Successful sync query: "SELECT var_value FROM config WHERE var_name='WindowsConsoleUpgradeURL'" [0 ms]
[22-Dec-2010 17:25:38] [CLSN-0] Sending message CMD_REQUEST_COMPLETED
[22-Dec-2010 17:25:38] [CLSN-0] Received message CMD_LOGIN
[22-Dec-2010 17:25:38] [CLSN-0] User [email protected] authenticated
====
Above is log generated by netxms. Log is also attached


Victor Kirhenshtein

Hi!

Yes, it's a bug in libnetxms. Please replace file src/libnetxms/string.cpp with attached one and recompile. This bug affects only Solaris and AIX.

Best regards,
Victor

shivpremani

Hi,
I recompiled the src with updated string.cpp, now the management console gets connected to Solaris NetXMS server without fail.
But when I try to create a node and try to fetch some MIB value, the NetXMS server gives seg fault again ...
Find attached log.
Shiv

Victor Kirhenshtein

Looks like we have a lot of Solaris problems :( Please try to replace src/server/core/node.cpp with attached one and recompile server. If this will not help, please send me a core file generated after crash.

Best regards,
Victor

shivpremani

Thanks Victor,
After updated node.cpp compilation, I can now fetch MIB values in my management console.
Shiv