SQL Command Line run nxdbmgr then....

Started by ulink, September 27, 2015, 11:05:13 PM

Previous topic - Next topic

ulink

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

multix

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.)

ulink

I'll give it a shot. Execute it from netxms root folder or special subfolder?

multix

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.

ulink

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.


multix

you should say yes to this question.
Or you can use
nxdbmgr check -f
command line.