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. erorr on initializing database setp. debian install

erorr on initializing database setp. debian install

Scheduled Pinned Locked Moved Support
9 Posts 2 Posters 11.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.
  • A
    A
    ant2ne
    wrote on last edited by
    #1
    $ /usr/bin/nxdbmgr init /usr/share/netxms/sql/dbinit_mysql.sql
    NetXMS Database Manager Version 1.0.12
    
    Unable to load and initialize database driver "/usr/local/lib/libnxddr_mysql.so"
    

    what now?

    1 Reply Last reply
    0
    • V
      V
      Victor Kirhenshtein
      wrote on last edited by
      #2

      Hi!

      Is netxms-server-mysql package installed? If yes, what is output of

      ldd /usr/local/lib/libnxddr_mysql.so
      

      ?

      Also, we will build Debian packages for version 1.2.0 in few days.

      Best regards,
      Victor

      1 Reply Last reply
      0
      • A
        A
        ant2ne
        wrote on last edited by
        #3

        where do I get  netxms-server-mysql  package?

        1 Reply Last reply
        0
        • V
          V
          Victor Kirhenshtein
          wrote on last edited by
          #4

          It's available on NetXMS download page. But I made an assumption that you was using deb packages. If you was building from source, then you have to run configure with --with-mysql command line option to build MySQL driver.

          Best regards,
          Victor

          1 Reply Last reply
          0
          • V
            V
            Victor Kirhenshtein
            wrote on last edited by
            #5

            Also, if it is from deb package, correct path to driver will be /usr/lib/libnxddr_mysql.so.

            Best regards,
            Victor

            1 Reply Last reply
            0
            • A
              A
              ant2ne
              wrote on last edited by
              #6

              yes,.. deb packages. These are the packages I've installed...
              netxms-agent_1.0.12_amd64.deb
              netxms-base_1.0.12_amd64.deb
              netxms-server_1.0.12_amd64.deb
              Perhaps I did something wrong. Which should I re-install?

              ant2ne@vmhost:~$ ls /usr/lib/*mysql*
              /usr/lib/libmysqlclient_r.so.15      /usr/lib/libmysqlclient.so.15
              /usr/lib/libmysqlclient_r.so.15.0.0  /usr/lib/libmysqlclient.so.15.0.0
              /usr/lib/libmysqlclient_r.so.16      /usr/lib/libmysqlclient.so.16
              /usr/lib/libmysqlclient_r.so.16.0.0  /usr/lib/libmysqlclient.so.16.0.0
              
              /usr/lib/mysql:
              plugin
              
              1 Reply Last reply
              0
              • V
                V
                Victor Kirhenshtein
                wrote on last edited by
                #7

                You need netxms-server-mysql_1.0.12_amd64.deb in addition.

                Best regards,
                Victor

                1 Reply Last reply
                0
                • A
                  A
                  ant2ne
                  wrote on last edited by
                  #8

                  I installed that and that error went away. Now when I try to connect my console (running on a different Windows machine) I get an incompatible protocol error.

                  1 Reply Last reply
                  0
                  • V
                    V
                    Victor Kirhenshtein
                    wrote on last edited by
                    #9

                    That's because you try to use console version that is different from server's version. I'm just created deb packages for 1.2.0, I recommend to try them.

                    Best regards,
                    Victor

                    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