linux日志messages日志缺失,messages 日志里面大量的fcoemon错误

这篇博客介绍了如何处理tail-f/var/log/messages中频繁出现的fcoemon连接失败错误,错误代码111表示连接被拒绝。解决方案包括检查fcoemon是否必要,如果不需要则通过yum remove命令卸载fcoe-utils。如果fcoemon是必需的,则可能是因为LLDPAD服务未启动,可以使用service lldpad start来启动服务。

tail -f /var/log/messages 日志里面大量的fcoemon错误

Dec 11 14:50:04 ctohome.com fcoemon: error 111 Connection refused

Dec 11 14:50:04 ctohome.com fcoemon: Failed to connect to lldpad

Dec 11 14:50:14 ctohome.com fcoemon: error 111 Connection refused

Dec 11 14:50:14 ctohome.com fcoemon: Failed to connect to lldpad

怎么处理? 首先确定 fcoemon 是否有用到,如果没有用到它,直接删除最省事

-bash-4.1# yum remove fcoe-utils.x86_64

Loaded plugins: fastestmirror, presto

Setting up Remove Process

Resolving Dependencies

--> Running transaction check

---> Package fcoe-utils.x86_64 0:1.0.22-3.el6 will be erased

--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================

Package                       Arch                      Version                           Repository                                                   Size

=============================================================================================================================================================

Removing:

fcoe-utils                    x86_64                    1.0.22-3.el6                      @anaconda-CentOS-201207061011.x86_64/6.3                    216 k

Transaction Summary

=============================================================================================================================================================

Remove        1 Package(s)

Installed size: 216 k

Is this ok [y/N]: y

Downloading Packages:

Running rpm_check_debug

Running Transaction Test

Transaction Test Succeeded

Running Transaction

Warning: RPMDB altered outside of yum.

Erasing    : fcoe-utils-1.0.22-3.el6.x86_64                                                                                                            1/1

Verifying  : fcoe-utils-1.0.22-3.el6.x86_64                                                                                                            1/1

Removed:

fcoe-utils.x86_64 0:1.0.22-3.el6

Complete!

如果有用到fcoe,那应该是LLDPAD没启动。-bash-4.1# service lldpad start

Starting lldpad: [  OK  ]

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值