boot.log
작성자 정보
- 백설왕자 작성
- 작성일
컨텐츠 정보
- 2,120 조회
- 0 추천
- 목록
본문
페도라6을 사용하고 있습니다.
다른 로그는 정상적으로 생기는데 부트로그만 그 로그파일 안에 아무것도 기록이 되지 않고 있습니다.(/var/log/boot.log...)
로그 파일 자체는 생성이 되어있지만 파일 안에 내용이 아무것도 없이 0byte 짜리 파일이 되어있군요.
로그에 관련된 여러부분을 체크하였으나 모두 정상인 것으로 확인되었는데요...대체 왜 부트로그만 이모양인지;
###설정파일들
/etc/syslog.cong
# Log all kernel messages to the console.
# Logging much else clutters up the screen.
#kern.* /dev/console
# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;authpriv.none;cron.none /var/log/messages
# The authpriv file has restricted access.
authpriv.* /var/log/secure
# Log all the mail messages in one place.
mail.* -/var/log/maillog
# Log cron stuff
cron.* /var/log/cron
# Everybody gets emergency messages
*.emerg *
# Save news errors of level crit and higher in a special file.
uucp,news.crit /var/log/spooler
# Save boot messages also to boot.log
local7.* /var/log/boot.log
syslogd 와 klogd 모두 정상 작동중...
[root@xxx log]# ps -ef | grep klogd
root 1712 1 0 Jun13 ? 00:00:00 klogd -x
root 12715 8710 0 11:09 pts/0 00:00:00 grep klogd
[root@xxx log]# ps -ef | grep syslogd
root 1709 1 0 Jun13 ? 00:00:00 syslogd -m 0
root 12718 8710 0 11:09 pts/0 00:00:00 grep syslogd
etc/logrotate.conf
# see "man logrotate" for details
# rotate log files weekly
weekly
# keep 4 weeks worth of backlogs
rotate 4
# create new (empty) log files after rotating old ones
create
# uncomment this if you want your log files compressed
#compress
# RPM packages drop log rotation information into this directory
include /etc/logrotate.d
# no packages own wtmp -- we'll rotate them here
/var/log/wtmp {
monthly
create 0664 root utmp
rotate 1
}
# system-specific logs may be also be configured here.
etc/logratate.d/syslog
/var/log/messages /var/log/secure /var/log/maillog /var/log/spooler /var/log/boot.log /var/log/cron {
sharedscripts
postrotate
/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
endscript
}
--------------- 끝 ----------------------
관련자료
-
이전
-
다음