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. Cant unlock database after server crushed

Cant unlock database after server crushed

Scheduled Pinned Locked Moved Support
3 Posts 2 Posters 24.2k 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.
  • S
    S
    SkyRanger
    wrote on last edited by
    #1

    I run NETXMS inside Hyper-V and forgot to set for virtual machine dyn memory limit when i set it up. So eventually VM just eats all free server RAM and i forced to stop it.

    Now i cant run NETXMS server it says:

    Database is locked

    I run server packages upgrade

    When i try to upgrade database

    NetXMS Database Manager Version 3.5.90 Build 3.5-90-g215397d8e7 (UNICODE)

    Upgrading database...
    Database is locked

    When i try to unlock it:

    nxdbmgr unlock
    NetXMS Database Manager Version 3.5.90 Build 3.5-90-g215397d8e7 (UNICODE)

    Database is locked by server 192.168.x.x [xxxxx.xxxxxxx.ru Linux Release 4.19.0-8-amd64]
    Do you wish to force database unlock? (Yes/No) Yes

    Ind it just stuck and nothing happens, when i kill it after 30 minutes and tru to upgrade DB still locked. Is there a way to unlock it other way?

    1 Reply Last reply
    0
    • S
      S
      SkyRanger
      wrote on last edited by
      #2

      It strange reboot helped:)

      1 Reply Last reply
      0
      • F
        F
        Filipp Sudanov
        wrote on last edited by
        #3

        Could be something on the database side. What database do you use?

        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