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. about nxupload 500: Internal error

about nxupload 500: Internal error

Scheduled Pinned Locked Moved Support
3 Posts 2 Posters 12.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.
  • Y
    Y
    yiyun18
    wrote on last edited by
    #1

    Hello,
      when I use nxupload to upload file, it return 500: Internal error.
      nxupload.exe 192.168.0.16 c:\1.txt -e 0
      How to upload file with nxupload?

    Thanks.

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

      File are transferred via nxagentd, so you need to ensure that your IP address (host where you are running nxupload) is authorised by agent:

      1. start nxagentd in debug mode (nxagentd -D5), try to upload file from unauthorized host and look for messages like this:
      [16-Aug-2013 16:25:47.779] [DEBUG] Incoming connection from 127.0.0.1
      [16-Aug-2013 16:25:47.779] [DEBUG] Connection from 127.0.0.1 rejected
      

      Adjust "MasterServers" in nxagentd.conf is necessary.

      1. If you use shared secret authentication on the agent, check that "SharedSecret" in nxagentd.conf and "-s SECRET" parameter for nxupload do match

      Please note that by default, agent ignore file destination (nxupload -d switch) and save to FileStore (Unix default is "/tmp", Windows default - "C:\", you can change location with "FileStore=..." in nxagentd.conf).

      To override this behaviour, add "EnableArbitraryFileUpload=true" to nxagentd.conf and restart agent.

      1 Reply Last reply
      0
      • Y
        Y
        yiyun18
        wrote on last edited by
        #3

        Thanks.

        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