mcpeserver icon indicating copy to clipboard operation
mcpeserver copied to clipboard

Can't connect/load pre-existing world with Arch Linux not in VM

Open alovegit opened this issue 7 years ago • 8 comments

So, now that I had a VM working with Arch Linux and mcpeserver, I wanted to move to running on a physical box. I installed Arch Linux and mcpeserver without issue. Extracted the x86 APK and started mcpeserver. Everything looks fine, but when trying to connect to it, mcpeserver just quits with no visual error in the console. I then tried with my existing world (working with mcpeserver in the VM), and it never gets the two outputs about IPvX supported, port: XXXXX. It just skips those and goes to Loading language data, followed by Server initialized. Trying any commands at that point don't work, for example "help" just outputs a blank line. CTRL+C outputs Stopping..., but nothing about my world unloading. Any ideas on what might be happening or what I can try to figure it out? Many thanks!

alovegit avatar Sep 04 '18 00:09 alovegit

@alovegit So, you means it works in VM, but not working in physical machine?

codehz avatar Sep 04 '18 00:09 codehz

@codehz Correct.

alovegit avatar Sep 04 '18 01:09 alovegit

@alovegit Well, I guess I have no idea about it, I developed it in my physical machine.... Maybe there some issues about permission you have to make sure the owner of all files in /srv/mcpeserver is user mcpeserver

codehz avatar Sep 04 '18 01:09 codehz

@codehz I've tried that in /srv with: chown -R mcpeserver:mcpeserver mcpeserver No difference. I was hoping there was a way to diagnose it.

alovegit avatar Sep 04 '18 01:09 alovegit

@alovegit Well, I think I found the reason... You must have AMD CPU, there are some instructions not working in AMD CPU.... It may be fixed in future

codehz avatar Sep 04 '18 01:09 codehz

@codehz May be related, but it is a Intel Pentium D 3 GHz.

alovegit avatar Sep 04 '18 01:09 alovegit

@codehz Also tried on a laptop with an Intel Core 2 Duo. Same result.

alovegit avatar Sep 04 '18 04:09 alovegit

@alovegit Well, why your CPU are so outdated... Tip: Android is birth in 2008...

codehz avatar Sep 04 '18 04:09 codehz