syslog 떨어 뜨리는 방법

2010.05.11 10:52

조인상 조회 수:19143

원문 : http://www.ischo.net -- 조인상 // 시스템 엔지니어

Writer : http://www.ischo.net -- ischo // System Engineer in Replubic Of Korea

+++++++++++++++++++++++++++++++++++++++++++++++++++++++

 

본문 : http://www.ischo.net -- 조인상 //시스템 엔지니어

+++++++++++++++++++++++++++++++++++++++++++++++++++++++


vi /etc/syslog.conf
# example:
# "mail messages, at debug or higher, go to Log file. File must exist."
# "all facilities, at debug and higher, go to console"
# "all facilities, at crit or higher, go to all users"
#  mail.debug          /usr/spool/mqueue/syslog
#  *.debug              /dev/console
#  *.crit                      *
#  *.debug              /tmp/syslog.out    rotate size 100k files 4
#  *.crit              /tmp/syslog.out    rotate time 1d
*.warning      /var/spool/syslog
[root@p615 /var/spool]# touch /var/spool/syslog
[root@p615 /var/spool]# chmod 666 /var/spool/syslog
[root@p615 /var/spool]# refresh -s syslogd
0513-095 The request for subsystem refresh was completed successfully.

데몬 재시작
stopsrc -s syslogd
startsrc -s syslogd
서버에 요청 중입니다. 잠시만 기다려 주십시오...