<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mattintosh4</author_name>
  <author_url>https://blog.hatena.ne.jp/mattintosh4/</author_url>
  <blog_title>mattintosh note</blog_title>
  <blog_url>https://mattintosh-note.jp/</blog_url>
  <categories>
    <anon>Amazon Linux 2</anon>
    <anon>Amazon Linux 1</anon>
    <anon>Nginx</anon>
  </categories>
  <description>結論から言うと Amazon Linux 2 の nginx パッケージの問題でもあるけど Nginx の仕様も問題 ということになった。 Nginx を起動するときは特に問題ないのだけどログを見てると夜中のログローテーションのタイミングで何故かログが書き込みできなくなっていた。 2022/01/30 03:26:01 [emerg] 8725#8725: open() &quot;/var/log/nginx/error.log&quot; failed (13: Permission denied) 2022/01/30 03:26:01 [emerg] 8725#8725: open() &quot;/var/log…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmattintosh-note.jp%2Fentry%2F20220205%2F1644034034&quot; title=&quot;Amazon Linux 2とNginx 1.20.xでログローテーション後にログが書き込めなくなる件 - mattintosh note&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-02-05 13:07:14</published>
  <title>Amazon Linux 2とNginx 1.20.xでログローテーション後にログが書き込めなくなる件</title>
  <type>rich</type>
  <url>https://mattintosh-note.jp/entry/20220205/1644034034</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
