centos 7.4的系统,一运行安装脚本系统就重新启动

kavid 2018-8-26 963

INSTALL_AGENT=1 INSTALL_APPS=sitemgr INIT_SWAPFILE=1 INSTALL_PKGS='nginx-stable,php72,mysql57' bash -c "$(curl -sS http://dl.appnode.com/install.sh)"


请问如何解决或者查询什么日志的。你要是方便的话,我可以告诉你ssh的登陆用户名密码,登陆到服务器上查看问题。

[root@localhost ~]# bash -c "$(curl http://dl.appnode.com/install.sh)"
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   176  100   176    0     0   1785      0 --:--:-- --:--:-- --:--:--  1795
#                                                                          1.5%

Connection closed.


[root@localhost ~]# wget -qO- bench.sh | bash
----------------------------------------------------------------------
CPU model            : Intel(R) Core(TM) i5-2300 CPU @ 2.80GHz
Number of cores      : 4
CPU frequency        : 1599.937 MHz
Total size of Disk   : 458.0 GB (1.7 GB Used)
Total amount of Mem  : 7547 MB (185 MB Used)
Total amount of Swap : 7807 MB (0 MB Used)
System uptime        : 0 days, 0 hour 39 min
Load average         : 0.00, 0.01, 0.05
OS                   : CentOS 7.4.1708
Arch                 : x86_64 (64 Bit)
Kernel               : 3.10.0-693.el7.x86_64
----------------------------------------------------------------------
最新回复 (8)
  • kavid 2018-8-27
    引用 2
    服务器登陆信息,已经在qq上和你私聊了,方便的时候看一下吧
  • 虚竹 2018-8-27
    引用 3
    安装程序中并没有重启命令。

    因此,应该是系统问题导致的。建议查看下 /var/log/message。
  • kavid 2018-8-27
    引用 4
    **Aug 26 22:38:08 localhost kernel: Call Trace:
    Aug 26 22:38:08 localhost kernel: <IRQ>  [<ffffffff816a3d91>] dump_stack+0x19/0x1b
    Aug 26 22:38:08 localhost kernel: [<ffffffff810879c8>] __warn+0xd8/0x100
    Aug 26 22:38:08 localhost kernel: [<ffffffff81097316>] call_timer_fn+0x36/0x110
    Aug 26 22:38:08 localhost kernel: [<ffffffff8109982d>] run_timer_softirq+0x22d/0x310
    Aug 26 22:38:08 localhost kernel: [<ffffffff81090b3f>] __do_softirq+0xef/0x280
    Aug 26 22:38:08 localhost kernel: [<ffffffff81090ec5>] irq_exit+0x105/0x110
    Aug 26 22:38:08 localhost kernel: [<ffffffff815279f8>] ? cpuidle_enter_state+0x48/0xc0
    Aug 26 22:38:08 localhost kernel: [<ffffffff81527b48>] cpuidle_idle_call+0xd8/0x210
    Aug 26 22:38:08 localhost kernel: [<ffffffff81034fee>] arch_cpu_idle+0xe/0x30
    Aug 26 22:38:08 localhost kernel: [<ffffffff810e7bca>] cpu_startup_entry+0x14a/0x1c0
    Aug 26 22:38:08 localhost kernel: [<ffffffff81692c57>] rest_init+0x77/0x80
    Aug 26 22:38:08 localhost kernel: [<ffffffff81b45060>] start_kernel+0x439/0x45a
    Aug 26 22:38:08 localhost kernel: [<ffffffff81b44a30>] ? repair_env_string+0x5c/0x5c
    Aug 26 22:38:08 localhost kernel: [<ffffffff81b44740>] x86_64_start_kernel+0x14f/0x172
    Aug 26 22:38:08 localhost kernel: ---[ end trace e4f26523786ba99f ]---**
    Aug 26 22:38:08 localhost kernel: r8169 0000:04:00.0 enp4s0: link up
    Aug 26 22:38:09 localhost sh: abrt-dump-oops: Found oopses: 1
    Aug 26 22:38:10 localhost abrt-server: Looking for kernel package
    Aug 26 22:38:10 localhost abrt-server: Kernel package kernel-3.10.0-693.el7.x86_64 found
    Aug 26 22:38:10 localhost abrt-dump-oops: Reported 1 kernel oopses to Abrt
    Aug 26 22:38:11 localhost abrt-server: 发送电子邮件......
    Aug 26 22:38:11 localhost abrt-server: 向 root@localhost 发送通知邮件
    Aug 26 22:38:11 localhost abrt-server: 已发送电子邮件至:root@localhost
    Aug 26 22:38:20 localhost kernel: r8169 0000:04:00.0 enp4s0: link up
    Aug 26 22:38:32 localhost kernel: r8169 0000:04:00.0 enp4s0: link up
    Aug 26 22:38:40 localhost systemd-logind: Removed session 8.
    Aug 26 22:38:50 localhost kernel: r8169 0000:04:00.0 enp4s0: link up
    Aug 26 22:39:08 localhost systemd-logind: New session 9 of user root.
    Aug 26 22:39:08 localhost systemd: Started Session 9 of user root.
    Aug 26 22:39:08 localhost systemd: Starting Session 9 of user root.
    Aug 26 22:38:08 localhost kernel: [<ffffffff81b44a30>] ? repair_env_string+0x5c/0x5c
    Aug 26 22:38:08 localhost kernel: [<ffffffff81b44740>] x86_64_start_kernel+0x14f/0x172
    Aug 26 22:38:08 localhost kernel: ---[ end trace e4f26523786ba99f ]---
    Aug 26 22:38:08 localhost kernel: r8169 0000:04:00.0 enp4s0: link up
    Aug 26 22:38:09 localhost sh: abrt-dump-oops: Found oopses: 1
    Aug 26 22:38:10 localhost abrt-server: Looking for kernel package
    Aug 26 22:38:10 localhost abrt-server: Kernel package kernel-3.10.0-693.el7.x86_64 found
    Aug 26 22:38:10 localhost abrt-dump-oops: Reported 1 kernel oopses to Abrt
    Aug 26 22:38:11 localhost abrt-server: 发送电子邮件......
    Aug 26 22:38:11 localhost abrt-server: 向 root@localhost 发送通知邮件
    Aug 26 22:38:11 localhost abrt-server: 已发送电子邮件至:root@localhost
    Aug 26 22:38:20 localhost kernel: r8169 0000:04:00.0 enp4s0: link up
    Aug 26 22:38:32 localhost kernel: r8169 0000:04:00.0 enp4s0: link up
    Aug 26 22:38:40 localhost systemd-logind: Removed session 8.
    Aug 26 22:38:50 localhost kernel: r8169 0000:04:00.0 enp4s0: link up
    Aug 26 22:39:08 localhost systemd-logind: New session 9 of user root.
    Aug 26 22:39:08 localhost systemd: Started Session 9 of user root.
    Aug 26 22:39:08 localhost systemd: Starting Session 9 of user root.
  • 虚竹 2018-8-27
    引用 5
    内核挂了,联系服务商看看吧,原因不确定。
  • kavid 2018-8-27
    引用 6
    好的,估计他们的技术实力很难解决了

    我看看他们更换一下centos的系统版本看看吧。
  • 虚竹 2018-8-27
    引用 7
    或者你升级下内核试试。
  • kavid 2018-8-27
    引用 8
    嗯,正在测试,升级到7.5的看看呢
  • kavid 2018-8-27
    引用 9
    果然可以了,能够安装了
返回
发新帖