博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
logrotate异常排查
阅读量:6045 次
发布时间:2019-06-20

本文共 5414 字,大约阅读时间需要 18 分钟。

[root@dev240 logrotate.d]# /usr/sbin/logrotate -v /etc/logrotate.confreading config file /etc/logrotate.confincluding /etc/logrotate.dreading config file chronyreading config file cupsreading config file glusterfsreading config file httpdreading config file iptraf-ngreading config file iscsiuiologreading config file nginxproxylogreading config file numadreading config file pppreading config file psacctreading config file sambaolddir is now /var/log/samba/oldreading config file syslogreading config file td-agentreading config file wpa_supplicantreading config file yumHandling 18 logsrotating pattern: /var/log/chrony/*.log  weekly (4 rotations)empty log files are rotated, old logs are removedconsidering log /var/log/chrony/*.log  log /var/log/chrony/*.log does not exist -- skippingnot running postrotate script, since no logs were rotatedrotating pattern: /var/log/cups/*_log  weekly (4 rotations)empty log files are not rotated, old logs are removedconsidering log /var/log/cups/access_log  log does not need rotatingconsidering log /var/log/cups/error_log  log does not need rotatingconsidering log /var/log/cups/page_log  log does not need rotatingrotating pattern: /var/log/glusterfs/*.log  weekly (52 rotations)empty log files are not rotated, old logs are removedconsidering log /var/log/glusterfs/*.log  log /var/log/glusterfs/*.log does not exist -- skippingnot running postrotate script, since no logs were rotatedrotating pattern: /var/log/glusterfs/bricks/*.log  weekly (52 rotations)empty log files are not rotated, old logs are removedNo logs found. Rotation not needed.rotating pattern: /var/log/httpd/*log  weekly (4 rotations)empty log files are not rotated, old logs are removedconsidering log /var/log/httpd/*log  log /var/log/httpd/*log does not exist -- skippingnot running postrotate script, since no logs were rotatedrotating pattern: /var/log/iptraf-ng/*.log  weekly (4 rotations)empty log files are not rotated, old logs are removedconsidering log /var/log/iptraf-ng/*.log  log /var/log/iptraf-ng/*.log does not exist -- skippingrotating pattern: /var/log/iscsiuio.log  weekly (4 rotations)empty log files are not rotated, old logs are removedconsidering log /var/log/iscsiuio.log  log /var/log/iscsiuio.log does not exist -- skippingnot running postrotate script, since no logs were rotatedrotating pattern: /usr/local/fountain/3rdparty/nginx/logs/*log  1048576 bytes (5 rotations)empty log files are not rotated, old logs are removedconsidering log /usr/local/fountain/3rdparty/nginx/logs/error.log  log needs rotatingconsidering log /usr/local/fountain/3rdparty/nginx/logs/tcp-access.log  log needs rotatingrotating log /usr/local/fountain/3rdparty/nginx/logs/error.log, log->rotateCount is 5dateext suffix '-20180409'glob pattern '-[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]'destination /usr/local/fountain/3rdparty/nginx/logs/error.log-20180409 already exists, skipping rotationrotating log /usr/local/fountain/3rdparty/nginx/logs/tcp-access.log, log->rotateCount is 5dateext suffix '-20180409'glob pattern '-[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]'glob finding old rotated logs failedrotating pattern: /var/log/numad.log  1048576 bytes (5 rotations)empty log files are rotated, old logs are removedconsidering log /var/log/numad.log  log /var/log/numad.log does not exist -- skippingrotating pattern: /var/log/ppp/connect-errors  after 1 days (5 rotations)empty log files are not rotated, old logs are removedconsidering log /var/log/ppp/connect-errors  log /var/log/ppp/connect-errors does not exist -- skippingrotating pattern: /var/account/pacct  after 1 days (31 rotations)empty log files are not rotated, old logs are removedconsidering log /var/account/pacct  log does not need rotatingrotating pattern: /var/log/samba/*  weekly (4 rotations)olddir is /var/log/samba/old, empty log files are not rotated, old logs are removedNo logs found. Rotation not needed.rotating pattern: /var/log/cron/var/log/maillog/var/log/messages/var/log/secure/var/log/spooler weekly (4 rotations)empty log files are rotated, old logs are removedconsidering log /var/log/cron  log does not need rotatingconsidering log /var/log/maillog  log does not need rotatingconsidering log /var/log/messages  log does not need rotatingconsidering log /var/log/secure  log does not need rotatingconsidering log /var/log/spooler  log does not need rotatingnot running postrotate script, since no logs were rotatedrotating pattern: /var/log/td-agent/td-agent.log  after 1 days (30 rotations)empty log files are not rotated, old logs are removedconsidering log /var/log/td-agent/td-agent.log  log does not need rotatingnot running postrotate script, since no logs were rotatedrotating pattern: /var/log/wpa_supplicant.log  30720 bytes (4 rotations)empty log files are not rotated, old logs are removedconsidering log /var/log/wpa_supplicant.log  log does not need rotatingrotating pattern: /var/log/yum.log  yearly (4 rotations)empty log files are not rotated, old logs are removedconsidering log /var/log/yum.log  log does not need rotatingrotating pattern: /var/log/wtmp  monthly (1 rotations)empty log files are rotated, only log files >= 1048576 bytes are rotated, old logs are removedconsidering log /var/log/wtmp  log does not need rotatingrotating pattern: /var/log/btmp  monthly (1 rotations)empty log files are rotated, old logs are removedconsidering log /var/log/btmp  log does not need rotating

 

转载地址:http://bpnex.baihongyu.com/

你可能感兴趣的文章
innobackupex 在增量的基础上增量备份
查看>>
Windows Server 2012 R2 DirectAccess功能测试(2)App1服务器安装及配置
查看>>
基于清单的启动器的实现
查看>>
外网用户通过citrix打印慢的解决方法
查看>>
STL容器的使用
查看>>
关于std::map
查看>>
JXL导出Excel文件兼容性问题
查看>>
VBoot1.0发布,Vue & SpringBoot 综合开发入门
查看>>
centos7 安装wps 后 演示无法启动
查看>>
git简单命令
查看>>
LAMP编译部署
查看>>
XenDesktop7.6安装部署入门教程
查看>>
HashMap的工作原理及HashMap和Hashtable的区别
查看>>
GregorianCalendar日历程序
查看>>
Sublime 中运行 Shell 、Python、Lua、Groovy...等各种脚本
查看>>
【Java集合源码剖析】ArrayList源码剖析
查看>>
linux的目录结构
查看>>
这次逻辑通了,
查看>>
HTMLHelper
查看>>
快速构建Windows 8风格应用29-捕获图片与视频
查看>>