<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: /var/log/messages - cm: OSError : [Errno 2] No such file or directory: '/run/user/0' in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/var-log-messages-cm-OSError-Errno-2-No-such-file-or/m-p/304016#M221836</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35678"&gt;@Deaks&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/79296"&gt;@HGeorge&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This issue can occur if you had some previous mount points and later if you have unmounted them. In some unusual scenarios, CM agent will still tries to grab the filesystem information of that mount point and fails.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To temporarily suppress this error, update the /etc/cloudera-scm-agent/config.ini on each of the hosts affected to:&lt;/P&gt;&lt;P&gt;1. In the line that lists the nodev filesystems:&lt;BR /&gt;# The list of non-device (nodev) filesystem types which will be monitored.&lt;BR /&gt;monitored_nodev_filesystem_types=nfs,nfs4,tmpfs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Please change the uncommented line to read as :&lt;BR /&gt;monitored_nodev_filesystem_types=nfs,nfs4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Restart the cloudera manager agent with:&lt;BR /&gt;service cloudera-scm-agent restart&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Br,&lt;/P&gt;&lt;P&gt;Tarun&lt;/P&gt;&lt;P class="p1"&gt;&lt;I&gt;Was your question answered? Make sure to mark the answer as the accepted solution.&lt;/I&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;I&gt;If you find a reply useful, say thanks by clicking on the thumbs up button.&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 07 Oct 2020 08:01:57 GMT</pubDate>
    <dc:creator>tjangid</dc:creator>
    <dc:date>2020-10-07T08:01:57Z</dc:date>
    <item>
      <title>/var/log/messages - cm: OSError : [Errno 2] No such file or directory: '/run/user/0'</title>
      <link>https://community.cloudera.com/t5/Support-Questions/var-log-messages-cm-OSError-Errno-2-No-such-file-or/m-p/93905#M57433</link>
      <description>&lt;P&gt;I'm trying to identify why I am seeing the error given in the subject of this question.&lt;/P&gt;
&lt;P&gt;The error appears nightly on each host running cloudera-scm-agent (6.2).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suspect the following:&lt;/P&gt;
&lt;P&gt;When cron.daily is run, the host monitor appears to start monitoring the disk_usage of /run/user/0.&lt;/P&gt;
&lt;P&gt;Due to the temporary nature of /run/user/*, when the directory is removed the cm-agent throws 'No such file or directory' errors into /var/log/messages.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Has anyone else encountered these errors? What's the rationale of monitoring /run/user/*?&lt;/P&gt;
&lt;P&gt;Could this be handled better?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks, Deaks&lt;/P&gt;</description>
      <pubDate>Sat, 10 Aug 2019 12:12:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/var-log-messages-cm-OSError-Errno-2-No-such-file-or/m-p/93905#M57433</guid>
      <dc:creator>Deaks</dc:creator>
      <dc:date>2019-08-10T12:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: /var/log/messages - cm: OSError : [Errno 2] No such file or directory: '/run/user/0'</title>
      <link>https://community.cloudera.com/t5/Support-Questions/var-log-messages-cm-OSError-Errno-2-No-such-file-or/m-p/302841#M221280</link>
      <description>&lt;P&gt;Did you ever get an answer to this?&amp;nbsp; &amp;nbsp;I am seeing the same behavior.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 11:40:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/var-log-messages-cm-OSError-Errno-2-No-such-file-or/m-p/302841#M221280</guid>
      <dc:creator>HGeorge</dc:creator>
      <dc:date>2020-09-15T11:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: /var/log/messages - cm: OSError : [Errno 2] No such file or directory: '/run/user/0'</title>
      <link>https://community.cloudera.com/t5/Support-Questions/var-log-messages-cm-OSError-Errno-2-No-such-file-or/m-p/304016#M221836</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35678"&gt;@Deaks&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/79296"&gt;@HGeorge&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This issue can occur if you had some previous mount points and later if you have unmounted them. In some unusual scenarios, CM agent will still tries to grab the filesystem information of that mount point and fails.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To temporarily suppress this error, update the /etc/cloudera-scm-agent/config.ini on each of the hosts affected to:&lt;/P&gt;&lt;P&gt;1. In the line that lists the nodev filesystems:&lt;BR /&gt;# The list of non-device (nodev) filesystem types which will be monitored.&lt;BR /&gt;monitored_nodev_filesystem_types=nfs,nfs4,tmpfs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Please change the uncommented line to read as :&lt;BR /&gt;monitored_nodev_filesystem_types=nfs,nfs4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Restart the cloudera manager agent with:&lt;BR /&gt;service cloudera-scm-agent restart&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Br,&lt;/P&gt;&lt;P&gt;Tarun&lt;/P&gt;&lt;P class="p1"&gt;&lt;I&gt;Was your question answered? Make sure to mark the answer as the accepted solution.&lt;/I&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;I&gt;If you find a reply useful, say thanks by clicking on the thumbs up button.&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 08:01:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/var-log-messages-cm-OSError-Errno-2-No-such-file-or/m-p/304016#M221836</guid>
      <dc:creator>tjangid</dc:creator>
      <dc:date>2020-10-07T08:01:57Z</dc:date>
    </item>
  </channel>
</rss>

