Closed fx-k closed 6 years ago
Have you put the minecraft.apk to /srv/mcpeserver and unpack it ?
Sure.I use Minecraft 1.5.3 x86!
I got the apk from https://pan.baidu.com/s/1m60rogRi0mQ6JuMLFpTuqw .Thanks.
Trying
pacman -Qi mcpeserver mcpeserver-core
cd /srv/mcpeserver
ls -alh
sudo -u mcpeserver mcpeserver run
and paste the output
OK. 1.pacman -Qi mcpeserver mcpeserver-core : Name : mcpeserver Version : 0.7.3-31 Description : Minecraft PE Server Launcher Architecture : x86_64 URL : https://github.com/codehz/mcpeserver Licenses : GPL Groups : None Provides : None Depends On : None Optional Deps : None Required By : None Optional For : None Conflicts With : None Replaces : None Installed Size : 1539.00 KiB Packager : Unknown Packager Build Date : Sun 26 Aug 2018 02:03:27 PM CST Install Date : Mon 27 Aug 2018 05:02:43 AM CST Install Reason : Explicitly installed Install Script : Yes Validated By : SHA-256 Sum
Name : mcpeserver-core-git Version : v0.1.5.r1.g9282c0c-2 Description : Minecraft PE Server Core Architecture : x86_64 URL : https://github.com/codehz/bedrockserver Licenses : GPL Groups : None Provides : mcpeserver-core Depends On : None Optional Deps : None Required By : None Optional For : None Conflicts With : None Replaces : None Installed Size : 1995.00 KiB Packager : Unknown Packager Build Date : Sun 26 Aug 2018 02:18:21 PM CST Install Date : Mon 27 Aug 2018 05:02:44 AM CST Install Reason : Explicitly installed Install Script : No Validated By : SHA-256 Sum
2.ls -alh: total 75M drwxr-xr-x 3 root root 4.0K Aug 27 05:04 . drwxr-xr-x 5 root root 4.0K Aug 27 05:03 .. drwxr-xr-x 4 root root 4.0K Aug 27 05:04 data -rw-r--r-- 1 root root 75M Aug 26 20:02 Minecraft.apk
3.sudo -u mcpeserver mcpeserver run: /bin not found, checking /opt/mcpeserver-core... Log File load failed
Thanks.
It seems the /srv/mcpeserver has wrong owner.... try execute chown mcpeserver:mcpeserver /srv/mcpeserver
and try again..
OK... 1.ls -alh: total 75M drwxr-xr-x 3 mcpeserver mcpeserver 4.0K Aug 27 05:28 . drwxr-xr-x 5 root root 4.0K Aug 27 05:03 .. lrwxrwxrwx 1 mcpeserver mcpeserver 20 Aug 27 05:28 bin -> /opt/mcpeserver-core drwxr-xr-x 4 root root 4.0K Aug 27 05:04 data -rw-r--r-- 1 mcpeserver mcpeserver 0 Aug 27 05:28 default.log -rw-r--r-- 1 root root 75M Aug 26 20:02 Minecraft.apk
2.sudo -u mcpeserver mcpeserver run: Error: fork/exec ./bin/bedrockserver: no such file or directory
Try to install lib32-glibc lib32-gcc-libs lib32-systemd
I will add them to depends later
OK,I installed "lib32-glibc" and "lib32-gcc-libs". But sorry, I don't know how to install "lib32-systemd" because this is my first time using "Archlinux" (I always use Centos) .When I execute "pacman -S lib32-systemd" ,it shows "error: target not found: lib32-systemd".
At this time , I execute "sudo -u mcpeserver mcpeserver run",it shows:
I [core] Loading profile: default
W [core] Config file is not exists, creating...
N [core] Loading Bridge...
F [core] Cannot load library: reloc_library[1373]: 0 cannot locate 'sd_notify'...
mcpe://mcpeserver@FXIT-Arch$
It seems that it still has some problems....
@keke1229488344 well it provided by multilib, you should enable multilib first. https://wiki.archlinux.org/index.php/official_repositories#Enabling_multilib
Oh,thanks.I installed "pacman -S lib32-systemd" successfully with you help. Now it seems that it has something wrong about permission.But I don't know what to do.
[root@FXIT-Arch mcpeserver]# sudo -u mcpeserver mcpeserver run
I [core] Loading profile: default
W [core] Config file is not exists, creating...
N [core] Loading Bridge...
I [core] Bridge Version: 0.1.5
I [DBUS] Starting...
I [DBUS] Stoping...
E [DBUS] Permission denied
mcpe://mcpeserver@FXIT-Arch$
it seems wired.. I cannot reproduce it, but you can try to run sudo busctl monitor org.freedesktop.DBus
to trace the problem...
sudo busctl monitor org.freedesktop.DBus
in a terminal windowsudo -u mcpeserver mcpeserver run
in another terminal windowAnd paste the /etc/dbus-1/mcpeserver.conf
Wow, I think it is needed to reload dbus service
systemctl reload dbus
I will add it to install script
Wow,it looks like it is running.Does it works well now?
[root@FXIT-Arch mcpeserver]# systemctl reload dbus
[root@FXIT-Arch mcpeserver]# sudo -u mcpeserver mcpeserver run
I [core] Loading profile: default
W [core] Config file is not exists, creating...
N [core] Loading Bridge...
I [core] Bridge Version: 0.1.5
I [DBUS] Starting...
N [core] Loading Bedrock Server...
D [Bridge] Minecraft is at offset 0xf3320000
I [Bridge] Game version: 1.5.3
I [Bridge] Applying patches
T [AppPlatform] Vtable size = 238
T [AppPlatform] createDeviceID:
T [Bridge] Loading server properties
T [AppPlatform] getCurrentStoragePath: /srv/mcpeserver/data
T [Bridge] Initializing resource loaders
T [AppPlatform] getSystemRegion: 0xdeadbeef
T [Bridge] Initializing ResourcePackManager
T [Bridge] Initializing PackManifestFactory
T [Bridge] Initializing SkinPackKeyProvider
T [Bridge] Initializing PackSourceFactory
T [Bridge] Initializing ResourcePackRepository
T [AppPlatform] getInternalStoragePath: /srv/mcpeserver/data
T [AppPlatform] getInternalStoragePath: /srv/mcpeserver/data
T [AppPlatform] getInternalStoragePath: /srv/mcpeserver/data
T [AppPlatform] getInternalStoragePath: /srv/mcpeserver/data
T [AppPlatform] getInternalStoragePath: /srv/mcpeserver/data
T [AppPlatform] getInternalStoragePath: /srv/mcpeserver/data
T [AppPlatform] getInternalStoragePath: /srv/mcpeserver/data
T [Bridge] Adding vanilla resource pack
T [Bridge] Adding world resource packs
D [Bridge] Initializing SaveTransactionManager
D [Bridge] Initializing ExternalFileLevelStorageSource
D [Bridge] Initializing ServerInstance
T [Bridge] Loading language data
I [Bridge] Server initialized
mcpe://mcpeserver@FXIT-Arch$
Another terminal window:
[root@FXIT-Arch ~]# sudo busctl monitor org.freedesktop.DBus
Monitoring bus message stream.
‣ Type=method_call Endian=l Flags=0 Version=1 Priority=0 Cookie=1
Sender=:1.10 Destination=org.freedesktop.DBus Path=/org/freedesktop/DBus In terface=org.freedesktop.DBus Member=Hello
UniqueName=:1.10
MESSAGE "" {
};
‣ Type=method_return Endian=l Flags=1 Version=1 Priority=0 Cookie=1 ReplyCo okie=1
Sender=org.freedesktop.DBus Destination=:1.10
MESSAGE "s" {
STRING ":1.10";
};
‣ Type=signal Endian=l Flags=1 Version=1 Priority=0 Cookie=5
Sender=org.freedesktop.DBus Path=/org/freedesktop/DBus Interface=org.freedes ktop.DBus Member=NameOwnerChanged
MESSAGE "sss" {
STRING ":1.10";
STRING "";
STRING ":1.10";
};
‣ Type=signal Endian=l Flags=1 Version=1 Priority=0 Cookie=2
Sender=org.freedesktop.DBus Destination=:1.10 Path=/org/freedesktop/DBus In terface=org.freedesktop.DBus Member=NameAcquired
MESSAGE "s" {
STRING ":1.10";
};
‣ Type=signal Endian=l Flags=1 Version=1 Priority=0 Cookie=6
Sender=org.freedesktop.DBus Destination=:1.10 Path=/org/freedesktop/DBus In terface=org.freedesktop.DBus Member=NameLost
MESSAGE "s" {
STRING ":1.10";
};
‣ Type=signal Endian=l Flags=1 Version=1 Priority=0 Cookie=7
Sender=org.freedesktop.DBus Path=/org/freedesktop/DBus Interface=org.freedes ktop.DBus Member=NameOwnerChanged
MESSAGE "sss" {
STRING ":1.10";
STRING ":1.10";
STRING "";
};
‣ Type=method_call Endian=l Flags=0 Version=1 Priority=0 Cookie=1
Sender=:1.11 Destination=org.freedesktop.DBus Path=/org/freedesktop/DBus In terface=org.freedesktop.DBus Member=Hello
UniqueName=:1.11
MESSAGE "" {
};
‣ Type=method_return Endian=l Flags=1 Version=1 Priority=0 Cookie=1 ReplyCo okie=1
Sender=org.freedesktop.DBus Destination=:1.11
MESSAGE "s" {
STRING ":1.11";
};
‣ Type=signal Endian=l Flags=1 Version=1 Priority=0 Cookie=8
Sender=org.freedesktop.DBus Path=/org/freedesktop/DBus Interface=org.freedes ktop.DBus Member=NameOwnerChanged
MESSAGE "sss" {
STRING ":1.11";
STRING "";
STRING ":1.11";
};
‣ Type=signal Endian=l Flags=1 Version=1 Priority=0 Cookie=2
Sender=org.freedesktop.DBus Destination=:1.11 Path=/org/freedesktop/DBus In terface=org.freedesktop.DBus Member=NameAcquired
MESSAGE "s" {
STRING ":1.11";
};
‣ Type=method_call Endian=l Flags=0 Version=1 Priority=0 Cookie=2
Sender=:1.11 Destination=org.freedesktop.DBus Path=/org/freedesktop/DBus In terface=org.freedesktop.DBus Member=AddMatch
UniqueName=:1.11
MESSAGE "s" {
STRING "type='signal',path='/one/codehz/bedrockserver',interface='one. codehz.bedrockserver.core',sender='one.codehz.bedrockserver.default'";
};
‣ Type=method_return Endian=l Flags=1 Version=1 Priority=0 Cookie=3 ReplyCo okie=2
Sender=org.freedesktop.DBus Destination=:1.11
MESSAGE "" {
};
‣ Type=signal Endian=l Flags=1 Version=1 Priority=0 Cookie=9
Sender=org.freedesktop.DBus Destination=:1.11 Path=/org/freedesktop/DBus In terface=org.freedesktop.DBus Member=NameLost
MESSAGE "s" {
STRING ":1.11";
};
‣ Type=signal Endian=l Flags=1 Version=1 Priority=0 Cookie=10
Sender=org.freedesktop.DBus Path=/org/freedesktop/DBus Interface=org.freedes ktop.DBus Member=NameOwnerChanged
MESSAGE "sss" {
STRING ":1.11";
STRING ":1.11";
STRING "";
};
‣ Type=method_call Endian=l Flags=0 Version=1 Priority=0 Cookie=1
Sender=:1.12 Destination=org.freedesktop.DBus Path=/org/freedesktop/DBus In terface=org.freedesktop.DBus Member=Hello
UniqueName=:1.12
MESSAGE "" {
};
‣ Type=method_return Endian=l Flags=1 Version=1 Priority=0 Cookie=1 ReplyCo okie=1
Sender=org.freedesktop.DBus Destination=:1.12
MESSAGE "s" {
STRING ":1.12";
};
‣ Type=signal Endian=l Flags=1 Version=1 Priority=0 Cookie=11
Sender=org.freedesktop.DBus Path=/org/freedesktop/DBus Interface=org.freedes ktop.DBus Member=NameOwnerChanged
MESSAGE "sss" {
STRING ":1.12";
STRING "";
STRING ":1.12";
};
‣ Type=signal Endian=l Flags=1 Version=1 Priority=0 Cookie=2
Sender=org.freedesktop.DBus Destination=:1.12 Path=/org/freedesktop/DBus In terface=org.freedesktop.DBus Member=NameAcquired
MESSAGE "s" {
STRING ":1.12";
};
‣ Type=method_call Endian=l Flags=0 Version=1 Priority=0 Cookie=2
Sender=:1.12 Destination=org.freedesktop.DBus Path=/ Interface=org.freedesk top.DBus Member=ReloadConfig
UniqueName=:1.12
MESSAGE "" {
};
‣ Type=method_return Endian=l Flags=1 Version=1 Priority=0 Cookie=3 ReplyCo okie=2
Sender=org.freedesktop.DBus Destination=:1.12
MESSAGE "" {
};
‣ Type=signal Endian=l Flags=1 Version=1 Priority=0 Cookie=12
Sender=org.freedesktop.DBus Destination=:1.12 Path=/org/freedesktop/DBus In terface=org.freedesktop.DBus Member=NameLost
MESSAGE "s" {
STRING ":1.12";
};
‣ Type=signal Endian=l Flags=1 Version=1 Priority=0 Cookie=13
Sender=org.freedesktop.DBus Path=/org/freedesktop/DBus Interface=org.freedes ktop.DBus Member=NameOwnerChanged
MESSAGE "sss" {
STRING ":1.12";
STRING ":1.12";
STRING "";
};
‣ Type=method_call Endian=l Flags=0 Version=1 Priority=0 Cookie=1
Sender=:1.13 Destination=org.freedesktop.DBus Path=/org/freedesktop/DBus In terface=org.freedesktop.DBus Member=Hello
UniqueName=:1.13
MESSAGE "" {
};
‣ Type=method_return Endian=l Flags=1 Version=1 Priority=0 Cookie=1 ReplyCo okie=1
Sender=org.freedesktop.DBus Destination=:1.13
MESSAGE "s" {
STRING ":1.13";
};
‣ Type=signal Endian=l Flags=1 Version=1 Priority=0 Cookie=14
Sender=org.freedesktop.DBus Path=/org/freedesktop/DBus Interface=org.freedes ktop.DBus Member=NameOwnerChanged
MESSAGE "sss" {
STRING ":1.13";
STRING "";
STRING ":1.13";
};
‣ Type=signal Endian=l Flags=1 Version=1 Priority=0 Cookie=2
Sender=org.freedesktop.DBus Destination=:1.13 Path=/org/freedesktop/DBus In terface=org.freedesktop.DBus Member=NameAcquired
MESSAGE "s" {
STRING ":1.13";
};
‣ Type=signal Endian=l Flags=1 Version=1 Priority=0 Cookie=15
Sender=org.freedesktop.DBus Destination=:1.13 Path=/org/freedesktop/DBus In terface=org.freedesktop.DBus Member=NameLost
MESSAGE "s" {
STRING ":1.13";
};
‣ Type=signal Endian=l Flags=1 Version=1 Priority=0 Cookie=16
Sender=org.freedesktop.DBus Path=/org/freedesktop/DBus Interface=org.freedes ktop.DBus Member=NameOwnerChanged
MESSAGE "sss" {
STRING ":1.13";
STRING ":1.13";
STRING "";
};
‣ Type=method_call Endian=l Flags=0 Version=1 Priority=0 Cookie=1
Sender=:1.14 Destination=org.freedesktop.DBus Path=/org/freedesktop/DBus In terface=org.freedesktop.DBus Member=Hello
UniqueName=:1.14
MESSAGE "" {
};
‣ Type=method_return Endian=l Flags=1 Version=1 Priority=0 Cookie=1 ReplyCo okie=1
Sender=org.freedesktop.DBus Destination=:1.14
MESSAGE "s" {
STRING ":1.14";
};
‣ Type=signal Endian=l Flags=1 Version=1 Priority=0 Cookie=17
Sender=org.freedesktop.DBus Path=/org/freedesktop/DBus Interface=org.freedes ktop.DBus Member=NameOwnerChanged
MESSAGE "sss" {
STRING ":1.14";
STRING "";
STRING ":1.14";
};
‣ Type=signal Endian=l Flags=1 Version=1 Priority=0 Cookie=2
Sender=org.freedesktop.DBus Destination=:1.14 Path=/org/freedesktop/DBus In terface=org.freedesktop.DBus Member=NameAcquired
MESSAGE "s" {
STRING ":1.14";
};
‣ Type=method_call Endian=l Flags=0 Version=1 Priority=0 Cookie=2
Sender=:1.14 Destination=org.freedesktop.DBus Path=/org/freedesktop/DBus In terface=org.freedesktop.DBus Member=AddMatch
UniqueName=:1.14
MESSAGE "s" {
STRING "type='signal',path='/one/codehz/bedrockserver',interface='one. codehz.bedrockserver.core',sender='one.codehz.bedrockserver.default'";
};
‣ Type=method_return Endian=l Flags=1 Version=1 Priority=0 Cookie=3 ReplyCo okie=2
Sender=org.freedesktop.DBus Destination=:1.14
MESSAGE "" {
};
‣ Type=signal Endian=l Flags=1 Version=1 Priority=0 Cookie=18
Sender=org.freedesktop.DBus Destination=:1.14 Path=/org/freedesktop/DBus In terface=org.freedesktop.DBus Member=NameLost
MESSAGE "s" {
STRING ":1.14";
};
‣ Type=signal Endian=l Flags=1 Version=1 Priority=0 Cookie=19
Sender=org.freedesktop.DBus Path=/org/freedesktop/DBus Interface=org.freedes ktop.DBus Member=NameOwnerChanged
MESSAGE "sss" {
STRING ":1.14";
STRING ":1.14";
STRING "";
};
^C
[root@FXIT-Arch ~]# sudo busctl monitor org.freedesktop.DBus
Monitoring bus message stream.
‣ Type=method_call Endian=l Flags=0 Version=1 Priority=0 Cookie=1
Sender=:1.17 Destination=org.freedesktop.DBus Path=/org/freedesktop/DBus Interface=org.freedesktop.DBus Member=Hello
UniqueName=:1.17
MESSAGE "" {
};
‣ Type=method_return Endian=l Flags=1 Version=1 Priority=0 Cookie=1 ReplyCookie=1
Sender=org.freedesktop.DBus Destination=:1.17
MESSAGE "s" {
STRING ":1.17";
};
‣ Type=signal Endian=l Flags=1 Version=1 Priority=0 Cookie=5
Sender=org.freedesktop.DBus Path=/org/freedesktop/DBus Interface=org.freedesktop.DBus Member=NameOwnerChanged
MESSAGE "sss" {
STRING ":1.17";
STRING "";
STRING ":1.17";
};
‣ Type=signal Endian=l Flags=1 Version=1 Priority=0 Cookie=2
Sender=org.freedesktop.DBus Destination=:1.17 Path=/org/freedesktop/DBus Interface=org.freedesktop.DBus Member=NameAcquired
MESSAGE "s" {
STRING ":1.17";
};
‣ Type=method_call Endian=l Flags=0 Version=1 Priority=0 Cookie=2
Sender=:1.17 Destination=org.freedesktop.DBus Path=/ Interface=org.freedesktop.DBus Member=ReloadConfig
UniqueName=:1.17
MESSAGE "" {
};
‣ Type=method_return Endian=l Flags=1 Version=1 Priority=0 Cookie=3 ReplyCookie=2
Sender=org.freedesktop.DBus Destination=:1.17
MESSAGE "" {
};
‣ Type=signal Endian=l Flags=1 Version=1 Priority=0 Cookie=6
Sender=org.freedesktop.DBus Destination=:1.17 Path=/org/freedesktop/DBus Interface=org.freedesktop.DBus Member=NameLost
MESSAGE "s" {
STRING ":1.17";
};
‣ Type=signal Endian=l Flags=1 Version=1 Priority=0 Cookie=7
Sender=org.freedesktop.DBus Path=/org/freedesktop/DBus Interface=org.freedesktop.DBus Member=NameOwnerChanged
MESSAGE "sss" {
STRING ":1.17";
STRING ":1.17";
STRING "";
};
‣ Type=method_call Endian=l Flags=0 Version=1 Priority=0 Cookie=1
Sender=:1.18 Destination=org.freedesktop.DBus Path=/org/freedesktop/DBus Interface=org.freedesktop.DBus Member=Hello
UniqueName=:1.18
MESSAGE "" {
};
‣ Type=method_return Endian=l Flags=1 Version=1 Priority=0 Cookie=1 ReplyCookie=1
Sender=org.freedesktop.DBus Destination=:1.18
MESSAGE "s" {
STRING ":1.18";
};
‣ Type=signal Endian=l Flags=1 Version=1 Priority=0 Cookie=8
Sender=org.freedesktop.DBus Path=/org/freedesktop/DBus Interface=org.freedesktop.DBus Member=NameOwnerChanged
MESSAGE "sss" {
STRING ":1.18";
STRING "";
STRING ":1.18";
};
‣ Type=signal Endian=l Flags=1 Version=1 Priority=0 Cookie=2
Sender=org.freedesktop.DBus Destination=:1.18 Path=/org/freedesktop/DBus Interface=org.freedesktop.DBus Member=NameAcquired
MESSAGE "s" {
STRING ":1.18";
};
‣ Type=signal Endian=l Flags=1 Version=1 Priority=0 Cookie=9
Sender=org.freedesktop.DBus Destination=:1.18 Path=/org/freedesktop/DBus Interface=org.freedesktop.DBus Member=NameLost
MESSAGE "s" {
STRING ":1.18";
};
‣ Type=signal Endian=l Flags=1 Version=1 Priority=0 Cookie=10
Sender=org.freedesktop.DBus Path=/org/freedesktop/DBus Interface=org.freedesktop.DBus Member=NameOwnerChanged
MESSAGE "sss" {
STRING ":1.18";
STRING ":1.18";
STRING "";
};
‣ Type=method_call Endian=l Flags=0 Version=1 Priority=0 Cookie=1
Sender=:1.19 Destination=org.freedesktop.DBus Path=/org/freedesktop/DBus Interface=org.freedesktop.DBus Member=Hello
UniqueName=:1.19
MESSAGE "" {
};
‣ Type=method_return Endian=l Flags=1 Version=1 Priority=0 Cookie=1 ReplyCookie=1
Sender=org.freedesktop.DBus Destination=:1.19
MESSAGE "s" {
STRING ":1.19";
};
‣ Type=signal Endian=l Flags=1 Version=1 Priority=0 Cookie=11
Sender=org.freedesktop.DBus Path=/org/freedesktop/DBus Interface=org.freedesktop.DBus Member=NameOwnerChanged
MESSAGE "sss" {
STRING ":1.19";
STRING "";
STRING ":1.19";
};
‣ Type=signal Endian=l Flags=1 Version=1 Priority=0 Cookie=2
Sender=org.freedesktop.DBus Destination=:1.19 Path=/org/freedesktop/DBus Interface=org.freedesktop.DBus Member=NameAcquired
MESSAGE "s" {
STRING ":1.19";
};
‣ Type=method_call Endian=l Flags=0 Version=1 Priority=0 Cookie=2
Sender=:1.19 Destination=org.freedesktop.DBus Path=/org/freedesktop/DBus Interface=org.freedesktop.DBus Member=AddMatch
UniqueName=:1.19
MESSAGE "s" {
STRING "type='signal',path='/one/codehz/bedrockserver',interface='one.codehz.bedrockserver.core',sender='one.codehz.bedrockserver.default'";
};
‣ Type=method_return Endian=l Flags=1 Version=1 Priority=0 Cookie=3 ReplyCookie=2
Sender=org.freedesktop.DBus Destination=:1.19
MESSAGE "" {
};
‣ Type=method_call Endian=l Flags=0 Version=1 Priority=0 Cookie=1
Sender=:1.20 Destination=org.freedesktop.DBus Path=/org/freedesktop/DBus Interface=org.freedesktop.DBus Member=Hello
UniqueName=:1.20
MESSAGE "" {
};
‣ Type=method_return Endian=l Flags=1 Version=1 Priority=0 Cookie=1 ReplyCookie=1
Sender=org.freedesktop.DBus Destination=:1.20
MESSAGE "s" {
STRING ":1.20";
};
‣ Type=signal Endian=l Flags=1 Version=1 Priority=0 Cookie=12
Sender=org.freedesktop.DBus Path=/org/freedesktop/DBus Interface=org.freedesktop.DBus Member=NameOwnerChanged
MESSAGE "sss" {
STRING ":1.20";
STRING "";
STRING ":1.20";
};
‣ Type=signal Endian=l Flags=1 Version=1 Priority=0 Cookie=2
Sender=org.freedesktop.DBus Destination=:1.20 Path=/org/freedesktop/DBus Interface=org.freedesktop.DBus Member=NameAcquired
MESSAGE "s" {
STRING ":1.20";
};
‣ Type=method_call Endian=l Flags=0 Version=1 Priority=0 Cookie=2
Sender=:1.20 Destination=org.freedesktop.DBus Path=/org/freedesktop/DBus Interface=org.freedesktop.DBus Member=RequestName
UniqueName=:1.20
MESSAGE "su" {
STRING "one.codehz.bedrockserver.default";
UINT32 4;
};
‣ Type=signal Endian=l Flags=1 Version=1 Priority=0 Cookie=13
Sender=org.freedesktop.DBus Path=/org/freedesktop/DBus Interface=org.freedesktop.DBus Member=NameOwnerChanged
MESSAGE "sss" {
STRING "one.codehz.bedrockserver.default";
STRING "";
STRING ":1.20";
};
‣ Type=signal Endian=l Flags=1 Version=1 Priority=0 Cookie=3
Sender=org.freedesktop.DBus Destination=:1.20 Path=/org/freedesktop/DBus Interface=org.freedesktop.DBus Member=NameAcquired
MESSAGE "s" {
STRING "one.codehz.bedrockserver.default";
};
‣ Type=method_return Endian=l Flags=1 Version=1 Priority=0 Cookie=4 ReplyCookie=2
Sender=org.freedesktop.DBus Destination=:1.20
MESSAGE "u" {
UINT32 1;
};
‣ Type=error Endian=l Flags=1 Version=1 Priority=0 Cookie=5 ReplyCookie=33
Sender=org.freedesktop.DBus Destination=:1.20
ErrorName=org.freedesktop.DBus.Error.AccessDenied ErrorMessage="Rejected send message, 0 matched rules; type="error", sender=":1.20" (uid=980 pid=429 comm="./bin/bedrockserver ") interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.UnknownMethod" requested_reply="0" destination=":1.19" (uid=980 pid=426 comm="mcpeserver run ")"
MESSAGE "s" {
STRING "Rejected send message, 0 matched rules; type="error", sender=":1.20" (uid=980 pid=429 comm="./bin/bedrockserver ") interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.UnknownMethod" requested_reply="0" destination=":1.19" (uid=980 pid=426 comm="mcpeserver run ")";
};
Maybe I missed something logs:
[root@FXIT-Arch mcpeserver]# systemctl reload dbus
[root@FXIT-Arch mcpeserver]# sudo -u mcpeserver mcpeserver run
I [core] Loading profile: default
W [core] Config file is not exists, creating...
N [core] Loading Bridge...
I [core] Bridge Version: 0.1.5
I [DBUS] Starting...
N [core] Loading Bedrock Server...
D [Bridge] Minecraft is at offset 0xf3320000
I [Bridge] Game version: 1.5.3
I [Bridge] Applying patches
T [AppPlatform] Vtable size = 238
T [AppPlatform] createDeviceID:
T [Bridge] Loading server properties
T [AppPlatform] getCurrentStoragePath: /srv/mcpeserver/data
T [Bridge] Initializing resource loaders
T [AppPlatform] getSystemRegion: 0xdeadbeef
T [Bridge] Initializing ResourcePackManager
T [Bridge] Initializing PackManifestFactory
T [Bridge] Initializing SkinPackKeyProvider
T [Bridge] Initializing PackSourceFactory
T [Bridge] Initializing ResourcePackRepository
T [AppPlatform] getInternalStoragePath: /srv/mcpeserver/data
T [AppPlatform] getInternalStoragePath: /srv/mcpeserver/data
T [AppPlatform] getInternalStoragePath: /srv/mcpeserver/data
T [AppPlatform] getInternalStoragePath: /srv/mcpeserver/data
T [AppPlatform] getInternalStoragePath: /srv/mcpeserver/data
T [AppPlatform] getInternalStoragePath: /srv/mcpeserver/data
T [AppPlatform] getInternalStoragePath: /srv/mcpeserver/data
T [Bridge] Adding vanilla resource pack
T [Bridge] Adding world resource packs
D [Bridge] Initializing SaveTransactionManager
D [Bridge] Initializing ExternalFileLevelStorageSource
D [Bridge] Initializing ServerInstance
T [Bridge] Loading language data
I [Bridge] Server initialized
mcpe://mcpeserver@FXIT-Arch$ list
There are 0/20 players online:
mcpe://mcpeserver@FXIT-Arch$
Yes, it worked, I will update the package later.
OK,thank you.It is so kind of you!
When I try to run the Minecraft Server on Archlinux,I got ERROR: Job for mcpeserver@default.service failed because the control process exited with error code. See "systemctl status mcpeserver@default.service" and "journalctl -xe" for details.
After I input "systemctl status mcpeserver@default.service",it shows: ● mcpeserver@default.service - Minecraft Bedrock Edition Server Loaded: loaded (/usr/lib/systemd/system/mcpeserver@.service; disabled; vendo> Active: failed (Result: exit-code) since Mon 2018-08-27 05:05:35 CST; 39s ago Docs: https://github.com/codehz/mcpeserver Process: 2967 ExecStop=/usr/bin/dbus-send --system --print-reply --dest=one.c> Process: 2963 ExecStart=/usr/bin/mcpeserver daemon -profile default -systemd > Main PID: 2963 (code=exited, status=0/SUCCESS)
Aug 27 05:05:35 FXIT-Arch systemd[1]: Failed to start Minecraft Bedrock Edition> Aug 27 05:05:35 FXIT-Arch systemd[1]: mcpeserver@default.service: Service Resta> Aug 27 05:05:35 FXIT-Arch systemd[1]: mcpeserver@default.service: Scheduled res> Aug 27 05:05:35 FXIT-Arch systemd[1]: Stopped Minecraft Bedrock Edition Server. Aug 27 05:05:35 FXIT-Arch systemd[1]: mcpeserver@default.service: Start request> Aug 27 05:05:35 FXIT-Arch systemd[1]: mcpeserver@default.service: Failed with r> Aug 27 05:05:35 FXIT-Arch systemd[1]: Failed to start Minecraft Bedrock Edition> lines 1-15/15 (END)