当前位置:论坛首页 > Linux面板 > 讨论

【已解决】打开面板提示无法连接宝塔云端服务

发表在 Linux面板2022-5-16 12:39 [复制链接] 6 4156

1.jpg 2.jpg
使用道具 举报 只看该作者 回复
发表于 2022-5-16 14:43:47 | 显示全部楼层
您好!根据以下方法,修复一下连接我司节点,不要在宝塔面板自带的终端里面执行
上海、香港地区使用链接里的方法:
https://www.bt.cn/bbs/thread-87257-1-1.html

其他地区服务器执行以下命令解决,请问具体是哪个地区的服务器呢?回复一下
不知道是那个地区服务器的建议从3选项开始一个一个尝试直到可以连接为止
  1. wget http://125.90.93.52/tools/auto_fix.sh && bash auto_fix.sh
复制代码


还是不行的话执行以下命令手动指定一下节点:
  1. sed -i "/bt.cn/d" /etc/hosts
  2. echo "116.10.184.219 www.bt.cn download.bt.cn api.bt.cn dg1.bt.cn dg2.bt.cn" >> /etc/hosts
复制代码
使用道具 举报 回复 支持 反对
发表于 2022-5-16 19:27:56 | 显示全部楼层
堡塔运维向樛木 发表于 2022-5-16 14:43
您好!根据以下方法,修复一下连接我司节点,不要在宝塔面板自带的终端里面执行
上海、香港地区使用链接里 ...

--------------e------- /www/server/panel/data/userInfo.json
lsattr: No such file or directory while trying to stat /www/server/panel/data/plugin_bin.pl
--------------e------- /www/server/panel/data/auth_list.json
--------------e------- /www/server/panel/install/public.sh
lsattr: No such file or directory while trying to stat /www/server/panel/install/check.sh
节点连接状态:
curl: /usr/local/lib/libcurl.so.4: no version information available (required by curl)
www.bt.cn 302 240e:a5:4200:89::256
curl: /usr/local/lib/libcurl.so.4: no version information available (required by curl)
api.bt.cn 200 240e:a5:4200:89::256
curl: /usr/local/lib/libcurl.so.4: no version information available (required by curl)
download.bt.cn 000
curl: /usr/local/lib/libcurl.so.4: no version information available (required by curl)
dg1.bt.cn 200 240e:a5:4200:89::256
curl: /usr/local/lib/libcurl.so.4: no version information available (required by curl)
dg2.bt.cn 200 240e:a5:4200:89::256

系统DNS设置:
# This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8).
# Do not edit.
#
# This file might be symlinked as /etc/resolv.conf. If you're looking at
# /etc/resolv.conf and seeing this text, you have followed the symlink.
#
# This is a dynamic resolv.conf file for connecting local clients to the
# internal DNS stub resolver of systemd-resolved. This file lists all
# configured search domains.
#
# Run "resolvectl status" to see details about the uplink DNS servers
# currently in use.
#
# Third party programs should typically not access this file directly, but only
# through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a
# different way, replace this symlink by a static file or a different symlink.
#
# See man:systemd-resolved.service(8) for details about the supported modes of
# operation for /etc/resolv.conf.

nameserver 127.0.0.53
options edns0 trust-ad
search AlbertNet

请将上方红线至此段话显示的所有内容,截图完整上传宝塔论坛或发送给宝塔运维
使用道具 举报 回复 支持 反对
发表于 2022-5-16 19:34:41 | 显示全部楼层
本帖最后由 XUSOIU 于 2022-5-16 19:39 编辑

同样的问题,更新到内测版宝塔之后出错,回正式也不行
  1. ===================================================================
  2. --------------e------- /www/server/panel/data/userInfo.json
  3. lsattr: No such file or directory while trying to stat /www/server/panel/data/plugin_bin.pl
  4. --------------e------- /www/server/panel/data/auth_list.json
  5. --------------e------- /www/server/panel/install/public.sh
  6. --------------e------- /www/server/panel/install/check.sh
  7. 节点连接状态:
  8. www.bt.cn 302 116.213.43.206
  9. api.bt.cn 200 116.213.43.206
  10. download.bt.cn 000
  11. dg1.bt.cn 200 116.10.184.219
  12. dg2.bt.cn 200 123.129.198.197

  13. 系统DNS设置:
  14. # This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8).
  15. # Do not edit.
  16. #
  17. # This file might be symlinked as /etc/resolv.conf. If you're looking at
  18. # /etc/resolv.conf and seeing this text, you have followed the symlink.
  19. #
  20. # This is a dynamic resolv.conf file for connecting local clients to the
  21. # internal DNS stub resolver of systemd-resolved. This file lists all
  22. # configured search domains.
  23. #
  24. # Run "resolvectl status" to see details about the uplink DNS servers
  25. # currently in use.
  26. #
  27. # Third party programs should typically not access this file directly, but only
  28. # through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a
  29. # different way, replace this symlink by a static file or a different symlink.
  30. #
  31. # See man:systemd-resolved.service(8) for details about the supported modes of
  32. # operation for /etc/resolv.conf.

  33. nameserver 127.0.0.53
  34. options edns0 trust-ad
  35. search .

  36. 请将上方红线至此段话显示的所有内容,截图完整上传宝塔论坛或发送给宝塔运维
复制代码

使用道具 举报 回复 支持 反对
发表于 2022-5-16 19:44:33 | 显示全部楼层
我的问题已解决,是之前安装python2导致curl库出现冲突,重建curl链接后问题解决
使用道具 举报 回复 支持 反对
发表于 2022-5-16 19:49:25 | 显示全部楼层
XUSOIU 发表于 2022-5-16 19:34
同样的问题,更新到内测版宝塔之后出错,回正式也不行

好吧我解决了
在我这里执行
  1. rm -rf /usr/local/lib/libcurl.so.4
复制代码

即可解决,但是不知道为什么
使用道具 举报 回复 支持 反对
发表于 2022-5-16 22:57:23 | 显示全部楼层
XUSOIU 发表于 2022-5-16 19:49
好吧我解决了
在我这里执行

Ubuntu自带了curl,和面板的culr冲突了。感谢您的反馈!
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

企业版年付运维跟进群

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急问题处理

论坛响应时间:10分钟

问题处理方式:1对1处理(优先)

工作时间:白班:9:00 - 18:00

工作时间:晚班:18:00 - 24:00

立即付费处理
快速回复 返回顶部 返回列表