[vz-users] Login/Absicherung von VZ Installationen

Andreas Goetz cpuidle at gmail.com
Fri Jan 6 09:56:33 CET 2017


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!

2017-01-06 9:53 GMT+01:00 Sirko <mail_ist at nurfuerspam.de>:

> Hi Andreas,
>
>
> sehr schön, jetzt funktionierts :-)
>
> Ich hab jetzt den Service angelegt, fehlt in deiner readme eventuell
>
> sudo systemctl enable /etc/systemd/system/vzhttpd.service
> und eventuell  sudo service vzhttpd start/stop? Der Vollständigkeit
> halber...
>
> 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:
>
> pi at raspberrypi /var/www/volkszaehler.org $ sudo vendor/bin/ppm status
> /var/www/volkszaehler.org
> PHP Warning:  stream_socket_client(): unable to connect to unix:///var/www/
> volkszaehler.org/.ppm/run/controller.sock (Connection refused) in
> /var/www/volkszaehler.org/vendor/php-pm/php-pm/Client.php on line 43
>
>
>   [InvalidArgumentException]
>   First parameter must be a valid stream resource
>
>
> 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>]
>
> Is da noch was kaputt?
>
>
> Grüße
>
> Sirko
>
> Am 05.01.2017 um 22:38 schrieb Andreas Goetz:
>
>
> On 5 Jan 2017, at 14:32, Sirko <mail_ist at nurfuerspam.de> wrote:
>
> Hi Andreas,
> ist damit die debug-Ausgabe weggefallen? Das wäre nicht so schön...
> http://192.168.178.23:8088/data/a301d8d0-903b-1234-94bb-
> d943d061b6a8.json?from=1287541654974&to=1288488900567&tuples=1000&debug=5
>
> debug=5 scheint keine Wirkung mehr zu haben…
>
>
> Oh mann…. Yop, ist behoben! Der war wieder zäh….
>
>
> Grüße
> Sirko
>
>
> Viele Grüße, Andreas
>
>
>
> Am 05.01.2017 um 09:44 schrieb Andreas Goetz:
>
> Moin,
>
> 2017-01-04 9:55 GMT+01:00 Andre Bernemann <andre.bernemann at gmail.com>:
>
>> Hi Andreas,
>>
>> bei mir (Raspbian GNU/Linux 8 (jessie)) läuft es, ich musste aber noch
>> zwei Anpassungen vornehmen. Vielleicht helfen sie noch jemandem weiter:
>>
>> - disable_functions musste in der entsprechenden php.ini (bei mir
>> /etc/php5/cgi/php.ini) auskommentiert werden, da ppm mindestens eine dieser
>> Funktionen verwendet
>> - 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
>> - mir fehlten die Module libapache2-mod-proxy-html, libxml2-dev und
>> php5-cgi
>>
>
> Die Dokumentationspunkte von André und beobachteten Fehler von Sirko
> sollten hier alle behoben sein: https://github.com/
> volkszaehler/volkszaehler.org/pull/552
>
>
>>
>> Gruß
>> André
>>
>
> Viele Grüße,
> Andreas
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://demo.volkszaehler.org/pipermail/volkszaehler-users/attachments/20170106/712b51fa/attachment-0001.html>


More information about the volkszaehler-users mailing list