<div dir="ltr">Du musst beim ppm Status ebenfalls noch das config file angeben, sonst weiss er nicht wo das Lockfile ist. Und- wenn Lockfile durch service angelegt- brauchts ein sudo damit er es lesen kann!<br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-01-06 9:53 GMT+01:00 Sirko <span dir="ltr"><<a href="mailto:mail_ist@nurfuerspam.de" target="_blank">mail_ist@nurfuerspam.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <p>Hi Andreas,</p>
    <p><br>
    </p>
    <p>sehr schön, jetzt funktionierts :-)</p>
    <p>Ich hab jetzt den Service angelegt, fehlt in deiner readme
      eventuell</p>
    <p>sudo systemctl enable /etc/systemd/system/vzhttpd.<wbr>service<br>
      und eventuell  sudo service vzhttpd start/stop? Der
      Vollständigkeit halber...<br>
    </p>
    <p>Ein sudo service vzhttpd status bringt keine Fehler, der Service
      läuft auch, ich kann Requests ausführen, aber ein ppm status
      bringt einen Fehler:<br>
    </p>
    <p>pi@raspberrypi /var/www/<a href="http://volkszaehler.org" target="_blank">volkszaehler.org</a> $ sudo vendor/bin/ppm
      status<br>
      /var/www/<a href="http://volkszaehler.org" target="_blank">volkszaehler.org</a><br>
      PHP Warning:  stream_socket_client(): unable to connect to
      unix:///var/www/<a href="http://volkszaehler.org/.ppm/run/controller.sock" target="_blank">volkszaehler.<wbr>org/.ppm/run/controller.sock</a>
      (Connection refused) in
      /var/www/<a href="http://volkszaehler.org/vendor/php-pm/php-pm/Client.php" target="_blank">volkszaehler.org/<wbr>vendor/php-pm/php-pm/Client.<wbr>php</a> on line
      43<br>
      <br>
      <br>
        [InvalidArgumentException]<br>
        First parameter must be a valid stream resource<br>
      <br>
      <br>
      status [--socket-path [SOCKET-PATH]] [--bridge [BRIDGE]] [--host
      [HOST]] [--port [PORT]] [--workers [WORKERS]] [--app-env
      [APP-ENV]] [--debug [DEBUG]] [--logging [LOGGING]] [--static
      [STATIC]] [--max-requests [MAX-REQUESTS]] [--concurrent-requests
      [CONCURRENT-REQUESTS]] [--bootstrap [BOOTSTRAP]] [--cgi-path
      [CGI-PATH]] [-c|--config [CONFIG]] [--]
      [<working-directory>]<br>
      <br>
      Is da noch was kaputt?</p>
    <p><br>
    </p>
    <p>Grüße</p><span class="HOEnZb"><font color="#888888">
    <p>Sirko<br>
    </p></font></span><div><div class="h5">
    <br>
    <div class="m_134031145962455136moz-cite-prefix">Am 05.01.2017 um 22:38 schrieb Andreas
      Goetz:<br>
    </div>
    <blockquote type="cite">
      
      <br>
      <div>
        <blockquote type="cite">
          <div>On 5 Jan 2017, at 14:32, Sirko <<a href="mailto:mail_ist@nurfuerspam.de" target="_blank">mail_ist@nurfuerspam.de</a>>
            wrote:</div>
          <br class="m_134031145962455136Apple-interchange-newline">
          <div>
            
            <div bgcolor="#FFFFFF" text="#000000">
              <p>Hi Andreas,</p>
              ist damit die debug-Ausgabe weggefallen? Das wäre nicht so
              schön...<br>
              <a class="m_134031145962455136moz-txt-link-freetext" href="http://192.168.178.23:8088/data/a301d8d0-903b-1234-94bb-d943d061b6a8.json?from=1287541654974&to=1288488900567&tuples=1000&debug=5" target="_blank">http://192.168.178.23:8088/<wbr>data/a301d8d0-903b-1234-94bb-<wbr>d943d061b6a8.json?from=<wbr>1287541654974&to=<wbr>1288488900567&tuples=1000&<wbr>debug=5</a><br>
              <br>
              debug=5 scheint keine Wirkung mehr zu haben…</div>
          </div>
        </blockquote>
        <div><br>
        </div>
        Oh mann…. Yop, ist behoben! Der war wieder zäh….</div>
      <div><br>
        <blockquote type="cite">
          <div>
            <div bgcolor="#FFFFFF" text="#000000"> <br>
              Grüße<br>
              Sirko<br>
            </div>
          </div>
        </blockquote>
        <div><br>
        </div>
        Viele Grüße, Andreas</div>
      <div><br>
        <blockquote type="cite">
          <div>
            <div bgcolor="#FFFFFF" text="#000000"> <br>
              <br>
              <div class="m_134031145962455136moz-cite-prefix">Am 05.01.2017 um 09:44
                schrieb Andreas Goetz:<br>
              </div>
              <blockquote type="cite">
                <div dir="ltr">Moin,<br>
                  <div class="gmail_extra"><br>
                    <div class="gmail_quote">2017-01-04 9:55 GMT+01:00
                      Andre Bernemann <span dir="ltr"><<a href="mailto:andre.bernemann@gmail.com" target="_blank">andre.bernemann@gmail.com</a>></span>:<br>
                      <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                        <div dir="ltr">
                          <div dir="ltr" class="m_134031145962455136gmail-m_4071420510601428914gmail_msg">
                            <div class="m_134031145962455136gmail-m_4071420510601428914gmail_msg">Hi
                              Andreas,</div>
                            <div class="m_134031145962455136gmail-m_4071420510601428914gmail_msg"><br class="m_134031145962455136gmail-m_4071420510601428914gmail_msg">
                            </div>
                            <div class="m_134031145962455136gmail-m_4071420510601428914gmail_msg">bei
                              mir (Raspbian GNU/Linux 8 (jessie)) läuft
                              es, ich musste aber noch zwei Anpassungen
                              vornehmen. Vielleicht helfen sie noch
                              jemandem weiter:</div>
                            <div class="m_134031145962455136gmail-m_4071420510601428914gmail_msg"><br class="m_134031145962455136gmail-m_4071420510601428914gmail_msg">
                            </div>
                            <div class="m_134031145962455136gmail-m_4071420510601428914gmail_msg">-
                              disable_functions musste in der
                              entsprechenden php.ini (bei mir
                              /etc/php5/cgi/php.ini) auskommentiert
                              werden, da ppm mindestens eine dieser
                              Funktionen verwendet</div>
                            <div class="m_134031145962455136gmail-m_4071420510601428914gmail_msg">-
                              bei mir hat ppm die Option -c nicht für
                              das Configfile ppm.json, ich musste
                              entweder ein working dir übergeben oder
                              die ppm.json in das entsprechende
                              Verzeichnis legen. Mit `ppm start etc/`
                              hat es funktioniert</div>
                            <div class="m_134031145962455136gmail-m_4071420510601428914gmail_msg">-
                              mir fehlten die Module
                              libapache2-mod-proxy-html, libxml2-dev und
                              php5-cgi</div>
                          </div>
                        </div>
                      </blockquote>
                      <div><br>
                      </div>
                      <div>Die Dokumentationspunkte von André
                        und beobachteten Fehler von Sirko sollten hier
                        alle behoben sein: <a href="https://github.com/volkszaehler/volkszaehler.org/pull/552" target="_blank">https://github.com/<wbr>volkszaehler/volkszaehler.org/<wbr>pull/552</a><br>
                         <br>
                      </div>
                      <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                        <div dir="ltr">
                          <div dir="ltr" class="m_134031145962455136gmail-m_4071420510601428914gmail_msg">
                            <div class="m_134031145962455136gmail-m_4071420510601428914gmail_msg"><br>
                            </div>
                            <div class="m_134031145962455136gmail-m_4071420510601428914gmail_msg">Gruß</div>
                            <div class="m_134031145962455136gmail-m_4071420510601428914gmail_msg">André</div>
                          </div>
                        </div>
                      </blockquote>
                      <div><br>
                      </div>
                      <div>Viele Grüße,<br>
                      </div>
                      <div>Andreas <br>
                      </div>
                    </div>
                  </div>
                </div>
              </blockquote>
              <br>
            </div>
          </div>
        </blockquote>
      </div>
      <br>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br></div>