NetXMS Support Forum

English Support => General Support => Topic started by: ulink on September 27, 2015, 11:05:13 PM

Title: SQL Command Line run nxdbmgr then....
Post by: ulink on September 27, 2015, 11:05:13 PM
IP locked for some damn reason so forum research tells me to run nxdbmgr check.  Doing so results in -> and that is it.  Just a cursor blinking at me.  How do I get it to run the command and simply not drop to an empty line?

Thanks
Title: Re: SQL Command Line run nxdbmgr then....
Post by: multix on September 27, 2015, 11:27:18 PM
If I did not misunderstand, you are trying to run nxdbmgr in sqlcmd (saw in topic). Can you try to run nxdbmgr in command prompt (neither sqlcmd nor powershell.)
Title: Re: SQL Command Line run nxdbmgr then....
Post by: ulink on September 27, 2015, 11:40:42 PM
I'll give it a shot. Execute it from netxms root folder or special subfolder?
Title: Re: SQL Command Line run nxdbmgr then....
Post by: multix on September 28, 2015, 01:41:26 PM
there is not any special folder to run nxdbmgr.  if the netxms installation folder is in path, then you can run this command from any folder. Otherwise, you must specify the nxdbmgr folder in command.
Title: Re: SQL Command Line run nxdbmgr then....
Post by: ulink on September 28, 2015, 08:03:41 PM
Okay
From native system command line and in the netxms root folder, it is not recognizing the command.  Had to move to the \bin folder to execute it.  Doing prompted me for the database unlock option.

Title: Re: SQL Command Line run nxdbmgr then....
Post by: multix on September 29, 2015, 11:40:23 PM
you should say yes to this question.
Or you can use
nxdbmgr check -f
command line.