Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. "Database is locked" after upgrade to 2.0-M5 vía apt

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

Scheduled Pinned Locked Moved Support
5 Posts 2 Posters 47.6k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    J
    jaivar
    wrote on last edited by
    #1

    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!

    1 Reply Last reply
    0
    • J
      J
      jaivar
      wrote on last edited by
      #2

      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,

      1 Reply Last reply
      0
      • M
        M
        multix
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        • J
          J
          jaivar
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          • J
            J
            jaivar
            wrote on last edited by
            #5

            Hi!

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

            Thanks and regards,

            1 Reply Last reply
            0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            Powered by NodeBB Contributors
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups