[vz-users] Neuinstallation webinterface geht nicht

Heine.Thomas at online.de Heine.Thomas at online.de
So Mär 7 11:19:22 CET 2021


Hallo Daniel,

sorry hatten den Falschen Pfad.


Hier das aktuelle Logfile:
pi at VzOberhofen:~ $ cat /var/log/vzlogger.log
[Mar 07 11:17:07][main] vzlogger v0.8.0 based on 
heads/master-0-g1a6e10b6d8 from Sun, 21 Feb 2021 19:35:44 +0100 started.
[Mar 07 11:17:07][push] Ignoring push entry due to empty array or 
duplicate section
[Mar 07 11:17:07][mtr0] Creating new meter with protocol sml.
[Mar 07 11:17:07][sml]  pullseq len:0 found
[Mar 07 11:17:07][mtr0] Meter configured, enabled.
[Mar 07 11:17:07]       New meter initialized (protocol=sml)
[Mar 07 11:17:07]       Configure channel.
[Mar 07 11:17:07][chn0] New channel initialized (uuid=...ecc07a 
api=volkszaehler id=1-0:1.8.0*255)
[Mar 07 11:17:07]       Configure channel.
[Mar 07 11:17:07][chn1] New channel initialized (uuid=...46dd7e 
api=volkszaehler id=1-0:2.8.0*255)
[Mar 07 11:17:07]       Configure channel.
[Mar 07 11:17:07][chn2] New channel initialized (uuid=...91683c 
api=volkszaehler id=1-0:16.7.0*255)
[Mar 07 11:17:07][mtr1] Creating new meter with protocol sml.
[Mar 07 11:17:07][sml]  pullseq len:0 found
[Mar 07 11:17:07][mtr1] Meter configured, enabled.
[Mar 07 11:17:07]       New meter initialized (protocol=sml)
[Mar 07 11:17:07]       Configure channel.
[Mar 07 11:17:07][chn3] New channel initialized (uuid=...f8f205 
api=volkszaehler id=1-0:2.8.0*255)
[Mar 07 11:17:07]       Configure channel.
[Mar 07 11:17:07][chn4] New channel initialized (uuid=...37a015 
api=volkszaehler id=1-0:16.7.0*255)
[Mar 07 11:17:07]       Have 2 meters.
[Mar 07 11:17:07][main] log level is 15
[Mar 07 11:17:07][main] daemon=0, local=0
[Mar 07 11:17:07]       Process not  daemonized...
[Mar 07 11:17:07]       Opened logfile /var/log/vzlogger.log
[Mar 07 11:17:07][push] No pushDataServer defined.
[Mar 07 11:17:07][]     ===> Start meters
[Mar 07 11:17:07][mtr0] Meter connection established
[Mar 07 11:17:07][mtr0] Meter thread started
[Mar 07 11:17:07][mtr0] Meter is opened. Starting channels.
[Mar 07 11:17:07][mtr0] Number of readers: 32
[Mar 07 11:17:07][mtr0] Config.daemon: 0
[Mar 07 11:17:07][chn0] Logging thread started
[Mar 07 11:17:07][chn0] Start logging thread for volkszaehler-api. 
Running as daemon: no
[Mar 07 11:17:07][mtr0] Config.local: 0
[Mar 07 11:17:07][chn1] Logging thread started
[Mar 07 11:17:07][chn1] Start logging thread for volkszaehler-api. 
Running as daemon: no
[Mar 07 11:17:07][chn2] Logging thread started
[Mar 07 11:17:07][chn1] Using default volkszaehler api.
[Mar 07 11:17:07][chn0] Using default volkszaehler api.
[Mar 07 11:17:07][chn2] Start logging thread for volkszaehler-api. 
Running as daemon: no
[Mar 07 11:17:07][chn2] Using default volkszaehler api.
[Mar 07 11:17:07][mtr1] Meter connection established
[Mar 07 11:17:07][mtr1] Meter thread started
[Mar 07 11:17:07][mtr1] Meter is opened. Starting channels.
[Mar 07 11:17:07][mtr1] Number of readers: 32
[Mar 07 11:17:07][mtr1] Config.daemon: 0
[Mar 07 11:17:07][chn3] Logging thread started
[Mar 07 11:17:07][chn3] Start logging thread for volkszaehler-api. 
Running as daemon: no
[Mar 07 11:17:07][mtr1] Config.local: 0
[Mar 07 11:17:07][chn4] Logging thread started
[Mar 07 11:17:07][]     Startup done.
[Mar 07 11:17:07][chn3] Using default volkszaehler api.
[Mar 07 11:17:07][chn4] Start logging thread for volkszaehler-api. 
Running as daemon: no
[Mar 07 11:17:07][chn4] Using default volkszaehler api.
[Mar 07 11:17:08][mtr0] Got 7 new readings from meter:
[Mar 07 11:17:08][mtr0] Reading: 
id=1-0:1.8.0*255/ObisIdentifier:1-0:1.8.0*255 value=29859395.80 
ts=1615112228393
[Mar 07 11:17:08][mtr0] Reading: 
id=1-0:1.8.1*255/ObisIdentifier:1-0:1.8.1*255 value=29858395.80 
ts=1615112228393
[Mar 07 11:17:08][mtr0] Reading: 
id=1-0:1.8.2*255/ObisIdentifier:1-0:1.8.2*255 value=1000.00 ts=1615112228393
[Mar 07 11:17:08][mtr0] Reading: 
id=1-0:2.8.0*255/ObisIdentifier:1-0:2.8.0*255 value=55573195.30 
ts=1615112228393
[Mar 07 11:17:08][mtr0] Reading: 
id=1-0:2.8.1*255/ObisIdentifier:1-0:2.8.1*255 value=55572195.30 
ts=1615112228393
[Mar 07 11:17:08][mtr0] Reading: 
id=1-0:2.8.2*255/ObisIdentifier:1-0:2.8.2*255 value=1000.00 ts=1615112228393
[Mar 07 11:17:08][mtr0] Reading: 
id=1-0:16.7.0*255/ObisIdentifier:1-0:16.7.0*255 value=-6933.00 
ts=1615112228393
[Mar 07 11:17:08][chn0] Adding reading to queue (value=29859395.80 
ts=1615112228393)
[Mar 07 11:17:08][chn1] Adding reading to queue (value=55573195.30 
ts=1615112228393)
[Mar 07 11:17:08][chn2] Adding reading to queue (value=-6933.00 
ts=1615112228393)
[Mar 07 11:17:08][mtr0] Stopped reading.
[Mar 07 11:17:08][chn1] ==> number of tuples: 1
[Mar 07 11:17:08][chn0] ==> number of tuples: 1
[Mar 07 11:17:08][chn1] compare: 0 1615112228393
[Mar 07 11:17:08][chn0] compare: 0 1615112228393
[Mar 07 11:17:08][chn1] copied 1/1 values for middleware transmission
[Mar 07 11:17:08][chn0] copied 1/1 values for middleware transmission
[Mar 07 11:17:08][chn2] ==> number of tuples: 1
[Mar 07 11:17:08][chn1] JSON request body: [ [ 1615112228393, 
55573195.300000004 ] ]
[Mar 07 11:17:08][chn2] compare: 0 1615112228393
[Mar 07 11:17:08][chn1] CURL: Expire in 0 ms for 6 (transfer 0xb3900ca8)
[Mar 07 11:17:08][chn2] copied 1/1 values for middleware transmission
[Mar 07 11:17:08][chn1] CURL: Expire in 30000 ms for 8 (transfer 0xb3900ca8)
[Mar 07 11:17:08][chn1] CURL:   Trying 192.168.178.51...
[Mar 07 11:17:08][chn1] CURL: TCP_NODELAY set
[Mar 07 11:17:08][chn1] CURL: Expire in 200 ms for 4 (transfer 0xb3900ca8)
[Mar 07 11:17:08][chn1] CURL: Connected to 192.168.178.51 
(192.168.178.51) port 80 (#0)
[Mar 07 11:17:08][chn1] CURL: Sent 41 bytes: '[ [ 1615112228393, 
55573195.300000004 ] ]'
[Mar 07 11:17:08][chn1] CURL: upload completely sent off: 41 out of 41 bytes
[Mar 07 11:17:08][chn1] CURL: Received 26 bytes: 
'{"version":"0.3","rows":1}'
[Mar 07 11:17:08][chn1] CURL: Connection #0 to host 192.168.178.51 left 
intact
[Mar 07 11:17:08][chn1] CURL Request succeeded with code: 200
[Mar 07 11:17:08][chn1] emptied all (1) values
[Mar 07 11:17:08][chn0] JSON request body: [ [ 1615112228393, 
29859395.800000001 ] ]
[Mar 07 11:17:08][chn0] CURL: Expire in 0 ms for 6 (transfer 0xb3900ca8)
[Mar 07 11:17:08][chn0] CURL: Expire in 30000 ms for 8 (transfer 0xb3900ca8)
[Mar 07 11:17:08][chn0] CURL: Found bundle for host 192.168.178.51: 
0xb390bf48 [can pipeline]
[Mar 07 11:17:08][chn0] CURL: Could pipeline, but not asked to!
[Mar 07 11:17:08][chn0] CURL: Re-using existing connection! (#0) with 
host 192.168.178.51
[Mar 07 11:17:08][chn0] CURL: Connected to 192.168.178.51 
(192.168.178.51) port 80 (#0)
[Mar 07 11:17:08][chn0] CURL: Expire in 0 ms for 6 (transfer 0xb3900ca8)
[Mar 07 11:17:08][chn0] CURL: Sent 41 bytes: '[ [ 1615112228393, 
29859395.800000001 ] ]'
[Mar 07 11:17:08][chn0] CURL: upload completely sent off: 41 out of 41 bytes
[Mar 07 11:17:08][chn0] CURL: Received 26 bytes: 
'{"version":"0.3","rows":1}'
[Mar 07 11:17:08][chn0] CURL: Connection #0 to host 192.168.178.51 left 
intact
[Mar 07 11:17:08][chn0] CURL Request succeeded with code: 200
[Mar 07 11:17:08][chn0] emptied all (1) values
[Mar 07 11:17:08][chn2] JSON request body: [ [ 1615112228393, -6933 ] ]
[Mar 07 11:17:08][chn2] CURL: Expire in 0 ms for 6 (transfer 0xb3900ca8)
[Mar 07 11:17:08][chn2] CURL: Expire in 30000 ms for 8 (transfer 0xb3900ca8)
[Mar 07 11:17:08][chn2] CURL: Found bundle for host 192.168.178.51: 
0xb390bf48 [can pipeline]
[Mar 07 11:17:08][chn2] CURL: Could pipeline, but not asked to!
[Mar 07 11:17:08][chn2] CURL: Re-using existing connection! (#0) with 
host 192.168.178.51
[Mar 07 11:17:08][chn2] CURL: Connected to 192.168.178.51 
(192.168.178.51) port 80 (#0)
[Mar 07 11:17:08][chn2] CURL: Expire in 0 ms for 6 (transfer 0xb3900ca8)
[Mar 07 11:17:08][chn2] CURL: Sent 28 bytes: '[ [ 1615112228393, -6933 ] ]'
[Mar 07 11:17:08][chn2] CURL: upload completely sent off: 28 out of 28 bytes
[Mar 07 11:17:08][mtr1] Got 4 new readings from meter:
[Mar 07 11:17:08][mtr1] Reading: 
id=1-0:2.8.0*255/ObisIdentifier:1-0:2.8.0*255 value=81387441.40 
ts=1615112228462
[Mar 07 11:17:08][mtr1] Reading: 
id=1-0:2.8.1*255/ObisIdentifier:1-0:2.8.1*255 value=81386441.40 
ts=1615112228462
[Mar 07 11:17:08][mtr1] Reading: 
id=1-0:2.8.2*255/ObisIdentifier:1-0:2.8.2*255 value=1000.00 ts=1615112228462
[Mar 07 11:17:08][mtr1] Reading: 
id=1-0:16.7.0*255/ObisIdentifier:1-0:16.7.0*255 value=-9666.00 
ts=1615112228462
[Mar 07 11:17:08][chn3] Adding reading to queue (value=81387441.40 
ts=1615112228462)
[Mar 07 11:17:08][chn4] Adding reading to queue (value=-9666.00 
ts=1615112228462)
[Mar 07 11:17:08][mtr1] Stopped reading.
[Mar 07 11:17:08][chn3] ==> number of tuples: 1
[Mar 07 11:17:08][chn3] compare: 0 1615112228462
[Mar 07 11:17:08][chn3] copied 1/1 values for middleware transmission
[Mar 07 11:17:08][chn4] ==> number of tuples: 1
[Mar 07 11:17:08][chn4] compare: 0 1615112228462
[Mar 07 11:17:08][chn4] copied 1/1 values for middleware transmission
[Mar 07 11:17:08][chn2] CURL: Received 26 bytes: 
'{"version":"0.3","rows":1}'
[Mar 07 11:17:08][chn2] CURL: Connection #0 to host 192.168.178.51 left 
intact
[Mar 07 11:17:08][chn2] CURL Request succeeded with code: 200
[Mar 07 11:17:08][chn3] JSON request body: [ [ 1615112228462, 
81387441.400000006 ] ]
[Mar 07 11:17:08][chn2] emptied all (1) values
[Mar 07 11:17:08][chn3] CURL: Expire in 0 ms for 6 (transfer 0xb3900ca8)
[Mar 07 11:17:08][chn3] CURL: Expire in 30000 ms for 8 (transfer 0xb3900ca8)
[Mar 07 11:17:08][chn3] CURL: Found bundle for host 192.168.178.51: 
0xb390bf48 [can pipeline]
[Mar 07 11:17:08][chn3] CURL: Could pipeline, but not asked to!
[Mar 07 11:17:08][chn3] CURL: Re-using existing connection! (#0) with 
host 192.168.178.51
[Mar 07 11:17:08][chn3] CURL: Connected to 192.168.178.51 
(192.168.178.51) port 80 (#0)
[Mar 07 11:17:08][chn3] CURL: Expire in 0 ms for 6 (transfer 0xb3900ca8)
[Mar 07 11:17:08][chn3] CURL: Sent 41 bytes: '[ [ 1615112228462, 
81387441.400000006 ] ]'
[Mar 07 11:17:08][chn3] CURL: upload completely sent off: 41 out of 41 bytes
[Mar 07 11:17:08][chn3] CURL: Received 26 bytes: 
'{"version":"0.3","rows":1}'
[Mar 07 11:17:08][chn3] CURL: Connection #0 to host 192.168.178.51 left 
intact
[Mar 07 11:17:08][chn3] CURL Request succeeded with code: 200
[Mar 07 11:17:08][chn3] emptied all (1) values
[Mar 07 11:17:08][chn4] JSON request body: [ [ 1615112228462, -9666 ] ]
[Mar 07 11:17:08][chn4] CURL: Expire in 0 ms for 6 (transfer 0xb3900ca8)
[Mar 07 11:17:08][chn4] CURL: Expire in 30000 ms for 8 (transfer 0xb3900ca8)
[Mar 07 11:17:08][chn4] CURL: Found bundle for host 192.168.178.51: 
0xb390bf48 [can pipeline]
[Mar 07 11:17:08][chn4] CURL: Could pipeline, but not asked to!
[Mar 07 11:17:08][chn4] CURL: Re-using existing connection! (#0) with 
host 192.168.178.51
[Mar 07 11:17:08][chn4] CURL: Connected to 192.168.178.51 
(192.168.178.51) port 80 (#0)
[Mar 07 11:17:08][chn4] CURL: Expire in 0 ms for 6 (transfer 0xb3900ca8)
[Mar 07 11:17:08][chn4] CURL: Sent 28 bytes: '[ [ 1615112228462, -9666 ] ]'
[Mar 07 11:17:08][chn4] CURL: upload completely sent off: 28 out of 28 bytes
[Mar 07 11:17:08][chn4] CURL: Received 26 bytes: 
'{"version":"0.3","rows":1}'
[Mar 07 11:17:08][chn4] CURL: Connection #0 to host 192.168.178.51 left 
intact
[Mar 07 11:17:08][chn4] CURL Request succeeded with code: 200
[Mar 07 11:17:08][chn4] emptied all (1) values
[Mar 07 11:17:11][]     main loop indicating all mappings to quit
[Mar 07 11:17:11][mtr0] MeterMap::cancel entered...
[Mar 07 11:17:11][mtr0] MeterMap::cancel wait for readingthread
[Mar 07 11:17:11][mtr0] MeterMap::cancel wait for meter::close
[Mar 07 11:17:12][mtr0] MeterMap::cancel finished.
[Mar 07 11:17:12][mtr1] MeterMap::cancel entered...
[Mar 07 11:17:12][mtr1] MeterMap::cancel wait for readingthread
[Mar 07 11:17:12][mtr1] MeterMap::cancel wait for meter::close
[Mar 07 11:17:12][mtr1] MeterMap::cancel finished.
[Mar 07 11:17:12][]     Server stopped.
[Mar 07 11:17:12][]     Trying to delete curlSessionProvider...
[Mar 07 11:17:12][]     deleted curlSessionProvider




Und hier die aktuelle CZLogger.conf:

pi at VzOberhofen:~ $ sudo cat /etc/vzlogger.conf
{
   "retry": 30,
   "daemon": false,
   "verbosity": 15,
   "log": "/var/log/vzlogger.log",
   "push": [],
   "local": {
     "enabled": false,
     "port": 8080,
     "index": false,
     "timeout": 30,
     "buffer": 600
   },
   "meters": [
     {
       "enabled": true,
       "allowskip": false,
       "interval": 0,
       "aggtime": 1,
       "aggfixedinterval": false,
       "channels": [
         {
           "api": "volkszaehler",
           "uuid": "dcd32a80-7f24-11eb-b5df-1de853ecc07a",
           "identifier": "1-0:1.8.0*255",
           "middleware": "http://192.168.178.51/middleware.php",
           "aggmode": "none",
           "duplicates": 0
         },
         {
           "api": "volkszaehler",
           "uuid": "f83d8a80-7f24-11eb-9683-db811646dd7e",
           "identifier": "1-0:2.8.0*255",
           "middleware": "http://192.168.178.51/middleware.php",
           "aggmode": "none",
           "duplicates": 0
         },
         {
           "api": "volkszaehler",
           "uuid": "12604150-7f25-11eb-ac23-3fef1391683c",
           "identifier": "1-0:16.7.0*255",
           "middleware": "http://192.168.178.51/middleware.php",
           "aggmode": "none",
           "duplicates": 0
         }
       ],
       "protocol": "sml",
       "device": 
"/dev/serial/by-id/usb-Silicon_Labs_USB-IR-Kopf_001DD83D-if00-port0",
       "pullseq": "",
       "baudrate": 9600,
       "parity": "8n1",
       "use_local_time": false,
       "host": ""
     },
     {
       "enabled": true,
       "allowskip": false,
       "interval": 0,
       "aggtime": 1,
       "aggfixedinterval": false,
       "channels": [
         {
           "api": "volkszaehler",
           "uuid": "741c2c70-7f24-11eb-820a-1f1fd4f8f205",
           "identifier": "1-0:2.8.0*255",
           "middleware": "http://192.168.178.51/middleware.php",
           "aggmode": "none",
           "duplicates": 0
         },
         {
           "api": "volkszaehler",
           "uuid": "8bfe2580-7f24-11eb-9f71-51b15537a015",
           "identifier": "1-0:16.7.0*255",
           "middleware": "http://192.168.178.51/middleware.php",
           "aggmode": "none",
           "duplicates": 0
         }
       ],
       "protocol": "sml",
       "device": 
"/dev/serial/by-id/usb-Silicon_Labs_USB-IR-Kopf_001DD0DA-if00-port0",
       "pullseq": "",
       "baudrate": 9600,
       "parity": "8n1",
       "use_local_time": false
     }
   ]
}
pi at VzOberhofen:~ $



Ich komm irgendwie nicht weiter...

Danke für deine Mühe und Geduld mit mir....

Thomas


Am 07.03.2021 um 11:07 schrieb Daniel Lauckner:
> Hallo,
>
>
> am Sonntag, 7. März 2021 um 11:02 hat Heine.Thomas at online.de geschrieben:
>> ich hab jetzt mal mit sudo vzlogger folgendes erhalten:
> Wenn das Logfile mit root-Rechten angelegt wurde hat der User unter
> dem vzlogger läuft keinen Schreibzugriff. Dann musst du den Besitzer
> der Datei ändern.
>
>
> mfg Daniel
>



Mehr Informationen über die Mailingliste volkszaehler-users