首页 > 其他分享 >关于/var/log/demesg的问题

关于/var/log/demesg的问题

时间:2024-01-18 10:44:59浏览次数:16  
标签:10 13 01 log 18 27 failed demesg var

之前centos7中是有这个日志的,/var/log/demesg

8以后(笔者是rocky8)是用journalctl -xb来排查启动日志错误(这个跟dmesg命令的输出并不是一回事,)

过滤错误示例

journalctl -xb|grep -i failed   #其中grep -i是指不指定过滤字符的大小写,例如下面的就会过滤出来Failed而不只是小写的
 1 [root@rocky102 ~]# journalctl -xb|grep -i failed
 2 1月 18 10:01:27 maym kernel: pci 0000:00:15.3: BAR 13: failed to assign [io  size 0x1000]
 3 1月 18 10:01:27 maym kernel: pci 0000:00:15.4: BAR 13: failed to assign [io  size 0x1000]
 4 1月 18 10:01:27 maym kernel: pci 0000:00:15.5: BAR 13: failed to assign [io  size 0x1000]
 5 1月 18 10:01:27 maym kernel: pci 0000:00:15.6: BAR 13: failed to assign [io  size 0x1000]
 6 1月 18 10:01:27 maym kernel: pci 0000:00:15.7: BAR 13: failed to assign [io  size 0x1000]
 7 1月 18 10:01:27 maym kernel: pci 0000:00:16.3: BAR 13: failed to assign [io  size 0x1000]
 8 1月 18 10:01:27 maym kernel: pci 0000:00:16.4: BAR 13: failed to assign [io  size 0x1000]
 9 1月 18 10:01:27 maym kernel: pci 0000:00:16.5: BAR 13: failed to assign [io  size 0x1000]
10 1月 18 10:01:27 maym kernel: pci 0000:00:16.6: BAR 13: failed to assign [io  size 0x1000]
11 1月 18 10:01:27 maym kernel: pci 0000:00:16.7: BAR 13: failed to assign [io  size 0x1000]
12 1月 18 10:01:27 maym kernel: pci 0000:00:17.3: BAR 13: failed to assign [io  size 0x1000]
13 1月 18 10:01:27 maym kernel: pci 0000:00:17.4: BAR 13: failed to assign [io  size 0x1000]
14 1月 18 10:01:27 maym kernel: pci 0000:00:17.5: BAR 13: failed to assign [io  size 0x1000]
15 1月 18 10:01:27 maym kernel: pci 0000:00:17.6: BAR 13: failed to assign [io  size 0x1000]
16 1月 18 10:01:27 maym kernel: pci 0000:00:17.7: BAR 13: failed to assign [io  size 0x1000]
17 1月 18 10:01:27 maym kernel: pci 0000:00:18.2: BAR 13: failed to assign [io  size 0x1000]
18 1月 18 10:01:27 maym kernel: pci 0000:00:18.3: BAR 13: failed to assign [io  size 0x1000]
19 1月 18 10:01:27 maym kernel: pci 0000:00:18.4: BAR 13: failed to assign [io  size 0x1000]
20 1月 18 10:01:27 maym kernel: pci 0000:00:18.5: BAR 13: failed to assign [io  size 0x1000]
21 1月 18 10:01:27 maym kernel: pci 0000:00:18.6: BAR 13: failed to assign [io  size 0x1000]
22 1月 18 10:01:27 maym kernel: pci 0000:00:18.7: BAR 13: failed to assign [io  size 0x1000]
23 1月 18 10:01:27 maym kernel: pci 0000:00:18.7: BAR 13: failed to assign [io  size 0x1000]
24 1月 18 10:01:27 maym kernel: pci 0000:00:18.6: BAR 13: failed to assign [io  size 0x1000]
25 1月 18 10:01:27 maym kernel: pci 0000:00:18.5: BAR 13: failed to assign [io  size 0x1000]
26 1月 18 10:01:27 maym kernel: pci 0000:00:18.4: BAR 13: failed to assign [io  size 0x1000]
27 1月 18 10:01:27 maym kernel: pci 0000:00:18.3: BAR 13: failed to assign [io  size 0x1000]
28 1月 18 10:01:27 maym kernel: pci 0000:00:18.2: BAR 13: failed to assign [io  size 0x1000]
29 1月 18 10:01:27 maym kernel: pci 0000:00:17.7: BAR 13: failed to assign [io  size 0x1000]
30 1月 18 10:01:27 maym kernel: pci 0000:00:17.6: BAR 13: failed to assign [io  size 0x1000]
31 1月 18 10:01:27 maym kernel: pci 0000:00:17.5: BAR 13: failed to assign [io  size 0x1000]
32 1月 18 10:01:27 maym kernel: pci 0000:00:17.4: BAR 13: failed to assign [io  size 0x1000]
33 1月 18 10:01:27 maym kernel: pci 0000:00:17.3: BAR 13: failed to assign [io  size 0x1000]
34 1月 18 10:01:27 maym kernel: pci 0000:00:16.7: BAR 13: failed to assign [io  size 0x1000]
35 1月 18 10:01:27 maym kernel: pci 0000:00:16.6: BAR 13: failed to assign [io  size 0x1000]
36 1月 18 10:01:27 maym kernel: pci 0000:00:16.5: BAR 13: failed to assign [io  size 0x1000]
37 1月 18 10:01:27 maym kernel: pci 0000:00:16.4: BAR 13: failed to assign [io  size 0x1000]
38 1月 18 10:01:27 maym kernel: pci 0000:00:16.3: BAR 13: failed to assign [io  size 0x1000]
39 1月 18 10:01:27 maym kernel: pci 0000:00:15.7: BAR 13: failed to assign [io  size 0x1000]
40 1月 18 10:01:27 maym kernel: pci 0000:00:15.6: BAR 13: failed to assign [io  size 0x1000]
41 1月 18 10:01:27 maym kernel: pci 0000:00:15.5: BAR 13: failed to assign [io  size 0x1000]
42 1月 18 10:01:27 maym kernel: pci 0000:00:15.4: BAR 13: failed to assign [io  size 0x1000]
43 1月 18 10:01:27 maym kernel: pci 0000:00:15.3: BAR 13: failed to assign [io  size 0x1000]
44 1月 18 10:01:34 rocky102 systemd[1]: media.mount: Failed with result 'exit-code'.
45 -- Subject: Unit failed
46 -- The unit media.mount has entered the 'failed' state with result 'exit-code'.
47 1月 18 10:01:34 rocky102 systemd[1]: Failed to mount /media.
48 -- 结果为“failed”。
49 1月 18 10:01:40 rocky102 dbus-daemon[843]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.resolve1.service': Unit dbus-org.freedesktop.resolve1.service not found.
journalctl -xb|grep -i error
journalctl -xb|grep -i warning

标签:10,13,01,log,18,27,failed,demesg,var
From: https://www.cnblogs.com/maym/p/17972005

相关文章

  • 第三届世界华人计算生物学大会 The 3rd Worldwide Chinese Computational Biology Con
    第三届世界华人计算生物学大会发布:2020年08月03日11:58浏览:52次【转】The3rdWorldwideChineseComputationalBiologyConference 时间:2020年8月3日-8月6日线上会议&实时直播:https://www.koushare.com/live/liveroom?islive=0&lid=394&roomid=132792会议官网:https://q......
  • android下progressBarDialog
    实现Android下ProgressBarDialog作为一名经验丰富的开发者,我很乐意教会你如何实现Android下的ProgressBarDialog。在本文中,我将分为以下几个步骤来详细介绍这个过程:确定需求创建ProgressBarDialog设置ProgressBar样式和属性显示和隐藏ProgressBarDialog接下来,让我们逐步进......
  • Hologres V2.1版本发布,新增计算组实例构建高可用实时数仓
    Highlight产品介绍Hologres是阿里云自研一站式实时数仓,统一数据平台架构,将OLAP查询、即席分析、在线服务、向量计算多个数据应用构建在统一存储之上,实现一份数据,多种计算场景。V2.1版本简介新增弹性计算组实例,解决实时数仓场景下分析性能、资源隔离、高可用、弹性扩缩容等核心问......
  • zblog文章采集发布插件-免费下载
    推荐一款可以自动采集网页文章,并发布到zblog系统网站的zblog采集发布插件,支持简数采集器,火车头数据采集器,八爪鱼文章采集器,后羿采集器等...... zblog采集发布插件使用教程如下: 1.安装zblog文章采集发布插件1-1)zblog文章采集发布插件免费下载地址:Zblog文章采集发布插件1-2)将......
  • python pyqt6 颜色弹窗 QColorDialog
     defsetColor(self):#避免窗口置顶后,Dialog被主窗口覆盖,所以需要传递self#设定默认颜色使用getColor的第一个参数(使用setCurrentColor不生效)#"选择颜色"为Dialog弹窗的标题#设定QColorDialog.ColorDialogOption.ShowAlphaChanne......
  • 在 SAP Web IDE 个人版中根据模板创建项目时,选择 OData 服务时出现catalog service is
     1.NOTE2684697 ,重点是点2点5的问题 2.去掉CatalogServiceVersion2的系统别名(包括LOCAL)翻阅其他博客,有人说是因为系统别名,我给去掉了。 ......
  • 网络-华为、思科交换机配置TFTP自动备份、NTP时间同步、SYSLOG日志同步功能
    前言如今园区中交换机越来越多,传统的查看日志的方式是远程到交换机在命令行中查看,但是logbuffer中保存的容量有限,也不方便查询,耗费运维人员大量的经理,不好集中管理,syslog就为解决此问题,可以搭建一台syslog服务器(我使用群辉自带的功能),将日志集中收集起来。同样的交换机的配置也......
  • FlashDuty Changelog 2023-12-18 | 值班管理、服务日历、自定义操作和邮件集成
    FlashDuty:一站式告警响应平台,前往此地址免费体验!值班管理UI交互优化【个人日程】从头像下拉菜单调整到值班列表页面,快速查看个人值班日程【值班列表】支持原地预览最近一周值班情况,包括当前和下一阶段值班人【值班详情】支持日历模式与时间线模式切换,查看月度计划更方便......
  • SpringBoot项目从0到1配置logback日志打印
    转载自:SpringBoot项目从0到1配置logback日志打印,作者sum墨一、写文背景我们在写后端项目的时候,日志打印是必需的。支持SpringBoot项目的日志框架一般有log4j、logback,这二者各有优劣,这里就不展开对比了。我们项目中常用的是logback框架,该框架主要是一个logback-spring.xml配置......
  • Redis - HyperLogLog
           ......