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

【待反馈】服务器停电重启后,nginx和mysql无法启动

发表在 Linux面板2022-9-14 16:58 [复制链接] 13 6150

服务器停电重启后,重启nginx和mysql,启动几秒后,就停止了,有没有大佬遇到过此类问题
使用道具 举报 只看该作者 回复
发表于 2022-9-14 19:22:45 | 显示全部楼层
暂时没有排查到问题,远程到用户服务器查看系统内核日志,没有nginx、mysql关键信息。
但是有raid错误,已让用户排查这块问题
使用道具 举报 回复 支持 1 反对 0
发表于 2022-9-14 17:06:31 | 显示全部楼层
您好!面板的软件商店中重启运行环境是否会报错?会的话截图看一下报错信息!
传图片.png
使用道具 举报 回复 支持 反对
发表于 2022-9-14 17:27:31 | 显示全部楼层
堡塔运维向樛木 发表于 2022-9-14 17:06
您好!面板的软件商店中重启运行环境是否会报错?会的话截图看一下报错信息! ...

启动不报错,过几秒后自动停止
使用道具 举报 回复 支持 反对
发表于 2022-9-14 17:49:22 | 显示全部楼层
宝塔用户_eubkkd 发表于 2022-9-14 17:27
启动不报错,过几秒后自动停止

截图看一下看一下日志
MySQL错误日志查看方法:
  1. cat /www/server/data/*.err|grep -i -C 10 error
复制代码
使用道具 举报 回复 支持 反对
发表于 2022-9-14 18:08:38 | 显示全部楼层
本帖最后由 宝塔用户_eubkkd 于 2022-9-14 18:14 编辑

mysql的图片
123.jpg
使用道具 举报 回复 支持 反对
发表于 2022-9-14 18:26:41 | 显示全部楼层
堡塔运维向樛木 发表于 2022-9-14 17:49
截图看一下看一下日志
MySQL错误日志查看方法:

麻烦看下日志,谢谢
使用道具 举报 回复 支持 反对
发表于 2022-9-14 18:32:40 | 显示全部楼层

没有ERROR级别日志,MySQL启动时也没有错误信息嘛?
使用道具 举报 回复 支持 反对
发表于 2022-9-14 18:38:40 | 显示全部楼层
谢花郎 发表于 2022-9-14 18:32
没有ERROR级别日志,MySQL启动时也没有错误信息嘛?

2022/09/14 18:00:36 [notice] 82388#0: nginx/1.20.2
2022/09/14 18:00:36 [notice] 82388#0: built by gcc 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC)
2022/09/14 18:00:36 [notice] 82388#0: OS: Linux 3.10.0-957.el7.x86_64
2022/09/14 18:00:36 [notice] 82388#0: getrlimit(RLIMIT_NOFILE): 8192:8192
2022/09/14 18:00:36 [notice] 82389#0: start worker processes
2022/09/14 18:00:36 [notice] 82389#0: start worker process 82390
2022/09/14 18:00:36 [notice] 82389#0: start worker process 82391
2022/09/14 18:00:36 [notice] 82389#0: start worker process 82392
2022/09/14 18:00:36 [notice] 82389#0: start worker process 82393
2022/09/14 18:00:36 [notice] 82389#0: start worker process 82394
2022/09/14 18:00:36 [notice] 82389#0: start worker process 82395
2022/09/14 18:00:36 [notice] 82389#0: start worker process 82396
2022/09/14 18:00:36 [notice] 82389#0: start worker process 82397
2022/09/14 18:00:36 [notice] 82389#0: start worker process 82398
2022/09/14 18:00:36 [notice] 82389#0: start worker process 82399
2022/09/14 18:00:36 [notice] 82389#0: start worker process 82400
2022/09/14 18:00:36 [notice] 82389#0: start worker process 82401
2022/09/14 18:00:36 [notice] 82389#0: start worker process 82402
2022/09/14 18:00:36 [notice] 82389#0: start worker process 82403
2022/09/14 18:00:36 [notice] 82389#0: start worker process 82404
2022/09/14 18:00:36 [notice] 82389#0: start worker process 82405
2022/09/14 18:00:36 [notice] 82389#0: start worker process 82406
2022/09/14 18:00:36 [notice] 82389#0: start worker process 82407
2022/09/14 18:00:36 [notice] 82389#0: start worker process 82408
2022/09/14 18:00:36 [notice] 82389#0: start worker process 82409
2022/09/14 18:00:36 [notice] 82389#0: start cache manager process 82410
2022/09/14 18:00:36 [notice] 82389#0: start cache loader process 82411
2022/09/14 18:01:04 [notice] 82389#0: signal 15 (SIGTERM) received from 82643, exiting
2022/09/14 18:01:04 [notice] 82390#0: exiting
2022/09/14 18:01:04 [notice] 82391#0: exiting
2022/09/14 18:01:04 [notice] 82392#0: exiting
2022/09/14 18:01:04 [notice] 82395#0: exiting
2022/09/14 18:01:04 [notice] 82394#0: exiting
2022/09/14 18:01:04 [notice] 82393#0: exiting
2022/09/14 18:01:04 [notice] 82396#0: exiting
2022/09/14 18:01:04 [notice] 82397#0: exiting
2022/09/14 18:01:04 [notice] 82398#0: exiting
2022/09/14 18:01:04 [notice] 82399#0: exiting
2022/09/14 18:01:04 [notice] 82401#0: exiting
2022/09/14 18:01:04 [notice] 82400#0: exiting
2022/09/14 18:01:04 [notice] 82403#0: exiting
2022/09/14 18:01:04 [notice] 82405#0: exiting
2022/09/14 18:01:04 [notice] 82406#0: exiting
2022/09/14 18:01:04 [notice] 82407#0: exiting
2022/09/14 18:01:04 [notice] 82394#0: exit
2022/09/14 18:01:04 [notice] 82391#0: exit
2022/09/14 18:01:04 [notice] 82399#0: exit
2022/09/14 18:01:04 [notice] 82398#0: exit
2022/09/14 18:01:04 [notice] 82401#0: exit
2022/09/14 18:01:04 [notice] 82400#0: exit
2022/09/14 18:01:04 [notice] 82403#0: exit
2022/09/14 18:01:04 [notice] 82405#0: exit
2022/09/14 18:01:04 [notice] 82409#0: exiting
2022/09/14 18:01:04 [notice] 82411#0: exiting
2022/09/14 18:01:04 [notice] 82402#0: exiting
2022/09/14 18:01:04 [notice] 82407#0: exit
2022/09/14 18:01:04 [notice] 82406#0: exit
2022/09/14 18:01:04 [notice] 82393#0: exit
2022/09/14 18:01:04 [notice] 82408#0: exiting
2022/09/14 18:01:04 [notice] 82410#0: exiting
2022/09/14 18:01:04 [notice] 82409#0: exit
2022/09/14 18:01:04 [notice] 82402#0: exit
2022/09/14 18:01:04 [notice] 82392#0: exit
2022/09/14 18:01:04 [notice] 82408#0: exit
2022/09/14 18:01:04 [notice] 82389#0: signal 17 (SIGCHLD) received from 82411
2022/09/14 18:01:04 [notice] 82389#0: cache loader process 82411 exited with code 0
2022/09/14 18:01:04 [notice] 82389#0: signal 29 (SIGIO) received
2022/09/14 18:01:04 [notice] 82390#0: exit
2022/09/14 18:01:04 [notice] 82397#0: exit
2022/09/14 18:01:04 [notice] 82395#0: exit
2022/09/14 18:01:04 [notice] 82396#0: exit
2022/09/14 18:01:04 [notice] 82404#0: exiting
2022/09/14 18:01:04 [notice] 82389#0: signal 17 (SIGCHLD) received from 82410
2022/09/14 18:01:04 [notice] 82389#0: worker process 82392 exited with code 0
2022/09/14 18:01:04 [notice] 82389#0: worker process 82393 exited with code 0
2022/09/14 18:01:04 [notice] 82389#0: worker process 82399 exited with code 0
2022/09/14 18:01:04 [notice] 82389#0: worker process 82402 exited with code 0
2022/09/14 18:01:04 [notice] 82389#0: worker process 82405 exited with code 0
2022/09/14 18:01:04 [notice] 82389#0: worker process 82406 exited with code 0
2022/09/14 18:01:04 [notice] 82389#0: worker process 82407 exited with code 0
2022/09/14 18:01:04 [notice] 82389#0: worker process 82408 exited with code 0
2022/09/14 18:01:04 [notice] 82389#0: worker process 82409 exited with code 0
2022/09/14 18:01:04 [notice] 82389#0: cache manager process 82410 exited with code 0
2022/09/14 18:01:04 [notice] 82404#0: exit
2022/09/14 18:01:04 [notice] 82389#0: signal 29 (SIGIO) received
2022/09/14 18:01:04 [notice] 82389#0: signal 17 (SIGCHLD) received from 82390
2022/09/14 18:01:04 [notice] 82389#0: worker process 82390 exited with code 0
2022/09/14 18:01:04 [notice] 82389#0: signal 29 (SIGIO) received
2022/09/14 18:01:04 [notice] 82389#0: signal 17 (SIGCHLD) received from 82400
2022/09/14 18:01:04 [notice] 82389#0: worker process 82400 exited with code 0
2022/09/14 18:01:04 [notice] 82389#0: signal 29 (SIGIO) received
2022/09/14 18:01:04 [notice] 82389#0: signal 17 (SIGCHLD) received from 82395
2022/09/14 18:01:04 [notice] 82389#0: worker process 82395 exited with code 0
2022/09/14 18:01:04 [notice] 82389#0: signal 29 (SIGIO) received
2022/09/14 18:01:04 [notice] 82389#0: signal 17 (SIGCHLD) received from 82397
2022/09/14 18:01:04 [notice] 82389#0: worker process 82397 exited with code 0
2022/09/14 18:01:04 [notice] 82389#0: signal 29 (SIGIO) received
2022/09/14 18:01:04 [notice] 82389#0: signal 17 (SIGCHLD) received from 82403
2022/09/14 18:01:04 [notice] 82389#0: worker process 82403 exited with code 0
2022/09/14 18:01:04 [notice] 82389#0: signal 29 (SIGIO) received
2022/09/14 18:01:04 [notice] 82389#0: signal 17 (SIGCHLD) received from 82394
2022/09/14 18:01:04 [notice] 82389#0: worker process 82394 exited with code 0
2022/09/14 18:01:04 [notice] 82389#0: signal 29 (SIGIO) received
2022/09/14 18:01:04 [notice] 82389#0: signal 17 (SIGCHLD) received from 82398
2022/09/14 18:01:04 [notice] 82389#0: worker process 82398 exited with code 0
2022/09/14 18:01:04 [notice] 82389#0: signal 29 (SIGIO) received
2022/09/14 18:01:04 [notice] 82389#0: signal 17 (SIGCHLD) received from 82396
2022/09/14 18:01:04 [notice] 82389#0: worker process 82396 exited with code 0
2022/09/14 18:01:04 [notice] 82389#0: signal 29 (SIGIO) received
2022/09/14 18:01:04 [notice] 82389#0: signal 17 (SIGCHLD) received from 82401
2022/09/14 18:01:04 [notice] 82389#0: worker process 82401 exited with code 0
2022/09/14 18:01:04 [notice] 82389#0: signal 29 (SIGIO) received
2022/09/14 18:01:04 [notice] 82389#0: signal 17 (SIGCHLD) received from 82404
2022/09/14 18:01:04 [notice] 82389#0: worker process 82404 exited with code 0
2022/09/14 18:01:04 [notice] 82389#0: signal 29 (SIGIO) received
2022/09/14 18:01:04 [notice] 82389#0: signal 17 (SIGCHLD) received from 82391
2022/09/14 18:01:04 [notice] 82389#0: worker process 82391 exited with code 0
2022/09/14 18:01:04 [notice] 82389#0: exit
2022/09/14 18:36:51 [notice] 101909#0: using the "epoll" event method
2022/09/14 18:36:51 [notice] 101909#0: nginx/1.20.2
2022/09/14 18:36:51 [notice] 101909#0: built by gcc 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC)
2022/09/14 18:36:51 [notice] 101909#0: OS: Linux 3.10.0-957.el7.x86_64
2022/09/14 18:36:51 [notice] 101909#0: getrlimit(RLIMIT_NOFILE): 8192:8192
2022/09/14 18:36:51 [notice] 101910#0: start worker processes
2022/09/14 18:36:51 [notice] 101910#0: start worker process 101911
2022/09/14 18:36:51 [notice] 101910#0: start worker process 101912
2022/09/14 18:36:51 [notice] 101910#0: start worker process 101913
2022/09/14 18:36:51 [notice] 101910#0: start worker process 101914
2022/09/14 18:36:51 [notice] 101910#0: start worker process 101915
2022/09/14 18:36:51 [notice] 101910#0: start worker process 101916
2022/09/14 18:36:51 [notice] 101910#0: start worker process 101917
2022/09/14 18:36:51 [notice] 101910#0: start worker process 101918
2022/09/14 18:36:51 [notice] 101910#0: start worker process 101919
2022/09/14 18:36:51 [notice] 101910#0: start worker process 101920
2022/09/14 18:36:51 [notice] 101910#0: start worker process 101921
2022/09/14 18:36:51 [notice] 101910#0: start worker process 101922
2022/09/14 18:36:51 [notice] 101910#0: start worker process 101923
2022/09/14 18:36:51 [notice] 101910#0: start worker process 101924
2022/09/14 18:36:51 [notice] 101910#0: start worker process 101925
2022/09/14 18:36:51 [notice] 101910#0: start worker process 101926
2022/09/14 18:36:51 [notice] 101910#0: start worker process 101927
2022/09/14 18:36:51 [notice] 101910#0: start worker process 101928
2022/09/14 18:36:51 [notice] 101910#0: start worker process 101929
2022/09/14 18:36:51 [notice] 101910#0: start worker process 101930
2022/09/14 18:36:51 [notice] 101910#0: start cache manager process 101931
2022/09/14 18:36:51 [notice] 101910#0: start cache loader process 101932
2022/09/14 18:37:07 [notice] 101910#0: signal 15 (SIGTERM) received from 102105, exiting
2022/09/14 18:37:07 [notice] 101912#0: exiting
2022/09/14 18:37:07 [notice] 101913#0: exiting
2022/09/14 18:37:07 [notice] 101911#0: exiting
2022/09/14 18:37:07 [notice] 101914#0: exiting
2022/09/14 18:37:07 [notice] 101915#0: exiting
2022/09/14 18:37:07 [notice] 101916#0: exiting
2022/09/14 18:37:07 [notice] 101917#0: exiting
2022/09/14 18:37:07 [notice] 101918#0: exiting
2022/09/14 18:37:07 [notice] 101919#0: exiting
2022/09/14 18:37:07 [notice] 101920#0: exiting
2022/09/14 18:37:07 [notice] 101926#0: exiting
2022/09/14 18:37:07 [notice] 101928#0: exiting
2022/09/14 18:37:07 [notice] 101925#0: exiting
2022/09/14 18:37:07 [notice] 101922#0: exiting
2022/09/14 18:37:07 [notice] 101923#0: exiting
2022/09/14 18:37:07 [notice] 101927#0: exiting
2022/09/14 18:37:07 [notice] 101929#0: exiting
2022/09/14 18:37:07 [notice] 101913#0: exit
2022/09/14 18:37:07 [notice] 101920#0: exit
2022/09/14 18:37:07 [notice] 101919#0: exit
2022/09/14 18:37:07 [notice] 101924#0: exiting
2022/09/14 18:37:07 [notice] 101921#0: exiting
2022/09/14 18:37:07 [notice] 101926#0: exit
2022/09/14 18:37:07 [notice] 101928#0: exit
2022/09/14 18:37:07 [notice] 101925#0: exit
2022/09/14 18:37:07 [notice] 101922#0: exit
2022/09/14 18:37:07 [notice] 101923#0: exit
2022/09/14 18:37:07 [notice] 101927#0: exit
2022/09/14 18:37:07 [notice] 101929#0: exit
2022/09/14 18:37:07 [notice] 101924#0: exit
2022/09/14 18:37:07 [notice] 101921#0: exit
2022/09/14 18:37:07 [notice] 101932#0: exiting
2022/09/14 18:37:07 [notice] 101917#0: exit
2022/09/14 18:37:07 [notice] 101915#0: exit
2022/09/14 18:37:07 [notice] 101930#0: exiting
2022/09/14 18:37:07 [notice] 101914#0: exit
2022/09/14 18:37:07 [notice] 101918#0: exit
2022/09/14 18:37:07 [notice] 101916#0: exit
2022/09/14 18:37:07 [notice] 101911#0: exit
2022/09/14 18:37:07 [notice] 101931#0: exiting
2022/09/14 18:37:07 [notice] 101912#0: exit
2022/09/14 18:37:07 [notice] 101910#0: signal 17 (SIGCHLD) received from 101932
2022/09/14 18:37:07 [notice] 101910#0: worker process 101917 exited with code 0
2022/09/14 18:37:07 [notice] 101910#0: worker process 101919 exited with code 0
2022/09/14 18:37:07 [notice] 101910#0: worker process 101921 exited with code 0
2022/09/14 18:37:07 [notice] 101910#0: worker process 101924 exited with code 0
2022/09/14 18:37:07 [notice] 101910#0: worker process 101925 exited with code 0
2022/09/14 18:37:07 [notice] 101910#0: worker process 101926 exited with code 0
2022/09/14 18:37:07 [notice] 101910#0: worker process 101927 exited with code 0
2022/09/14 18:37:07 [notice] 101910#0: worker process 101928 exited with code 0
2022/09/14 18:37:07 [notice] 101910#0: worker process 101929 exited with code 0
2022/09/14 18:37:07 [notice] 101910#0: cache loader process 101932 exited with code 0
2022/09/14 18:37:07 [notice] 101930#0: exit
2022/09/14 18:37:07 [notice] 101910#0: signal 29 (SIGIO) received
2022/09/14 18:37:07 [notice] 101910#0: signal 17 (SIGCHLD) received from 101917
2022/09/14 18:37:07 [notice] 101910#0: worker process 101914 exited with code 0
2022/09/14 18:37:07 [notice] 101910#0: worker process 101915 exited with code 0
2022/09/14 18:37:07 [notice] 101910#0: worker process 101923 exited with code 0
2022/09/14 18:37:07 [notice] 101910#0: cache manager process 101931 exited with code 0
2022/09/14 18:37:07 [notice] 101910#0: worker process 101918 exited with code 0
2022/09/14 18:37:07 [notice] 101910#0: signal 29 (SIGIO) received
2022/09/14 18:37:07 [notice] 101910#0: signal 17 (SIGCHLD) received from 101918
2022/09/14 18:37:07 [notice] 101910#0: worker process 101911 exited with code 0
2022/09/14 18:37:07 [notice] 101910#0: worker process 101912 exited with code 0
2022/09/14 18:37:07 [notice] 101910#0: worker process 101916 exited with code 0
2022/09/14 18:37:07 [notice] 101910#0: worker process 101922 exited with code 0
2022/09/14 18:37:07 [notice] 101910#0: worker process 101930 exited with code 0
2022/09/14 18:37:07 [notice] 101910#0: signal 29 (SIGIO) received
2022/09/14 18:37:07 [notice] 101910#0: signal 17 (SIGCHLD) received from 101922
2022/09/14 18:37:07 [notice] 101910#0: worker process 101920 exited with code 0
2022/09/14 18:37:07 [notice] 101910#0: signal 29 (SIGIO) received
2022/09/14 18:37:07 [notice] 101910#0: signal 17 (SIGCHLD) received from 101913
2022/09/14 18:37:07 [notice] 101910#0: worker process 101913 exited with code 0
2022/09/14 18:37:07 [notice] 101910#0: exit
使用道具 举报 回复 支持 反对
发表于 2022-9-14 18:39:11 | 显示全部楼层
上面是nginx的日志,debug级别,和mysql一样,都是自动后几秒退出
使用道具 举报 回复 支持 反对
发表于 2022-9-14 18:44:50 | 显示全部楼层
宝塔用户_eubkkd 发表于 2022-9-14 18:39
上面是nginx的日志,debug级别,和mysql一样,都是自动后几秒退出

您那边收到执行下面然后截图看下系统内核日志
  1. dmesg |grep nginx
  2. dmesg |grep mysqld
复制代码
使用道具 举报 回复 支持 反对
发表于 2022-9-14 18:46:13 | 显示全部楼层
谢花郎 发表于 2022-9-14 18:44
您那边收到执行下面然后截图看下系统内核日志

[root@localhost subsys]# dmesg |grep nginx
[root@localhost subsys]# dmesg |grep mysqld
[root@localhost subsys]#
[root@localhost subsys]#
使用道具 举报 回复 支持 反对
发表于 2022-9-14 18:48:20 | 显示全部楼层
宝塔用户_eubkkd 发表于 2022-9-14 18:46
[root@localhost subsys]# dmesg |grep nginx
[root@localhost subsys]# dmesg |grep mysqld
[root@local ...

下个Todesk远程工具,然后论坛私信发我远程码。我看下,但是不确保解决。
使用道具 举报 回复 支持 反对
发表于 2022-9-14 18:57:32 | 显示全部楼层
谢花郎 发表于 2022-9-14 18:48
下个Todesk远程工具,然后论坛私信发我远程码。我看下,但是不确保解决。 ...

已私发了,请查收
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

企业版年付运维跟进群

普通问题处理

论坛响应时间:72小时

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

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

紧急问题处理

论坛响应时间:10分钟

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

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

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

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