MCMA MC won't start, AMP FTB and Forge and scrds don't start

  • 213 Views
  • Last Post 1 weeks ago
Gilbert17 posted this 4 weeks ago

OS Name/Version: Ubuntu 16.04LTS and 17.04LTS.

Product Name/Version: Because my license is deactivated i can only say i installed AMP and MCMA on the 26.08.17

Steps to reproduce: Install AMP and create a new Instance of srcds(Garry's mod) and try to start the Server. Create a new MC instance and install any kind of FTB or Forge and try to start the Server. Create a new instance and try to start it.

Problem Description: First i bought MCMA and tried to set up a MC Server. MCMA Admin works fine, but when i try to install/run Minecraft i always get a Error. Mostly some kind of java error. Then i tried AMP, MC works out of the Box, but i can't get FTB, Forge or a srcds(Garry's Mod) Server running. I start the instance and it shows that the instance is running, but nothing happens. The log is empty. Also i have the problem that some new instances won't start.

Actions taken to resolve so far: I installed all dependecies Try Java 8 instead of Java 9 Try Ubuntu 16.04 instead of Ubuntu 17.04 Used another Server, both Intel based with 8 Cores and 32GB Ram with 256GB SSD

Order By: Standard | Newest | Votes
Mike posted this 4 weeks ago

Which log are you looking at? Each instance has its own set of log files. "Some kind of java error" isn't helpful, need a copy of the minecraft server log to help you with that. You can find the instance logs in the instance directories. Under linux they're in ~/.ampdata/Instances/INSTANCE_NAME_HERE/AMPLogs

Gilbert17 posted this 4 weeks ago

My srcds Instance says the server is running and the log:

[19:43:16] [Core:System Info]     : Starting AMP version 1.4.8.2, built 2017-08-15 22:00
[19:43:16] [Core:System Info]     : OS: Linux / x86_64
[19:43:16] [Core:System Info]     : AMP Instance ID: d0a83ea6-c954-4cae-afb3-94080df55219
[19:43:17] [ModuleLoader:System Info] : Loading Module: srcdsModule
[19:43:17] [ModuleLoader:System Info] : Loaded srcdsModule version 1.0.0.1
[19:43:17] [ModuleLoader:System Info] :  - Author: CubeCoders Limited
[19:43:17] [ModuleLoader:System Info] :  - For Source Dedicated Server application.
[19:43:17] [ModuleLoader:System Info] :  - Does not support sleeping.
[19:43:17] [Scheduler:System Debug] : srcdsModule registered event PlayerChats (A player sends a chat message)
[19:43:17] [Scheduler:System Debug] : srcdsModule registered event UserJoins (A player joins the server)
[19:43:17] [Scheduler:System Debug] : srcdsModule registered event UserLeaves (A player leaves the server)
[19:43:17] [Scheduler:System Debug] : srcdsModule registered event UpdateAvailable (An update is available)
[19:43:17] [Scheduler:System Debug] : srcdsModule registered task Start
[19:43:17] [Scheduler:System Debug] : srcdsModule registered task Stop
[19:43:17] [Scheduler:System Debug] : srcdsModule registered task Restart
[19:43:17] [Scheduler:System Debug] : srcdsModule registered task Kill
[19:43:17] [Scheduler:System Debug] : srcdsModule registered task Update
[19:43:17] [Scheduler:System Debug] : srcdsModule registered task Say
[19:43:17] [ModuleLoader:System Info] : Loading Plugin: BannerImagePlugin
[19:43:17] [ModuleLoader:System Info] : Loaded BannerImagePlugin version 1.0.0.0
[19:43:17] [ModuleLoader:System Info] :  - Author: CubeCoders Limited
[19:43:17] [Scheduler:System Debug] : BannerImagePlugin registered event ImageUpdated (The status image has been updated.)
[19:43:17] [ModuleLoader:System Info] : Loading Plugin: EmailSender
[19:43:17] [ModuleLoader:System Info] : Loaded EmailSender version 1.0.0.0
[19:43:17] [ModuleLoader:System Info] :  - Author: CubeCoders Limited
[19:43:17] [Scheduler:System Debug] : EmailSender registered task SendMail
[19:43:17] [ModuleLoader:System Info] : Loading Plugin: FileManager
[19:43:17] [ModuleLoader:System Info] : Loaded FileManager version 1.0.0.0

My MC Instance says installing forge mod the whole time and the log says:

[19:43:12] [Core:System Info]     : Starting AMP version 1.4.8.2, built 2017-08-15 22:00
[19:43:12] [Core:System Info]     : OS: Linux / x86_64
[19:43:12] [Core:System Info]     : AMP Instance ID: a69557ba-8f8e-4d96-afee-1432eff26af4
[19:43:12] [ModuleLoader:System Info] : Loading Module: MinecraftModule
[19:43:12] [Minecraft:System Debug] : Getting latest Minecraft server version information (async)
[19:43:12] [Minecraft:System Debug] : Fetching info for Official
[19:43:12] [Minecraft:System Debug] : Checking for installed plugins and retrieving metadata. (async)
[19:43:12] [ModuleLoader:System Info] : Loaded MinecraftModule version 1.0.0.3
[19:43:12] [ModuleLoader:System Info] :  - Author: CubeCoders Limited
[19:43:12] [ModuleLoader:System Info] :  - For Minecraft application.
[19:43:12] [ModuleLoader:System Info] :  - Supports sleeping.
[19:43:12] [Scheduler:System Debug] : MinecraftModule registered event UnexpectedStop (The Minecraft Server stops unexpectedly)
[19:43:12] [Scheduler:System Debug] : MinecraftModule registered event WatchdogShutdown (The Minecraft Server watchdog forced a shutdown (server unresponsive))
[19:43:12] [Scheduler:System Debug] : MinecraftModule registered event RepeatedFailure (The Minecraft server repeatedly fails to start)
[19:43:12] [Scheduler:System Debug] : MinecraftModule registered event ServerLag (The Minecraft server is unable to keep up)
[19:43:12] [Scheduler:System Debug] : MinecraftModule registered event StateChanged (The server state changes)
[19:43:12] [Scheduler:System Debug] : MinecraftModule registered event PlayerKilledByPlayer (A player is killed by another player)
[19:43:12] [Scheduler:System Debug] : MinecraftModule registered event PlayerKilledByNPC (A player is killed by an NPC)
[19:43:12] [Scheduler:System Debug] : MinecraftModule registered event PlayerAchievement (A player gets an achievement)
[19:43:12] [Scheduler:System Debug] : MinecraftModule registered event PlayerSuicide (A player commits suicide)
[19:43:12] [Scheduler:System Debug] : MinecraftModule registered event ServerSleeps (The server enters sleep mode)

I can't reach any server over the serverbrowser or IP-Adress

Mike posted this 4 weeks ago

For srcds, have you added the appropriate firewall rules to allow the port through? You'll need to add them via iptables/firewalld depending on your distribution.

For minecraft, try supplying your own copy of ForgeMod instead of using AMPs downloader. Also worth just letting it run Vanilla as a sanity check.

Gilbert17 posted this 3 weeks ago

I added the firewall rules via iptable.

MC Vanilla works fine. Just the Modpacks like Forge and FTB won't start. Today i logged in and i can't connect to my MC-Forge instance. After i restartet my server i can't start the instance anymore. The log is completly empty. If i create a new instance and upload the forge jar i have to accept the eula and then i get an error that the server is unable to start because "You must accept the Mojang EULA before you may run the Minecraft server." . I tried it mulitple times and i can't start the server whether I accept or refuse the EULA.

Mike posted this 3 weeks ago

AMP doesn't start automatically on boot, you have to set that up yourself right now. Normal way is to use cron to run the instance manager.

For the EULA, go to Configuration -> Server Settings -> Skip startup EULA check -> Off

For Forge, try the following:

  • Server Type -> Forge
  • Release Stream -> Stable
  • Server jar -> Autoselect
  • Click Install / Update
  • Start the server

Gilbert17 posted this 3 weeks ago

I starteted the default Instance via console using this command: ./ampinstmgr StartInstance ADSInstance Then i tried to start the other instances via the webinterface and because that did not work i started them via the console.

Skip Eula check both options don't work.

Because i can't start my other MC Mod Instances i created a new one for minecraft and after i switched to that instance i become the error no java found, but i have a MC Server running outside of AMP on the server. Java 8 and 9 is installed and it dosn't matter which is set as default.

Mike posted this 3 weeks ago

Can you be more specific about what "don't work" means? You need to provide more information. Does the Minecraft server start at all? Does it try but fail? Is there any error output in the console? If so what does it say?

I'd also suggest you hop into the live chat, this is going to take a very long time to solve if only one message is being exchanged per day.

Gilbert17 posted this 3 weeks ago

The instances don't start whether I start them via webinterface or console. If i start them via console the output looks similar to the output when i start the ADSInstance. I can't see any error. If i try to connect to the instances nothing happens and in my ADSInstance the instance is shown as not running and red.

When i create a new Minecraft instance no matter what i do i get the error that no java version has been found. If i run a MC Server manually without AMP everything works fine. I can connect to the server and it shows up directly in the Serverbrowser.

Mike posted this 3 weeks ago

You can check the instances for problems by looking at their specific log files. You can find them in ~/.ampdata/Instances/INSTANCENAME/AMP_Logs - the most common cause if instances not starting is network configuration. Things like picking a port number that's already in use (ADS uses 8080 by default, so setting up an instance on 8080 won't work)

If you type java on the command line by itself do you get any output? AMP is checking in $PATH to look for java. You can manually specify its location though by editing MinecraftModule.kvp in that instances directory.

Usually it can't find Java if you installed it manually rather than via your distributions package manager.

If you upgrade to the nightly build of AMP, there's some new tools in the instance manager to help diagnose startup issues.

Gilbert17 posted this 3 weeks ago

I have four instance using the ports from 8080 to 8084 Thats the instance log:

[21:03:48] [Core:System Info]     : Starting AMP version 1.4.8.2, built 2017-08-15 22:00
[21:03:48] [Core:System Info]     : OS: Linux / x86_64
[21:03:48] [Core:System Info]     : AMP Instance ID: f9915db2-d610-4f7a-ab37-cd2cbb5834be
[21:03:48] [ModuleLoader:System Info] : Loading Module: MinecraftModule
[21:03:48] [Minecraft:System Debug] : Getting latest Minecraft server version information (async)
[21:03:48] [Minecraft:System Debug] : Fetching info for Official
[21:03:48] [Minecraft:System Debug] : Checking for installed plugins and retrieving metadata. (async)
[21:03:48] [ModuleLoader:System Info] : Loaded MinecraftModule version 1.0.0.3
[21:03:48] [ModuleLoader:System Info] :  - Author: CubeCoders Limited
[21:03:48] [ModuleLoader:System Info] :  - For Minecraft application.
[21:03:48] [ModuleLoader:System Info] :  - Supports sleeping.
[21:03:48] [Scheduler:System Debug] : MinecraftModule registered event UnexpectedStop (The Minecraft Server stops unexpectedly)
[21:03:48] [Scheduler:System Debug] : MinecraftModule registered event WatchdogShutdown (The Minecraft Server watchdog forced a shutdown (server unresponsive))
[21:03:48] [Scheduler:System Debug] : MinecraftModule registered event RepeatedFailure (The Minecraft server repeatedly fails to start)
[21:03:48] [Scheduler:System Debug] : MinecraftModule registered event ServerLag (The Minecraft server is unable to keep up)
[21:03:48] [Scheduler:System Debug] : MinecraftModule registered event StateChanged (The server state changes)
[21:03:48] [Scheduler:System Debug] : MinecraftModule registered event PlayerKilledByPlayer (A player is killed by another player)

And that is the output for java -version. Java is installed via the packet manager

Server1:~$ java -version
openjdk version "9-Ubuntu"
OpenJDK Runtime Environment (build 9-Ubuntu+0-9b161-1)
OpenJDK 64-Bit Server VM (build 9-Ubuntu+0-9b161-1, mixed mode)

Mike posted this 3 weeks ago

In that case the instances are starting and running. You can verify this using ./ampinstmgr -t which will show a dot in the last column if an instance is running.

You can also do netstat -tln | grep 8080 replacing 8080 with the port number for each instance to verify that it's listening.

So if the instance is running, and netstat shows that it's listening yet you can't connect - this means the firewall rules are wrong.

Gilbert17 posted this 3 weeks ago

I added firewall rules for all instances. The instances don't start, they are marked red and don't start via console, but i didn't get an error. If i try ./ampinstmgr -t and netstat they are shown as not running and don't listen. So everytime i restart my server or the main AMP instance, i have to create new game instances, because the old ones didn't start.

Mike posted this 3 weeks ago

Okay, do this:

  • Pick an instance that won't start (but don't start it yet)
  • Go to it's datastore directory at ~/.ampdata/Instances/INSTANCE_NAME
  • Go to the AMP_Logs directory
  • Delete all of the log files there
  • Try to start INSTANCE_NAME
  • Check in that same directory for a new log file
  • Pastebin the contents.

I think you've been looking at the wrong logs this whole time. AMP always generates a new log file every time it tries to start in its instance directory.

Gilbert17 posted this 3 weeks ago

Error: No such instance with name: "1-Minecraft" If i look at amp data/instances there is a instance called 1-Minecraft. If i look into the instances.json there is also a instance called 1-Minecraft. If i look into AMP_Logs there is no log after i removed them before i started the instance.

Mike posted this 3 weeks ago

Does that instance show up in ./ampinstmgr -l ?

Gilbert17 posted this 2 weeks ago

I think the correct command is ./ampinstmgr -l because i tried yours multiple times and always got an error. Thats the output and i thin my instances which won't start didn't show up, but he says correctly that 4 instances are loaded. [Info] AMP Instance Manager v1.4.8.2 [Debug] Starting process /sbin/ldconfig [Debug] Working Directory: /home/AMP/AMP [Debug] Arguments: -p [Debug] Started process with ID 3108 [Debug] Starting process /bin/uname [Debug] Working Directory: /home/AMP/AMP [Debug] Arguments: -m [Debug] Started process with ID 3115 [Debug] Loading instances from /home/AMP/.ampdata/instances.json... [Debug] Loaded 4 instances. Instance ID │ ef472d85-f396-48e9-924f-74e6a3a7ce6e Module │ ADS Instance Name │ ADSInstance Friendly Name │ ADSInstance IP Binding │ 0.0.0.0 Port Number │ 8080 Running │ Yes Daemon Installed │ No Start on Boot │ No AMP Version │ 1.4.8.2 Data Path │ /home/AMP/.ampdata/instances/ADSInstance

Instance ID      │ a69557ba-8f8e-4d96-afee-1432eff26af4
Module           │ Minecraft
Instance Name    │ 1-Minecraft
Friendly Name    │ 1-Minecraft
IP Binding       │ 192.168.78.63
Port Number      │ 8081
Running          │ No
Daemon Installed │ No
Start on Boot    │ No
IM was unable to execute there requested command. $System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Couldn't locate the AMP executable.
  at InstanceManagerPlugin.LocalInstanceManager.GetInstalledVersion (System.Guid instanceId) [0x00046] in <5867ab47eaf24d84a2fe7499d33ed004>:0
  at InstanceManagerPlugin.LocalAMPInstance.get_InstalledVersion () [0x0001c] in <5867ab47eaf24d84a2fe7499d33ed004>:0
  at InstanceManagerCLI.Core.PrintInstance (InstanceManagerPlugin.IAMPInstance Instance) [0x000fd] in <024c20d5c97c4556a60daa1d9c2b9b77>:0
  at InstanceManagerCLI.Core.ShowInstancesList () [0x0001a] in <024c20d5c97c4556a60daa1d9c2b9b77>:0
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <3574b7750bbd4f3481d1561b74d01b33>:0
   --- End of inner exception stack trace ---
  at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00048] in <3574b7750bbd4f3481d1561b74d01b33>:0
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <3574b7750bbd4f3481d1561b74d01b33>:0
  at InstanceManagerCLI.Core.Run () [0x0039a] in <024c20d5c97c4556a60daa1d9c2b9b77>:0

Mike posted this 2 weeks ago

Did you post a reply and then delete it? It shows you as the last poster but there's no post here.

Gilbert17 posted this 2 weeks ago

I wrote the same answer two times since yesterday and everytime i get a message that my post is awaiting moderation.

Mike posted this 2 weeks ago

Sorry, the spam filter is a little over-sensitive.

It looks like the instance never created properly, or you deleted certain files ( Hence the error - "Couldn't locate the AMP executable" ) Run this:

AMP_NO_CACHE=1 ./ampinstmgr -u 1-Minecraft

Then run ./ampinstmgr -l again.

Gilbert17 posted this 2 weeks ago

That's the output, i think nothing changed. Why does he say 4 instances loaded and shows it in the webinterface when the instance is deleted? The server never was interrupted.

[Info] AMP Instance Manager v1.4.8.2
[Debug] Starting process /sbin/ldconfig
[Debug] Working Directory: /home/AMP/AMP
[Debug] Arguments: -p
[Debug] Started process with ID 11439
[Debug] Starting process /bin/uname
[Debug] Working Directory: /home/AMP/AMP
[Debug] Arguments: -m
[Debug] Started process with ID 11445
[Debug] Loading instances from /home/AMP/.ampdata/instances.json...
[Debug] Loaded 4 instances.
Instance ID      │ ef472d85-f396-48e9-924f-74e6a3a7ce6e
Module           │ ADS
Instance Name    │ ADSInstance
Friendly Name    │ ADSInstance
IP Binding       │ 0.0.0.0
Port Number      │ 8080
Running          │ Yes
Daemon Installed │ No
Start on Boot    │ No
AMP Version      │ 1.4.8.2
Data Path        │ /home/AMP/.ampdata/instances/ADSInstance

Instance ID      │ a69557ba-8f8e-4d96-afee-1432eff26af4
Module           │ Minecraft
Instance Name    │ 1-Minecraft
Friendly Name    │ 1-Minecraft
IP Binding       │ 192.168.78.63
Port Number      │ 8081
Running          │ No
Daemon Installed │ No
Start on Boot    │ No
IM was unable to execute there requested command. $System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Couldn't locate the AMP executable.
  at InstanceManagerPlugin.LocalInstanceManager.GetInstalledVersion (System.Guid instanceId) [0x00046] in <5867ab47eaf24d84a2fe7499d33ed004>:0
  at InstanceManagerPlugin.LocalAMPInstance.get_InstalledVersion () [0x0001c] in <5867ab47eaf24d84a2fe7499d33ed004>:0
  at InstanceManagerCLI.Core.PrintInstance (InstanceManagerPlugin.IAMPInstance Instance) [0x000fd] in <024c20d5c97c4556a60daa1d9c2b9b77>:0
  at InstanceManagerCLI.Core.ShowInstancesList () [0x0001a] in <024c20d5c97c4556a60daa1d9c2b9b77>:0
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <3574b7750bbd4f3481d1561b74d01b33>:0
   --- End of inner exception stack trace ---
  at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00048] in <3574b7750bbd4f3481d1561b74d01b33>:0
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <3574b7750bbd4f3481d1561b74d01b33>:0
  at InstanceManagerCLI.Core.Run () [0x0039a] in <024c20d5c97c4556a60daa1d9c2b9b77>:0

Mike posted this 2 weeks ago

Delete the instances and re create them. Don't use ADS for now.

Gilbert17 posted this 2 weeks ago

dpkg - outputes

ii  gdb            7.12.50.2017 amd64        GNU Debugger
ii  gdbserver      7.12.50.2017 amd64        GNU Debugger (remote server)

Thats the output if i try to delete one of my instances.

[Info] Deleting Instance: '2-srcds'
    * Assertion: should not be reached at w32file-unix.c:570

Stacktrace:

  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.IO.MonoIO.FindFirstFile (string,string&,int&,int&) [0x00000] in <3574b7750bbd4f3481d1561b74d01b33>:0
  at System.IO.FileSystemEnumerableIterator`1<tsource_ref>.CommonInit () [0x0001d] in <3574b7750bbd4f3481d1561b74d01b33>:0
  at System.IO.FileSystemEnumerableIterator`1<tsource_ref>..ctor (string,string,string,System.IO.SearchOption,System.IO.SearchResultHandler`1<tsource_ref>,bool) [0x000d6] in <3574b7750bbd4f3481d1561b74d01b33>:0
  at System.IO.FileSystemEnumerableFactory.CreateFileNameIterator (string,string,string,bool,bool,System.IO.SearchOption,bool) [0x00009] in <3574b7750bbd4f3481d1561b74d01b33>:0
  at System.IO.Directory.InternalGetFileDirectoryNames (string,string,string,bool,bool,System.IO.SearchOption,bool) [0x00000] in <3574b7750bbd4f3481d1561b74d01b33>:0
  at System.IO.Directory.InternalGetDirectories (string,string,System.IO.SearchOption) [0x00000] in <3574b7750bbd4f3481d1561b74d01b33>:0
  at System.IO.Directory.GetDirectories (string) [0x0000e] in <3574b7750bbd4f3481d1561b74d01b33>:0
  at System.IO.Directory.RecursiveDelete (string) [0x00000] in <3574b7750bbd4f3481d1561b74d01b33>:0
  at System.IO.Directory.Delete (string,bool) [0x00009] in <3574b7750bbd4f3481d1561b74d01b33>:0
  at InstanceManagerPlugin.LocalInstanceManager/<removeinstance>d__75.MoveNext () [0x00152] in <5867ab47eaf24d84a2fe7499d33ed004>:0
  at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<bool>.Start<instancemanagerplugin.localinstancemanager></instancemanagerplugin.localinstancemanager><removeinstance>d__75> (InstanceManagerPlugin.LocalInstanceManager/<removeinstance>d__75&) [0x0002c] in <3574b7750bbd4f3481d1561b74d01b33>:0
  at InstanceManagerPlugin.LocalInstanceManager.RemoveInstance (System.Guid) [0x0002b] in <5867ab47eaf24d84a2fe7499d33ed004>:0
  at InstanceManagerCLI.Core.DeleteInstance (string,bool) [0x000ef] in <024c20d5c97c4556a60daa1d9c2b9b77>:0
  at (wrapper runtime-invoke) <module>.runtime_invoke_void__this___object_byte (object,intptr,intptr,intptr) [0x00055] in <024c20d5c97c4556a60daa1d9c2b9b77>:0
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) [0x0000c] in <3574b7750bbd4f3481d1561b74d01b33>:0
  at System.Reflection.MonoMethod.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) [0x00032] in <3574b7750bbd4f3481d1561b74d01b33>:0
  at System.Reflection.MethodBase.Invoke (object,object[]) [0x00000] in <3574b7750bbd4f3481d1561b74d01b33>:0
  at InstanceManagerCLI.Core.Run () [0x0039a] in <024c20d5c97c4556a60daa1d9c2b9b77>:0
  at InstanceManagerCLI.Program.Main (string[]) [0x00005] in <024c20d5c97c4556a60daa1d9c2b9b77>:0
  at (wrapper runtime-invoke) <module>.runtime_invoke_void_object (object,intptr,intptr,intptr) [0x0004e] in <024c20d5c97c4556a60daa1d9c2b9b77>:0
/proc/self/maps:
00400000-0230f000 r-xp 00000000 08:02 14417942                           /home/AMP/AMP/ampinstmgr
0250f000-02517000 rwxp 01f0f000 08:02 14417942                           /home/AMP/AMP/ampinstmgr
02517000-02551000 rwxp 00000000 00:00 0
040b2000-04a86000 rwxp 00000000 00:00 0                                  [heap]
40f33000-40f43000 rwxp 00000000 00:00 0

I had to remove some code so I do not exceed the maximum length

 7f36b8d8b000-7f36b8d8c000 rwxs 00000000 00:15 49361                      /dev/shm/mono.12201
    7f36b8d8c000-7f36b8d8f000 rwxp 00000000 00:00 0
    7f36b8d8f000-7f36b8d90000 r-xp 00025000 08:02 4325777                    /lib/x86_64-linux-gnu/ld-2.24.so
    7f36b8d90000-7f36b8d91000 rwxp 00026000 08:02 4325777                    /lib/x86_64-linux-gnu/ld-2.24.so
    7f36b8d91000-7f36b8d92000 rwxp 00000000 00:00 0
    7ffd35793000-7ffd3579b000 ---p 00000000 00:00 0
    7ffd35f71000-7ffd35f92000 rwxp 00000000 00:00 0                          [stack]
    7ffd35fe0000-7ffd35fe2000 r--p 00000000 00:00 0                          [vvar]
    7ffd35fe2000-7ffd35fe4000 r-xp 00000000 00:00 0                          [vdso]
    ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]

Native stacktrace:

        ./ampinstmgr() [0x63ff78]
        /lib/x86_64-linux-gnu/libpthread.so.0(+0x11670) [0x7f36b895d670]
        /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x9f) [0x7f36b85ba77f]
        /lib/x86_64-linux-gnu/libc.so.6(abort+0x16a) [0x7f36b85bc37a]
        ./ampinstmgr() [0x657314]
        ./ampinstmgr() [0x57f57b]
        ./ampinstmgr() [0x57f6dc]
        ./ampinstmgr() [0x54cb13]
        ./ampinstmgr() [0x54f5b6]
        [0x4133a8e4]

Debug info from gdb:

mono_gdb_render_native_backtraces not supported on this platform, unable to find gdb or lldb

=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

Abgebrochen (Speicherabzug geschrieben)

Mike posted this 2 weeks ago

Delete the datastore directory:

rm -rf ~/.ampdata

This will destroy all the instances as well as the manifest.

Gilbert17 posted this 2 weeks ago

I successfully removed the datastore directory. Then i created 2 new Instances, one ADS and one Mincraft. When i try to start the ADS Instance i get this message

[Info] You can now browse to this instances web interface at its IP address and port.
[Info] Instance started in new session. Run './ampinstmgr View ADSInstance' to view this instances console.

When i try to browse it via the URL i got nothing and if i run ./ampinstmgr View ADSInstance I get:

    [Info] AMP Instance Manager v1.4.8.2
    [Debug] Starting process /sbin/ldconfig
    [Debug] Working Directory: /home/AMP/AMP
    [Debug] Arguments: -p
    [Debug] Started process with ID 17216
    [Debug] Starting process /bin/uname
    [Debug] Working Directory: /home/AMP/AMP
    [Debug] Arguments: -m
    [Debug] Started process with ID 17222
    [Debug] Loading instances from /home/jadam/.ampdata/instances.json...
    [Debug] Loaded 1 instances.
    [Notice] ADSInstance is not running.

For the Minecraft Instance i get the same. It starts correctly, but i can't open the web interface.

[Info] AMP Instance Manager v1.4.8.2
[Debug] Starting process /sbin/ldconfig
[Debug] Working Directory: /home/AMP/AMP
[Debug] Arguments: -p
[Debug] Started process with ID 17350
[Debug] Starting process /bin/uname
[Debug] Working Directory: /home/AMP/AMP
[Debug] Arguments: -m
[Debug] Started process with ID 17358
[Debug] Loading instances from /home/jadam/.ampdata/instances.json...
[Debug] Loaded 2 instances.
                                 at InstanceManagerCLI.Core.View (System.String InstanceName) [0x00063] in <024c20d5c97c4556a60daa1d9c2b9b77>:0
                                                                  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
                                               at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <3574b7750bbd4f3481d1561b74d01b33>:0
                                                                 --- End of inner exception stack trace ---
                             at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00048] in <3574b7750bbd4f3481d1561b74d01b33>:0
                                              at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <3574b7750bbd4f3481d1561b74d01b33>:0
                         at InstanceManagerCLI.Core.Run () [0x0039a] in <024c20d5c97c4556a60daa1d9c2b9b77>:0

Mike posted this 2 weeks ago

So ADS isn't running, which is why you can't access its web interface. Check it's log file at ~/.ampdata/Instances/ADSInstances/AMP_Logs - pastebin the contents of all the log files you find there.

Also please join the live chat so I can sort this faster for you.

Gilbert17 posted this 2 weeks ago

~/.ampdata/ dosn‘t exist. If i check it with ls -all i can‘t see .ampdata

Mike posted this 2 weeks ago

It does exist. Just do cd ~/.ampdata while logged in as the same user you're running the instance manager as.

Gilbert17 posted this 2 weeks ago

Here is a part of the log, Nothing else is running on the server and both instances use diffrent IP‘s

[21:41:16] [Core:System Info]     : ###################################
[21:41:16] [Core:System Info]     : #AMP DIAGNOSTICS#
[21:41:16] [Core:System Info]     : ###################################
[21:41:16] [Core:System Info]     : The IP+Port combination requested by the socket is already in use by another application. Either end the other application or re-bind this AMP instance to a different IP/port.

Mike posted this 2 weeks ago

Okay, try creating an instance specifically on IP address 0.0.0.0 and port 10050 - see if you get that same issue.

Gilbert17 posted this 2 weeks ago

[Info] AMP Instance Manager v1.4.8.2 [Debug] Starting process /sbin/ldconfig [Debug] Working Directory: /home/AMP/AMP [Debug] Arguments: -p [Debug] Started process with ID 21337 [Debug] Starting process /bin/uname [Debug] Working Directory: /home/AMP/AMP [Debug] Arguments: -m [Debug] Started process with ID 21343 [Debug] Loading instances from /home/jadam/.ampdata/instances.json... [Debug] Loaded 3 instances. at ModuleShared.AMPProcess.Start (System.String fileName, System.String arguments) [0x00007] in <8653a8c5ed8d48b0aed7a7f437c072c5>:0 at InstanceManagerCLI.Core.View (System.String InstanceName) [0x00063] in <024c20d5c97c4556a60daa1d9c2b9b77>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <3574b7750bbd4f3481d1561b74d01b33>:0 --- End of inner exception stack trace --- at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00048] in <3574b7750bbd4f3481d1561b74d01b33>:0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <3574b7750bbd4f3481d1561b74d01b33>:0 at InstanceManagerCLI.Core.Run () [0x0039a] in <024c20d5c97c4556a60daa1d9c2b9b77>:0

Mike posted this 2 weeks ago

Don't view it, just start it and check for it's log file.

Gilbert17 posted this 2 weeks ago

[07:04:40] [Core:System Info]     : Starting AMP version 1.4.8.2, built 2017-08-15 22:00 [07:04:40] [Core:System Info]     : OS: Linux / x86_64 [07:04:40] [Core:System Info]     : AMP Instance ID: b204f866-573f-46df-8a94-e503e4ad3d9e [07:04:41] [ModuleLoader:System Info] : Loading Module: ADSModule [07:04:41] [ModuleLoader:System Info] : Loaded ADSModule version 1.0.0.0 [07:04:41] [ModuleLoader:System Info] : - Author: CubeCoders Limited [07:04:41] [ModuleLoader:System Info] : - For Application Deployment application. [07:04:41] [ModuleLoader:System Info] : - Does not support sleeping. [07:04:41] [ModuleLoader:System Info] : Loading Plugin: BannerImagePlugin [07:04:41] [ModuleLoader:System Info] : Loaded BannerImagePlugin version 1.0.0.0 [07:04:41] [ModuleLoader:System Info] : - Author: CubeCoders Limited [07:04:41] [Scheduler:System Debug] : BannerImagePlugin registered event ImageUpdated (The status image has been updated.) [07:04:41] [ModuleLoader:System Info] : Loading Plugin: EmailSender [07:04:41] [ModuleLoader:System Info] : Loaded EmailSender version 1.0.0.0 [07:04:41] [ModuleLoader:System Info] : - Author: CubeCoders Limited [07:04:41] [Scheduler:System Debug] : EmailSender registered task SendMail [07:04:41] [ModuleLoader:System Info] : Loading Plugin: FileManager [07:04:41] [ModuleLoader:System Info] : Loaded FileManager version 1.0.0.0 [07:04:41] [ModuleLoader:System Info] : - Author: CubeCoders Limited

If i try to start a MC Server (Forge) with my own Forge jar i have to accept the eula and then i get an error that the server is unable to start because "You must accept the Mojang EULA before you may run the Minecraft server." . I tried it mulitple times and i can't start the server whether I accept or refuse the EULA.

In a second instance i got the error The update manager reported a successful update, but ./Minecraft/ForgeMod.jar is missing.

Mike posted this 2 weeks ago

Right, in the configuration for the first instance there's an option disable the startup EULA check.

For the second instance, you'll need to provide your own copy of ForgeMod.jar again and all of its libraries/plugins/etc. Don't tell it to do an update.

Gilbert17 posted this 2 weeks ago

I Enabled skip Eula check and selected my own Jar, but i have still the same issues. I didn't found any option to disable updates. I selected the jar manually. That's all.

Mike posted this 2 weeks ago

Is the eula shown as accepted in the eula.txt file?

Gilbert17 posted this 2 weeks ago

~/.ampdata/instances/Minecraft/Minecraft/eula.txt

eula=true

Mike posted this 1 weeks ago

As a sanity check, can you temporarily switch to the official server and tell it to update, see if that'll start?

Close