(Multicraft) Failed to initialize server: [Errno 13] Permission denied

Discussion in 'Systems Administration' started by AlekseyN, Jul 3, 2019.

  1. Hello all !!!
    help to start up the server on a VPS (Ubuntu) under Multicraft control

    the "chmode -r 777" and "chown -r mc1: mc1" commands applied already

    here is my useless log:
    2019-07-03 13:31:41,201 INFO server 1: Received start command
    2019-07-03 13:31:41,214 INFO server 1: Loading server properties
    2019-07-03 13:31:41,216 INFO server 1: Starting server!
    2019-07-03 13:31:41,220 DEBUG server 1: Loading server config from minecraft_server.jar.conf
    2019-07-03 13:31:41,235 INFO server 1: Loaded config for "Default"
    2019-07-03 13:31:41,236 DEBUG server 1: Stream encoding for subprocess: ISO-8859-1 in, ISO-8859-1 out, latin-1 file
    2019-07-03 13:31:41,243 DEBUG server 1: Failed to initialize server: [Errno 13] Permission denied
    2019-07-03 13:31:41,244 WARNING server 1: Failed to initialize server
    2019-07-03 13:31:41,245 TRACE Closing client connection (127.0.0.1:38472)
    2019-07-03 13:31:42,452 TRACE New client connected (127.0.0.1:38478)
    2019-07-03 13:31:42,458 TRACE Client (127.0.0.1:38478) succesfully authorized
    2019-07-03 13:31:42,461 TRACE Closing client connection (127.0.0.1:38478)
    2019-07-03 13:31:44,533 TRACE New client connected (127.0.0.1:38484)
    2019-07-03 13:31:44,535 TRACE Client (127.0.0.1:38484) succesfully authorized
    2019-07-03 13:31:44,556 TRACE Closing client connection (127.0.0.1:38484)
    2019-07-03 13:31:46,593 TRACE New client connected (127.0.0.1:38490)
    2019-07-03 13:31:46,598 TRACE Client (127.0.0.1:38490) succesfully authorized
    2019-07-03 13:31:46,603 TRACE Closing client connection (127.0.0.1:38490)
    2019-07-03 13:31:47,466 TRACE New client connected (127.0.0.1:38496)
    2019-07-03 13:31:47,469 TRACE Client (127.0.0.1:38496) succesfully authorized
    2019-07-03 13:31:47,533 TRACE Closing client connection (127.0.0.1:38496)
    2019-07-03 13:31:49,881 TRACE New client connected (127.0.0.1:38502)
    2019-07-03 13:31:49,883 TRACE Client (127.0.0.1:38502) succesfully authorized
    2019-07-03 13:31:49,902 TRACE Closing client connection (127.0.0.1:38502)
    2019-07-03 13:31:51,983 TRACE New client connected (127.0.0.1:38508)
    2019-07-03 13:31:51,986 TRACE ...

    and so on with only port numbers changes

    what could be the problem? where to looking for?
     
    • Like Like x 1
  2. Did you make a typo in your post or actually run these commands? You need to specify the path, and -R has to be uppercase:
    Code (Text):
    chown -R mc1:mc1 /path/to/server/dir
    chmod -R 777 /path/to/server/dir
    Though setting the permissions to 777 isn't necessary if the file owner is correct.
     
  3. Add me on Discord Intelligence#2376, I can help you out! :)
     
  4. Yes, I run of course:
    chown -R mc1:mc1 /home/minecraft/multicraft/servers/server1/
    chmod -R 777 /home/minecraft/multicraft/servers/server1/

    And then checked all visually by FileZilla