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. No SMTP Driver

No SMTP Driver

Scheduled Pinned Locked Moved Support
11 Posts 2 Posters 44.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.
  • R
    R
    ruidias
    wrote on last edited by
    #1

    After upgrade NetXMS lost SMTP Driver in Notification Channels

    How to enable again?

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

      What's exactly happened? Is the driver gone from the list? What is it's status and error message in the list?

      To debug what's happening with the driver you can increase debug level: In Tools->Server Debug Console issue

      debug ncd.* 7
      

      this will enable debug for notification channel drivers. Then try to send a message and check server log

      1 Reply Last reply
      0
      • R
        R
        ruidias
        wrote on last edited by
        #3

        Hi,

        he issue is that the ncdriver SMTP module is not compiled. I have tried several methods, but I have been unable to compile the SMTP module

        root@netxms:~/netxms-5.2.0/src/ncdrivers/smtp# ls -l /usr/local/lib/netxms/
        total 5980
        drwxr-xr-x 2 root root    4096 Apr  4 09:50 dbdrv
        -rwxr-xr-x 1 root root  348608 Apr  4 09:50 dbquery.nsm
        -rwxr-xr-x 1 root root  132048 Apr  4 09:50 devemu.nsm
        -rwxr-xr-x 1 root root  99312 Apr  4 09:50 ds18x20.nsm
        -rwxr-xr-x 1 root root  321192 Apr  4 09:50 filemgr.nsm
        -rwxr-xr-x 1 root root  199952 Apr  4 09:50 gps.nsm
        -rwxr-xr-x 1 root root  362320 Apr  4 09:50 leef.nxm
        -rwxr-xr-x 1 root root 1728784 Apr  4 09:50 linux.nsm
        -rwxr-xr-x 1 root root  91192 Apr  4 09:50 lmsensors.nsm
        -rwxr-xr-x 1 root root  309600 Apr  4 09:50 logwatch.nsm
        -rwxr-xr-x 1 root root  374080 Apr  4 09:50 mysql.nsm
        drwxr-xr-x 2 root root    4096 Apr  4 09:50 ncdrv
        drwxr-xr-x 2 root root    4096 Apr  4 09:50 ndd
        -rwxr-xr-x 1 root root  693064 Apr  4 09:50 ntcb.nxm
        drwxr-xr-x 2 root root    4096 Apr  4 09:50 pdsdrv
        -rwxr-xr-x 1 root root  221344 Apr  4 09:50 ping.nsm
        -rwxr-xr-x 1 root root  150448 Apr  4 09:50 sms.nsm
        -rwxr-xr-x 1 root root  400472 Apr  4 09:50 spe.nxm
        -rwxr-xr-x 1 root root  408048 Apr  4 09:50 ups.nsm
        -rwxr-xr-x 1 root root  228848 Apr  4 09:50 wcc.nxm

        root@netxms:~/netxms-5.2.0/src/ncdrivers/smtp# ls -l /usr/local/lib/netxms/ncdrv/
        total 664
        -rwxr-xr-x 1 root root  57368 Apr  4 09:50 dbtable.ncd
        -rwxr-xr-x 1 root root  51464 Apr  4 09:50 dummy.ncd
        -rwxr-xr-x 1 root root  88328 Apr  4 09:50 gsm.ncd
        -rwxr-xr-x 1 root root 145288 Apr  4 09:50 nxagent.ncd
        -rwxr-xr-x 1 root root  86112 Apr  4 09:50 portech.ncd
        -rwxr-xr-x 1 root root  61760 Apr  4 09:50 shell.ncd
        -rwxr-xr-x 1 root root 117264 Apr  4 09:50 snmptrap.ncd
        -rwxr-xr-x 1 root root  53240 Apr  4 09:50 textfile.ncd

        1 Reply Last reply
        0
        • R
          R
          ruidias
          wrote on last edited by
          #4

          root@netxms:~/netxms-5.2.0/src/ncdrivers# lsb_release -a
          No LSB modules are available.
          Distributor ID: Ubuntu
          Description:    Ubuntu 24.04.2 LTS
          Release:        24.04
          Codename:      noble

          netxms with mysql

          1 Reply Last reply
          0
          • R
            R
            ruidias
            wrote on last edited by
            #5

            the only drivers available


            Captura de ecrã 2025-04-04 121755.png

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

              Any reason why you compile it yourself? We have packages for Ubuntu.

              1 Reply Last reply
              0
              • R
                R
                ruidias
                wrote on last edited by
                #7

                It was installed like that in the beginning and migrated after that.

                I have tried a new installation on same server but can't get the drivers to be all installaed

                Any solution ?

                1 Reply Last reply
                0
                • R
                  R
                  ruidias
                  wrote on last edited by
                  #8

                  How can I export all infrastructure and objects to import them into a new server?

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

                    Problems with compilation are probably because libcurl library is now used for a few things, smtp in particular. But it's better just to use packages.

                    You can install netxms packages right on the same system, just remove systemd unit or whatever way the old server and agent were started by.

                    nxagentd.conf will be in /etc, currently it's probably the same
                    server files, images are under /var/lib/netxms/, if compilation was with default prefix, then currently it's same location
                    and the database, with which new binaries will work same way and the old ones

                    Export-import is also possible, this will export all the configuration, without logs and collected data:

                    nxdbmgr -s -Z all -e hardware_inventory -e software_inventory export backup.sql
                    

                    And to import on the new system:

                    nxdbmgr import backup.sql
                    

                    And you'll need to copy conf file and folders I've mentioned above.

                    1 Reply Last reply
                    0
                    • R
                      R
                      ruidias
                      wrote on last edited by
                      #10

                      Server migration completed successfully! Thank you!

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

                        Nice to hear that

                        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