Connection refused

Started by haryt, March 08, 2020, 10:35:15 AM

Previous topic - Next topic

haryt

I got the message "Connection refused" when I try to Login ton Netxms (Server running on Linux, Konsole on Windows 10). Tryed with nxdbmgr check (db locked,  but unlocks aftre run nxdbmgr), no success, tryed to reinstall Port 4701, no success. Any Ideas what is going wrong? Version is 3.1.261, Java is 12 (also teste with 8), tomcat is 7, RAM is 4GB (used ~500MB). Also teste with some backups, no success...... also run mysqlcheck, no Errors in DB
Regards from Vienna
Hary

Victor Kirhenshtein

Hello!

I suppose netxmsd is not starting for some reason. Can you share netxmsd log file?

Best regards,
Victor

haryt

Hi Victor, thanks for answering. This is the Log from the last start:

2020.03.09 10:01:00.745 Log file opened (rotation policy 2, max size 16777216)
2020.03.09 10:01:00.751 *I* [                   ] Code page set to ISO8859-1
2020.03.09 10:01:00.774 *I* [                   ] Platform subagent "/usr/local/lib/netxms/linux.nsm" successfully loaded
2020.03.09 10:01:01.022 *I* [db.drv             ] Database driver "mysql.ddr" loaded and initialized successfully
2020.03.09 10:01:06.221 *I* [                   ] Server ID 2B5B9BE9BB192F11
2020.03.09 10:01:06.458 *I* [                   ] Server certificate not set
2020.03.09 10:01:08.149 *I* [db.drv             ] Database driver "sqlite.ddr" loaded and initialized successfully
2020.03.09 10:01:08.429 *I* [db.drv             ] Database driver "sqlite.ddr" loaded and initialized successfully
2020.03.09 10:01:10.431 *E* [                   ] Unable to load module "/usr/local/lib/netxms/ndd/ers8000.ndd" (/usr/local/lib/libavaya-ers.so: undefined symbol: _Z8SnmpWalkP14SNMP_TransportPKwPFjP13SNMP_VariableS0_PvES5_b)
2020.03.09 10:01:10.441 *I* [                   ] Network device driver DELL-PWC loaded successfully
2020.03.09 10:01:10.449 *I* [                   ] Network device driver OPTIX loaded successfully
2020.03.09 10:01:10.459 *I* [                   ] Network device driver NETONIX loaded successfully
2020.03.09 10:01:10.467 *E* [                   ] Unable to load module "/usr/local/lib/netxms/ndd/netscreen.ndd" (/usr/local/lib/netxms/ndd/netscreen.ndd: undefined symbol: _Z8SnmpWalkP14SNMP_TransportPKwPFjP13SNMP_VariableS0_PvES5_b)
2020.03.09 10:01:10.477 *I* [                   ] Network device driver EXTREME loaded successfully
2020.03.09 10:01:10.486 *I* [                   ] Network device driver H3C loaded successfully
2020.03.09 10:01:10.486 *I* [                   ] Network device driver HPSW loaded successfully
2020.03.09 10:01:10.486 *I* [                   ] Network device driver PROCURVE loaded successfully
2020.03.09 10:01:10.494 *I* [                   ] Network device driver DLINK loaded successfully
2020.03.09 10:01:10.501 *E* [                   ] Unable to load module "/usr/local/lib/netxms/ndd/ntws.ndd" (/usr/local/lib/netxms/ndd/ntws.ndd: undefined symbol: _Z8SnmpWalkP14SNMP_TransportPKwPFjP13SNMP_VariableS0_PvES5_b)
2020.03.09 10:01:10.510 *E* [                   ] Unable to load module "/usr/local/lib/netxms/ndd/hpsw.ndd" (/usr/local/lib/netxms/ndd/hpsw.ndd: undefined symbol: _Z8SnmpWalkP14SNMP_TransportPKwPFjP13SNMP_VariableS0_PvES5_b)
2020.03.09 10:01:10.517 *I* [                   ] Network device driver PING3 loaded successfully
2020.03.09 10:01:10.520 *I* [                   ] Network device driver QTECH-OLT loaded successfully
2020.03.09 10:01:10.530 *E* [                   ] Unable to find entry point in network device driver "/usr/local/lib/netxms/ndd/cisco-sb.ndd"
2020.03.09 10:01:10.537 *I* [                   ] Network device driver NET-SNMP loaded successfully
2020.03.09 10:01:10.540 *I* [                   ] Network device driver SYMBOL-WS loaded successfully
2020.03.09 10:01:10.549 *I* [                   ] Network device driver RITTAL loaded successfully
2020.03.09 10:01:10.561 *I* [                   ] Network device driver JUNIPER loaded successfully
2020.03.09 10:01:10.561 *I* [                   ] Network device driver NETSCREEN loaded successfully
2020.03.09 10:01:10.564 *E* [                   ] Unable to find entry point in network device driver "/usr/local/lib/netxms/ndd/procurve.ndd"
2020.03.09 10:01:10.575 *I* [                   ] Network device driver AIRESPACE loaded successfully
2020.03.09 10:01:10.585 *E* [                   ] Unable to load module "/usr/local/lib/netxms/ndd/cat2900xl.ndd" (/usr/local/lib/libcisco.so: undefined symbol: _Z8SnmpWalkP14SNMP_TransportPKwPFjP13SNMP_VariableS0_PvES5_b)
2020.03.09 10:01:10.592 *I* [                   ] Network device driver TB loaded successfully
2020.03.09 10:01:10.609 *I* [                   ] Network device driver IGNITENET loaded successfully
2020.03.09 10:01:10.613 *I* [                   ] Network device driver MIKROTIK loaded successfully
2020.03.09 10:01:10.621 *E* [                   ] Unable to load module "/usr/local/lib/netxms/ndd/catalyst.ndd" (/usr/local/lib/libcisco.so: undefined symbol: _Z8SnmpWalkP14SNMP_TransportPKwPFjP13SNMP_VariableS0_PvES5_b)
2020.03.09 10:01:10.624 *I* [                   ] Network device driver UBNT loaded successfully
2020.03.09 10:01:10.625 *I* [                   ] Network device driver AT loaded successfully
2020.03.09 10:01:10.633 *E* [                   ] Unable to find entry point in network device driver "/usr/local/lib/netxms/ndd/cisco-esw.ndd"
2020.03.09 10:01:10.639 *I* [                   ] Network device driver CATALYST-GENERIC loaded successfully
2020.03.09 10:01:10.639 *I* [                   ] Network device driver CATALYST-2900XL loaded successfully
2020.03.09 10:01:10.639 *I* [                   ] Network device driver CISCO-ESW loaded successfully
2020.03.09 10:01:10.639 *I* [                   ] Network device driver CISCO-NEXUS loaded successfully
2020.03.09 10:01:10.639 *I* [                   ] Network device driver CISCO-SB loaded successfully
2020.03.09 10:01:10.639 *I* [                   ] Network device driver CISCO-GENERIC loaded successfully
2020.03.09 10:01:10.640 *I* [                   ] Network device driver BAYSTACK loaded successfully
2020.03.09 10:01:10.640 *I* [                   ] Network device driver NTWS loaded successfully
2020.03.09 10:01:10.640 *I* [                   ] Network device driver ERS8000 loaded successfully
2020.03.09 10:01:10.646 *E* [                   ] Unable to load module "/usr/local/lib/netxms/ndd/baystack.ndd" (/usr/local/lib/libavaya-ers.so: undefined symbol: _Z8SnmpWalkP14SNMP_TransportPKwPFjP13SNMP_VariableS0_PvES5_b)
2020.03.09 10:01:10.655 *E* [                   ] Unable to load module "/usr/local/lib/netxms/ndd/h3c.ndd" (/usr/local/lib/netxms/ndd/h3c.ndd: undefined symbol: _Z8SnmpWalkP14SNMP_TransportPKwPFjP13SNMP_VariableS0_PvES5_b)
2020.03.09 10:01:10.663 *I* [db.drv             ] Database driver "sqlite.ddr" loaded and initialized successfully
2020.03.09 10:01:11.991 *I* [                   ] Listening for SNMP traps on UDP socket 0.0.0.0:162
2020.03.09 10:01:11.991 *I* [                   ] Listening for SNMP traps on UDP socket :::162
2020.03.09 10:01:12.131 *I* [                   ] SocketListener/AgentTunnels: listening on 0.0.0.0:4703
2020.03.09 10:01:12.131 *I* [                   ] SocketListener/AgentTunnels: listening on [0.0.0.0]:4703
2020.03.09 10:01:12.131 *I* [                   ] SocketListener/MobileDevices: listening on 0.0.0.0:4747
2020.03.09 10:01:12.131 *I* [                   ] SocketListener/MobileDevices: listening on [0.0.0.0]:4747
2020.03.09 10:01:12.131 *I* [                   ] Listening for syslog messages on UDP socket 0.0.0.0:514
2020.03.09 10:01:12.131 *I* [                   ] Listening for syslog messages on UDP socket :::514
2020.03.09 10:01:12.132 *I* [                   ] NetXMS Server started
2020.03.09 10:01:12.132 *I* [                   ] SocketListener/Clients: listening on 0.0.0.0:4701
2020.03.09 10:01:12.132 *I* [                   ] SocketListener/Clients: listening on [0.0.0.0]:4701
2020.03.09 10:01:12.575 *W* [                   ] Failed to execute transformation script for object www.event-log.com [204] DCI Dummy [428] (Error 5 in line 5: Invalid operation with NULL value)
2020.03.09 10:01:12.576 *W* [                   ] Failed to execute transformation script for object www.event-log.com [204] DCI Dummy [522] (Error 4 in line 2: Bad arithmetic conversion)
2020.03.09 10:01:12.577 *W* [                   ] Failed to execute transformation script for object www.event-log.com [204] DCI Dummy [501] (Error 5 in line 3: Invalid operation with NULL value)
2020.03.09 10:01:12.579 *W* [                   ] Failed to execute transformation script for object motoren.event-log.com [206] DCI Dummy [433] (Error 5 in line 5: Invalid operation with NULL value)
2020.03.09 10:01:12.581 *W* [                   ] Failed to execute transformation script for object motoren.event-log.com [206] DCI Dummy [507] (Error 5 in line 3: Invalid operation with NULL value)
2020.03.09 10:01:12.581 *W* [                   ] Failed to execute transformation script for object motoren.event-log.com [206] DCI Dummy [520] (Error 4 in line 2: Bad arithmetic conversion)
2020.03.09 10:01:12.626 *W* [                   ] Failed to execute transformation script for object nas.event-log.com [234] DCI Dummy [448] (Error 5 in line 5: Invalid operation with NULL value)
2020.03.09 10:01:12.630 *W* [                   ] Failed to execute transformation script for object nas.event-log.com [234] DCI Dummy [515] (Error 5 in line 4: Invalid operation with NULL value)
2020.03.09 10:01:12.630 *W* [                   ] Failed to execute transformation script for object nas.event-log.com [234] DCI Dummy [519] (Error 4 in line 2: Bad arithmetic conversion)
2020.03.09 10:01:13.387 *W* [                   ] Failed to execute transformation script for object netxms.event-log.com [260] DCI Dummy [438] (Error 5 in line 5: Invalid operation with NULL value)
2020.03.09 10:01:13.547 *W* [                   ] Failed to execute transformation script for object nodered.event-log.com [5688] DCI Dummy [902] (Error 5 in line 3: Invalid operation with NULL value)
2020.03.09 10:01:13.547 *W* [                   ] Failed to execute transformation script for object nodered.event-log.com [5688] DCI Dummy [903] (Error 5 in line 5: Invalid operation with NULL value)
2020.03.09 10:01:13.549 *W* [                   ] Failed to execute transformation script for object nodered.event-log.com [5688] DCI Dummy [914] (Error 4 in line 2: Bad arithmetic conversion)
2020.03.09 10:01:14.572 *W* [                   ] Failed to execute transformation script for object ELVMHost [5728] DCI Dummy [962] (Error 5 in line 3: Invalid operation with NULL value)
2020.03.09 10:01:14.573 *W* [                   ] Failed to execute transformation script for object ELVMHost [5728] DCI Dummy [963] (Error 5 in line 3: Invalid operation with NULL value)
2020.03.09 10:01:14.675 *W* [                   ] Failed to execute transformation script for object ELVMHost [5728] DCI Dummy [968] (Error 5 in line 3: Invalid operation with NULL value)
2020.03.09 10:01:14.685 *W* [                   ] Failed to execute transformation script for object vmcontroller.event-log.com [6551] DCI Dummy [3285] (Error 5 in line 3: Invalid operation with NULL value)
2020.03.09 10:01:14.685 *W* [                   ] Failed to execute transformation script for object vmcontroller.event-log.com [6551] DCI Dummy [3286] (Error 5 in line 5: Invalid operation with NULL value)
2020.03.09 10:01:14.692 *W* [                   ] Failed to execute transformation script for object vmcontroller.event-log.com [6551] DCI Dummy [3298] (Error 5 in line 5: Invalid operation with NULL value)
2020.03.09 10:01:14.693 *W* [                   ] Failed to execute transformation script for object vmcontroller.event-log.com [6551] DCI Dummy [3299] (Error 4 in line 2: Bad arithmetic conversion)
2020.03.09 10:01:14.693 *W* [                   ] Failed to execute transformation script for object vmcontroller.event-log.com [6551] DCI Dummy [3297] (Error 5 in line 3: Invalid operation with NULL value)

Victor Kirhenshtein

If log ends abruptly that likely means server process crash. I suggest to upgrade to latest version (3.2.400), and if problem persist we will continue to debug it. There were lot of fixes since 3.1.261, so it is better to try upgrade first.

Best regards,
Victor

haryt

OK, will try this tomorrow (today very bussy :-)) Thanks for you´re help

haryt

This was the Right hint! Thanks, after upgrading to the newest Version it is workiung again. Just have to sort out some minor Errors like
Failed to execute autobind script for object APC [6303] (Error 30 in line 13: Unknown object's method)  or
[260] DCI Dummy [438] (Error 5 in line 5: Invalid operation with NULL value) (think it has to do with the new Scripting. hav to put $1, $2 and so on in) or
Unable to load module "/usr/local/lib/netxms/ndd/netscreen.ndd"

haryt

No, after reboot got same Problem again Connection refused: connect Before reboot i disabled some of the DCI with Errors, can this be the reason?

2020.03.10 08:36:29.060 *I* [logger             ] Log file opened (rotation policy 2, max size 16777216)
2020.03.10 08:36:29.126 *I* [                   ] Code page set to ISO8859-1
2020.03.10 08:36:29.202 *I* [                   ] Platform subagent "/usr/local/lib/netxms/linux.nsm" successfully loaded
2020.03.10 08:36:29.433 *I* [db.drv             ] Database driver "mysql.ddr" loaded and initialized successfully
2020.03.10 08:36:34.710 *I* [                   ] Server ID 2B5B9BE9BB192F11
2020.03.10 08:36:35.092 *I* [                   ] Server certificate not set
2020.03.10 08:36:35.712 *I* [db.drv             ] Database driver "sqlite.ddr" loaded and initialized successfully
2020.03.10 08:36:36.007 *I* [db.drv             ] Database driver "sqlite.ddr" loaded and initialized successfully
2020.03.10 08:36:36.441 *E* [                   ] Unable to load module "/usr/local/lib/netxms/ndd/ers8000.ndd" (/usr/local/lib/libavaya-ers.so: undefined symbol: _Z8SnmpWalkP14SNMP_TransportPKwPFjP13SNMP_VariableS0_PvES5_b)
2020.03.10 08:36:36.444 *I* [                   ] Network device driver DELL-PWC loaded successfully
2020.03.10 08:36:36.452 *I* [                   ] Network device driver OPTIX loaded successfully
2020.03.10 08:36:36.463 *I* [                   ] Network device driver NETONIX loaded successfully
2020.03.10 08:36:36.472 *E* [                   ] Unable to load module "/usr/local/lib/netxms/ndd/netscreen.ndd" (/usr/local/lib/netxms/ndd/netscreen.ndd: undefined symbol: _Z8SnmpWalkP14SNMP_TransportPKwPFjP13SNMP_VariableS0_PvES5_b)
2020.03.10 08:36:36.477 *I* [                   ] Network device driver EXTREME loaded successfully
2020.03.10 08:36:36.486 *I* [                   ] Network device driver H3C loaded successfully
2020.03.10 08:36:36.486 *I* [                   ] Network device driver HPSW loaded successfully
2020.03.10 08:36:36.486 *I* [                   ] Network device driver PROCURVE loaded successfully
2020.03.10 08:36:36.489 *I* [                   ] Network device driver DLINK loaded successfully
2020.03.10 08:36:36.507 *E* [                   ] Unable to load module "/usr/local/lib/netxms/ndd/ntws.ndd" (/usr/local/lib/netxms/ndd/ntws.ndd: undefined symbol: _Z8SnmpWalkP14SNMP_TransportPKwPFjP13SNMP_VariableS0_PvES5_b)
2020.03.10 08:36:36.517 *E* [                   ] Unable to load module "/usr/local/lib/netxms/ndd/hpsw.ndd" (/usr/local/lib/netxms/ndd/hpsw.ndd: undefined symbol: _Z8SnmpWalkP14SNMP_TransportPKwPFjP13SNMP_VariableS0_PvES5_b)
2020.03.10 08:36:36.526 *I* [                   ] Network device driver PING3 loaded successfully
2020.03.10 08:36:36.533 *I* [                   ] Network device driver QTECH-OLT loaded successfully
2020.03.10 08:36:36.548 *E* [                   ] Unable to find entry point in network device driver "/usr/local/lib/netxms/ndd/cisco-sb.ndd"
2020.03.10 08:36:36.554 *I* [                   ] Network device driver NET-SNMP loaded successfully
2020.03.10 08:36:36.564 *I* [                   ] Network device driver SYMBOL-WS loaded successfully
2020.03.10 08:36:36.581 *I* [                   ] Network device driver RITTAL loaded successfully
2020.03.10 08:36:36.598 *I* [                   ] Network device driver JUNIPER loaded successfully
2020.03.10 08:36:36.598 *I* [                   ] Network device driver NETSCREEN loaded successfully
2020.03.10 08:36:36.601 *E* [                   ] Unable to find entry point in network device driver "/usr/local/lib/netxms/ndd/procurve.ndd"
2020.03.10 08:36:36.617 *I* [                   ] Network device driver AIRESPACE loaded successfully
2020.03.10 08:36:36.633 *E* [                   ] Unable to load module "/usr/local/lib/netxms/ndd/cat2900xl.ndd" (/usr/local/lib/libcisco.so: undefined symbol: _Z8SnmpWalkP14SNMP_TransportPKwPFjP13SNMP_VariableS0_PvES5_b)
2020.03.10 08:36:36.639 *I* [                   ] Network device driver TB loaded successfully
2020.03.10 08:36:36.645 *I* [                   ] Network device driver IGNITENET loaded successfully
2020.03.10 08:36:36.657 *I* [                   ] Network device driver MIKROTIK loaded successfully
2020.03.10 08:36:36.666 *E* [                   ] Unable to load module "/usr/local/lib/netxms/ndd/catalyst.ndd" (/usr/local/lib/libcisco.so: undefined symbol: _Z8SnmpWalkP14SNMP_TransportPKwPFjP13SNMP_VariableS0_PvES5_b)
2020.03.10 08:36:36.668 *I* [                   ] Network device driver UBNT loaded successfully
2020.03.10 08:36:36.669 *I* [                   ] Network device driver AT loaded successfully
2020.03.10 08:36:36.681 *E* [                   ] Unable to find entry point in network device driver "/usr/local/lib/netxms/ndd/cisco-esw.ndd"
2020.03.10 08:36:36.686 *I* [                   ] Network device driver CATALYST-GENERIC loaded successfully
2020.03.10 08:36:36.686 *I* [                   ] Network device driver CATALYST-2900XL loaded successfully
2020.03.10 08:36:36.686 *I* [                   ] Network device driver CISCO-ESW loaded successfully
2020.03.10 08:36:36.686 *I* [                   ] Network device driver CISCO-NEXUS loaded successfully
2020.03.10 08:36:36.686 *I* [                   ] Network device driver CISCO-SB loaded successfully
2020.03.10 08:36:36.686 *I* [                   ] Network device driver CISCO-GENERIC loaded successfully
2020.03.10 08:36:36.712 *I* [                   ] Network device driver BAYSTACK loaded successfully
2020.03.10 08:36:36.712 *I* [                   ] Network device driver NTWS loaded successfully
2020.03.10 08:36:36.712 *I* [                   ] Network device driver ERS8000 loaded successfully
2020.03.10 08:36:36.720 *E* [                   ] Unable to load module "/usr/local/lib/netxms/ndd/baystack.ndd" (/usr/local/lib/libavaya-ers.so: undefined symbol: _Z8SnmpWalkP14SNMP_TransportPKwPFjP13SNMP_VariableS0_PvES5_b)
2020.03.10 08:36:36.735 *E* [                   ] Unable to load module "/usr/local/lib/netxms/ndd/h3c.ndd" (/usr/local/lib/netxms/ndd/h3c.ndd: undefined symbol: _Z8SnmpWalkP14SNMP_TransportPKwPFjP13SNMP_VariableS0_PvES5_b)
2020.03.10 08:36:36.750 *I* [db.drv             ] Database driver "sqlite.ddr" loaded and initialized successfully
2020.03.10 08:36:37.474 *W* [                   ] Failed to compile transformation script for object www.event-log.com [204] DCI Dummy [428] (Error in line 2: syntax error, unexpected T_IDENTIFIER, expecting $end)
2020.03.10 08:36:37.486 *W* [                   ] Failed to compile transformation script for object motoren.event-log.com [206] DCI Dummy [433] (Error in line 2: syntax error, unexpected T_IDENTIFIER, expecting $end)
2020.03.10 08:36:37.534 *W* [                   ] Failed to compile transformation script for object nas.event-log.com [234] DCI Dummy [448] (Error in line 2: syntax error, unexpected T_IDENTIFIER, expecting $end)
2020.03.10 08:36:37.625 *W* [                   ] Failed to compile transformation script for object netxms.event-log.com [260] DCI Dummy [438] (Error in line 2: syntax error, unexpected T_IDENTIFIER, expecting $end)
2020.03.10 08:36:37.658 *W* [                   ] Failed to compile transformation script for object nodered.event-log.com [5688] DCI Dummy [903] (Error in line 2: syntax error, unexpected T_IDENTIFIER, expecting $end)
2020.03.10 08:36:37.756 *W* [                   ] Failed to compile transformation script for object vmcontroller.event-log.com [6551] DCI Dummy [3286] (Error in line 2: syntax error, unexpected T_IDENTIFIER, expecting $end)
2020.03.10 08:36:37.971 *W* [                   ] Failed to compile transformation script for object RAM Linux [789] DCI Dummy [423] (Error in line 2: syntax error, unexpected T_IDENTIFIER, expecting $end)
2020.03.10 08:36:37.971 *W* [                   ] Failed to compile transformation script for object LinuxHDD free [802] DCI Dummy [498] (Error in line 2: syntax error, unexpected T_IDENTIFIER, expecting $end)
2020.03.10 08:36:37.989 *I* [db.drv             ] Database driver "sqlite.ddr" loaded and initialized successfully
2020.03.10 08:36:38.621 *I* [                   ] Listening for SNMP traps on UDP socket 0.0.0.0:162
2020.03.10 08:36:38.621 *I* [                   ] Listening for SNMP traps on UDP socket :::162
2020.03.10 08:36:38.776 *I* [                   ] SocketListener/Clients: listening on 0.0.0.0:4701
2020.03.10 08:36:38.776 *I* [                   ] SocketListener/Clients: listening on [0.0.0.0]:4701
2020.03.10 08:36:38.776 *I* [                   ] NetXMS Server started
2020.03.10 08:36:38.777 *I* [                   ] SocketListener/AgentTunnels: listening on 0.0.0.0:4703
2020.03.10 08:36:38.777 *I* [                   ] SocketListener/AgentTunnels: listening on [0.0.0.0]:4703
2020.03.10 08:36:38.777 *I* [                   ] SocketListener/MobileDevices: listening on 0.0.0.0:4747
2020.03.10 08:36:38.777 *I* [                   ] SocketListener/MobileDevices: listening on [0.0.0.0]:4747
2020.03.10 08:36:38.781 *I* [                   ] Listening for syslog messages on UDP socket 0.0.0.0:514
2020.03.10 08:36:38.781 *I* [                   ] Listening for syslog messages on UDP socket :::514
2020.03.10 08:36:39.052 *W* [                   ] Failed to execute transformation script for object www.event-log.com [204] DCI Dummy [501] (Error 5 in line 3: Invalid operation with NULL value)
2020.03.10 08:36:39.052 *W* [                   ] Failed to execute transformation script for object www.event-log.com [204] DCI Dummy [522] (Error 4 in line 2: Bad arithmetic conversion)
2020.03.10 08:36:39.056 *W* [                   ] Failed to execute transformation script for object motoren.event-log.com [206] DCI Dummy [507] (Error 5 in line 3: Invalid operation with NULL value)
2020.03.10 08:36:39.056 *W* [                   ] Failed to execute transformation script for object motoren.event-log.com [206] DCI Dummy [520] (Error 4 in line 2: Bad arithmetic conversion)
2020.03.10 08:36:39.099 *W* [                   ] Failed to execute transformation script for object nas.event-log.com [234] DCI Dummy [515] (Error 5 in line 4: Invalid operation with NULL value)
2020.03.10 08:36:39.100 *W* [                   ] Failed to execute transformation script for object nas.event-log.com [234] DCI Dummy [519] (Error 4 in line 2: Bad arithmetic conversion)
2020.03.10 08:36:39.872 *W* [                   ] Failed to execute transformation script for object netxms.event-log.com [260] DCI Dummy [504] (Error 5 in line 3: Invalid operation with NULL value)
2020.03.10 08:36:39.872 *W* [                   ] Failed to execute transformation script for object netxms.event-log.com [260] DCI Dummy [521] (Error 4 in line 2: Bad arithmetic conversion)
2020.03.10 08:36:40.341 *W* [                   ] Failed to execute transformation script for object nodered.event-log.com [5688] DCI Dummy [902] (Error 5 in line 3: Invalid operation with NULL value)
2020.03.10 08:36:40.344 *W* [                   ] Failed to execute transformation script for object nodered.event-log.com [5688] DCI Dummy [914] (Error 4 in line 2: Bad arithmetic conversion)
2020.03.10 08:36:41.660 *W* [                   ] Failed to execute transformation script for object ELVMHost [5728] DCI Dummy [962] (Error 5 in line 3: Invalid operation with NULL value)
2020.03.10 08:36:41.660 *W* [                   ] Failed to execute transformation script for object ELVMHost [5728] DCI Dummy [963] (Error 5 in line 3: Invalid operation with NULL value)
2020.03.10 08:36:41.729 *W* [                   ] Failed to execute transformation script for object ELVMHost [5728] DCI Dummy [968] (Error 5 in line 3: Invalid operation with NULL value)
2020.03.10 08:36:41.741 *W* [                   ] Failed to execute transformation script for object vmcontroller.event-log.com [6551] DCI Dummy [3285] (Error 5 in line 3: Invalid operation with NULL value)
2020.03.10 08:36:41.746 *W* [                   ] Failed to execute transformation script for object vmcontroller.event-log.com [6551] DCI Dummy [3297] (Error 5 in line 3: Invalid operation with NULL value)
2020.03.10 08:36:41.746 *W* [                   ] Failed to execute transformation script for object vmcontroller.event-log.com [6551] DCI Dummy [3299] (Error 4 in line 2: Bad arithmetic conversion)
2020.03.10 08:36:41.746 *W* [                   ] Failed to execute transformation script for object vmcontroller.event-log.com [6551] DCI Dummy [3298] (Error 5 in line 5: Invalid operation with NULL value)

Victor Kirhenshtein

I suppose you are building from source. Try to do make install again, but before remove directory /usr/local/lib/netxms (and preferably everything from /use/local/lib as well). Then start server under debugger as per this instruction: https://wiki.netxms.org/wiki/Running_NetXMS_under_debugger and post output here.

Best regards,
Victor

haryt

Thanks, will try as soon as possible (I´m afraid not before Satureday), Thanks.

haryt

Found some time because of canceled meetings....... Did the install as described, lets see what happens. In case of Problems I´ll start the Debugger mode
How can i get rid of this Messages:
[204] DCI Dummy [428] (Error 5 in line 5: Invalid operation with NULL value)

This is the Content of the Transformation:
Avail = GetDCIValue($node, FindDCIByDescription($node, "memAvailReal"));
Buffer = GetDCIValue($node, FindDCIByDescription($node, "memBuffer"));
Cached = GetDCIValue($node, FindDCIByDescription($node, "memCached"));
Total = GetDCIValue($node, FindDCIByDescription($node, "memTotalReal"));
return (Total - Avail - Buffer - Cached) * 1000;

Victor Kirhenshtein

Probably one of GetDCIValue calls return null value which is later used in arithmetic operation. You may need to add check for null values.

Best regards,
Victor

haryt

Hi Victor, this is the Output of gdb. How can i Prevent getting null (sorry I´m not a programmer :-))

Filipp Sudanov

In that script you need to check if any of these values is null. You can add a line prior to return... line:
if ((Avail == null) or (Buffer == null) or (Cached == null) or (Total == null)) abort;

abort will cancel execution of the script, DCI will not get a value at this point of time.

haryt

Tried this out, produces new Errors and no Data where shown after this Change, so I think this original error is some kind of cosmetic problem