"Database is locked" after upgrade to 2.0-M5 vía apt

Started by jaivar, July 20, 2015, 02:00:35 AM

Previous topic - Next topic

jaivar

Hello,

After upgrade via apt, I run: nxdbmgr upgrade
NetXMS Database Manager Version 2.0-M5 Build 8027

Upgrading database...
Database is locked

I tried this command: nxdbmgr check
NetXMS Database Manager Version 2.0-M5 Build 8027

Checking database (excluding collected data):
Your database has format version 353, this tool is compiled for version 356.
Use "upgrade" command to upgrade your database first.
Database check aborted

some sugestion??
thanks!

jaivar

Hi,

I solved with this command: nxdbmgr unlock

Now, I have problems in the web interface...

When I put the new nxmc-2.0-M5.war and restart tomcat7 I have:

type Status report

message ProxyServlet: /nxmc

description The requested resource (ProxyServlet: /nxmc) is not available.

some suggesiton?
thanks,

multix

Hi.
You must use first side of war file name (I mean without extension) . In your post, I see you copied nxmc-2.0-M5.war to tomcat directory, so you must use


your server's ip address/nxmc-2.0-M5

jaivar

Hi,

I put in my browser:

http://IP:8080/nxmc-2.0-M5

and I have:

HTTP Status 404 - ProxyServlet: /

type Status report

message ProxyServlet: /

description The requested resource (ProxyServlet: /) is not available.

I have Tomcat 7.0.28 and my java version:
java -version
java version "1.7.0_79"
OpenJDK Runtime Environment (IcedTea 2.5.5) (7u79-2.5.5-1~deb7u1)
OpenJDK Server VM (build 24.79-b02, mixed mode, sharing)

I put the war file in: /var/lib/tomcat7/webapps and I don't have any errors in catalina.out....

I don't understand where is the problem. In older version xnmc-2.0-M4.war no problem

jaivar

Hi!

Finally I remove java 1.7 and install java 1.8 with Tomcat 7 and webapp it's ok!

Thanks and regards,