1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Problems.

Discussion in 'Help' started by Liam, Sep 14, 2017.

  1. Liam

    Liam Spider Jockey

    Messages:
    38
    GitHub:
    itzgucci
    Hello, i just recently installed pocketmine onto my ubuntu system everything works but i cant join the server i dont know if its the wrong ip? 2. This thing keepss popping up that raklib failed? can anyone help i would like to join
     

    Attached Files:

  2. Awzaw

    Awzaw Zombie Pigman Poggit Admin

    Messages:
    726
    GitHub:
    awzaw
    It's hard to read text on a photo, so please try just copy/pasting the console in future, in a spoiler.

    It seems to be saying that not only are using a very outdated version of PocketMine, but you have already started a server on that port already and closed in incorrectly. Restart the machine, and update PocketMine with a recent build from the Jenkins link in the top menu to start with, or reinstall completely using the Linux script provided here http://pmmp.readthedocs.io/en/rtfd/installation.html
     
  3. Liam

    Liam Spider Jockey

    Messages:
    38
    GitHub:
    itzgucci
    Thats what i have been using same page?
     
  4. Liam

    Liam Spider Jockey

    Messages:
    38
    GitHub:
    itzgucci
    And it says "network stopped due to Raklib
     
  5. Awzaw

    Awzaw Zombie Pigman Poggit Admin

    Messages:
    726
    GitHub:
    awzaw
    His exactly did you install? The first error tells you that pocketmine is already running, so either kill the process, or if you aren't sure how, restart the machine. Which version of PocketMine does it say in that photo?
     
  6. Liam

    Liam Spider Jockey

    Messages:
    38
    GitHub:
    itzgucci
    Im not so sure of how to restart the machine
     
  7. Liam

    Liam Spider Jockey

    Messages:
    38
    GitHub:
    itzgucci
    ive also tried this command wget -q -O - https://github.com/pmmp/PocketMine-MP.git | bash -s -
     
  8. Liam

    Liam Spider Jockey

    Messages:
    38
    GitHub:
    itzgucci
    To restart the process u just delete the floder if im correct
     
  9. Awzaw

    Awzaw Zombie Pigman Poggit Admin

    Messages:
    726
    GitHub:
    awzaw
    And what happened?!
     
  10. Liam

    Liam Spider Jockey

    Messages:
    38
    GitHub:
    itzgucci
    it did not work
     
  11. Liam

    Liam Spider Jockey

    Messages:
    38
    GitHub:
    itzgucci
    Syntax error near unexpected token "New Line" and also <!DOCTYPE html> poped up both on line 7
     
  12. Liam

    Liam Spider Jockey

    Messages:
    38
    GitHub:
    itzgucci
    Does anyone know the command or how to update to the latest verison
     
  13. HBIDamian

    HBIDamian HBIDamian Staff Member

    Messages:
    365
    GitHub:
    HBIDamian
    Hey Liam.
    To solve that issue on your first post, you need to make sure you don't have a server already running, as the server can't be running twice.
    If you haven't got a PMMP server running, make sure you haven't got anything else running on port 19132
    As Awzaw said, restart your machine. (meaning shut down your computer)
     
  14. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    If its UNIX (Linux, MacOS, etc.) type "sudo reboot" in the (ssh, if it's a VPS) terminal.

    If it's Windows, press Alt+F4 when no other windows are open and select reboot, or just use the start Menu
     
  15. sharletsings123

    sharletsings123 Baby Zombie

    Messages:
    116
    GitHub:
    sharletk
    A reboot will surely help you in this problem as it closes all processes currently running.

    You can run 1 server on port 19132 but running 2 on the same port will cause a raklib crash unless you use different IPs, or use different ports like 12345 or what you prefer.

    Also its better you have a window like tmux or screen as it helps getting back to the process when exiting your terminal. (For Linux Ubuntu based Systems)

    I advice using...
    https://pmmp.readthedocs.io
    as it helps out.

    Also if you are a begginer use the phar file than the github src file as you need to add the raklib, spl as well as the lang files over.

    I hope you know that we are now using a composer, the same way discordPHP bots do.
    Get more information of how to use composer etc here on our forums...
    https://forums.pmmp.io/threads/pocketmine-mp-is-now-using-composer.3755/#post-35955

    No, if you delete the folder you don't kill it.

    Also make sure your PHP is running on version 7.2 as PocketMine now uses PHP7.2.
    I believe you can find PHP 7.2 from Jenkins at..
    https://jenkins.pmmp.io
     
    Awzaw likes this.
  16. Liam

    Liam Spider Jockey

    Messages:
    38
    GitHub:
    itzgucci
    - there's only 1 server running on the same port
     
  17. Liam

    Liam Spider Jockey

    Messages:
    38
    GitHub:
    itzgucci
    Tysm - I'm sorta a noob at Linux rn but thanks a a lot
     
  18. sharletsings123

    sharletsings123 Baby Zombie

    Messages:
    116
    GitHub:
    sharletk
    There can be 1 server running but if you exit the terminal, like your internet just cut down for 1 sec then you get disconnected easily.

    Then when you do ./start.sh again it won't let you get the server up and gives the reason saying raklib thread crashed.

    Its due to the service running on the same port.

    Also you can use netstat (I believe no one mentioned it here) which is help full to get processes running.
    Code:
    netstat -tunlp
    
    As well as, ps can be help full in many areas like to list all the process running on your Linux do..
    Code:
    ps aux
    
    To see a tree view, where hierarchal relationships are illustrated, we can run the command with these options..
    Code:
    ps axjf
    
    You can also get a process ID (PID) and then using kill you can kill it on Linux.
     
  19. Liam

    Liam Spider Jockey

    Messages:
    38
    GitHub:
    itzgucci
    Thank you. i have wget installed But i dont know what to fetch to get everything running the old thing it said was https://get.pmmp.io/ but that is no longer working.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.