[질문]messages와 secure의 로그 기록이 남지 않는데.. 어떻게 손을 보아야 하나요??
등록 2002-04-02 15:01:00
조회 4
이름 박현수
안녕하세요..
새로 서버를 맡게 되었는데.. 확인해 보니.. 로그 기록이 남길 않네요..
messages랑 secure에요..
syslogd는 잘 돌아가고 잇으며.. 혹시나 해서 restart를 시켜도 동일하네요..
syslog.conf의 내용입니다.. ##########################################
# 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;news.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, plus log them on another
# machine.
*.emerg *
# Save mail and news errors of level err and higher in a
# special file.
uucp,news.crit /var/log/spooler
# Save boot messages also to boot.log
local7.* /var/log/boot.log
#
# INN
#
news.=crit /var/log/news/news.crit
news.=err /var/log/news/news.err
news.notice /var/log/news/news.notice
#######################################################################
별 이상 없어 보이는데.. 기록이 쌍이지 않네요..
어떻게 하면.. 기록이 쌓일수 있는지요??
꼭 좀 알려주세요..
그럼 수고하세요..
후다닥..
syslog 가 기록하지 않는다면 syslog.conf 의 설정이나 로그 파일 권한이 원인일 수 있습니다. syslog.conf 의 authpriv 항목이 /var/log/secure 로 가는지 확인하고, 파일 권한과 디스크 공간도 보세요. 설정을 바꾼 뒤에는 syslogd 를 재시작하세요.