<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>llcc</author_name>
  <author_url>https://blog.hatena.ne.jp/llcc/</author_url>
  <blog_title>しめ鯖日記</blog_title>
  <blog_url>https://llcc.hatenablog.com/</blog_url>
  <categories>
    <anon>インフラ</anon>
  </categories>
  <description>Itamaeを使っている時にnginxがどうしても動かなかったのでメモ。 現象 Itamaeでtemplateを使ってnginxの設定ファイルを読み込んだらnginxが起動しなくなりました。 エラーはnginx: [emerg] open() &quot;/etc/nginx/nginx.conf&quot; failed (13: Permission denied)というもの。 /etc/nginx/nginx.confのアクセス権を777にしてもダメ。 一度/etc/nginx/nginx.confを消して作り直すとうまくいくという良く分からない状態でした。 解決策 Selinuxを止めたらうまくいきました…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fllcc.hatenablog.com%2Fentry%2F2015%2F07%2F06%2F231542&quot; title=&quot;パーミッション777なのにnginx起動で nginx: [emerg] open() &amp;quot;/etc/nginx/nginx.conf&amp;quot; failed (13: Permission denied) って出る - しめ鯖日記&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>2015-07-06 23:15:42</published>
  <title>パーミッション777なのにnginx起動で nginx: [emerg] open() &quot;/etc/nginx/nginx.conf&quot; failed (13: Permission denied) って出る</title>
  <type>rich</type>
  <url>https://llcc.hatenablog.com/entry/2015/07/06/231542</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
