우분투14 rsyslog 서버 설정

우분투14 rsyslog 서버 설정

1 확인[편집]

root@zetawiki:~# netstat -tnlp | grep rsyslog
root@zetawiki:~# ps -ef | grep rsyslog | grep -v grep
syslog   11005     1  0 13:58 ?        00:00:00 /usr/sbin/rsyslogd -n

2 rsyslog 설정[편집]

root@zetawiki:~# vi /etc/rsyslog.conf
# provides UDP syslog reception
#$ModLoad imudp
#$UDPServerRun 514

# provides TCP syslog reception
#$ModLoad imtcp
#$InputTCPServerRun 514

3 rsyslog 재시작[편집]

root@zetawiki:~# service rsyslog restart
rsyslog stop/waiting
rsyslog start/running, process 19368

4 확인 2[편집]

root@zetawiki:~# netstat -tnlp | grep rsyslog
tcp        0      0 0.0.0.0:514             0.0.0.0:*               LISTEN      19368/rsyslogd  
tcp6       0      0 :::514                  :::*                    LISTEN      19368/rsyslogd

5 같이 보기[편집]

6 참고[편집]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}