Problem/Bug Server not starting os el capitan

Discussion in 'Bukkit Help' started by Lastwinner33, Jan 1, 2017.

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

    Lastwinner33

    Hello ,
    I'm writing this message to solve and speak about a problem . I'm a mac os x el capitan user and i'm trying to do a server with craftbukkit [1.8] but the start_server.command file doesn't work [ i made it in the right way] , I used autobukkit server too but it doesn't create this file , i think it's because of the system . Can anyone help me please?
     
  2. Offline

    timtower Administrator Administrator Moderator

    @Lastwinner33 Open a terminal, run the jar file, what message do you get?
     
  3. Offline

    Lastwinner33

    i'm downloading again bukkit wait pls

    i downloaded it , do i open it while i am on the terminal?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jan 1, 2017
  4. Offline

    timtower Administrator Administrator Moderator

  5. Offline

    Lastwinner33

    i didn't get a message

    i did the start_server.command file but i can't open it , it says that i haven't permissions . i think i have to do something in the terminal , something like chmod a+x [ drag here the start_server.command] but it doesn't work

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
  6. Offline

    timtower Administrator Administrator Moderator

    @Lastwinner33 If you run it with the Java command then something should show.
    What does it show for you?

    EDIT: That is a machine issue, not something we can solve for you.
     
  7. Offline

    Lastwinner33

    when i try to do chmod a+x and so on it says this :
    MBP-di-Pier:~ piercamilloiovino$ chmod a+x/Users/piercamilloiovino/Desktop/cartella\ senza\
    titolo/start_server.command
    usage: chmod [-fhv] [-R [-H | -L | -P]] [-a | +a | =a [# [ n]]] mode|entry file ...

    chmod [-fhv] [-R [-H | -L | -P]] [-E | -C | -N | -i | -I] file ...
     
  8. Offline

    timtower Administrator Administrator Moderator

    @Lastwinner33 chmod +ax file
    Again: not a Bukkit issue but a machine issue.
     
  9. Offline

    Lastwinner33

    http://wiki.bukkit.org/Setting_up_a_server I'm following this text , everything works but when i do the third step (
    1. Allow the script to run
      1. Open up Terminal.app
      2. Type into Terminal.app
        chmod a+x
        [​IMG] Warning: Do not hit return
      3. drag the start_server.command into Terminal.app
      4. hit return)
    it says this :
    Last login: Sun Jan 1 15:03:02 on ttys000

    MBP-di-Pier:~ piercamilloiovino$ chmod a+x/Users/piercamilloiovino/Desktop/cartella\ senza\ titolo/start_server.command

    usage: chmod [-fhv] [-R [-H | -L | -P]] [-a | +a | =a [# [ n]]] mode|entry file ...

    chmod [-fhv] [-R [-H | -L | -P]] [-E | -C | -N | -i | -I] file ...


    ty for the help and good year :D

    anyway it doesn't work D: i think t'because of the system

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
  10. Offline

    timtower Administrator Administrator Moderator

  11. Offline

    Lastwinner33

    yes i did

    chmod a+xfile and chmod +axfile don't work

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jan 1, 2017
  12. Offline

    timtower Administrator Administrator Moderator

    @Lastwinner33 Then I suggest that you find somebody that knows your system.
     
  13. Offline

    Tecno_Wizard

    @Lastwinner33, it's chmod a+x file. The space is important.

    Also, I've found that regardless, you must run the script from the terminal. Double clicking it will fail as of OS X El Capitan. I've never really understood why.

    Follow this, and everything should work out for you.

    The server folder will be written to the desktop, but you can move it when all this is done.

    Open a new terminal window and enter "cd"
    Enter "cd Desktop"
    Enter "mkdir Minecraft_Server"
    Enter "cd Minecraft_Server"
    Drag the spigot/craftbukkit jar to the new folder. I'll assume you're using spigot. If you're not, for anything that says spigot.jar, just swap the name. There cannot be spaces in the jar name.
    Enter "ls". The jar file should be listed. Now we will make the command file. QUOTES MATTER ON THE NEXT LINE. KEEP THEM.
    echo "java -Xmx1G -Xms1G -jar spigot.jar" >> start.command
    That will make the command file.
    Enter "chmod a+x start.command"
    Enter "chmod a+x spigot.jar" for good measure.
    Enter "./start.command"
    The server will now start and fail because of the EULA. Open the folder and edit the eula.txt file to agree to the EULA.
    Enter "./start.command" again. The server should run.

    Tell me if this doesn't work.

    In the future, right click (option+click) the server folder, and under services an option will be "New Terminal Tab At Folder". Click that, and enter "./start.command". The server will run.z


    As you've probably noticed, this isn't for the feint of heart...
     
    Last edited: Jan 1, 2017
  14. Offline

    Lastwinner33

    it doesn't work , look here please
    Last login: Sun Jan 1 16:50:47 on ttys000

    MBP-di-Pier:~ piercamilloiovino$ cd Desktop

    MBP-di-Pier:Desktop piercamilloiovino$ mkdir Minecraft_Server

    MBP-di-Pier:Desktop piercamilloiovino$ ls

    Minecraft_Server things

    MBP-di-Pier:Desktop piercamilloiovino$ echo java -Xmx1G -Xms1G -jar spigot.jar >> start.command

    MBP-di-Pier:Desktop piercamilloiovino$ chmod a+x start.command

    MBP-di-Pier:Desktop piercamilloiovino$ chmod a+x spigot.jar

    chmod: spigot.jar: No such file or directory

    MBP-di-Pier:Desktop piercamilloiovino$ ./start.command

    Error: Unable to access jarfile spigot.jar

    MBP-di-Pier:Desktop piercamilloiovino$ ./start.command

    -bash: ./start.command: No such file or directory

    MBP-di-Pier:Desktop piercamilloiovino$

    look here please [this is the start.command file , processo completato = finished process ]
    Last login: Sun Jan 1 16:51:30 on ttys000

    MBP-di-Pier:~ piercamilloiovino$ /Users/piercamilloiovino/Desktop/Minecraft_Server/start.command ; exit;

    Error: Unable to access jarfile spigot.jar

    logout

    Saving session...

    ...copying shared history...

    ...saving history...truncating history files...

    ...completed.


    [Processo completato]
     
  15. Offline

    timtower Administrator Administrator Moderator

  16. Offline

    Lastwinner33

    I put spigot in the folder called Minecraft_Server
     
  17. Offline

    timtower Administrator Administrator Moderator

  18. Offline

    Lastwinner33

    there isn't the new option

    Tecno_Wizard there isn't the new option , the first time i opened the start.command file it worked , the second time i opened the file it didn't work , but there isn't this option D:

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jan 1, 2017
  19. Offline

    timtower Administrator Administrator Moderator

  20. Offline

    Lastwinner33

    and when i try to join it says Disconnected

    I don't remember +timtower

    oh , it's this

    Minecraft_Server things it's this

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jan 1, 2017
  21. Offline

    timtower Administrator Administrator Moderator

  22. Offline

    Lastwinner33

    i think i did it

    i followed Tecno_Wizard's message but i don't find the new option

    anyways it said that i already created a server on that port so I opened hamachi and I removed every network , after that i created a new network and i changed the config but i didn't find the new option

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jan 1, 2017
  23. Offline

    timtower Administrator Administrator Moderator

    @Lastwinner33 I am not talking about his stuff.
    I am asking you to run "ls" in the server folder and post the output here.
     
  24. Offline

    Lastwinner33

    i did
    cd Desktop
    cd Minecraft_Server
    ./start.command and it worked

    i posted it

    look at the messages , when i posted the copy of what i did

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
  25. Offline

    Tecno_Wizard

    @Lastwinner33, you have to follow those instructions EXACTLY. You didn't change into the folder you created.

    Try it again and be really careful to follow everything exactly.

    Also, use the @Tecno_Wizard tag in your message or I do not get an alert.

    Code:
    MBP-di-Pier:~ piercamilloiovino$ cd Desktop
    
    MBP-di-Pier:Desktop piercamilloiovino$ mkdir Minecraft_Server
    
    MBP-di-Pier:Desktop piercamilloiovino$ ls
    
    Minecraft_Server things
    
    # YOU SKIPPED A STEP. cd Minecraft_Server
    
    MBP-di-Pier:Desktop piercamilloiovino$ echo java -Xmx1G -Xms1G -jar spigot.jar >> start.command
    
    # YOU MUST USE QUOTES IN THE ABOVE LINE AS I WROTE ABOVE
    
    MBP-di-Pier:Desktop piercamilloiovino$ chmod a+x start.command
    
    MBP-di-Pier:Desktop piercamilloiovino$ chmod a+x spigot.jar
    
    chmod: spigot.jar: No such file or directory
    
    
    
    MBP-di-Pier:Desktop piercamilloiovino$ ./start.command
    
    Error: Unable to access jarfile spigot.jar
    
    MBP-di-Pier:Desktop piercamilloiovino$ ./start.command
    
    -bash: ./start.command: No such file or directory
    
    MBP-di-Pier:Desktop piercamilloiovino$
    
    look here please [this is the start.command file , processo completato = finished process ]
    Last login: Sun Jan 1 16:51:30 on ttys000
    
    MBP-di-Pier:~ piercamilloiovino$ /Users/piercamilloiovino/Desktop/Minecraft_Server/start.command ; exit;
    
    Error: Unable to access jarfile spigot.jar
    
    logout
    
    Saving session...
    
    ...copying shared history...
    
    ...saving history...truncating history files...
    
    ...completed.
    
    
    [Processo completato]
    I copied your log and put mistakes in all caps.
    Here's my log. I stopped spigot from loading at the end.

    Code:
    bash-3.2$ cd
    bash-3.2$ cd Desktop/
    bash-3.2$ mkdir Minecraft_Server
    bash-3.2$ cd Minecraft_Server
    # At this point I copied spigot.jar into the new folder
    bash-3.2$ ls
    spigot.jar
    bash-3.2$ echo "java -Xmx1G -Xms1G -jar spigot.jar" >> start.command
    bash-3.2$ chmod a+x start.command
    bash-3.2$ chmod a+x spigot.jar
    bash-3.2$ ./start.command
    *** Error, this build is outdated ***
    *** Please download a new build as per instructions from https://www.spigotmc.org/ ***
    *** Server will start in 15 seconds ***
    # At this point lots of stuff would happen including the EULA, but I stopped it
    
     
    Last edited: Jan 1, 2017
Thread Status:
Not open for further replies.

Share This Page