Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Script started on Fri 20 Jul 2012 03:37:37 PM CEST
- [Jul 20 15:37:37] Start parsing configuration from ../../../vzlogger-stv0g//etc/vzlogger-test.conf
- [Jul 20 15:37:37][mtr0] Creating new meter with protocol d0.
- [Jul 20 15:37:37][mtr0] Meter configured.
- [Jul 20 15:37:37] New meter initialized (protocol=d0)
- [Jul 20 15:37:37] Configure channel.
- [Jul 20 15:37:37][chn0] New channel initialized (uuid=...b42962 protocol=vz id=1-0:1.8.0)
- [Jul 20 15:37:37] Have 1 meters.
- [Jul 20 15:37:37][main] foreground=1, daemon=1, local=1
- [Jul 20 15:37:37] NOT Daemonize process...
- [Jul 20 15:37:37][] ===> Start meters.
- [Jul 20 15:37:37][mtr0] Meter connection established
- [Jul 20 15:37:37][mtr0] Meter thread started
- [Jul 20 15:37:37][mtr0] meter is opened. Start channels.
- [Jul 20 15:37:37][chn0] Logging thread started
- [Jul 20 15:37:37][chn0] Start logging thread for vz-api. Running as daemon: yes
- [Jul 20 15:37:37][] Startup done.
- [Jul 20 15:37:37][mtr0] Number of readers: 32
- [Jul 20 15:37:37][mtr0] Config.daemon: 1
- [Jul 20 15:37:37][mtr0] Config.local: 1
- [Jul 20 15:37:37][chn0] Using default api:
- [Jul 20 15:37:37][d0] Parsed reading (OBIS code=1-0:0.0.0*255, value=1095100000134714, unit=)
- [Jul 20 15:37:37][d0] Parsed reading (OBIS code=1-0:1.8.0*255, value=000299.8152, unit=)
- [Jul 20 15:37:37][d0] Parsed reading (OBIS code=1-0:2.8.0*255, value=000001.1838, unit=)
- [Jul 20 15:37:37][d0] Parsed reading (OBIS code=1-0:96.5.5*255, value=82, unit=)
- [Jul 20 15:37:37][d0] Parsed reading (OBIS code=0-0:96.1.255*255, value=0000134714, unit=)
- [Jul 20 15:37:37][d0] Parsed reading (OBIS code=1-0:52.7.0*255, value=232.34, unit=V)
- [Jul 20 15:37:37][d0] Parsed reading (OBIS code=1-0:51.7.0*255, value=000.57, unit=A)
- [Jul 20 15:37:37][d0] Parsed reading (OBIS code=1-0:41.7.0*255, value=+00124, unit=W)
- [Jul 20 15:37:37][d0] Parsed reading (OBIS code=1-0:96.50.0*0, value=45, unit=)
- [Jul 20 15:37:37][d0] Parsed reading (OBIS code=1-0:96.50.0*1, value=07D0, unit=)
- [Jul 20 15:37:37][d0] Parsed reading (OBIS code=1-0:96.50.0*2, value=17, unit=)
- [Jul 20 15:37:37][d0] Parsed reading (OBIS code=1-0:96.50.0*3, value=0C, unit=)
- [Jul 20 15:37:37][d0] Parsed reading (OBIS code=1-0:96.50.0*4, value=1F, unit=)
- [Jul 20 15:37:37][d0] Parsed reading (OBIS code=1-0:96.50.0*5, value=18, unit=)
- [Jul 20 15:37:37][d0] Parsed reading (OBIS code=1-0:96.50.0*6, value=003D381B2A0A00116FFFAF0E00009F80, unit=)
- [Jul 20 15:37:37][d0] Parsed reading (OBIS code=1-0:96.50.0*7, value=00, unit=)
- [Jul 20 15:37:37][d0] Read package with 16 tuples (vendor=HAG, baudrate=5, identification=eHZ010C_EHZ1sA22)
- [Jul 20 15:37:37][mtr0] Got 16 new readings from meter:
- [Jul 20 15:37:37][mtr0] Reading: id=1-0:0.0.0*255/ObisItentifier:1-0:0.0.0*255 value=1095100025274368.00 ts=1342791457.324
- [Jul 20 15:37:37][mtr0] Reading: id=1-0:1.8.0*255/ObisItentifier:1-0:1.8.0*255 value=299.82 ts=1342791457.324
- [Jul 20 15:37:37][mtr0] Reading: id=1-0:2.8.0*255/ObisItentifier:1-0:2.8.0*255 value=1.18 ts=1342791457.324
- [Jul 20 15:37:37][mtr0] Reading: id=1-0:96.5.5*255/ObisItentifier:1-0:96.5.5*255 value=82.00 ts=1342791457.324
- [Jul 20 15:37:37][mtr0] Reading: id=0-0:96.1.255*255/ObisItentifier:0-0:96.1.255*255 value=134714.00 ts=1342791457.324
- [Jul 20 15:37:37][mtr0] Reading: id=1-0:52.7.0*255/ObisItentifier:1-0:52.7.0*255 value=232.34 ts=1342791457.324
- [Jul 20 15:37:37][mtr0] Reading: id=1-0:51.7.0*255/ObisItentifier:1-0:51.7.0*255 value=0.57 ts=1342791457.324
- [Jul 20 15:37:37][mtr0] Reading: id=1-0:41.7.0*255/ObisItentifier:1-0:41.7.0*255 value=124.00 ts=1342791457.324
- [Jul 20 15:37:37][mtr0] Reading: id=1-0:96.50.0*0/ObisItentifier:1-0:96.50.0*0 value=45.00 ts=1342791457.324
- [Jul 20 15:37:37][mtr0] Reading: id=1-0:96.50.0*1/ObisItentifier:1-0:96.50.0*1 value=7.00 ts=1342791457.324
- [Jul 20 15:37:37][mtr0] Reading: id=1-0:96.50.0*2/ObisItentifier:1-0:96.50.0*2 value=17.00 ts=1342791457.324
- [Jul 20 15:37:37][mtr0] Reading: id=1-0:96.50.0*3/ObisItentifier:1-0:96.50.0*3 value=0.00 ts=1342791457.324
- [Jul 20 15:37:37][mtr0] Reading: id=1-0:96.50.0*4/ObisItentifier:1-0:96.50.0*4 value=1.00 ts=1342791457.324
- [Jul 20 15:37:37][mtr0] Reading: id=1-0:96.50.0*5/ObisItentifier:1-0:96.50.0*5 value=18.00 ts=1342791457.324
- [Jul 20 15:37:37][mtr0] Reading: id=1-0:96.50.0*6/ObisItentifier:1-0:96.50.0*6 value=3.00 ts=1342791457.324
- [Jul 20 15:37:37][mtr0] Reading: id=1-0:96.50.0*7/ObisItentifier:1-0:96.50.0*7 value=0.00 ts=1342791457.324
- [Jul 20 15:37:37][chn0] Adding reading to queue (value=299.82 ts=1342791457.324)
- [Jul 20 15:37:37][chn0] Buffer dump (size=1 keep=300): {299.8152,}
- [Jul 20 15:37:37][d0] Something unexpected happened: read:279!
- [Jul 20 15:37:37][api] ==> number of tuples: 1
- [Jul 20 15:37:37][mtr0] Got 0 new readings from meter:
- [Jul 20 15:37:37][chn0] Buffer dump (size=0 keep=300): {}
- [Jul 20 15:37:37][chn0] JSON request body is null. Nothing to send now.
- [Jul 20 15:37:37][d0] Parsed reading (OBIS code=1-0:0.0.0*255, value=1095100000134714, unit=)
- [Jul 20 15:37:37][d0] Parsed reading (OBIS code=1-0:1.8.0*255, value=000299.8153, unit=)
- [Jul 20 15:37:37][d0] Parsed reading (OBIS code=1-0:2.8.0*255, value=000001.1838, unit=)
- [Jul 20 15:37:37][d0] Parsed reading (OBIS code=1-0:96.5.5*255, value=82, unit=)
- [Jul 20 15:37:37][d0] Parsed reading (OBIS code=0-0:96.1.255*255, value=0000134714, unit=)
- [Jul 20 15:37:37][d0] Parsed reading (OBIS code=1-0:52.7.0*255, value=232.29, unit=V)
- [Jul 20 15:37:37][d0] Parsed reading (OBIS code=1-0:51.7.0*255, value=000.57, unit=A)
- [Jul 20 15:37:37][d0] Parsed reading (OBIS code=1-0:41.7.0*255, value=+00124, unit=W)
- [Jul 20 15:37:37][d0] Parsed reading (OBIS code=1-0:96.50.0*0, value=45, unit=)
- [Jul 20 15:37:37][d0] Parsed reading (OBIS code=1-0:96.50.0*1, value=07D0, unit=)
- [Jul 20 15:37:37][d0] Parsed reading (OBIS code=1-0:96.50.0*2, value=17, unit=)
- [Jul 20 15:37:37][d0] Parsed reading (OBIS code=1-0:96.50.0*3, value=0C, unit=)
- [Jul 20 15:37:37][d0] Parsed reading (OBIS code=1-0:96.50.0*4, value=1F, unit=)
- [Jul 20 15:37:37][d0] Parsed reading (OBIS code=1-0:96.50.0*5, value=18, unit=)
- [Jul 20 15:37:37][d0] Parsed reading (OBIS code=1-0:96.50.0*6, value=003D381B2A0A00116FFFAF0E00009F80, unit=)
- [Jul 20 15:37:37][d0] Parsed reading (OBIS code=1-0:96.50.0*7, value=00, unit=)
- [Jul 20 15:37:37][d0] Read package with 16 tuples (vendor=HAG, baudrate=5, identification=eHZ010C_EHZ1sA22)
- [Jul 20 15:37:37][mtr0] Got 16 new readings from meter:
- [Jul 20 15:37:37][mtr0] Reading: id=1-0:0.0.0*255/ObisItentifier:1-0:0.0.0*255 value=1095100025274368.00 ts=1342791457.325
- [Jul 20 15:37:37][mtr0] Reading: id=1-0:1.8.0*255/ObisItentifier:1-0:1.8.0*255 value=299.82 ts=1342791457.325
- [Jul 20 15:37:37][mtr0] Reading: id=1-0:2.8.0*255/ObisItentifier:1-0:2.8.0*255 value=1.18 ts=1342791457.325
- [Jul 20 15:37:37][mtr0] Reading: id=1-0:96.5.5*255/ObisItentifier:1-0:96.5.5*255 value=82.00 ts=1342791457.325
- [Jul 20 15:37:37][mtr0] Reading: id=0-0:96.1.255*255/ObisItentifier:0-0:96.1.255*255 value=134714.00 ts=1342791457.325
- [Jul 20 15:37:37][mtr0] Reading: id=1-0:52.7.0*255/ObisItentifier:1-0:52.7.0*255 value=232.29 ts=1342791457.325
- [Jul 20 15:37:37][mtr0] Reading: id=1-0:51.7.0*255/ObisItentifier:1-0:51.7.0*255 value=0.57 ts=1342791457.325
- [Jul 20 15:37:37][mtr0] Reading: id=1-0:41.7.0*255/ObisItentifier:1-0:41.7.0*255 value=124.00 ts=1342791457.325
- [Jul 20 15:37:37][mtr0] Reading: id=1-0:96.50.0*0/ObisItentifier:1-0:96.50.0*0 value=45.00 ts=1342791457.325
- [Jul 20 15:37:37][mtr0] Reading: id=1-0:96.50.0*1/ObisItentifier:1-0:96.50.0*1 value=7.00 ts=1342791457.325
- [Jul 20 15:37:37][mtr0] Reading: id=1-0:96.50.0*2/ObisItentifier:1-0:96.50.0*2 value=17.00 ts=1342791457.325
- [Jul 20 15:37:37][mtr0] Reading: id=1-0:96.50.0*3/ObisItentifier:1-0:96.50.0*3 value=0.00 ts=1342791457.325
- [Jul 20 15:37:37][mtr0] Reading: id=1-0:96.50.0*4/ObisItentifier:1-0:96.50.0*4 value=1.00 ts=1342791457.325
- [Jul 20 15:37:37][mtr0] Reading: id=1-0:96.50.0*5/ObisItentifier:1-0:96.50.0*5 value=18.00 ts=1342791457.325
- [Jul 20 15:37:37][mtr0] Reading: id=1-0:96.50.0*6/ObisItentifier:1-0:96.50.0*6 value=3.00 ts=1342791457.325
- [Jul 20 15:37:37][mtr0] Reading: id=1-0:96.50.0*7/ObisItentifier:1-0:96.50.0*7 value=0.00 ts=1342791457.325
- [Jul 20 15:37:37][chn0] Adding reading to queue (value=299.82 ts=1342791457.325)
- [Jul 20 15:37:37][chn0] Buffer dump (size=1 keep=300): {299.8153,}
- [Jul 20 15:37:37][d0] Something unexpected happened: read:279!
- [Jul 20 15:37:37][api] ==> number of tuples: 1
- [Jul 20 15:37:37][mtr0] Got 0 new readings from meter:
- [Jul 20 15:37:37][chn0] JSON request body is null. Nothing to send now.
- [Jul 20 15:37:37][chn0] Buffer dump (size=0 keep=300): {}
- ....
- [Jul 20 15:37:38][chn0] Buffer dump (size=1 keep=600): {299.8175,}
- [Jul 20 15:37:38][api] ==> number of tuples: 1
- [Jul 20 15:37:38][chn0] JSON request body: [ [ 1342791457324.163818, 299.815186 ], [ 1342791458483.383057, 299.817505 ] ]
- [Jul 20 15:37:38][chn0] CURL: About to connect() to proxy squid.itwm.fhg.de port 3128 (#0)
- [Jul 20 15:37:38][chn0] CURL: Trying 131.246.191.185...
- [Jul 20 15:37:38][chn0] CURL: connected
- [Jul 20 15:37:38][chn0] CURL: Connected to squid.itwm.fhg.de (131.246.191.185) port 3128 (#0)
- [Jul 20 15:37:38][chn0] CURL: Sent 78 bytes..
- [Jul 20 15:37:38][CURL] CURL: Sent '[ [ 1342791457324.163818, 299.815186 ], [ 1342791458483.383057, 299.817505 ] ]' bytes
- [Jul 20 15:37:38][d0] Something unexpected happened: read:279!
- [Jul 20 15:37:38][mtr0] Got 0 new readings from meter:
- [Jul 20 15:37:38][chn0] Buffer dump (size=0 keep=600): {}
- [Jul 20 15:37:38][chn0] CURL: HTTP 1.0, assume close after body
- [Jul 20 15:37:38][chn0] CURL: HTTP/1.0 proxy connection set to keep alive!
- [Jul 20 15:37:38][chn0] CURL: Received 17 bytes
- [Jul 20 15:37:38][CURL] CURL: Received '{"version":"0.2"}' bytes
- [Jul 20 15:37:38][chn0] CURL: Connection #0 to host squid.itwm.fhg.de left intact
- [Jul 20 15:37:38][chn0] CURL Request succeeded with code: 200
- ...
- [Jul 20 15:37:44][chn0] Adding reading to queue (value=299.82 ts=1342791464.464)
- [Jul 20 15:37:44][chn0] Buffer dump (size=1 keep=200): {299.8177,}
- [Jul 20 15:37:44][d0] Something unexpected happened: read:279!
- [Jul 20 15:37:44][mtr0] Got 0 new readings from meter:
- [Jul 20 15:37:44][chn0] Buffer dump (size=1 keep=200): {299.8177,}
- [Jul 20 15:37:44][api] ==> number of tuples: 1
- [Jul 20 15:37:44][chn0] JSON request body: [ [ 1342791461473.581055, 299.817596 ], [ 1342791464463.697021, 299.817688 ] ]
- [Jul 20 15:37:44][chn0] CURL: Re-using existing connection! (#0) with host squid.itwm.fhg.de
- [Jul 20 15:37:44][chn0] CURL: Connected to squid.itwm.fhg.de (131.246.191.185) port 3128 (#0)
- [Jul 20 15:37:44][chn0] CURL: Sent 78 bytes..
- [Jul 20 15:37:44][CURL] CURL: Sent '[ [ 1342791461473.581055, 299.817596 ], [ 1342791464463.697021, 299.817688 ] ]<D1>^B' bytes
- [Jul 20 15:37:44][chn0] CURL: HTTP 1.0, assume close after body
- [Jul 20 15:37:44][chn0] CURL: HTTP/1.0 proxy connection set to keep alive!
- [Jul 20 15:37:44][chn0] CURL: Received 17 bytes
- [Jul 20 15:37:44][CURL] CURL: Received '{"version":"0.2"}' bytes
- [Jul 20 15:37:44][chn0] CURL: Connection #0 to host squid.itwm.fhg.de left intact
- [Jul 20 15:37:44][chn0] CURL Request succeeded with code: 200
- [Jul 20 15:37:47][d0] Parsed reading (OBIS code=1-0:0.0.0*255, value=1095100000134714, unit=)
- ...
- [Jul 23 12:15:57][d0] Something unexpected happened: read:279!
- [Jul 23 12:15:57][mtr0] Got 0 new readings from meter:
- [Jul 23 12:15:57][chn0] Buffer dump (size=1 keep=85): {308.3391,}
- [Jul 23 12:15:57][api] ==> number of tuples: 1
- [Jul 23 12:15:57][chn0] JSON request body: [ [ 1343038550683.796875, 308.338989 ], [ 1343038557804.542969, 308.339111 ] ]
- [Jul 23 12:15:57][chn0] CURL: Re-using existing connection! (#0) with host squid.itwm.fhg.de
- [Jul 23 12:15:57][chn0] CURL: Connected to squid.itwm.fhg.de (131.246.191.185) port 3128 (#0)
- [Jul 23 12:15:57][chn0] CURL: Sent 78 bytes..
- [Jul 23 12:15:57][CURL] CURL: Sent '[ [ 1343038550683.796875, 308.338989 ], [ 1343038557804.542969, 308.339111 ] ]a^T' bytes
- [Jul 23 12:15:57][chn0] Adding reading to queue (value=308.34 ts=1343038557.805)
- [Jul 23 12:15:57][chn0] Buffer dump (size=1 keep=85): {308.3392,}
- [Jul 23 12:15:57][d0] Something unexpected happened: read:279!
- [Jul 23 12:15:57][mtr0] Got 0 new readings from meter:
- [Jul 23 12:15:57][chn0] Buffer dump (size=1 keep=85): {308.3392,}
- [Jul 23 12:15:57][chn0] CURL: HTTP 1.0, assume close after body
- [Jul 23 12:15:57][chn0] CURL: HTTP/1.0 proxy connection set to keep alive!
- [Jul 23 12:15:57][chn0] CURL: Received 17 bytes
- [Jul 23 12:15:57][CURL] CURL: Received '{"version":"0.2"}' bytes
- [Jul 23 12:15:57][chn0] CURL: Connection #0 to host squid.itwm.fhg.de left intact
- [Jul 23 12:15:57][chn0] CURL Request succeeded with code: 200
- [Jul 23 12:15:57][api] ==> number of tuples: 1
- [Jul 23 12:15:57][chn0] JSON request body is null. Nothing to send now.
- [Jul 23 12:15:59][d0] Parsed reading (OBIS code=1-0:0.0.0*255, value=1095100000134714, unit=)
- ...
- [Jul 23 12:15:59][mtr0] Updating interval to 2
- [Jul 23 12:15:59][chn0] Adding reading to queue (value=308.34 ts=1343038559.233)
- [Jul 23 12:15:59][chn0] Buffer dump (size=1 keep=300): {308.3393,}
- [Jul 23 12:15:59][d0] Something unexpected happened: read:279!
- [Jul 23 12:15:59][mtr0] Got 0 new readings from meter:
- [Jul 23 12:15:59][chn0] Buffer dump (size=1 keep=300): {308.3393,}
- [Jul 23 12:15:59][api] ==> number of tuples: 1
- [Jul 23 12:15:59][chn0] JSON request body: [ [ 1343038557805.119141, 308.339203 ], [ 1343038559232.935791, 308.339294 ] ]
- [Jul 23 12:15:59][chn0] CURL: Re-using existing connection! (#0) with host squid.itwm.fhg.de
- [Jul 23 12:15:59][chn0] CURL: Connected to squid.itwm.fhg.de (131.246.191.185) port 3128 (#0)
- [Jul 23 12:15:59][chn0] CURL: Sent 78 bytes..
- [Jul 23 12:15:59][CURL] CURL: Sent '[ [ 1343038557805.119141, 308.339203 ], [ 1343038559232.935791, 308.339294 ] ]<B1>^C' bytes
- [Jul 23 12:15:59][chn0] CURL: HTTP 1.0, assume close after body
- [Jul 23 12:15:59][chn0] CURL: Received 193 bytes
- [Jul 23 12:15:59][CURL] CURL: Received '{"version":"0.2","exception":{"message":"SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1008-1343038557805' for key 'chan_ts_idx'","type":"PDOException","code":"23000"}}' bytes
- [Jul 23 12:15:59][chn0] CURL: Closing connection #0
- [Jul 23 12:15:59][chn0] CURL Error from middleware: PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1008-1343038557805' for key 'chan_ts_idx'
- [Jul 23 12:15:59][chn0] Waiting 30 secs for next request due to previous failure
- ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement