由于致命错误而无法发射翼龙翅膀

问题描述 投票:0回答:1

我最近下载了 ubuntu,并尝试在我的《我的世界》服务器上使用翼手龙翅膀,在机器重新启动后,我无法再次启动翅膀。这是弹出的内容

root@minecraft-server:/home/server# wings
 INFO: [Jul 22 00:55:23.937] writing log files to disk 
path=/var/log/pterodactyl/wings.log

                     ____
__ Pterodactyl _____/___/_______ _______ ______
\_____\    \/\/    /   /       /  __   /   ___/
   \___\          /   /   /   /  /_/  /___   /
        \___/\___/___/___/___/___    /______/
                            /_______/ 1.4.5

Copyright © 2018 - 2021 Dane Everitt & Contributors

Website:  https://pterodactyl.io
 Source:  https://github.com/pterodactyl/wings
License:  https://github.com/pterodactyl/wings/blob/develop/LICENSE

This software is made available under the terms of the MIT license.
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.

 INFO: [Jul 22 00:55:23.938] loading configuration from file config_file=/etc/pterodactyl/config.yml
 INFO: [Jul 22 00:55:23.939] configured wings with system timezone timezone=Etc/UTC
 INFO: [Jul 22 00:55:23.939] checking for pterodactyl system user username={997 997}
 INFO: [Jul 22 00:55:23.940] configured system user successfully gid=997 uid=997 username=pterodactyl
 INFO: [Jul 22 00:55:23.941] fetching list of servers from API
 INFO: [Jul 22 00:55:23.985] processing servers returned by the API total_configs=0
 INFO: [Jul 22 00:55:23.985] finished processing server configurations duration=621.87µs
 INFO: [Jul 22 00:55:23.989] configuring internal webserver host_address=0.0.0.0 host_port=8080 use_auto_tls=false us            e_ssl=false
FATAL: [Jul 22 00:55:23.990] failed to initialize the sftp server error=listen tcp 0.0.0.0:2022: bind: address alread            y in use
 INFO: [Jul 22 00:55:23.990] updating server states on Panel: marking installing/restoring servers as normal
FATAL: [Jul 22 00:55:23.993] failed to configure HTTP server error=listen tcp 0.0.0.0:8080: bind: address already in             use

Stacktrace:
listen tcp 0.0.0.0:8080: bind: address already in use
github.com/pterodactyl/wings/cmd.rootCmdRun
        /home/runner/work/wings/wings/cmd/root.go:347
github.com/spf13/cobra.(*Command).execute
        /home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:854
github.com/spf13/cobra.(*Command).ExecuteC
        /home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:958
github.com/spf13/cobra.(*Command).Execute
        /home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:895
github.com/pterodactyl/wings/cmd.Execute
        /home/runner/work/wings/wings/cmd/root.go:66
main.main
        /home/runner/work/wings/wings/wings.go:8
runtime.main
        /opt/hostedtoolcache/go/1.16.5/x64/src/runtime/proc.go:225
runtime.goexit
        /opt/hostedtoolcache/go/1.16.5/x64/src/runtime/asm_amd64.s:1371

我尝试了很多事情,甚至返回并重做所有安装命令,但我迷失了,找不到摆脱这种情况的方法。

我应该怎么做才能让这一切顺利进行?

minecraft
1个回答
0
投票

您的计算机不能允许 2 个不同的进程使用同一端口。从堆栈跟踪中可以看出,服务器无法启动,因为另一个进程也在使用端口 8080。解决方案是终止另一个进程,或重新配置 Pterodactyl 以使用不同的端口。

如果您想找出哪些进程正在使用该端口,您可以在 Linux 上运行

lsof -i :8080
如果您使用的是 Windows,则运行 netstat -aon | findstr 8080
,然后在以下命令中使用 PID(右侧的列)- 
tasklist | findstr <PID>

© www.soinside.com 2019 - 2024. All rights reserved.