NetXMS Support Forum

English Support => General Support => Topic started by: Andreas@rc on October 20, 2014, 01:01:17 PM

Title: Upgrade from 1.2.16 to 1.2.17 error
Post by: Andreas@rc on October 20, 2014, 01:01:17 PM
Hi,

I just tried to update our NetXMS server from 1.2.16 to 1.2.17, but the updated version wont start.
DB check was ok, installation went without problems, but after I tried to start the server, I got the error found in the attachment.

Server is a Win 2003 R2.
Title: Re: Upgrade from 1.2.16 to 1.2.17 error
Post by: Victor Kirhenshtein on October 20, 2014, 02:53:30 PM
Hi,

seems like some file(s) was not updated. Can you please find out what file in bin directory contains string "getKeyByIndex"?

Best regards,
Victor
Title: Re: Upgrade from 1.2.16 to 1.2.17 error
Post by: Andreas@rc on October 20, 2014, 03:46:30 PM
Quote from: Victor Kirhenshtein on October 20, 2014, 02:53:30 PM
Hi,

seems like some file(s) was not updated. Can you please find out what file in bin directory contains string "getKeyByIndex"?

Best regards,
Victor

Hi,

sure but how? ... MS search only looks into "readable" files (e.g *.txt, *.doc, ...) but as stated in the screenshot, "getKeyByIndex" is found in serveral DLL's (and *.pds's), "libnetxms.dll", "libnetxms.pdb" or "libnxsl.dll" to name some.
Looking in all of them is kinda ... troublesome.
Title: Re: Upgrade from 1.2.16 to 1.2.17 error
Post by: lindeamon on October 20, 2014, 03:55:13 PM
you can use totalcommander.
go into to the root directory of netxms, open the search dialog, search for all files by putting "*" and put the requested search string in the "find text"

Lindeamon
Title: Re: Upgrade from 1.2.16 to 1.2.17 error
Post by: Andreas@rc on October 22, 2014, 10:24:05 AM
Hi,

sorry for the late response.
The error was most likely the some one start the install after this system was running and uncheck most of the components. And since I started the installation with /silent, most parts weren't installed.

Now, I have the same problem as described here https://www.netxms.org/forum/general-support/error-while-upgrading-to-1-2-17/ (https://www.netxms.org/forum/general-support/error-while-upgrading-to-1-2-17/). The core service won't start, debug (per netxmsd.conf or command line) doesn't work (more precisely, no information are logged). Reboot didn't help.
Title: Re: Upgrade from 1.2.16 to 1.2.17 error
Post by: tonyams on October 31, 2014, 12:36:58 AM
Hi:

I'm having the same problem as well. Using Windows Server 2003 R2. Netxms core service won't start.

Regards,

Title: Re: Upgrade from 1.2.16 to 1.2.17 error
Post by: Victor Kirhenshtein on November 04, 2014, 11:12:47 AM
Hi,

is there anything in log? If not, try to set logging to file in netxmsd.conf and run netxmsd from command line with full debug:

netxmsd.exe -D9

Best regards,
Victor
Title: Re: Upgrade from 1.2.16 to 1.2.17 error
Post by: Andreas@rc on November 04, 2014, 03:58:03 PM
Quote from: Andreas@rc on October 22, 2014, 10:24:05 AM
Hi,

sorry for the late response.
The error was most likely the some one start the install after this system was running and uncheck most of the components. And since I started the installation with /silent, most parts weren't installed.

Now, I have the same problem as described here https://www.netxms.org/forum/general-support/error-while-upgrading-to-1-2-17/ (https://www.netxms.org/forum/general-support/error-while-upgrading-to-1-2-17/). The core service won't start, debug (per netxmsd.conf or command line) doesn't work (more precisely, no information are logged). Reboot didn't help.

Quote from: Victor Kirhenshtein on November 04, 2014, 11:12:47 AM
Hi,

is there anything in log? If not, try to set logging to file in netxmsd.conf and run netxmsd from command line with full debug:

netxmsd.exe -D9

Best regards,
Victor


Hi,

as I said before, even with enabled debuging, no log is written. It looks like the programms hangs before writting anything to the log file is possible.
Title: Re: Upgrade from 1.2.16 to 1.2.17 error
Post by: Victor Kirhenshtein on November 04, 2014, 06:52:31 PM
How's your netxmsd.conf looks like? Can you run nxdbmgr.exe or any other command line tool?

Best regards,
Victor
Title: Re: Upgrade from 1.2.16 to 1.2.17 error
Post by: Andreas@rc on November 05, 2014, 10:24:43 AM
netxmsd.conf:
LogFile = E:\NetXMS\log\netxms.log
DBDriver = sqlite.ddr
DBName = E:\NetXMS\database\netxms_db
LogFailedSQLQueries = yes
DebugLevel = 9


nxdbmgr is still working.