<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Greg<br>
    <br>
    I managed to fix the the issue by as you say giving www-data access
    to the RRD files. <br>
    <br>
    The problem is I don't want to have to do this for every RRD file
    that is created.<br>
    <br>
    Do you happen to have the link to the messages&nbsp; for mod'ing the
    startup script?<br>
    <br>
    Thanks for your help<br>
    <br>
    NIck <br>
    <br>
    <div class="moz-cite-prefix">On 10/07/2013 00:52, Gregory Sloop
      wrote:<br>
    </div>
    <blockquote cite="mid:1517435054.20130709165231@sloop.net"
      type="cite">
      <title>Re: [smokeping-users] Slave Graphs not updating on master</title>
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <span style=" font-family:'Courier New'; font-size: 9pt;">www-data
        needs rights to write to the RRD files.<br>
        <br>
        A search for "slave permissions" will probably give a few more
        pointers from the list since this is a common issue.<br>
        changing ownership and rights should set you right.<br>
        [Even better, mod'ing the startup script to change all the RRD
        files so they are www-data writeable - this way new slave setups
        won't get borked if you forget to mod them...a post in the last
        day or two showed a good example of this.]<br>
        <br>
        -Greg<br>
        <br>
        <br>
      </span>
      <table bgcolor="#ffffff">
        <tbody>
          <tr>
            <td bgcolor="#0000ff" width="3"><br>
            </td>
            <td width="1021"><span style=" font-family:'courier new';
                font-size: 9pt;">All,<br>
                <br>
                I am pulling my hair out trying to get the slave graphs
                to update on the master server.<br>
                <br>
                I have ran the debug on the slave and can it executing
                the probe and sending the data to the master. apparently
                the server acknowledges it, but nothing appears on the
                webpage.<br>
                <br>
                <br>
                This is how the apache and smokeping process run:<br>
                <span style=" font-size: 7pt;"># ps -ef | grep apache<br>
                  root &nbsp; &nbsp; &nbsp; 987 &nbsp; &nbsp; 1 &nbsp;0 22:45 ? &nbsp; &nbsp; &nbsp; &nbsp;00:00:00
                  /usr/sbin/apache2 -k start<br>
                  www-data &nbsp; 989 &nbsp; 987 &nbsp;0 22:45 ? &nbsp; &nbsp; &nbsp; &nbsp;00:00:00
                  /usr/sbin/apache2 -k start<br>
                  www-data &nbsp; 991 &nbsp; 987 &nbsp;0 22:45 ? &nbsp; &nbsp; &nbsp; &nbsp;00:00:00
                  /usr/sbin/apache2 -k start<br>
                  www-data &nbsp; 992 &nbsp; 987 &nbsp;0 22:45 ? &nbsp; &nbsp; &nbsp; &nbsp;00:00:00
                  /usr/sbin/apache2 -k start<br>
                  <br>
                  # ps -ef | grep smokeping<br>
                  106 &nbsp; &nbsp; &nbsp; 1706 &nbsp; &nbsp; 1 &nbsp;0 23:05 ? &nbsp; &nbsp; &nbsp; &nbsp;00:00:00
                  /usr/sbin/smokeping [FPing]<br>
                  <br>
                  <span style=" font-size: 9pt;">There is nothing in
                    /var/log/syslog to suggest why this is not working.<br>
                    <br>
                    There is however these in
                    /var/log/apache2/error.log. The problem is that
                    those files don't exist<br>
                    <br>
                    <span style=" font-size: 7pt;">[Tue Jul &nbsp;9 23:17:00
                      2013] smokeping.cgi [client XXXXX]: Could not lock
                      /var/lib/smokeping//External/BBC-CO-UK.smokeping-oregon.slave_cache
                      (Permission denied). Trying again 2 more times.<br>
                      [Tue Jul &nbsp;9 23:17:01 2013] smokeping.cgi [client
                      XXXXX]: Could not lock
                      /var/lib/smokeping//External/BBC-CO-UK.smokeping-oregon.slave_cache
                      (Permission denied). Trying again 1 more times.<br>
                      [Tue Jul &nbsp;9 23:17:02 2013] smokeping.cgi [client
                      XXXXX]: Could not update
                      /var/lib/smokeping//External/BBC-CO-UK.smokeping-oregon.slave_cache,
                      giving up for now. at
                      /usr/share/perl5/Smokeping/Master.pm line 156.<br>
                      [Tue Jul &nbsp;9 23:22:00 2013] smokeping.cgi [client
                      XXXXX]: Could not lock
                      /var/lib/smokeping//External/BBC-CO-UK.smokeping-oregon.slave_cache
                      (Permission denied). Trying again 2 more times.<br>
                      [Tue Jul &nbsp;9 23:22:01 2013] smokeping.cgi [client
                      XXXXX]: Could not lock
                      /var/lib/smokeping//External/BBC-CO-UK.smokeping-oregon.slave_cache
                      (Permission denied). Trying again 1 more times.<br>
                      [Tue Jul &nbsp;9 23:22:02 2013] smokeping.cgi [client
                      XXXXX]: Could not update
                      /var/lib/smokeping//External/BBC-CO-UK.smokeping-oregon.slave_cache,
                      giving up for now. at
                      /usr/share/perl5/Smokeping/Master.pm line 156.<br>
                      <br>
                      ls -la /var/lib/smokeping//External/<br>
                      total 5848<br>
                      drwxr-xr-x 2 smokeping smokeping &nbsp; &nbsp;4096 Jul &nbsp;9
                      22:51 .<br>
                      drwxr-xr-x 6 smokeping smokeping &nbsp; &nbsp;4096 Jul &nbsp;9
                      22:51 ..<br>
                      -rw-r--r-- 1 smokeping smokeping 2986808 Jul &nbsp;9
                      23:33 BBC-CO-UK.rrd<br>
                      -rw-r--r-- 1 smokeping smokeping 2986808 Jul &nbsp;9
                      22:51 BBC-CO-UK~smokeping-oregon.rrd<br>
                      <br>
                      <br>
                      <span style=" font-size: 11pt;">Could you help me
                        get to the bottom of this?<br>
                        <br>
                        Thanks<br>
                        <br>
                        Nick<br>
                        <br>
                        <br>
                        <br>
                      </span></span></span></span></span></td>
          </tr>
        </tbody>
      </table>
      <br>
      <br>
      <span style=" font-family:'arial'; color: #c0c0c0;"><i>--&nbsp;<br>
          Gregory Sloop, Principal: Sloop Network &amp; Computer
          Consulting<br>
          Voice: 503.251.0452 x82<br>
          EMail:&nbsp;</i></span><a moz-do-not-send="true" style="
        font-family:'arial';" href="mailto:gregs@sloop.net">gregs@sloop.net</a><br>
      <a moz-do-not-send="true" style=" font-family:'arial';"
        href="http://www.sloop.net">http://www.sloop.net</a><br>
      <span style=" font-family:'arial'; color: #c0c0c0;"><i>---
          <br>
          <fieldset class="mimeAttachmentHeader"></fieldset>
          <br>
          <pre wrap="">_______________________________________________
smokeping-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:smokeping-users@lists.oetiker.ch">smokeping-users@lists.oetiker.ch</a>
<a class="moz-txt-link-freetext" href="https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users">https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users</a>
</pre>
        </i></span></blockquote>
    <br>
  </body>
</html>