<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">Hallo Daniel,</div><div class=""><br class=""></div><div class="">ach so! Habs mal so probiert:</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #400bd9" class=""><b class="">$</b></span><span style="font-variant-ligatures: no-common-ligatures" class=""> sudo -u vzlogger vzlogger -c /etc/<a href="http://vzlogger.conf.org" class="">vzlogger.conf.org</a> </span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">[Jul 19 14:41:08][main] vzlogger v0.8.1 based on heads/master-0-g76e868feed from Wed, 20 Apr 2022 08:39:54 +0200 started.</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">[Jul 19 14:41:08] New meter initialized (protocol=sml)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">[Jul 19 14:41:08][chn0] New channel initialized (uuid=...0ced10 api=volkszaehler id=power)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">[Jul 19 14:41:08][chn1] New channel initialized (uuid=...42a90c api=volkszaehler id=counter)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">[Jul 19 14:41:08][chn2] New channel initialized (uuid=...104b48 api=volkszaehler id=1-0:1.8.0)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">[Jul 19 14:41:08] New meter initialized (protocol=s0)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">[Jul 19 14:41:08][chn3] New channel initialized (uuid=...45c7b2 api=volkszaehler id=Impulse)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">[Jul 19 14:41:08] New meter initialized (protocol=d0)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">[Jul 19 14:41:08][chn4] New channel initialized (uuid=...ee api=volkszaehler id=1-0:1.8.1)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">[Jul 19 14:41:08] New meter initialized (protocol=random)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">[Jul 19 14:41:08] Identifier is not set. Using default value 'NilIdentifier'.</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">[Jul 19 14:41:08][chn5] New channel initialized (uuid=...1e5a66 api=volkszaehler id=NilIdentifier)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">[Jul 19 14:41:08] New meter initialized (protocol=file)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">[Jul 19 14:41:08] New meter initialized (protocol=exec)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">[Jul 19 14:41:08] New meter initialized (protocol=fluksov2)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">[Jul 19 14:41:08][chn6] New channel initialized (uuid=...53edec api=volkszaehler id=sensor0/power)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">[Jul 19 14:41:08] New meter initialized (protocol=w1therm)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">[Jul 19 14:41:08][main] log level is 5</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">[Jul 19 14:41:08] Daemonize process...</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #2fb41d" class=""><b class="">pi@ecoraspi02</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">:</span><span style="font-variant-ligatures: no-common-ligatures; color: #400bd9" class=""><b class="">~/vzlogger $</b></span><span style="font-variant-ligatures: no-common-ligatures" class=""> sudo service vzlogger status</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #b42419" class=""><b class="">●</b></span><span style="font-variant-ligatures: no-common-ligatures" class=""> vzlogger.service - vzlogger</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> Loaded: loaded (/etc/systemd/system/vzlogger.service; enabled; vendor preset: enabled)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> Active: </span><span style="font-variant-ligatures: no-common-ligatures; color: #b42419" class=""><b class="">failed</b></span><span style="font-variant-ligatures: no-common-ligatures" class=""> (Result: exit-code) since Tue 2022-07-19 14:30:57 CEST; 10min ago</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> Process: 25118 ExecStart=/usr/local/bin/vzlogger -c /etc/vzlogger.conf </span><span style="font-variant-ligatures: no-common-ligatures; color: #b42419" class=""><b class="">(code=exited, status=73)</b></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> Main PID: 25118 (code=exited, status=73)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> CPU: 39ms</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Jul 19 14:30:57 ecoraspi02 systemd[1]: Started vzlogger.</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Jul 19 14:30:57 ecoraspi02 systemd[1]: <b class="">vzlogger.service: Main process exited, code=exited, status=73/CANTCREAT</b></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(217, 220, 85);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">Jul 19 14:30:57 ecoraspi02 systemd[1]: </span><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">vzlogger.service: Failed with result 'exit-code'.</b></span></div></div><div class=""><br class=""></div><div class="">Berechtigungen:</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #400bd9" class=""><b class="">$</b></span><span style="font-variant-ligatures: no-common-ligatures" class=""> ls -l /var/log/vzlogger/vzlogger.log </span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r--r-- 1 vzlogger vzlogger 103251 19. Jul 14:42 /var/log/vzlogger/vzlogger.log</span></div></div><div class=""><br class=""></div>Hast Du eine Idee, warum da <b style="font-family: Menlo; font-size: 11px;" class="">status=73/CANTCREAT</b> als Fehler kommt?<div class=""><br class=""></div><div class="">Beste Grüße</div><div class="">Armin<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">Am 19.07.2022 um 14:36 schrieb Daniel Lauckner <<a href="mailto:vz@jahp.de" class="">vz@jahp.de</a>>:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hallo,<br class=""><br class=""><br class="">am Dienstag, 19. Juli 2022 um 14:34 hat applicationMGR geschrieben:<br class=""><blockquote type="cite" class="">dass das Log-File nicht beschreibbar isd trifft offensichtich nicht zu:<br class=""></blockquote><br class="">Du hast aber auch mal ohne systemd und mit anderen Rechten gestartet:<br class=""><blockquote type="cite" class=""><blockquote type="cite" class=""><blockquote type="cite" class="">$ sudo vzlogger -c /etc/vzlogger.conf<br class=""></blockquote></blockquote></blockquote><br class=""><br class="">mfg Daniel<br class=""><br class=""></div></div></blockquote></div><br class=""></div></body></html>