[rsyslog] ๋‹ค์‹œ ๋งŒ๋‚œ rsyslogd: action 'action-2-builtin:omfile' resumed (module 'builtin:omfile')
ยท
๐Ÿง‘‍๐Ÿ’ป Develop
https://bnmy6581.tistory.com/311 [rsyslog] imklog: cannot open kernel log, ERROR (Syntax error, this crontab file will be ignored), Operation not permitted. syslog ๋ณด๋‹ค ๋” ๋งŽ์€ ๊ธฐ๋Šฅ์„ ์ œ๊ณตํ•˜๋Š” rsyslog ๋กœ๊ทธ ๊ด€๋ฆฌ ํ”„๋กœ๊ทธ๋žจ์„ docker๋กœ ๋นŒ๋“œํ•ด root ํ™˜๊ฒฝ์—์„œ ์‚ฌ์šฉํ•  ๋•Œ ๊ฒช๋Š” ์—๋Ÿฌ๋ฅผ ์•Œ์•„๋ณด์ž. 1) rsyslogd: imklog: cannot open kernel log (/proc/kmsg): Operation not permitted. imkl bnmy6581.tistory.com ์œ„์— ์ •๋ฆฌํ•œ ERROR์˜ ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•์„ ์ ์—ˆ์Œ์—๋„ ๋‹ค๋ฅธ ERROR๋กœ ์˜ค์ธํ•ด ํ•œ์ฐธ์„ ์ฐพ์•˜..
[rsyslog] imklog: cannot open kernel log, ERROR (Syntax error, this crontab file will be ignored), Operation not permitted.
ยท
๐Ÿง‘‍๐Ÿ’ป Develop
syslog ๋ณด๋‹ค ๋” ๋งŽ์€ ๊ธฐ๋Šฅ์„ ์ œ๊ณตํ•˜๋Š” rsyslog ๋กœ๊ทธ ๊ด€๋ฆฌ ํ”„๋กœ๊ทธ๋žจ์„ docker๋กœ ๋นŒ๋“œํ•ด root ํ™˜๊ฒฝ์—์„œ ์‚ฌ์šฉํ•  ๋•Œ ๊ฒช๋Š” ์—๋Ÿฌ๋ฅผ ์•Œ์•„๋ณด์ž. 1) rsyslogd: imklog: cannot open kernel log (/proc/kmsg): Operation not permitted. imklog : Kernel Log Input Module kernel๊ณผ ๊ด€๋ จ๋œ ๋กœ๊ทธ๋ฅผ ๊ธฐ๋กํ•˜๋Š” module์ด๋‹ค. ๋ถˆํ•„์š”ํ•˜๋‹ค๋ฉด /etc/rsyslog.conf ํŒŒ์ผ์„ ์ˆ˜์ •ํ•œ๋‹ค. sed -i '/imklog/s/^/#/' /etc/rsyslog.conf docker์˜ ๊ถŒํ•œ์„ ๋ถ€์—ฌํ•ด ์‹คํ–‰ docker --privileged https://github.com/docker/for-win/issues/8649 /pr..
๋‹คํ–ˆ๋‹ค
'chown' ํƒœ๊ทธ์˜ ๊ธ€ ๋ชฉ๋ก