syslog 6

[syslog] kernel: NOHZ: local_softirq_pending 100

1. 에러 메시지: kernel: NOHZ: local_softirq_pending 100 2. 원인: - 시스템이 어떤 소프트웨어 interrupt 를 처리하는 대신 CPU 를 sleep 상태로 만드는 것 - 메시지 마지막의 숫자는 hexadecimal 로 표현되며, ‘100’ 은 HRTIMER_SOFTIRQ 를 의미 - HRTIMER_SOFTIRQ 는 High Resolution Timer(HRT) 에 대한 소프트웨어 interrupt(HRT에 대한 상세정보는 아래 참조 URL 참고) - 커널 버전 2.6.22 이후부터 add 된 debug 메시지 3. 조치 방안: - /etc/grub.conf 파일에 nohz=off 옵션을 설정하여 disable 가능(단, 커널 버전 2.6.32-431.el6 보다..

[syslog] JBD: barrier-based sync failed on xvda1-8 - disabling barriers

1. 에러 메시지: JBD: barrier-based sync failed on xvda1-8 - disabling barriers 2. 원인: - RedHat 이나 CentOS 등의 Linux 계열에서는 journaling 파일시스템을 사용하는데, 이 journaling 파일시스템 중 ext4 파일시스템에는 기본적으로 Write Barrier 라는 커널 매커니즘이 enable 되어 있음(barrier=1) - ext3 파일시스템은 Write Barrier 기능을 사용 가능하나, 기본 disable 되어 있어 위와 같은 메시지가 발생하지 않음 - Write Barrier 는 파일시스템의 메타데이터가 올바르게 기록되고 디스크에 제대로(심지어 디스크 전원이 나갈 지라도) 반영되게 하기 위한 커널 매커니즘 -..

[syslog] daemon[PID]: warning: can't get client address: Connection reset by peer

1. 에러 메시지: daemon[PID]: warning: can't get client address: Connection reset by peer 2. 원인: - C/S 구조에서의 TCP 통신은 기본적으로 3-way handshake 방식을 통해 서로 세션을 연결하게 되는데, SYN/ACK 시퀀스가 Connection 이 완료되기 전에 torn down(해체) 되어 daemon 이 source system 을 확인할 수 없을 때 발생 - unauthorized user 가 daemon 을 통해 해당 시스템에 접근하려 했다가 정상적인 절차로 Connection 이 맺어지기 전에 세션이 terminate 되면 발생 - 서버에서 취약점 확인을 위한 스캔 시 발생 3. 조치 방안: - 단순 경고성 메시지이므..

[syslog] ntpd[pid]: frequency error 510 PPM exceeds tolerance 500 PPM

1. 에러 메시지:ntpd[pid]: frequency error 510 PPM exceeds tolerance 500 PPM 2. 원인 & 상세 설명:- CloudStack XEN 가상화 환경에서 기본적으로 DomU(Guest VM) 에서의 clock 은 Dom0(Control Domain 또는 cnode) 의 clock 에 동기화되도록 설정되어 있음- 하지만, xen.independent_wallclock 값이 ‘0’으로 설정되어 있으면 Dom0 에 독립적으로 clock 이 동작 0 = The clock will NOT be sync with the host. 1 = The clock will be sync with the host. - 독립적으로 clock 이 동작하려는 상황에서 ntp 데몬을 통해..

[syslog] program xxx is using a deprecated SCSI ioctl, please convert it to SG_IO

1. 에러 메시지:program xxx is using a deprecated SCSI ioctl, please convert it to SG_IO 2. 원인: - 커널 2.6 버전에서 SCSI generic (sg) 드라이버를 사용하여 device에 SCSI command 를 보낼 때 로깅 3. 상세 설명:- The SG_IO ioctl permits user applications to send SCSI commands to a device. In the linux 2.4 series this ioctl was only available via the SCSI generic (sg) driver. In the linux 2.6 series the SG_IO ioctl is additionally av..