首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >由于出现致命错误,无法启动翼龙的翅膀

由于出现致命错误,无法启动翼龙的翅膀
EN

Stack Overflow用户
提问于 2021-07-22 09:14:43
回答 1查看 460关注 0票数 0

我最近下载了ubuntu,并尝试着在我的“我的世界”服务器上使用翼龙之翼,但在我的机器重新启动后,我无法再次启动翼。下面是弹出的内容

代码语言:javascript
复制
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

我尝试了很多东西,甚至返回并重新执行了所有的安装命令,但我迷路了,找不到摆脱这种情况的方法。

我应该怎么做才能让这一切都正常工作呢?

EN

回答 1

Stack Overflow用户

发布于 2021-07-23 19:19:04

您的计算机不能允许两个不同的进程使用同一端口。正如您在堆栈跟踪中看到的,服务器无法启动,因为另一个进程也在使用端口8080。解决方案是杀死另一个进程,或者重新配置Pterodactyl以使用不同的端口。

如果想要找出哪些进程正在使用该端口,可以运行lsof -i :8080 on LinuxIf you are on Windows,然后运行netstat -aon | findstr 8080,然后在以下命令- tasklist | findstr <PID>中使用PID (右侧的列)。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/68478062

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档