我最近下载了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/cobra@v1.1.1/command.go:854
github.com/spf13/cobra.(*Command).ExecuteC
/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.1.1/command.go:958
github.com/spf13/cobra.(*Command).Execute
/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.1.1/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我尝试了很多东西,甚至返回并重新执行了所有的安装命令,但我迷路了,找不到摆脱这种情况的方法。
我应该怎么做才能让这一切都正常工作呢?
发布于 2021-07-23 19:19:04
您的计算机不能允许两个不同的进程使用同一端口。正如您在堆栈跟踪中看到的,服务器无法启动,因为另一个进程也在使用端口8080。解决方案是杀死另一个进程,或者重新配置Pterodactyl以使用不同的端口。
如果想要找出哪些进程正在使用该端口,可以运行lsof -i :8080 on Linux。If you are on Windows,然后运行netstat -aon | findstr 8080,然后在以下命令- tasklist | findstr <PID>中使用PID (右侧的列)。
https://stackoverflow.com/questions/68478062
复制相似问题