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. Can't login to netxms web interface

Can't login to netxms web interface

Scheduled Pinned Locked Moved Support
6 Posts 2 Posters 33.1k 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.
  • E
    E
    enryfantasy
    wrote on last edited by
    #1

    Hi.
    I just intalled 1.2.17 netxms version and it's web interface by eploying the war file into tomcat.
    I then tried to login to the web interface but I always get a "Connection refused".
    I tried "admin" and "netxms" as apssword but nothing.
    Which default user and password am I supposed to use?

    Thanks,
    enrico

    1 Reply Last reply
    0
    • A
      A
      Alex Kirhenshtein
      wrote on last edited by
      #2

      Hello. admin/netxms is default credentials, but you have another issue – WebUI can't connect to the server. Check that netxmsd is running and accepting connections on port 4701/TCP.

      1 Reply Last reply
      0
      • E
        E
        enryfantasy
        wrote on last edited by
        #3

        I tried to launch netxmsd without any parametrs and I get an error.
        FATAL ERROR: cannot open log file.

        Why that?
        I tried to comment the line in /etc/netxmsd.conf regarding the log file but I always get that error.

        1 Reply Last reply
        0
        • A
          A
          Alex Kirhenshtein
          wrote on last edited by
          #4

          Set "LogFile" in /etc/netxmsd.conf to some location where file can be created.
          For example:LogFile=/var/log/netxmsd

          1 Reply Last reply
          0
          • E
            E
            enryfantasy
            wrote on last edited by
            #5

            Great! thank you.
            I found out that /var/log wasn't accessible by the netxms. so I changed that line in the conf file to point into /home/{myusername}/netxms and now it works!

            Thank you.

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

              Please note that if netxmsd is started without root permissions, ICMP and SNMP traps will not work (RAW sockets required for ICMP and SNMP traps are received on port 162).

              If you running modern Linux you can set capabilities to overcome that:

              sudo /sbin/setcap cap_net_bind_service,cap_net_raw=ep /opt/netxms/bin/netxmsd
              

              To verify:

              1. check with getcap:
              $ /sbin/getcap /opt/netxms/bin/netxmsd
              /opt/netxms/bin/netxmsd = cap_net_bind_service,cap_net_raw+ep
              
              1. This error should not appear anymore on log file: "[ERROR] Unable to bind socket to port 162 in function SNMPTrapReceiver: Permission denied"

              P.S. setcap/getcap are from package libcap2-bin

              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