<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hi,<br>
      <br>
      i had the same error a few weeks ago and guess that the user
      rrdcached is running under (usually rrdcached) has no write
      permission to the rrd files.<br>
      <br>
      Greets<br>
      <br>
      Basti<br>
      <br>
      <br>
      Am 04.03.2013 14:52, schrieb Benjamin Wang (gendwang):<br>
    </div>
    <blockquote
cite="mid:2DA6F4A3691599408358374D182280F908FEBBF2@xmb-rcd-x04.cisco.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"
            lang="EN-US">Hi,<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"
            lang="EN-US">   I have updated my configuration as
            following:<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"
            lang="EN-US">LoadPlugin rrdcached<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"
            lang="EN-US"><Plugin rrdcached><o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"
            lang="EN-US">        DaemonAddress
            "unix:/tmp/rrdcached.sock"<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"
            lang="EN-US">        DataDir
            "/opt/collectd/var/lib/collectd"<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"
            lang="EN-US">        CreateFiles true<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"
            lang="EN-US">        CollectStatistics false<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"
            lang="EN-US"></Plugin><o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"
            lang="EN-US">The rrdcached start script is as following:<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"
            lang="EN-US">rrdcached -F -b /opt/collectd/var/lib/collectd
            -j /root/tools/rrdcached/cached -p
            /root/tools/rrdcached/rrdcached.pid  -l
            unix:/tmp/rrdcached.sock -l 10.74.125.141<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"
            lang="EN-US">Now the log is as following:<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"
            lang="EN-US">[2013-03-04 21:48:17] rrdcached plugin:
            rrdc_update
            (/opt/collectd/var/lib/collectd/10.74.125.141/memory/memory-used.rrd,
            [1362404897:4414480384.000000], 1) failed with status -1.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"
            lang="EN-US">[2013-03-04 21:48:17] Filter subsystem:
            Built-in target `write': Dispatching value to all write
            plugins failed with status -1.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"
            lang="EN-US">[2013-03-04 21:48:17] rrdcached plugin:
            rrdc_update
            (/opt/collectd/var/lib/collectd/10.74.125.141/memory/memory-buffered.rrd,
            [1362404897:363593728.000000], 1) failed with status -1.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"
            lang="EN-US">[2013-03-04 21:48:17] Filter subsystem:
            Built-in target `write': Dispatching value to all write
            plugins failed with status -1.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"
            lang="EN-US">[2013-03-04 21:48:17] rrdcached plugin:
            rrdc_update
            (/opt/collectd/var/lib/collectd/10.74.125.141/cpu-0/cpu-user.rrd,
            [1362404897:9553163], 1) failed with status -1.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"
            lang="EN-US">[2013-03-04 21:48:17] Filter subsystem:
            Built-in target `write': Dispatching value to all write
            plugins failed with status -1.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"
            lang="EN-US">B.R.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"
            lang="EN-US">Benjamin Wang<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"
            lang="EN-US"><o:p> </o:p></span></p>
        <div>
          <div style="border:none;border-top:solid #B5C4DF
            1.0pt;padding:3.0pt 0cm 0cm 0cm">
            <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
                  lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
                lang="EN-US"> Cyril Feraudet
                [<a class="moz-txt-link-freetext" href="mailto:collectd@feraudet.com">mailto:collectd@feraudet.com</a>]
                <br>
                <b>Sent:</b> 2013</span><span
                style="font-size:10.0pt;font-family:SimSun">年</span><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
                lang="EN-US">3</span><span
                style="font-size:10.0pt;font-family:SimSun">月</span><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
                lang="EN-US">4</span><span
                style="font-size:10.0pt;font-family:SimSun">日</span><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
                lang="EN-US"> 21:46<br>
                <b>To:</b> Benjamin Wang (gendwang)<br>
                <b>Cc:</b> <a class="moz-txt-link-abbreviated" href="mailto:collectd@verplant.org">collectd@verplant.org</a>; <a class="moz-txt-link-abbreviated" href="mailto:jmauro@anti.net">jmauro@anti.net</a>;
                <a class="moz-txt-link-abbreviated" href="mailto:jmauro@autidot.net">jmauro@autidot.net</a>; Yang Zhou (yangzho)<br>
                <b>Subject:</b> Re: [collectd] rrdcached+collectd<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">You don't need both
            rrdtool and rrdcached plugin.<o:p></o:p></span></p>
        <div>
          <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        </div>
        <div>
          <p class="MsoNormal"><span lang="EN-US">Cyril<o:p></o:p></span></p>
        </div>
        <div>
          <p class="MsoNormal"><span lang="EN-US"><a
                moz-do-not-send="true" href="http://perfwatcher.org/">http://perfwatcher.org/</a><o:p></o:p></span></p>
        </div>
        <div>
          <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        </div>
        <div>
          <div>
            <p class="MsoNormal"><span lang="EN-US">On 4 mars 2013, at
                14:38, Benjamin Wang (gendwang) <<a
                  moz-do-not-send="true"
                  href="mailto:gendwang@cisco.com">gendwang@cisco.com</a>>
                wrote:<o:p></o:p></span></p>
          </div>
          <p class="MsoNormal"><span lang="EN-US"><br>
              <br>
              <o:p></o:p></span></p>
          <div>
            <p class="MsoNormal"
              style="text-align:justify;text-justify:inter-ideograph"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif""
                lang="EN-US">Hi,<o:p></o:p></span></p>
            <p class="MsoNormal"
              style="text-align:justify;text-justify:inter-ideograph"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif""
                lang="EN-US">  I try to setup rrdcached and collectd in
                one VM(Redhat 6.2). rrdcached also listens on the
                network port for remote query.<o:p></o:p></span></p>
            <p class="MsoNormal"
              style="text-align:justify;text-justify:inter-ideograph"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif""
                lang="EN-US">rrdtool: 1.4.7<o:p></o:p></span></p>
            <p class="MsoNormal"
              style="text-align:justify;text-justify:inter-ideograph"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif""
                lang="EN-US">collectd: 5.2.0<o:p></o:p></span></p>
            <p class="MsoNormal"
              style="text-align:justify;text-justify:inter-ideograph"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif""
                lang="EN-US"> <o:p></o:p></span></p>
            <p class="MsoNormal"
              style="text-align:justify;text-justify:inter-ideograph"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif""
                lang="EN-US">The collectd.conf is as following:<o:p></o:p></span></p>
            <p class="MsoNormal"
              style="text-align:justify;text-justify:inter-ideograph"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif""
                lang="EN-US">LoadPlugin rrdcached<o:p></o:p></span></p>
            <p class="MsoNormal"
              style="text-align:justify;text-justify:inter-ideograph"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif""
                lang="EN-US">LoadPlugin rrdtool<o:p></o:p></span></p>
            <p class="MsoNormal"
              style="text-align:justify;text-justify:inter-ideograph"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif""
                lang="EN-US"><Plugin rrdcached><o:p></o:p></span></p>
            <p class="MsoNormal"
              style="text-align:justify;text-justify:inter-ideograph"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif""
                lang="EN-US">        DaemonAddress
                "unix:/tmp/rrdcached.sock"<o:p></o:p></span></p>
            <p class="MsoNormal"
              style="text-align:justify;text-justify:inter-ideograph"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif""
                lang="EN-US">        DataDir "/root/tools/rrdcached"<o:p></o:p></span></p>
            <p class="MsoNormal"
              style="text-align:justify;text-justify:inter-ideograph"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif""
                lang="EN-US">        CreateFiles true<o:p></o:p></span></p>
            <p class="MsoNormal"
              style="text-align:justify;text-justify:inter-ideograph"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif""
                lang="EN-US"></Plugin><o:p></o:p></span></p>
            <p class="MsoNormal"
              style="text-align:justify;text-justify:inter-ideograph"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif""
                lang="EN-US"> <o:p></o:p></span></p>
            <p class="MsoNormal"
              style="text-align:justify;text-justify:inter-ideograph"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif""
                lang="EN-US"><Plugin rrdtool><o:p></o:p></span></p>
            <p class="MsoNormal"
              style="text-align:justify;text-justify:inter-ideograph"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif""
                lang="EN-US">        DataDir
                "/opt/collectd/var/lib/collectd"<o:p></o:p></span></p>
            <p class="MsoNormal"
              style="text-align:justify;text-justify:inter-ideograph"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif""
                lang="EN-US"></Plugin><o:p></o:p></span></p>
            <p class="MsoNormal"
              style="text-align:justify;text-justify:inter-ideograph"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif""
                lang="EN-US"> <o:p></o:p></span></p>
            <p class="MsoNormal"
              style="text-align:justify;text-justify:inter-ideograph"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif""
                lang="EN-US"> <o:p></o:p></span></p>
            <p class="MsoNormal"
              style="text-align:justify;text-justify:inter-ideograph"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif""
                lang="EN-US">The rrdcached start script is as following:<o:p></o:p></span></p>
            <p class="MsoNormal"
              style="text-align:justify;text-justify:inter-ideograph"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif""
                lang="EN-US">rrdcached -F -b /root/tools/rrdcached -j
                /root/tools/rrdcached/cached -p
                /root/tools/rrdcached/rrdcached.pid  -l
                unix:/tmp/rrdcached.sock -l 10.74.125.141<o:p></o:p></span></p>
            <p class="MsoNormal"
              style="text-align:justify;text-justify:inter-ideograph"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif""
                lang="EN-US"> <o:p></o:p></span></p>
            <p class="MsoNormal"
              style="text-align:justify;text-justify:inter-ideograph"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif""
                lang="EN-US">But the collectd log always show the error:<o:p></o:p></span></p>
            <p class="MsoNormal"
              style="text-align:justify;text-justify:inter-ideograph"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif""
                lang="EN-US">[2013-03-04 21:24:56] rrdcached plugin:
                rrdc_update
                (/root/tools/rrdcached/10.74.125.141/memory/memory-used.rrd,
                [1362403496:4414574592.000000], 1) failed with status
                -1.<o:p></o:p></span></p>
            <p class="MsoNormal"
              style="text-align:justify;text-justify:inter-ideograph"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif""
                lang="EN-US">[2013-03-04 21:24:56] rrdcached plugin:
                rrdc_update
                (/root/tools/rrdcached/10.74.125.141/memory/memory-buffered.rrd,
                [1362403496:363573248.000000], 1) failed with status -1.<o:p></o:p></span></p>
            <p class="MsoNormal"
              style="text-align:justify;text-justify:inter-ideograph"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif""
                lang="EN-US">[2013-03-04 21:24:56] rrdcached plugin:
                rrdc_update
                (/root/tools/rrdcached/10.74.125.141/memory/memory-cached.rrd,
                [1362403496:1231032320.000000], 1) failed with status
                -1.<o:p></o:p></span></p>
            <p class="MsoNormal"
              style="text-align:justify;text-justify:inter-ideograph"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif""
                lang="EN-US"> <o:p></o:p></span></p>
            <p class="MsoNormal"
              style="text-align:justify;text-justify:inter-ideograph"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif""
                lang="EN-US">I have gone through the old threads and
                have tried “chmod 777 /root/tools/rrdcached”. But it
                doesn’t work.<o:p></o:p></span></p>
            <p class="MsoNormal"
              style="text-align:justify;text-justify:inter-ideograph"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif""
                lang="EN-US"> <o:p></o:p></span></p>
            <p class="MsoNormal"
              style="text-align:justify;text-justify:inter-ideograph"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif""
                lang="EN-US">What is the problem?<o:p></o:p></span></p>
            <p class="MsoNormal"
              style="text-align:justify;text-justify:inter-ideograph"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif""
                lang="EN-US"> <o:p></o:p></span></p>
            <p class="MsoNormal"
              style="text-align:justify;text-justify:inter-ideograph"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif""
                lang="EN-US">B.R.<o:p></o:p></span></p>
            <p class="MsoNormal"
              style="text-align:justify;text-justify:inter-ideograph"><span
style="font-size:10.5pt;font-family:"Calibri","sans-serif""
                lang="EN-US">Benjamin Wang<o:p></o:p></span></p>
            <p class="MsoNormal"><span
style="font-size:13.5pt;font-family:"Helvetica","sans-serif""
                lang="EN-US">_______________________________________________<br>
                collectd mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:collectd@verplant.org"><span
                    style="color:purple">collectd@verplant.org</span></a><br>
                <a moz-do-not-send="true"
                  href="http://mailman.verplant.org/listinfo/collectd"><span
                    style="color:purple">http://mailman.verplant.org/listinfo/collectd</span></a><o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
collectd mailing list
<a class="moz-txt-link-abbreviated" href="mailto:collectd@verplant.org">collectd@verplant.org</a>
<a class="moz-txt-link-freetext" href="http://mailman.verplant.org/listinfo/collectd">http://mailman.verplant.org/listinfo/collectd</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
ETH Zürich, Bastian Ballmann, IT Service Group
CAB E 44.1, Universitätsstrasse 6, CH-8092 Zürich
Tel +41 44 632 72 04 </pre>
  </body>
</html>