• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    Mango 3.0.1 & Debian Error

    Mango Automation Installation
    2
    6
    2.4k
    Loading More Posts
    • 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.
    • G
      garlinski
      last edited by garlinski

      Hello, i am trying to run mango free 3.0.1 on Debian Jessie

      uname -rv
      3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2+deb8u3 (2016-07-02)
      
      java -version
      java version "1.8.0_131"
      Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
      Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)
      
      echo $JAVA_HOME
      /usr/lib/jvm/java-8-oracle
      

      I copied mango files in /opt/mango directory
      I have changed permissions to all /bin scripts,
      but when I am trying to execute ma.sh script:

      sh ma.sh start
      ma.sh: 25: ma.sh: Syntax error: Bad fd number
      
      1 Reply Last reply Reply Quote 0
      • phildunlapP
        phildunlap
        last edited by

        I suspect

        mkdir "$MA_HOME"/logs/ >&/dev/null
        

        should be

        mkdir "$MA_HOME"/logs/ &>/dev/null
        

        in your ma.sh script.

        1 Reply Last reply Reply Quote 0
        • G
          garlinski
          last edited by garlinski

          There is something more, but still does not want to work

          sh ma.sh start
          MA_HOME is /opt/mango
          ma.sh: 30: ma.sh: source: not found
          /opt/mango/bin/ma-start.sh: line 99: -server: command not found
          ma-start: MA started with Process ID:  2178
          ma-start: no restart flag found, not restarting MA
          ma-start: MA done
          
          1 Reply Last reply Reply Quote 0
          • phildunlapP
            phildunlap
            last edited by

            Ah, that explains why the first error occurred, I overlooked you were using sh. In bash the &> and >& are equivalent in that place I pointed out. The hashbang is /bin/bash, is there a reason you're using sh?

            1 Reply Last reply Reply Quote 0
            • G
              garlinski
              last edited by

              I must apologize to you. Of course Mango is now working fine. I am beginner in unix system, so I'm making so basic mistakes. Thank You for your help.

              1 Reply Last reply Reply Quote 0
              • phildunlapP
                phildunlap
                last edited by

                No worries, it's what we're here for! Please feel free to post any and all questions you have (well, it can be good to try to answer them for yourself first, of course)!

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post