当前位置:论坛首页 > BUG提交 > Linux面板

面板后台无法访问必须重启

发表在 BUG提交2017-11-10 14:11 [复制链接] 6 6583

我这边装了几台,
其中就有两台经常出现站点正常,只有后台无法访问的问题  

必须要 service bt restart 才可以,

过一段时间又不行了,不知道是因为进程挂了还是里面站点配置问题




5.2.0和5.3.0 都出现过这类问题

系统有阿里云的 centos7.4 和我本地的 vm esxi 虚拟的 centos7.4

使用道具 举报 只看该作者 回复
发表于 2017-11-11 10:05:40 | 显示全部楼层
下次再出现无法访问的情况
先不要重启宝塔
输入以下命令看看错误信息
  1. cat /tmp/panelBoot.pl
复制代码
使用道具 举报 回复 支持 反对
发表于 2017-11-15 00:38:23 | 显示全部楼层
河妖 发表于 2017-11-11 10:05
下次再出现无法访问的情况
先不要重启宝塔
输入以下命令看看错误信息


  1. Exception in thread CP Server Thread-3:
  2. Traceback (most recent call last):
  3.   File "/usr/lib64/python2.7/threading.py", line 812, in __bootstrap_inner
  4.     self.run()
  5.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/__init__.py", line 1375, in run
  6.     conn.communicate()
  7.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/__init__.py", line 1269, in communicate
  8.     format_exc())
  9.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/__init__.py", line 811, in simple_response
  10.     self.conn.wfile.sendall("".join(buf))
  11.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/ssl_pyopenssl.py", line 111, in sendall
  12.     *args, **kwargs)
  13.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/ssl_pyopenssl.py", line 61, in _safe_call
  14.     return call(*args, **kwargs)
  15.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/__init__.py", line 913, in sendall
  16.     bytes_sent = self.send(data)
  17.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/ssl_pyopenssl.py", line 115, in send
  18.     *args, **kwargs)
  19.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/ssl_pyopenssl.py", line 77, in _safe_call
  20.     raise socket.error(errnum)
  21. error: -1

  22. 123.59.54.62:48397 - - [08/Nov/2017 07:56:28] "HTTP/1.1 GET /" - 303 See Other
  23. Exception in thread CP Server Thread-9:
  24. Traceback (most recent call last):
  25.   File "/usr/lib64/python2.7/threading.py", line 812, in __bootstrap_inner
  26.     self.run()
  27.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/__init__.py", line 1375, in run
  28.     conn.communicate()
  29.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/__init__.py", line 1269, in communicate
  30.     format_exc())
  31.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/__init__.py", line 811, in simple_response
  32.     self.conn.wfile.sendall("".join(buf))
  33.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/ssl_pyopenssl.py", line 111, in sendall
  34.     *args, **kwargs)
  35.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/ssl_pyopenssl.py", line 61, in _safe_call
  36.     return call(*args, **kwargs)
  37.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/__init__.py", line 913, in sendall
  38.     bytes_sent = self.send(data)
  39.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/ssl_pyopenssl.py", line 115, in send
  40.     *args, **kwargs)
  41.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/ssl_pyopenssl.py", line 77, in _safe_call
  42.     raise socket.error(errnum)
  43. error: -1
复制代码
使用道具 举报 回复 支持 反对
发表于 2017-11-28 18:50:29 | 显示全部楼层
河妖 发表于 2017-11-11 10:05
下次再出现无法访问的情况
先不要重启宝塔
输入以下命令看看错误信息
  1. 46.17.46.77:46290 - - [19/Nov/2017 10:21:47] "HTTP/1.1 GET /recordings/index.php" - 404 Not Found
  2. 46.17.46.77:46308 - - [19/Nov/2017 10:21:47] "HTTP/1.1 GET /a2billing/admin/Public/index.php" - 404 Not Found
  3. Exception in thread CP Server Thread-9:
  4. Traceback (most recent call last):
  5.   File "/usr/lib64/python2.7/threading.py", line 812, in __bootstrap_inner
  6.     self.run()
  7.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/__init__.py", line 1375, in run
  8.     conn.communicate()
  9.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/__init__.py", line 1269, in communicate
  10.     format_exc())
  11.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/__init__.py", line 811, in simple_response
  12.     self.conn.wfile.sendall("".join(buf))
  13.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/ssl_pyopenssl.py", line 111, in sendall
  14.     *args, **kwargs)
  15.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/ssl_pyopenssl.py", line 61, in _safe_call
  16.     return call(*args, **kwargs)
  17.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/__init__.py", line 913, in sendall
  18.     bytes_sent = self.send(data)
  19.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/ssl_pyopenssl.py", line 115, in send
  20.     *args, **kwargs)
  21.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/ssl_pyopenssl.py", line 77, in _safe_call
  22.     raise socket.error(errnum)
  23. error: -1

  24. Exception in thread CP Server Thread-6:
  25. Traceback (most recent call last):
  26.   File "/usr/lib64/python2.7/threading.py", line 812, in __bootstrap_inner
  27.     self.run()
  28.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/__init__.py", line 1375, in run
  29.     conn.communicate()
  30.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/__init__.py", line 1261, in communicate
  31.     req.simple_response("408 Request Timeout")
  32.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/__init__.py", line 811, in simple_response
  33.     self.conn.wfile.sendall("".join(buf))
  34.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/ssl_pyopenssl.py", line 111, in sendall
  35.     *args, **kwargs)
  36.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/ssl_pyopenssl.py", line 61, in _safe_call
  37.     return call(*args, **kwargs)
  38.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/__init__.py", line 913, in sendall
  39.     bytes_sent = self.send(data)
  40.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/ssl_pyopenssl.py", line 115, in send
  41.     *args, **kwargs)
  42.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/ssl_pyopenssl.py", line 90, in _safe_call
  43.     raise wsgiserver.NoSSLError()
  44. NoSSLError

  45. Exception in thread CP Server Thread-5:
  46. Traceback (most recent call last):
  47.   File "/usr/lib64/python2.7/threading.py", line 812, in __bootstrap_inner
  48.     self.run()
  49.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/__init__.py", line 1375, in run
  50.     conn.communicate()
  51.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/__init__.py", line 1269, in communicate
  52.     format_exc())
  53.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/__init__.py", line 811, in simple_response
  54.     self.conn.wfile.sendall("".join(buf))
  55.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/ssl_pyopenssl.py", line 111, in sendall
  56.     *args, **kwargs)
  57.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/ssl_pyopenssl.py", line 61, in _safe_call
  58.     return call(*args, **kwargs)
  59.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/__init__.py", line 913, in sendall
  60.     bytes_sent = self.send(data)
  61.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/ssl_pyopenssl.py", line 115, in send
  62.     *args, **kwargs)
  63.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/ssl_pyopenssl.py", line 77, in _safe_call
  64.     raise socket.error(errnum)
  65. error: -1

  66. Exception in thread CP Server Thread-3:
  67. Traceback (most recent call last):
  68.   File "/usr/lib64/python2.7/threading.py", line 812, in __bootstrap_inner
  69.     self.run()
  70.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/__init__.py", line 1375, in run
  71.     conn.communicate()
  72.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/__init__.py", line 1269, in communicate
  73.     format_exc())
  74.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/__init__.py", line 811, in simple_response
  75.     self.conn.wfile.sendall("".join(buf))
  76.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/ssl_pyopenssl.py", line 111, in sendall
  77.     *args, **kwargs)
  78.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/ssl_pyopenssl.py", line 61, in _safe_call
  79.     return call(*args, **kwargs)
  80.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/__init__.py", line 913, in sendall
  81.     bytes_sent = self.send(data)
  82.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/ssl_pyopenssl.py", line 115, in send
  83.     *args, **kwargs)
  84.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/ssl_pyopenssl.py", line 77, in _safe_call
  85.     raise socket.error(errnum)
  86. error: -1

  87. 223.93.139.174:52172 - - [22/Nov/2017 16:56:59] "HTTP/1.1 GET /" - 303 See Other
  88. 223.93.139.174:52172 - - [22/Nov/2017 16:56:59] "HTTP/1.1 GET /login" - 200 OK
  89. 223.93.139.174:52172 - - [22/Nov/2017 16:56:59] "HTTP/1.1 GET /static/css/site.css" - 200
  90. 223.93.139.174:52176 - - [22/Nov/2017 16:56:59] "HTTP/1.1 GET /static/css/login.css" - 200
  91. 223.93.139.174:52176 - - [22/Nov/2017 16:56:59] "HTTP/1.1 GET /static/js/jquery-1.10.2.min.js" - 200
  92. 223.93.139.174:52176 - - [22/Nov/2017 16:57:00] "HTTP/1.1 GET /static/language/Simplified_Chinese/lan.js" - 200
  93. 223.93.139.174:52172 - - [22/Nov/2017 16:57:00] "HTTP/1.1 GET /static/language/zh-cn.js" - 200
  94. 223.93.139.174:52172 - - [22/Nov/2017 16:57:00] "HTTP/1.1 GET /static/layer/layer.js" - 200
  95. 223.93.139.174:52172 - - [22/Nov/2017 16:57:00] "HTTP/1.1 GET /static/js/Validform_v5.3.2_min.js" - 200
  96. 223.93.139.174:52172 - - [22/Nov/2017 16:57:00] "HTTP/1.1 GET /static/layer/skin/default/layer.css" - 200
  97. 223.93.139.174:52176 - - [22/Nov/2017 16:57:00] "HTTP/1.1 GET /code" - 200 OK
  98. 223.93.139.174:52172 - - [22/Nov/2017 16:57:00] "HTTP/1.1 GET /favicon.ico" - 404 Not Found
  99. Exception in thread CP Server Thread-2:
  100. Traceback (most recent call last):
  101.   File "/usr/lib64/python2.7/threading.py", line 812, in __bootstrap_inner
  102.     self.run()
  103.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/__init__.py", line 1375, in run
  104.     conn.communicate()
  105.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/__init__.py", line 1269, in communicate
  106.     format_exc())
  107.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/__init__.py", line 811, in simple_response
  108.     self.conn.wfile.sendall("".join(buf))
  109.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/ssl_pyopenssl.py", line 111, in sendall
  110.     *args, **kwargs)
  111.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/ssl_pyopenssl.py", line 61, in _safe_call
  112.     return call(*args, **kwargs)
  113.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/__init__.py", line 913, in sendall
  114.     bytes_sent = self.send(data)
  115.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/ssl_pyopenssl.py", line 115, in send
  116.     *args, **kwargs)
  117.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/ssl_pyopenssl.py", line 77, in _safe_call
  118.     raise socket.error(errnum)
  119. error: -1

  120. Exception in thread CP Server Thread-7:
  121. Traceback (most recent call last):
  122.   File "/usr/lib64/python2.7/threading.py", line 812, in __bootstrap_inner
  123.     self.run()
  124.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/__init__.py", line 1375, in run
  125.     conn.communicate()
  126.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/__init__.py", line 1269, in communicate
  127.     format_exc())
  128.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/__init__.py", line 811, in simple_response
  129.     self.conn.wfile.sendall("".join(buf))
  130.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/ssl_pyopenssl.py", line 111, in sendall
  131.     *args, **kwargs)
  132.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/ssl_pyopenssl.py", line 61, in _safe_call
  133.     return call(*args, **kwargs)
  134.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/__init__.py", line 913, in sendall
  135.     bytes_sent = self.send(data)
  136.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/ssl_pyopenssl.py", line 115, in send
  137.     *args, **kwargs)
  138.   File "/usr/lib/python2.7/site-packages/web/wsgiserver/ssl_pyopenssl.py", line 77, in _safe_call
  139.     raise socket.error(errnum)
  140. error: -1
复制代码
使用道具 举报 回复 支持 反对
发表于 2017-11-29 09:41:59 | 显示全部楼层
升级至最新版面板
计划任务添加个shell脚本 每天执行一次
service bt reload
使用道具 举报 回复 支持 反对
发表于 2017-11-30 09:41:37 | 显示全部楼层
河妖 发表于 2017-11-29 09:41
升级至最新版面板
计划任务添加个shell脚本 每天执行一次
service bt reload

reload和restart都试了,还是打不开 抱歉,程序异常

您请求的页面因发生异常而中断!
  1. Traceback (most recent call last):
  2.   File "/usr/lib/python2.7/site-packages/web/application.py", line 239, in process
  3.     return self.handle()
  4.   File "/usr/lib/python2.7/site-packages/web/application.py", line 230, in handle
  5.     return self._delegate(fn, self.fvars, args)
  6.   File "/usr/lib/python2.7/site-packages/web/application.py", line 462, in _delegate
  7.     return handle_class(cls)
  8.   File "/usr/lib/python2.7/site-packages/web/application.py", line 438, in handle_class
  9.     return tocall(*args)
  10.   File "main.py", line 99, in GET
  11.     data = system.system().GetConcifInfo()
  12.   File "class/system.py", line 105, in GetConcifInfo
  13.     tmp['version'] = public.readFile(vfile).strip();
  14. AttributeError: 'bool' object has no attribute 'strip'

  15. ****************:50297 - - [30/Nov/2017 09:38:03] "HTTP/1.1 GET /" - 500 Internal Server Error
  16. Traceback (most recent call last):
  17.   File "/usr/lib/python2.7/site-packages/web/application.py", line 239, in process
  18.     return self.handle()
  19.   File "/usr/lib/python2.7/site-packages/web/application.py", line 230, in handle
  20.     return self._delegate(fn, self.fvars, args)
  21.   File "/usr/lib/python2.7/site-packages/web/application.py", line 462, in _delegate
  22.     return handle_class(cls)
  23.   File "/usr/lib/python2.7/site-packages/web/application.py", line 438, in handle_class
  24.     return tocall(*args)
  25.   File "main.py", line 99, in GET
  26.     data = system.system().GetConcifInfo()
  27.   File "class/system.py", line 105, in GetConcifInfo
  28.     tmp['version'] = public.readFile(vfile).strip();
  29. AttributeError: 'bool' object has no attribute 'strip'

  30. **************:50297 - - [30/Nov/2017 09:38:06] "HTTP/1.1 GET /" - 500 Internal Server Error
复制代码
使用道具 举报 回复 支持 反对
发表于 2017-11-30 09:51:16 | 显示全部楼层
ovels 发表于 2017-11-30 09:41
reload和restart都试了,还是打不开 抱歉,程序异常

您请求的页面因发生异常而中断! ...

使用以下命令修复下面板

  1. wget -O update.sh http://download.bt.cn/install/update.sh && sh update.sh
复制代码


使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

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

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

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

立即付费处理

工作时间:09:00至24:00

快速回复 返回顶部 返回列表