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. Netxms 1.2.1 on debian 6 : netxmsd -d don't start!

Netxms 1.2.1 on debian 6 : netxmsd -d don't start!

Scheduled Pinned Locked Moved Support
8 Posts 4 Posters 64.7k 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.
  • T
    T
    tivanni
    wrote on last edited by
    #1

    Hi!
    I have installed Netxms 1.2.1 on debian 6 32 bis. Initially i have some trouble with the make command executed after the "$ sh ./configure --with-server --with-mysql --with-agent" but i fix the bug installing a packeg as reported in another topic (sorry but i don't remind the name of the packet)  I follow the installation guide and and i didn't get other error. When i try launch /usr/local/bin/netxmsd  i get :
    netxmsd: error while loading shared libraries: libnxcore.so.1: cannot open shared object file: No such file or directory

    Why have I this problems?How can i fix it?

    Thank you in advance 😄

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

      Hi!

      Do you have libnxcore.so.1 in /usr/local/lib? If yes, try to run ldconfig and then start netxmsd again.

      Best regards,
      Victor

      1 Reply Last reply
      0
      • T
        T
        tivanni
        wrote on last edited by
        #3

        Thank you, the problem is fixed!
        But now i have a new problem (XD)... When i try to login trough console i get the error "Connection refuse: connect"...But username and password are correct..

        Here is my /etc/netxmsd.conf file:
        #
        # Sample configuration file for NetXMS server
        #

        #
         DBDriver = /usr/local/lib/libnxddr_mysql.so
        #
        # Database driver to use
        #
        # UNIX example:
        # DBDriver = [path_to_netxms_install_dir]/lib/libnxddr_mysql.so
        #
        # Windows example:
        # DBDriver = mysql.ddr

        #
         DBServer = localhost
        #
        # Database server (ODBC source name for ODBC driver)
        #
        # Example:
        # DBServer = localhost

        #
         DBName = netxms
        #
        # Database name (not used by ODBC driver)
        #
        # Example:
        # DBName = netxms_db

        #
        # DBLogin
        #
        # Database user name
        #
        # Example:
        # DBLogin = netxms

        #
        # DBPassword
        #
        # Database user's password
        #
        # Example:
        # DBPassword = password

        #
        # LogFailedSQLQueries
        #
        # Controls logging of failed SQL queries.
        # Possible values: "yes" (default) or "no".
        #
        # Example:
        # LogFailedSQLQueries = yes
        DBlogin = root
        DBPassword = mypass
        LogFile = /var/log/netxmsd
        LogFailedSQLQueries = yes

        #
        # LogFile
        #
        # Server's log file. To write log to syslog (or Event Log on Windows),
        # use {syslog} as file name.
        #
        # Examples:
        # LogFile = {syslog}
        # LogFile = /var/log/netxms

        Thank you for help 🙂

        1 Reply Last reply
        0
        • T
          T
          tivanni
          wrote on last edited by
          #4

          I can access successful to NetXMS via Netxms Console if i use as username admin and as password mypass.
          i'd like to modify the configuration about username and password for the console login. Which is the configuration file for modify the console's login parameter?
          thank you 🙂 I ask this for curiosity, the important thing is now the console is accesible  😛 ;D

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

            To change user information, you can go to COnfiguration -> User Manager in console. There you can change password and user details. You can also change password for the user you are currently logged in with via Tools -> Change password menu.

            Best regards,
            Victor

            1 Reply Last reply
            0
            • S
              S
              SKYnv
              wrote on last edited by
              #6

              @victor said in Netxms 1.2.1 on debian 6 : netxmsd -d don't start!:

              To change user information, you can go to COnfiguration -> User Manager in console. There you can change password and user details. You can also change password for the user you are currently logged in with via Tools -> Change password menu.

              Best regards,
              Victor

              it work, tnx. How about nxmbrmgr? And i think need some new options for nxdbmgr, -delete configuration from database or overwrite.

              1 Reply Last reply
              0
              • L
                L
                lweidig
                wrote on last edited by
                #7

                For the database part of your question just use the native database tools to handle this.  I would probably suggest stopping the server and agent before any of these items. 

                For example using MySQL since that is what your configuration shows to change the password for the netnxms user on a MySQL system:

                $ mysql -u root -p    # Enter root password when promted
                   mysql> use mysql;
                   mysql> update user set password=PASSWORD("NEW-PASSWORD-HERE") where User='netxms';
                   mysql> exit
                $ vi /etc/netxmsd.conf
                   # Updated DbPassword with NEW-PASSWORD-HERE in configuration
                

                Similarly, if you wanted to start over with a clean database you would run the following:
                BE WARNED THIS WILL WIPE YOUR DB SETUP COMPLETELY TO INITIAL VALUES!!!

                $ mysql -u root -p    # Enter root password when promted
                   mysql> drop database netxms;
                   mysql> exit
                $ /usr/local/bin/nxdbmgr init  /usr/share/netxms/sql/dbinit_mysql.sql     # Path might be /usr/local/share... based on install
                
                1 Reply Last reply
                0
                • S
                  S
                  SKYnv
                  wrote on last edited by
                  #8

                  @lweidig said in Netxms 1.2.1 on debian 6 : netxmsd -d don't start!:

                  For the database part of your question just use the native database tools to handle this.  I would probably suggest stopping the server and agent before any of these items. 

                  For example using MySQL since that is what your configuration shows to change the password for the netnxms user on a MySQL system:

                  $ mysql -u root -p    # Enter root password when promted
                     mysql> use mysql;
                     mysql> update user set password=PASSWORD("NEW-PASSWORD-HERE") where User='netxms';
                     mysql> exit
                  $ vi /etc/netxmsd.conf
                     # Updated DbPassword with NEW-PASSWORD-HERE in configuration
                  

                  Similarly, if you wanted to start over with a clean database you would run the following:
                  BE WARNED THIS WILL WIPE YOUR DB SETUP COMPLETELY TO INITIAL VALUES!!!

                  $ mysql -u root -p    # Enter root password when promted
                     mysql> drop database netxms;
                     mysql> exit
                  $ /usr/local/bin/nxdbmgr init  /usr/share/netxms/sql/dbinit_mysql.sql     # Path might be /usr/local/share... based on install
                  

                  tnx, sorry but i'm write this reply for another theme, my mistake, sorry again > https://www.netxms.org/forum/general-support/nxdbmbr-bug/
                  i knew it, but i mean remove configuration only.
                  i think using another or bultin tools is a wrong way.

                  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