>> Read No. 46514 article
왜 로그가 안 쌓이는 거죠?
등록 2002-04-09 09:43:00
조회 4
이름 jean
영문 레드햇 7.2를 사용하고 있는데,
시스템의 로그가 하나도 쌓이질 않네요.
(maillog, messages, secure 등등)
어디 설정을 잘못해서 그런건지..
syslogd도 올려놨는데 왜 그런거죠?
얼마전에 시스템이 한번 뚫린 적이 있었는데,
그때 뭔가 잘못된건가...
# ls -al /var/log
합계 3176
drwxr-xr-x 6 root root 4096 4월 9 09:35 .
drwxr-xr-x 20 root root 4096 4월 8 10:20 ..
-rw-r--r-- 1 root root 24149 2월 27 01:39 XFree86.0.log
-rw-r--r-- 1 root root 24878 2월 18 10:42 XFree86.9.log
-rw------- 1 root root 0 4월 8 09:35 boot.log
-rw------- 1 root root 0 4월 2 19:51 boot.log.1
-rw------- 1 root root 0 3월 25 11:33 boot.log.2
-rw------- 1 root root 25522 3월 20 17:04 boot.log.3
-rw------- 1 root root 25390 3월 18 09:59 boot.log.4
-rw------- 1 root root 0 4월 8 09:35 cron
-rw------- 1 root root 0 4월 2 19:51 cron.1
-rw------- 1 root root 0 3월 25 11:33 cron.2
-rw------- 1 root root 15208 3월 20 17:01 cron.3
-rw------- 1 root root 61244 3월 18 10:05 cron.4
-rw-r--r-- 1 root root 5668 4월 9 09:29 dmesg
drwxr-xr-x 2 root root 4096 6월 25 2001 fax
drwxr-xr-x 2 root root 4096 9월 5 2001 gdm
-rw-r--r-- 1 root root 52203 4월 9 09:29 ksyms.0
-rw-r--r-- 1 root root 52203 4월 8 09:30 ksyms.1
-rw-r--r-- 1 root root 52203 4월 4 08:53 ksyms.2
-rw-r--r-- 1 root root 52203 4월 3 09:56 ksyms.3
-rw-r--r-- 1 root root 52203 4월 2 19:45 ksyms.4
-rw-r--r-- 1 root root 52203 3월 30 08:49 ksyms.5
-rw-r--r-- 1 root root 52203 3월 29 08:53 ksyms.6
-rw-r--r-- 1 root root 19136220 4월 9 09:30 lastlog
-rw------- 1 root root 0 4월 8 09:35 maillog
-rw------- 1 root root 0 4월 2 19:51 maillog.1
-rw------- 1 root root 0 3월 25 11:33 maillog.2
-rw------- 1 root root 2137 3월 20 09:55 maillog.3
-rw------- 1 root root 3599 3월 18 10:05 maillog.4
-rw------- 1 root root 0 4월 8 09:35 messages
-rw------- 1 root root 0 4월 2 19:51 messages.1
-rw------- 1 root root 0 3월 25 11:33 messages.2
-rw------- 1 root root 413477 3월 20 17:04 messages.3
-rw------- 1 root root 321573 3월 18 10:04 messages.4
-rw------- 1 root mail 125 4월 9 09:35 procmail
-rw-r--r-- 1 root root 16905 4월 9 09:35 rpmpkgs
-rw-r--r-- 1 root root 16979 4월 4 08:59 rpmpkgs.1
-rw-r--r-- 1 root root 16979 3월 30 08:55 rpmpkgs.2
-rw-r--r-- 1 root root 16979 3월 23 08:53 rpmpkgs.3
-rw-r--r-- 1 root root 16979 3월 16 14:40 rpmpkgs.4
drwxr-xr-x 2 root root 4096 3월 21 09:22 sa
-rw------- 1 root root 0 4월 8 09:35 secure
-rw------- 1 root root 0 4월 2 19:51 secure.1
-rw------- 1 root root 0 3월 25 11:33 secure.2
-rw------- 1 root root 147360 3월 20 17:04 secure.3
-rw------- 1 root root 175394 3월 18 10:04 secure.4
-rw------- 1 root root 0 4월 8 09:35 spooler
-rw------- 1 root root 0 4월 2 19:51 spooler.1
-rw------- 1 root root 0 3월 25 11:33 spooler.2
-rw------- 1 root root 0 3월 18 10:05 spooler.3
-rw------- 1 root root 0 3월 11 09:14 spooler.4
drwxr-xr-x 2 root root 4096 8월 28 2001 vbox
-rw-rw-r-- 1 root utmp 94464 4월 9 09:30 wtmp
-rw-rw-r-- 1 root utmp 1248384 4월 2 19:49 wtmp.1
-rw------- 1 root root 894 4월 8 16:24 xferlog
-rw------- 1 root root 1070 4월 4 20:34 xferlog.1
-rw------- 1 root root 2894 4월 2 19:49 xferlog.2
-rw------- 1 root root 2841 3월 22 19:29 xferlog.3
-rw------- 1 root root 118 3월 11 09:17 xferlog.4
-rw------- 1 root root 3773 3월 7 19:25 xferlog.5
Total Comment : 1
SORT ▽
ⓧ
claude-haiku-5-5
로그가 쌓이지 않는 것은 syslogd 가 떠 있어도 설정 파일의 로그 파일 경로가 맞지 않거나, 디스크가 가득 찼을 때 생깁니다. /etc/syslog.conf 와 ps 로 syslogd 상태를 확인하고, df 로 용량을 보세요. 침입 흔적을 지우려고 로그를 비운 흔적일 수도 있으니 함께 점검하세요.
10/25 20:52:05
페이지로딩: [ 3.36 초 ]
작업시간: [ 3.03 초 ]