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

【待反馈】站点错误日志不正常 lua

发表在 Linux面板2024-3-29 12:31 [复制链接] 6 1917

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:

面板:8.0.5,仅用官方插件
系统版本:

系统:CentOS 8.4.2105 x86_64(Py3.7.9)
问题描述:

发现 02/09 之前错误日志是正常返回了站点错误,但自从02/09之后,就下面这样了

2024/02/09 13:21:00 [error] 1937406#0: *33579 lua entry thread aborted: runtime error: near "xise": syntax error
stack traceback:
coroutine 0:
        [C]: in function 'nrows'
        /www/server/total/total_logger.lua:2221: in function 'get_uri_access_uri_id'
        /www/server/total/total_logger.lua:2891: in function 'store_line'
        /www/server/total/total_logger.lua:3169: in function 'store_logs'
        /www/server/total/total_logger.lua:3577: in function </www/server/total/total_logger.lua:3569>, context: ngx.timer, client: 122.246.30.211, server: 0.0.0.0:443
2024/02/10 16:49:35 [error] 3058578#0: *40691 lua entry thread aborted: runtime error: near "xise": syntax error
stack traceback:
coroutine 0:
        [C]: in function 'nrows'
        /www/server/total/total_logger.lua:2221: in function 'get_uri_access_uri_id'
        /www/server/total/total_logger.lua:2891: in function 'store_line'
        /www/server/total/total_logger.lua:3169: in function 'store_logs'
        /www/server/total/total_logger.lua:3577: in function </www/server/total/total_logger.lua:3569>, context: ngx.timer, client: 122.246.30.31, server: 0.0.0.0:443
2024/02/20 12:29:33 [error] 3534220#0: *111310 lua entry thread aborted: runtime error: near "xise": syntax error
stack traceback:
coroutine 0:
        [C]: in function 'nrows'
        /www/server/total/total_logger.lua:2221: in function 'get_uri_access_uri_id'
        /www/server/total/total_logger.lua:2891: in function 'store_line'
        /www/server/total/total_logger.lua:3169: in function 'store_logs'
        /www/server/total/total_logger.lua:3577: in function </www/server/total/total_logger.lua:3569>, context: ngx.timer, client: 122.246.31.49, server: 0.0.0.0:443
2024/02/26 17:14:11 [error] 2031600#0: *205692 lua entry thread aborted: runtime error: near "shell_exec": syntax error
stack traceback:
coroutine 0:
        [C]: in function 'nrows'
        /www/server/total/total_logger.lua:2221: in function 'get_uri_access_uri_id'
        /www/server/total/total_logger.lua:2891: in function 'store_line'
        /www/server/total/total_logger.lua:3169: in function 'store_logs'
        /www/server/total/total_logger.lua:3577: in function </www/server/total/total_logger.lua:3569>, context: ngx.timer, client: 122.246.31.222, server: 0.0.0.0:443
2024/02/26 17:40:12 [error] 2038972#0: *206770 lua entry thread aborted: runtime error: near "xise": syntax error
stack traceback:
coroutine 0:
        [C]: in function 'nrows'
        /www/server/total/total_logger.lua:2221: in function 'get_uri_access_uri_id'
        /www/server/total/total_logger.lua:2891: in function 'store_line'
        /www/server/total/total_logger.lua:3169: in function 'store_logs'
        /www/server/total/total_logger.lua:3577: in function </www/server/total/total_logger.lua:3569>, context: ngx.timer, client: 122.246.31.222, server: 0.0.0.0:443
2024/02/26 18:13:34 [error] 2047765#0: *207090 lua entry thread aborted: runtime error: near "xise": syntax error
stack traceback:
coroutine 0:
        [C]: in function 'nrows'
        /www/server/total/total_logger.lua:2221: in function 'get_uri_access_uri_id'
        /www/server/total/total_logger.lua:2891: in function 'store_line'
        /www/server/total/total_logger.lua:3169: in function 'store_logs'
        /www/server/total/total_logger.lua:3577: in function </www/server/total/total_logger.lua:3569>, context: ngx.timer, client: 122.246.31.222, server: 0.0.0.0:443
2024/02/26 21:25:59 [error] 2112083#0: *210946 lua entry thread aborted: runtime error: near "shell_exec": syntax error
stack traceback:
coroutine 0:
        [C]: in function 'nrows'
        /www/server/total/total_logger.lua:2221: in function 'get_uri_access_uri_id'
        /www/server/total/total_logger.lua:2891: in function 'store_line'
        /www/server/total/total_logger.lua:3169: in function 'store_logs'
        /www/server/total/total_logger.lua:3577: in function </www/server/total/total_logger.lua:3569>, context: ngx.timer, client: 122.246.30.221, server: 0.0.0.0:443
2024/02/27 10:13:29 [error] 2381856#0: *219840 lua entry thread aborted: runtime error: near "shell_exec": syntax error
stack traceback:
coroutine 0:
        [C]: in function 'nrows'
        /www/server/total/total_logger.lua:2221: in function 'get_uri_access_uri_id'
        /www/server/total/total_logger.lua:2891: in function 'store_line'
        /www/server/total/total_logger.lua:3169: in function 'store_logs'
        /www/server/total/total_logger.lua:3577: in function </www/server/total/total_logger.lua:3569>, context: ngx.timer, client: 113.219.202.153, server: 0.0.0.0:443
2024/02/27 22:13:18 [error] 2612630#0: *228962 lua entry thread aborted: runtime error: near "shell_exec": syntax error
stack traceback:
coroutine 0:
        [C]: in function 'nrows'
        /www/server/total/total_logger.lua:2221: in function 'get_uri_access_uri_id'
        /www/server/total/total_logger.lua:2891: in function 'store_line'
        /www/server/total/total_logger.lua:3169: in function 'store_logs'
        /www/server/total/total_logger.lua:3577: in function </www/server/total/total_logger.lua:3569>, context: ngx.timer, client: 122.246.31.168, server: 0.0.0.0:443
2024/03/07 01:32:07 [error] 2150080#0: *323628 lua entry thread aborted: runtime error: near "shell_exec": syntax error
stack traceback:
coroutine 0:
        [C]: in function 'nrows'
        /www/server/total/total_logger.lua:2221: in function 'get_uri_access_uri_id'
        /www/server/total/total_logger.lua:2891: in function 'store_line'
        /www/server/total/total_logger.lua:3169: in function 'store_logs'
        /www/server/total/total_logger.lua:3577: in function </www/server/total/total_logger.lua:3569>, context: ngx.timer, client: 122.246.31.168, server: 0.0.0.0:443
2024/03/29 11:14:52 [error] 4155781#0: *717250 lua entry thread aborted: runtime error: near "xise": syntax error
stack traceback:
coroutine 0:
        [C]: in function 'nrows'
        /www/server/total/total_logger.lua:2221: in function 'get_uri_access_uri_id'
        /www/server/total/total_logger.lua:2891: in function 'store_line'
        /www/server/total/total_logger.lua:3169: in function 'store_logs'
        /www/server/total/total_logger.lua:3577: in function </www/server/total/total_logger.lua:3569>, context: ngx.timer, client: 113.219.202.152, server: 0.0.0.0:443
2024/03/29 11:22:37 [error] 4161559#0: *717572 lua entry thread aborted: runtime error: near "xise": syntax error
stack traceback:
coroutine 0:
        [C]: in function 'nrows'
        /www/server/total/total_logger.lua:2221: in function 'get_uri_access_uri_id'
        /www/server/total/total_logger.lua:2891: in function 'store_line'
        /www/server/total/total_logger.lua:3169: in function 'store_logs'
        /www/server/total/total_logger.lua:3577: in function </www/server/total/total_logger.lua:3569>, context: ngx.timer, client: 113.219.202.141, server: 0.0.0.0:443

相关截图(日志、错误):

iShot_2024-03-29_12.30.41.png
使用道具 举报 只看该作者 回复
发表于 2024-3-29 14:24:52 | 显示全部楼层
您好,先尝试将面板更新到最新版然后修复一下,如果在执行过程中出现了异常或者报错,请截图发出来

您好,用你的方法,感觉确实恢复了,但今日,又发现有类似的错误,如: 2024/04/08 10:39:14 [error] 1323338#0: *320674 lua entry thread aborted: runtime error: near "b...   发表于 2024-4-8 10:42
使用道具 举报 回复 支持 反对
发表于 2024-4-8 10:42:54 | 显示全部楼层
运维技术南一 发表于 2024-3-29 14:24
您好,先尝试将面板更新到最新版然后修复一下,如果在执行过程中出现了异常或者报错,请截图发出来 ...

您好,用你的方法,感觉确实恢复了,但今日,又发现有类似的错误,如:
2024/04/08 10:39:14 [error] 1323338#0: *320674 lua entry thread aborted: runtime error: near "bxs": syntax error
stack traceback:
coroutine 0:
[C]: in function 'nrows'
/www/server/total/total_logger.lua:2221: in function 'get_uri_access_uri_id'
/www/server/total/total_logger.lua:2891: in function 'store_line'
/www/server/total/total_logger.lua:3169: in function 'store_logs'
/www/server/total/total_logger.lua:3577: in function </www/server/total/total_logger.lua:3569>, context: ngx.timer, client: xxx.xxx.xx.xxx, server: 0.0.0.0:443
使用道具 举报 回复 支持 反对
发表于 2024-4-8 12:25:34 | 显示全部楼层
再顶一下
使用道具 举报 回复
发表于 2024-4-15 14:20:56 | 显示全部楼层
安装了监控报表?
可尝试卸载重新安装一下nginx,以及监控报表,可能是lua模块没有安装上

重装nginx这动作太大了,上面好几个在跑,卸载监控报表,会影响之前统计数据吗?  发表于 2024-4-16 19:13
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

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

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

紧急运维服务

响应时间:3分钟

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

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

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

点击联系技术免费分析

工作时间:09:00至18:30

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