Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
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 (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Controllers
  3. MyController.org
  4. Server won't start

Server won't start

Scheduled Pinned Locked Moved MyController.org
3 Posts 3 Posters 1.5k Views 3 Watching
  • 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.
  • bruseisiB Offline
    bruseisiB Offline
    bruseisi
    wrote on last edited by
    #1

    Hello to everyone, sorry for the trouble but i need to improve my linux knowledge so
    I have an Raspberry Pi 2 with noobs installed
    Typing on console " type -p java " the response is :

    /usr/bin/java

    Typing on console " java -version " the response is :

    java version "1.8.0"
    Java(TM) SE Runtime Environment (build 1.8.0-b132)
    Java HotSpot(TM) Client VM (build 25.0-b70, mixed mode)

    All seem to be right but when i try to start server typing sh -x ./start.sh i get this :

    • USER_LOCATION=/usr/mycontroller/bin
    • dirname ./start.sh
    • ACTUAL_LOCATION=.
    • cd .
    • HEAP_MIN=-Xms8m
    • HEAP_MAX=-Xmx40m
    • JAVA_VERSION=1.7
    • MC_VERSION=0.0.2-alpha6
    • CONF_PROPERTIES_FILE=../conf/mycontroller.properties
    • CONF_LOG_FILE=../conf/logback.xml
    • type -p java
      -p: not found
      java is /usr/bin/java
    • [[ -n ]]
      ./start.sh: 39: ./start.sh: [[: not found
    • echo java is not installed in our machine
      java is not installed in our machine
    • [[ ]]
      ./start.sh: 45: ./start.sh: [[: not found
    • cd /usr/mycontroller/bin

    I will be enjoyed if someone could help me

    1 Reply Last reply
    0
    • mfalkviddM Offline
      mfalkviddM Offline
      mfalkvidd
      Mod
      wrote on last edited by
      #2

      Not sure where you got sh -x from but try bash -x instead. The start script requires bash.

      1 Reply Last reply
      0
      • J Offline
        J Offline
        jkandasa
        Plugin Developer
        wrote on last edited by
        #3

        @bruseisi have you tried with?

        mycontroller/bin/start.sh
        
        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


        20

        Online

        12.0k

        Users

        11.2k

        Topics

        113.4k

        Posts


        Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • MySensors
        • OpenHardware.io
        • Categories
        • Recent
        • Tags
        • Popular