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. failed to start netxms-server.service

failed to start netxms-server.service

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

    Good morning, and happy new year,

    Tired to install NetXMS on Ubuntu 20.04, with Mariadb and Tomcat9.
    Installation was ok, no issue (as far as  can see) with DB.
    But when I tried to run "systemctl start netxms-server" got error msg "Failed to start netxms-server.service: Unit netxms-server.service not found."

    Thanks,
    David

    1 Reply Last reply
    0
    • N
      N
      NicovdWalt
      wrote on last edited by
      #2

      Good day,
      I also did the update to 3.7.95 today and it keeps failing to start.
      Centos 7.9

      ● netxms-server.service - NetXMS Monitoring Server
        Loaded: loaded (/etc/systemd/system/netxms-server.service; enabled; vendor preset: disabled)
        Active: failed (Result: signal) since Mon 2021-01-04 11:17:06 SAST; 4min 2s ago
        Process: 755 ExecStart=/usr/local/bin/netxmsd -d (code=exited, status=0/SUCCESS)
       Main PID: 783 (code=killed, signal=SEGV)

      Jan 04 12:31:05 overwatch systemd[1]: Starting NetXMS Monitoring Server...
      Jan 04 12:31:05 overwatch systemd[1]: Started NetXMS Monitoring Server.
      Jan 04 12:31:06 overwatch systemd[1]: netxms-server.service: main process exited, code=killed, status=11/SEGV
      Jan 04 12:31:06 overwatch systemd[1]: Unit netxms-server.service entered failed state.
      Jan 04 12:31:06 overwatch systemd[1]: netxms-server.service failed.

      Regards

      1 Reply Last reply
      0
      • B
        B
        Borgso
        wrote on last edited by
        #3

        ddockx:
        If installed with .deb/apt service is called "netxmsd"
        Correct command will then be:

        systemctl start netxmsd

        1 Reply Last reply
        0
        • D
          D
          ddockx
          wrote on last edited by
          #4

          Indeed service is running!
          Thanks for your help!!!!!
          David

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

            @nicovdwalt said in failed to start netxms-server.service:

            Good day,
            I also did the update to 3.7.95 today and it keeps failing to start.
            Centos 7.9

            Check /var/log/netxmsd for any errors (or run      netxmsd -D5    in this case it will put log messages right to the console).

            1 Reply Last reply
            0
            • N
              N
              NicovdWalt
              wrote on last edited by
              #6

              Hi Filipp,
              This is the result I got, I checked logs and saw no error and then I ran the -D5 start and received the following:

              [tt][tt][tt]Program received signal SIGSEGV, Segmentation fault.
              HashMapBase::find (this=this@entry=0x0, key=key@entry=0x7fffffff1000) at hashmapbase.cpp:104
              104        HASH_FIND(hh, m_data, key, m_keylen, entry);
              Missing separate debuginfos, use: debuginfo-install cyrus-sasl-lib-2.1.26-23.el7.x86_64 glibc-2.17-317.el7.x86_64 keyutils-libs-1.5.8-3.el7.x86_64 krb5-libs-1.15.1-50.el7.x86_64 libcom_err-1.42.9-19.el7.x86_64 libcurl-7.29.0-59.el7_9.1.x86_64 libgcc-4.8.5-44.el7.x86_64 libidn-1.28-4.el7.x86_64 libselinux-2.5-15.el7.x86_64 libssh2-1.8.0-4.el7.x86_64 libstdc++-4.8.5-44.el7.x86_64 mariadb-libs-5.5.68-1.el7.x86_64 nspr-4.25.0-2.el7_9.x86_64 nss-3.53.1-3.el7_9.x86_64 nss-pem-1.0.3-7.el7.x86_64 nss-softokn-3.53.1-6.el7_9.x86_64 nss-softokn-freebl-3.53.1-6.el7_9.x86_64 nss-sysinit-3.53.1-3.el7_9.x86_64 nss-util-3.53.1-1.el7_9.x86_64 openldap-2.4.44-22.el7.x86_64 openssl-libs-1.0.2k-21.el7_9.x86_64 pcre-8.32-17.el7.x86_64 sqlite-3.7.17-8.el7_7.1.x86_64 zlib-1.2.7-18.el7.x86_64
              (gdb) bt
              #0  HashMapBase::find (this=this@entry=0x0, key=key@entry=0x7fffffff1000) at hashmapbase.cpp:104
              #1  0x00007ffff668adcb in HashMapBase::_set (this=0x0, key=key@entry=0x7fffffff1000, value=value@entry=0xb6fb90) at hashmapbase.cpp:116
              #2  0x00007fffdbb9883c in set (value=0xb6fb90, key=..., this=<optimized out>) at ../../include/nms_util.h:1858
              #3  NXSL_FileClass::NXSL_FileClass (this=0x7fffdbde8aa0 <s_nxslFileClass>) at io.cpp:216
              #4  0x00007fffdbb85c30 in __static_initialization_and_destruction_0 (__initialize_p=1, __priority=65535) at io.cpp:65
              #5  _GLOBAL__sub_I_io.cpp(void) () at io.cpp:285
              #6  0x00007ffff7dea9c3 in _dl_init_internal () from /lib64/ld-linux-x86-64.so.2
              #7  0x00007ffff7def59e in dl_open_worker () from /lib64/ld-linux-x86-64.so.2
              #8  0x00007ffff7dea7d4 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
              #9  0x00007ffff7deeb8b in _dl_open () from /lib64/ld-linux-x86-64.so.2
              #10 0x00007ffff6021fab in dlopen_doit () from /lib64/libdl.so.2
              #11 0x00007ffff7dea7d4 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
              #12 0x00007ffff60225ad in _dlerror_run () from /lib64/libdl.so.2
              #13 0x00007ffff6022041 in dlopen@@GLIBC_2.2.5 () from /lib64/libdl.so.2
              #14 0x00007ffff66899af in DLOpenEx (libName=0x7fffffff3900 L"/usr/local/lib/netxms/ndd/airespace.ndd", global=<optimized out>,
                  errorText=0x7fffffff15c0 L"rl          ] cURL supported protocols: dict file ftp ftps gopher http h\xf66c3028翿\xffff1b80翿\a") at dload.cpp:51
              #15 0x00007ffff794da7c in LoadDriver (blacklist=..., file=0x7fffffff3900 L"/usr/local/lib/netxms/ndd/airespace.ndd") at ndd.cpp:44
              #16 LoadNetworkDeviceDrivers () at ndd.cpp:136
              #17 0x00007ffff794424f in Initialize () at main.cpp:1110
              #18 0x0000000000401427 in main (argc=<optimized out>, argv=<optimized out>) at netxmsd.cpp:525[/tt][/tt][/tt]
              
              1 Reply Last reply
              0
              • F
                F
                Filipp Sudanov
                wrote on last edited by
                #7

                try deleting libraries that were installed by older version, these are libnx* libnetxms* files in /usr/local/lib/netxms and /usr/local/lib
                then make & make install again

                1 Reply Last reply
                0
                • N
                  N
                  NicovdWalt
                  wrote on last edited by
                  #8

                  Hi Filipp,

                  @filipp-sudanov said in failed to start netxms-server.service:

                  try deleting libraries that were installed by older version, these are libnx* libnetxms* files in /usr/local/lib/netxms and /usr/local/lib
                  then make & make install again

                  This worked perfectly, thank you!

                  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