Solved Server won't run on my Mac! HELP

Discussion in 'Bukkit Help' started by BobdaFett, Apr 20, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    BobdaFett

    I'm not sure if this was on any of the other posts, but i didn't want to have to look through 2000 pages....

    My server won't start up, the error code is:

    -bash: /Users/--------------/Documents/-------------/Spigot/Bukkit/start_server.command: cannot execute binary file

    logout


    [Process completed]

    Someone please help
     
  2. Offline

    nverdier

  3. Offline

    BobdaFett

    a bunch of binary

    Well, really, i took the code from the tutorial.....
    It is:

    #!/bin/bash
    cd "$( dirname "$0" )"
    java -Xmx1024M -jar craftbukkit.jar -o true

    then I turned it into start_server.command and it turned into binary code.
     
    Last edited by a moderator: Apr 20, 2015
  4. Offline

    nverdier

    @BobdaFett When you open it what does it show? It didn't convert the contents to binary, unless something really screwed up.
     
  5. Offline

    lecraeman

    If I'm not mistaken you have to authorize the file first.

    Ok, Not sure if you've done this, but go to terminal and type in this:

    Code:
    chmod a+x [file path]
    To get the [file path] just drag and drop the start.command file (or whatever you named it) onto the terminal window after typing chmod a+x be sure and add a space before dropping the file. Then click enter, and it should authorize the command.

    Let me know if that fixes your issue!
     
    Last edited by a moderator: Apr 20, 2015
  6. Offline

    BobdaFett

    @lecraeman, i have done that, and it still doesn't work

    Actually, I can't figure out exactly what it says, and I can't figure out how to copy it.

    EDIT by Timtower: merged posts
     
    Last edited by a moderator: Apr 21, 2015
  7. Offline

    lecraeman

    How did you turn it into a .command ? Did you use an app and export it, or did you just rename it?
     
  8. Offline

    BobdaFett

    @lecraeman i did chmod a+x in the terminal and then i turned it into a .command file
     
  9. Offline

    BobdaFett

    Ok i fixed the problem im not sure what i did, but it worked.
     
Thread Status:
Not open for further replies.

Share This Page