ovs-vswitchd服务异常停止,分析linux操作系统coredump日志,定位服务异常原因
```bash
[root@centos7 ~]# gdb main core.revalidator633.1362.node-33.domain.tld.1667894272 gcc
Excess command line arguments ignored. (gcc)
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-120.el7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/...
main: No such file or directory.
[New LWP 2962744]
[New LWP 2962745]
[New LWP 2962746]
[New LWP 1368]
[New LWP 74039]
[New LWP 2962714]
[New LWP 2962715]
[New LWP 2962720]
[New LWP 1362]
[New LWP 2962733]
[New LWP 2962725]
[New LWP 2962721]
[New LWP 2962718]
[New LWP 2962729]
[New LWP 2962722]
[New LWP 2962724]
[New LWP 2962723]
[New LWP 2962719]
[New LWP 2962716]
[New LWP 2962751]
[New LWP 2962717]
[New LWP 2962727]
[New LWP 2962726]
[New LWP 2962740]
[New LWP 2962730]
[New LWP 2962739]
[New LWP 2962728]
[New LWP 2962735]
[New LWP 2962731]
[New LWP 2962732]
[New LWP 2962748]
[New LWP 2962750]
[New LWP 2962743]
[New LWP 2962736]
[New LWP 2962738]
[New LWP 2962752]
[New LWP 2962713]
[New LWP 2962734]
[New LWP 2962741]
[New LWP 2962747]
[New LWP 2962749]
[New LWP 2962737]
[New LWP 2962742]
Missing separate debuginfo for the main executable file
Try: yum --enablerepo='debug' install /usr/lib/debug/.build-id/d4/f7649031a04106744820008d4e2a881e940fc0
Core was generated by `ovs-vswitchd unix:/var/run/openvswitch/db.sock -vconsole:emer -vsyslog:err -vfi'.
Program terminated with signal 6, Aborted.
#0 0x00007f9e760ea1d7 in ?? ()
(gdb)
(gdb)
(gdb)
(gdb)
(gdb)
(gdb) where
#0 0x00007f9e760ea1d7 in ?? ()
#1 0x00007f9e760eb8c8 in ?? ()
#2 0x0000000000000020 in ?? ()
#3 0x0000000000000000 in ?? ()
(gdb)
#0 0x00007f9e760ea1d7 in ?? ()
#1 0x00007f9e760eb8c8 in ?? ()
#2 0x0000000000000020 in ?? ()
#3 0x0000000000000000 in ?? ()
(gdb) 0
不应该先直接去查OVS的具体报错吗。。。
你搞openstack,每个组件服务都有其对应的服务日志文件啊,先去看日志,看看具体报错说啥