CCU-Historian@Synology

Das Langzeitarchiv für HomeMatic

Moderator: Co-Administratoren

derrapf
Beiträge: 815
Registriert: 17.12.2012, 22:29

Re: CCU-Historian@Synology

Beitrag von derrapf » 30.11.2017, 23:19

Ergänzend zu meinem vorigen Post:
Interessanter Effekt:
Historian über de Paketmanager angehalten.
Webserverport auf 81.
Neu gestartet: Es kommt wieder der Fehler:

Code: Alles auswählen

2017-11-30 23:18:39|FINE   |java.net.ConnectException: Connection refused
	at mdz.hc.itf.hm.HmXmlRpcClient.init(HmXmlRpcClient.groovy:28)
	at mdz.hc.itf.hm.HmXmlRpcInterface.init(HmXmlRpcInterface.groovy:96)
	at mdz.hc.itf.hm.HmXmlRpcInterface.start(HmXmlRpcInterface.groovy:55)
	at mdz.hc.itf.Manager$_start_closure1.doCall(Manager.groovy:43)
	at mdz.hc.itf.Manager.start(Manager.groovy:41)
	at mdz.ccuhistorian.HistorianSystem.<init>(HistorianSystem.groovy:21)
	at mdz.ccuhistorian.Main.start(Main.groovy:78)
	at mdz.ccuhistorian.Main.access$0(Main.groovy)
	at mdz.ccuhistorian.Main$_run_closure4.doCall(Main.groovy:55)
	at mdz.ccuhistorian.Main$_run_closure4.call(Main.groovy)
	at mdz.ccuhistorian.LogSystem.catchToLog(LogSystem.groovy:78)
	at mdz.ccuhistorian.Main.run(Main.groovy:55)
	at mdz.ccuhistorian.Main.main(Main.groovy:23)
2017-11-30 23:18:39|FINEST |Sleeping
Mal sehen ob ich wieder eine Stunde warte muss und er sich dann erholt? Oder es liegt an dem webserver Port?
Ich schalt ihn mal wieder aus...

Nee. Wieder auskommentert und neu gestartet:

Code: Alles auswählen

2017-11-30 23:23:14|FINE   |Log system configuration:
2017-11-30 23:23:14|FINE   |logSystem.consoleLevel=Level.INFO
2017-11-30 23:23:14|FINE   |logSystem.fileLevel=Level.FINEST
2017-11-30 23:23:14|FINE   |logSystem.fileName='/volume1/Medien/server-extern/Synology/historian/ccu-historian-%g.log'
2017-11-30 23:23:14|FINE   |logSystem.fileLimit=10000000
2017-11-30 23:23:14|FINE   |logSystem.fileCount=5
2017-11-30 23:23:14|FINE   |logSystem.binRpcLevel=Level.FINEST
2017-11-30 23:23:14|INFO   |Starting base services
2017-11-30 23:23:15|INFO   |Connecting to database
2017-11-30 23:23:15|FINE   |database.dir='/volume1/@appstore/ccu-historian/data'
2017-11-30 23:23:15|FINE   |database.name='history'
2017-11-30 23:23:15|FINE   |database.user='sa'
2017-11-30 23:23:15|FINE   |database.webEnable=true
2017-11-30 23:23:15|FINE   |database.webPort=8082
2017-11-30 23:23:15|FINE   |database.webAllowOthers=true
2017-11-30 23:23:15|FINE   |database.tcpEnable=false
2017-11-30 23:23:15|FINE   |database.tcpPort=9092
2017-11-30 23:23:15|FINE   |database.tcpAllowOthers=false
2017-11-30 23:23:15|FINE   |database.pgEnable=false
2017-11-30 23:23:15|FINE   |database.pgPort=5435
2017-11-30 23:23:15|FINE   |database.pgAllowOthers=false
2017-11-30 23:23:15|FINE   |database.backup=''
2017-11-30 23:23:15|FINE   |Database: Preparing table DATA_POINTS
2017-11-30 23:23:15|INFO   |Starting database web server
2017-11-30 23:23:15|FINE   |Database management URL: http://localhost:8082
2017-11-30 23:23:15|FINE   |Configuring interfaces
2017-11-30 23:23:15|FINE   |All devices: Reading configuration option 'historianBinRpcPort': 
2017-11-30 23:23:15|FINE   |All devices: Reading configuration option 'historianXmlRpcPort': 
2017-11-30 23:23:15|FINE   |All devices: Reading configuration option 'historianAddress': 192.168.111.180
2017-11-30 23:23:15|INFO   |Setting up device 1
2017-11-30 23:23:15|FINE   |Device 1: Reading configuration option 'type': CCU2
2017-11-30 23:23:15|FINE   |Device 1: Reading configuration option 'address': 192.168.111.160
2017-11-30 23:23:15|FINE   |Device 1: Reading configuration option 'reinitTimeout': 
2017-11-30 23:23:15|FINE   |Device 1: Reading configuration option 'prefix': 
2017-11-30 23:23:15|FINE   |Device 1: Reading configuration option 'writeAccess': 
2017-11-30 23:23:15|FINE   |Device 1: Reading configuration option 'sysVarDataCycle': 
2017-11-30 23:23:15|FINE   |Device 1: Reading configuration option 'timeout': 
2017-11-30 23:23:15|INFO   |Creating HM script client for http://192.168.111.160:8181/tclrega.exe
2017-11-30 23:23:15|INFO   |Setting up plug-in 1
2017-11-30 23:23:15|FINE   |Plug-in 1: Reading configuration option 'type': CUXD
2017-11-30 23:23:15|FINE   |Device 1: Reading configuration option 'watchdogProgram': 
2017-11-30 23:23:15|FINE   |Device 1: Reading configuration option 'watchdogCycle': 
2017-11-30 23:23:15|INFO   |Configured following interfaces: BidCos-RF, HmIP-RF, SysVar, CUxD
2017-11-30 23:23:15|INFO   |Starting interfaces
2017-11-30 23:23:16|INFO   |Starting BIN-RPC server on port 2099
2017-11-30 23:23:16|INFO   |Starting XML-RPC server on port 2098
2017-11-30 23:23:16|FINE   |XML-RPC server address is http://192.168.111.180:2098
2017-11-30 23:23:16|FINE   |Calling method 'init' with parameters [binary://192.168.111.180:2099, BidCos-RF]
2017-11-30 23:23:16|INFO   |Connecting to 192.168.111.160:2001
2017-11-30 23:23:16|FINEST |Sending 74 bytes to 192.168.111.160:2001:
0000: Bin....B....init............bina  42 69 6E 00 00 00 00 42 00 00 00 04 69 6E 69 74 00 00 00 02 00 00 00 03 00 00 00 1D 62 69 6E 61 
0020: ry://192.168.111.180:2099.......  72 79 3A 2F 2F 31 39 32 2E 31 36 38 2E 31 31 31 2E 31 38 30 3A 32 30 39 39 00 00 00 03 00 00 00 
0040: .BidCos-RF                        09 42 69 64 43 6F 73 2D 52 46 
2017-11-30 23:23:16|FINEST |Receiving 8 bytes from 192.168.111.160:2001
2017-11-30 23:23:16|FINE   |Client 192.168.111.160:49629 has connected
2017-11-30 23:23:16|FINEST |Receiving 8 bytes
2017-11-30 23:23:16|FINEST |Received data:
0000: Bin....+                          42 69 6E 00 00 00 00 2B 
2017-11-30 23:23:16|FINEST |Receiving 43 bytes
2017-11-30 23:23:16|FINEST |Received data:
0000: ....system.listMethods..........  00 00 00 12 73 79 73 74 65 6D 2E 6C 69 73 74 4D 65 74 68 6F 64 73 00 00 00 01 00 00 00 03 00 00 
0020: ..BidCos-RF                       00 09 42 69 64 43 6F 73 2D 52 46 
2017-11-30 23:23:16|FINE   |Call of method 'system.listMethods' received with parameters [BidCos-RF]
2017-11-30 23:23:16|FINE   |Sending method result: [system.multicall, system.listMethods, event, listDevices, newDevices, deleteDevices, updateDevice, replaceDevice, readdedDevice]
2017-11-30 23:23:16|FINEST |Sending 199 bytes:
0000: Bin.....................system.m  42 69 6E 01 00 00 00 BF 00 00 01 00 00 00 00 09 00 00 00 03 00 00 00 10 73 79 73 74 65 6D 2E 6D 
0020: ulticall........system.listMetho  75 6C 74 69 63 61 6C 6C 00 00 00 03 00 00 00 12 73 79 73 74 65 6D 2E 6C 69 73 74 4D 65 74 68 6F 
0040: ds........event........listDevic  64 73 00 00 00 03 00 00 00 05 65 76 65 6E 74 00 00 00 03 00 00 00 0B 6C 69 73 74 44 65 76 69 63 
0060: es........newDevices........dele  65 73 00 00 00 03 00 00 00 0A 6E 65 77 44 65 76 69 63 65 73 00 00 00 03 00 00 00 0D 64 65 6C 65 
0080: teDevices........updateDevice...  74 65 44 65 76 69 63 65 73 00 00 00 03 00 00 00 0C 75 70 64 61 74 65 44 65 76 69 63 65 00 00 00 
00A0: .....replaceDevice........readde  03 00 00 00 0D 72 65 70 6C 61 63 65 44 65 76 69 63 65 00 00 00 03 00 00 00 0D 72 65 61 64 64 65 
00C0: dDevice                           64 44 65 76 69 63 65 
2017-11-30 23:23:16|FINEST |Receiving 8 bytes
2017-11-30 23:23:16|FINEST |Client 192.168.111.160:49629 disconnected
2017-11-30 23:23:16|FINE   |Client 192.168.111.160:49630 has connected
2017-11-30 23:23:16|FINEST |Receiving 8 bytes
2017-11-30 23:23:16|FINEST |Received data:
0000: Bin....$                          42 69 6E 00 00 00 00 24 
2017-11-30 23:23:16|FINEST |Receiving 36 bytes
2017-11-30 23:23:16|FINEST |Received data:
0000: ....listDevices............BidCo  00 00 00 0B 6C 69 73 74 44 65 76 69 63 65 73 00 00 00 01 00 00 00 03 00 00 00 09 42 69 64 43 6F 
0020: s-RF                              73 2D 52 46 
2017-11-30 23:23:16|FINE   |Call of method 'listDevices' received with parameters [BidCos-RF]
2017-11-30 23:23:16|FINE   |Sending method result: []
2017-11-30 23:23:16|FINEST |Sending 16 bytes:
0000: Bin.............                  42 69 6E 01 00 00 00 08 00 00 01 00 00 00 00 00 
2017-11-30 23:23:16|FINEST |Receiving 8 bytes
2017-11-30 23:23:16|FINEST |Client 192.168.111.160:49630 disconnected
2017-11-30 23:23:16|FINE   |Client 192.168.111.160:49631 has connected
2017-11-30 23:23:16|FINEST |Receiving 8 bytes
2017-11-30 23:23:16|FINE   |Client 192.168.111.160:49632 has connected
2017-11-30 23:23:16|FINEST |Receiving 8 bytes
2017-11-30 23:23:16|FINEST |Received data:
0000: Bin.....                          42 69 6E 00 00 00 04 7F 
2017-11-30 23:23:16|FINEST |Receiving 1151 bytes
2017-11-30 23:23:16|FINEST |Received data:
0000: ....system.multicall............  00 00 00 10 73 79 73 74 65 6D 2E 6D 75 6C 74 69 63 61 6C 6C 00 00 00 01 00 00 01 00 00 00 00 0A 
0020: ............methodName........ev  00 00 01 01 00 00 00 02 00 00 00 0A 6D 65 74 68 6F 64 4E 61 6D 65 00 00 00 03 00 00 00 05 65 76 
0040: ent....params................Bid  65 6E 74 00 00 00 06 70 61 72 61 6D 73 00 00 01 00 00 00 00 04 00 00 00 03 00 00 00 09 42 69 64 
0060: Cos-RF........JEQ0231349:0......  43 6F 73 2D 52 46 00 00 00 03 00 00 00 0C 4A 45 51 30 32 33 31 33 34 39 3A 30 00 00 00 03 00 00 
0080: ..LOWBAT.................methodN  00 06 4C 4F 57 42 41 54 00 00 00 02 01 00 00 01 01 00 00 00 02 00 00 00 0A 6D 65 74 68 6F 64 4E 
00A0: ame........event....params......  61 6D 65 00 00 00 03 00 00 00 05 65 76 65 6E 74 00 00 00 06 70 61 72 61 6D 73 00 00 01 00 00 00 
00C0: ..........BidCos-RF........JEQ02  00 04 00 00 00 03 00 00 00 09 42 69 64 43 6F 73 2D 52 46 00 00 00 03 00 00 00 0C 4A 45 51 30 32 
00E0: 33822:0........LOWBAT...........  33 33 38 32 32 3A 30 00 00 00 03 00 00 00 06 4C 4F 57 42 41 54 00 00 00 02 01 00 00 01 01 00 00 
0100: ......methodName........event...  00 02 00 00 00 0A 6D 65 74 68 6F 64 4E 61 6D 65 00 00 00 03 00 00 00 05 65 76 65 6E 74 00 00 00 
0120: .params................BidCos-RF  06 70 61 72 61 6D 73 00 00 01 00 00 00 00 04 00 00 00 03 00 00 00 09 42 69 64 43 6F 73 2D 52 46 
0140: ........JEQ0244949:0........CONF  00 00 00 03 00 00 00 0C 4A 45 51 30 32 34 34 39 34 39 3A 30 00 00 00 03 00 00 00 0E 43 4F 4E 46 
0160: IG_PENDING.................metho  49 47 5F 50 45 4E 44 49 4E 47 00 00 00 02 01 00 00 01 01 00 00 00 02 00 00 00 0A 6D 65 74 68 6F 
0180: dName........event....params....  64 4E 61 6D 65 00 00 00 03 00 00 00 05 65 76 65 6E 74 00 00 00 06 70 61 72 61 6D 73 00 00 01 00 
01A0: ............BidCos-RF........JEQ  00 00 00 04 00 00 00 03 00 00 00 09 42 69 64 43 6F 73 2D 52 46 00 00 00 03 00 00 00 0C 4A 45 51 
01C0: 0459140:0........CONFIG_PENDING.  30 34 35 39 31 34 30 3A 30 00 00 00 03 00 00 00 0E 43 4F 4E 46 49 47 5F 50 45 4E 44 49 4E 47 00 
01E0: ................methodName......  00 00 02 01 00 00 01 01 00 00 00 02 00 00 00 0A 6D 65 74 68 6F 64 4E 61 6D 65 00 00 00 03 00 00 
0200: ..event....params...............  00 05 65 76 65 6E 74 00 00 00 06 70 61 72 61 6D 73 00 00 01 00 00 00 00 04 00 00 00 03 00 00 00 
0220: .BidCos-RF........JEQ0656217:0..  09 42 69 64 43 6F 73 2D 52 46 00 00 00 03 00 00 00 0C 4A 45 51 30 36 35 36 32 31 37 3A 30 00 00 
0240: ......CONFIG_PENDING............  00 03 00 00 00 0E 43 4F 4E 46 49 47 5F 50 45 4E 44 49 4E 47 00 00 00 02 01 00 00 01 01 00 00 00 
0260: .....methodName........event....  02 00 00 00 0A 6D 65 74 68 6F 64 4E 61 6D 65 00 00 00 03 00 00 00 05 65 76 65 6E 74 00 00 00 06 
0280: params................BidCos-RF.  70 61 72 61 6D 73 00 00 01 00 00 00 00 04 00 00 00 03 00 00 00 09 42 69 64 43 6F 73 2D 52 46 00 
02A0: .......JEQ0656217:0........UNREA  00 00 03 00 00 00 0C 4A 45 51 30 36 35 36 32 31 37 3A 30 00 00 00 03 00 00 00 07 55 4E 52 45 41 
02C0: CH.................methodName...  43 48 00 00 00 02 01 00 00 01 01 00 00 00 02 00 00 00 0A 6D 65 74 68 6F 64 4E 61 6D 65 00 00 00 
02E0: .....event....params............  03 00 00 00 05 65 76 65 6E 74 00 00 00 06 70 61 72 61 6D 73 00 00 01 00 00 00 00 04 00 00 00 03 
0300: ....BidCos-RF........KEQ0023274:  00 00 00 09 42 69 64 43 6F 73 2D 52 46 00 00 00 03 00 00 00 0C 4B 45 51 30 30 32 33 32 37 34 3A 
0320: 0........UNREACH................  30 00 00 00 03 00 00 00 07 55 4E 52 45 41 43 48 00 00 00 02 01 00 00 01 01 00 00 00 02 00 00 00 
0340: .methodName........event....para  0A 6D 65 74 68 6F 64 4E 61 6D 65 00 00 00 03 00 00 00 05 65 76 65 6E 74 00 00 00 06 70 61 72 61 
0360: ms................BidCos-RF.....  6D 73 00 00 01 00 00 00 00 04 00 00 00 03 00 00 00 09 42 69 64 43 6F 73 2D 52 46 00 00 00 03 00 
0380: ...KEQ0927500:0........UNREACH..  00 00 0C 4B 45 51 30 39 32 37 35 30 30 3A 30 00 00 00 03 00 00 00 07 55 4E 52 45 41 43 48 00 00 
03A0: ...............methodName.......  00 02 01 00 00 01 01 00 00 00 02 00 00 00 0A 6D 65 74 68 6F 64 4E 61 6D 65 00 00 00 03 00 00 00 
03C0: .event....params................  05 65 76 65 6E 74 00 00 00 06 70 61 72 61 6D 73 00 00 01 00 00 00 00 04 00 00 00 03 00 00 00 09 
03E0: BidCos-RF........LEQ0924839:0...  42 69 64 43 6F 73 2D 52 46 00 00 00 03 00 00 00 0C 4C 45 51 30 39 32 34 38 33 39 3A 30 00 00 00 
0400: .....UNREACH.................met  03 00 00 00 07 55 4E 52 45 41 43 48 00 00 00 02 01 00 00 01 01 00 00 00 02 00 00 00 0A 6D 65 74 
0420: hodName........event....params..  68 6F 64 4E 61 6D 65 00 00 00 03 00 00 00 05 65 76 65 6E 74 00 00 00 06 70 61 72 61 6D 73 00 00 
0440: ..............BidCos-RF........L  01 00 00 00 00 04 00 00 00 03 00 00 00 09 42 69 64 43 6F 73 2D 52 46 00 00 00 03 00 00 00 0C 4C 
0460: EQ0925737:0........UNREACH.....   45 51 30 39 32 35 37 33 37 3A 30 00 00 00 03 00 00 00 07 55 4E 52 45 41 43 48 00 00 00 02 01 
2017-11-30 23:23:16|FINE   |Call of method 'system.multicall' received with parameters [[[methodName:event, params:[BidCos-RF, JEQ0231349:0, LOWBAT, true]], [methodName:event, params:[BidCos-RF, JEQ0233822:0, LOWBAT, true]], [methodName:event, params:[BidCos-RF, JEQ0244949:0, CONFIG_PENDING, true]], [methodName:event, params:[BidCos-RF, JEQ0459140:0, CONFIG_PENDING, true]], [methodName:event, params:[BidCos-RF, JEQ0656217:0, CONFIG_PENDING, true]], [methodName:event, params:[BidCos-RF, JEQ0656217:0, UNREACH, true]], [methodName:event, params:[BidCos-RF, KEQ0023274:0, UNREACH, true]], [methodName:event, params:[BidCos-RF, KEQ0927500:0, UNREACH, true]], [methodName:event, params:[BidCos-RF, LEQ0924839:0, UNREACH, true]], [methodName:event, params:[BidCos-RF, LEQ0925737:0, UNREACH, true]]]]
2017-11-30 23:23:16|FINE   |Call of method 'event' received with parameters [BidCos-RF, JEQ0231349:0, LOWBAT, true]
2017-11-30 23:23:16|FINEST |Received data:
0000: Bin.....                          42 69 6E 01 00 00 00 08 
2017-11-30 23:23:16|FINEST |Receiving 8 bytes from 192.168.111.160:2001
2017-11-30 23:23:16|FINEST |Received data:
0000: ........                          00 00 00 03 00 00 00 00 
2017-11-30 23:23:16|FINE   |Received response: 
2017-11-30 23:23:16|FINE   |Starting re-init task
2017-11-30 23:23:16|FINEST |Event received: BidCos-RF.JEQ0231349:0.LOWBAT, Thu Nov 30 23:23:16 CET 2017, true, 2
2017-11-30 23:23:16|FINE   |Sending method result: 
2017-11-30 23:23:16|FINE   |Call of method 'event' received with parameters [BidCos-RF, JEQ0233822:0, LOWBAT, true]
2017-11-30 23:23:16|FINEST |Event received: BidCos-RF.JEQ0233822:0.LOWBAT, Thu Nov 30 23:23:16 CET 2017, true, 2
2017-11-30 23:23:16|FINE   |Sending method result: 
2017-11-30 23:23:16|FINE   |Call of method 'event' received with parameters [BidCos-RF, JEQ0244949:0, CONFIG_PENDING, true]
2017-11-30 23:23:16|FINEST |Event received: BidCos-RF.JEQ0244949:0.CONFIG_PENDING, Thu Nov 30 23:23:16 CET 2017, true, 2
2017-11-30 23:23:16|FINE   |Sending method result: 
2017-11-30 23:23:16|FINE   |Call of method 'event' received with parameters [BidCos-RF, JEQ0459140:0, CONFIG_PENDING, true]
2017-11-30 23:23:16|FINEST |Event received: BidCos-RF.JEQ0459140:0.CONFIG_PENDING, Thu Nov 30 23:23:16 CET 2017, true, 2
2017-11-30 23:23:16|FINE   |Sending method result: 
2017-11-30 23:23:16|FINE   |Call of method 'event' received with parameters [BidCos-RF, JEQ0656217:0, CONFIG_PENDING, true]
2017-11-30 23:23:16|FINEST |Event received: BidCos-RF.JEQ0656217:0.CONFIG_PENDING, Thu Nov 30 23:23:16 CET 2017, true, 2
2017-11-30 23:23:16|FINE   |Calling init(http://192.168.111.180:2098, HmIP-RF)
2017-11-30 23:23:16|FINE   |Sending method result: 
2017-11-30 23:23:16|FINE   |Call of method 'event' received with parameters [BidCos-RF, JEQ0656217:0, UNREACH, true]
2017-11-30 23:23:16|FINEST |Event received: BidCos-RF.JEQ0656217:0.UNREACH, Thu Nov 30 23:23:16 CET 2017, true, 2
2017-11-30 23:23:16|FINE   |Sending method result: 
2017-11-30 23:23:16|FINE   |Call of method 'event' received with parameters [BidCos-RF, KEQ0023274:0, UNREACH, true]
2017-11-30 23:23:16|FINEST |Event received: BidCos-RF.KEQ0023274:0.UNREACH, Thu Nov 30 23:23:16 CET 2017, true, 2
2017-11-30 23:23:16|FINE   |Sending method result: 
2017-11-30 23:23:16|FINE   |Call of method 'event' received with parameters [BidCos-RF, KEQ0927500:0, UNREACH, true]
2017-11-30 23:23:16|FINEST |Event received: BidCos-RF.KEQ0927500:0.UNREACH, Thu Nov 30 23:23:16 CET 2017, true, 2
2017-11-30 23:23:16|FINE   |Sending method result: 
2017-11-30 23:23:16|FINE   |Call of method 'event' received with parameters [BidCos-RF, LEQ0924839:0, UNREACH, true]
2017-11-30 23:23:16|FINEST |Event received: BidCos-RF.LEQ0924839:0.UNREACH, Thu Nov 30 23:23:16 CET 2017, true, 2
2017-11-30 23:23:16|FINE   |Sending method result: 
2017-11-30 23:23:16|FINE   |Call of method 'event' received with parameters [BidCos-RF, LEQ0925737:0, UNREACH, true]
2017-11-30 23:23:16|FINEST |Event received: BidCos-RF.LEQ0925737:0.UNREACH, Thu Nov 30 23:23:16 CET 2017, true, 2
2017-11-30 23:23:16|FINE   |Sending method result: 
2017-11-30 23:23:16|FINE   |Sending method result: [, , , , , , , , , ]
2017-11-30 23:23:16|FINEST |Sending 96 bytes:
0000: Bin....X........................  42 69 6E 01 00 00 00 58 00 00 01 00 00 00 00 0A 00 00 00 03 00 00 00 00 00 00 00 03 00 00 00 00 
0020: ................................  00 00 00 03 00 00 00 00 00 00 00 03 00 00 00 00 00 00 00 03 00 00 00 00 00 00 00 03 00 00 00 00 
0040: ................................  00 00 00 03 00 00 00 00 00 00 00 03 00 00 00 00 00 00 00 03 00 00 00 00 00 00 00 03 00 00 00 00 
2017-11-30 23:23:16|FINEST |Receiving 8 bytes
2017-11-30 23:23:16|FINEST |Client 192.168.111.160:49632 disconnected
2017-11-30 23:23:16|FINE   |Stopping re-init task
2017-11-30 23:23:16|FINE   |Calling method 'init' with parameters [binary://192.168.111.180:2099]
2017-11-30 23:23:16|FINEST |Sending 57 bytes to 192.168.111.160:2001:
0000: Bin....1....init............bina  42 69 6E 00 00 00 00 31 00 00 00 04 69 6E 69 74 00 00 00 01 00 00 00 03 00 00 00 1D 62 69 6E 61 
0020: ry://192.168.111.180:2099         72 79 3A 2F 2F 31 39 32 2E 31 36 38 2E 31 31 31 2E 31 38 30 3A 32 30 39 39 
2017-11-30 23:23:16|FINEST |Receiving 8 bytes from 192.168.111.160:2001
2017-11-30 23:23:16|FINEST |Received data:
0000: Bin.....                          42 69 6E 01 00 00 00 08 
2017-11-30 23:23:16|FINEST |Receiving 8 bytes from 192.168.111.160:2001
2017-11-30 23:23:16|FINEST |Received data:
0000: ........                          00 00 00 03 00 00 00 00 
2017-11-30 23:23:16|FINE   |Received response: 
2017-11-30 23:23:16|FINE   |Stopping XML-RPC server
2017-11-30 23:23:16|FINEST |Received data:
0000: Bin.....                          42 69 6E 00 00 02 03 C5 
2017-11-30 23:23:16|FINEST |Receiving 132037 bytes
2017-11-30 23:23:16|INFO   |Stopping BIN-RPC server on port 2099
2017-11-30 23:23:16|SEVERE |Exception: Socket closed
2017-11-30 23:23:16|FINE   |java.net.SocketException: Socket closed
	at mdz.hc.itf.binrpc.BinRpcServer.receive(BinRpcServer.groovy:107)
	at mdz.hc.itf.binrpc.BinRpcServer.access$4(BinRpcServer.groovy)
	at mdz.hc.itf.binrpc.BinRpcServer$_handleClient_closure6.doCall(BinRpcServer.groovy:157)
	at mdz.hc.itf.binrpc.BinRpcServer$_handleClient_closure6.call(BinRpcServer.groovy)
	at mdz.Utilities.catchToLog(Utilities.groovy:70)
	at mdz.hc.itf.binrpc.BinRpcServer.handleClient(BinRpcServer.groovy:137)
	at mdz.hc.itf.binrpc.BinRpcServer.access$2(BinRpcServer.groovy)
	at mdz.hc.itf.binrpc.BinRpcServer$_acceptClients_closure5$_closure9.doCall(BinRpcServer.groovy:83)
	at mdz.hc.itf.binrpc.BinRpcServer$_acceptClients_closure5$_closure9.call(BinRpcServer.groovy)
2017-11-30 23:23:16|FINEST |Client 192.168.111.160:49631 disconnected
2017-11-30 23:23:16|FINE   |Stopping main scheduler
2017-11-30 23:23:16|INFO   |Stopping database
2017-11-30 23:23:17|INFO   |Stopping base services
2017-11-30 23:23:17|SEVERE |Exception: Connection refused
2017-11-30 23:23:17|FINE   |java.net.ConnectException: Connection refused
	at mdz.hc.itf.hm.HmXmlRpcClient.init(HmXmlRpcClient.groovy:28)
	at mdz.hc.itf.hm.HmXmlRpcInterface.init(HmXmlRpcInterface.groovy:96)
	at mdz.hc.itf.hm.HmXmlRpcInterface.start(HmXmlRpcInterface.groovy:55)
	at mdz.hc.itf.Manager$_start_closure1.doCall(Manager.groovy:43)
	at mdz.hc.itf.Manager.start(Manager.groovy:41)
	at mdz.ccuhistorian.HistorianSystem.<init>(HistorianSystem.groovy:21)
	at mdz.ccuhistorian.Main.start(Main.groovy:78)
	at mdz.ccuhistorian.Main.access$0(Main.groovy)
	at mdz.ccuhistorian.Main$_run_closure4.doCall(Main.groovy:55)
	at mdz.ccuhistorian.Main$_run_closure4.call(Main.groovy)
	at mdz.ccuhistorian.LogSystem.catchToLog(LogSystem.groovy:78)
	at mdz.ccuhistorian.Main.run(Main.groovy:55)
	at mdz.ccuhistorian.Main.main(Main.groovy:23)
2017-11-30 23:23:17|FINEST |Sleeping
Gruss Ralf

Rex69
Beiträge: 28
Registriert: 29.03.2017, 13:02
Hat sich bedankt: 1 Mal

Re: CCU-Historian@Synology

Beitrag von Rex69 » 01.12.2017, 09:07

derrapf hat geschrieben: 1h später hab ich nochmal am config file rumgespielt. Habe aber nichts nennenswertes geändert.
Hier der Unterschied. Zwei EInträge auskommentiert, einen (CuxD) wieder einkommentiert:

Code: Alles auswählen

//   webServer.port=81
// devices.historianRpcPort=8087
   devices.device1.plugin1.type=CUXD
Jetzt kommt der Fehler nicht mehr. Kann es am einkommetntierten devices.historianRpcPort liegen? Im Log stand aber nie was von Port 8087...
Hier das aktuelle Log.
devices.historianRpcPort gibt es nicht als Konfigurationseintrag. Musst du diesen Port ändern?
Wenn nicht, nehm den Eintrag raus.
derrapf hat geschrieben: So. Aber ich bekomme nun die Website nicht angezeigt. Ich muss doch die IP in den Browser eintrag die in webServer.historianAddress definiert ist; aber mit welchem Port?
Alle Variablen mit Ports sind auskommentiert. Was ist den nder Default-Port? Oder ist das mein Problem? Muss ich einen Port einstellen?
Welchen? Wie?
Der Standard Port für den Webserver ist Port 80
Wenn auf deiner Synology bereits der Port 80 belegt ist, kannst diesem mit folgendem Konfigurationseintrag anpassen.

Code: Alles auswählen

 webServer.port= ALTERNATIVER PORT
Folgende Einträge in deiner Konfiguration sind falsch, weil es sie so nicht gibt. Die solltest du rausnehmen.

Code: Alles auswählen

 
logSystem.binRpcLevel=Level.FINEST
webServer.logLevel=Level.FINEST
devices.hisorianRpcPort=8087
Level.FINEST ist hier nicht vorgesehen, wenn ich die Doku richtig lese.
devices.hisorianRpcPort gibt es als Konfigurationseintrag nicht.

Wenn notwendig kannst du PORTS mit diesen Einträgen anpassen:

Code: Alles auswählen

 
devices.historianBinRpcPort=ALTERNATIVER PORT
devices.historianXmlRpcPort=ALTERNATIVER PORT
Ich wüsste allerding nicht wieso in deinem Fall hier der Port angepasst werden muss.

Meine Empfehlung für deine Konfiguration:

Code: Alles auswählen

   logSystem.fileLevel=Level.FINEST
   logSystem.fileName='/volume1/Medien/server-extern/Synology/historian/ccu-historian-%g.log'
   logSystem.fileLimit=10000000

   logSystem.binRpcLevel=Level.WARNING

   database.dir='/volume1/@appstore/ccu-historian/data'
   database.webEnable=true
   database.webAllowOthers=true

   webServer.logLevel=Level.WARNING
//   devices.hisorianRpcPort=8087
 
   webServer.port=11217 //weil heute der 1.12.2017 ist :-) und ich davon ausgehe dass dieser Port auf der Synology nicht belegt ist

   webServer.dir='/volume1/@appstore/ccu-historian/webapp'
   webServer.historianAddress='192.168.111.180'
   devices.historianAddress='192.168.111.180'
   devices.device1.type=CCU2
   devices.device1.address='192.168.111.160'

//   devices.device1.plugin1.type=CUXD
Zumindest zum testen würde ich den CUXD rausnehmen. Wenn es dann läuft kann man weiter sehen.

Um die Webseite aufzurufen dann folgenden Adresse im Browser eingeben:

Code: Alles auswählen

192.168.111.180:11217
Gruß
Rex69

Rex69
Beiträge: 28
Registriert: 29.03.2017, 13:02
Hat sich bedankt: 1 Mal

Re: CCU-Historian@Synology

Beitrag von Rex69 » 01.12.2017, 09:14

derrapf hat geschrieben:Hallo Rex
Also:
Ich hab alles nochmal auf Anfang:
CCU-Historian komplett deinstalliert.
Dann das spk Paket der stabilen Version aus deinem Link downgeloaded und über den Paket Manager installiert.
Der Installer hat mich auch brav alle möglichen Parameter abgefragt; ob ich eine CCU2 habe, ob ich CUxD verwende, welche IPs usw.
Hab ich alles eingegeben. Port 8080 hab ich gelassen.
Danach wurde ich gefragt ob ich den Historian nach der Installation starten möchte: Ja.
Jetzt wird er als "läuft" angezeigt.
Das ist schon mal super und ein Fortschritt!

ABER: Es wurde kein ccu-historian.config angelegt!!!
Zu Beginn des Installationswizzard wird gefragt:

Code: Alles auswählen

Soll eine Initialkonfiguration erstellt werden?
Als Auwahl wird folgendes angeboten:

Code: Alles auswählen

Nein, ich bin ein Profi und will alles selber machen (die folgenden Einträge werden ignoriert)
oder

Code: Alles auswählen

Ja, gerne
NUR wenn hier "Ja, gerne" gewählt wird, wird auch die Konfigurationsdatei angelegt.

Sollte es da tatsächlich Probleme mit dem erstellen der Konfigurationsdatei geben, müsste ich dass nochmal prüfen.

Gruß
Rex69

derrapf
Beiträge: 815
Registriert: 17.12.2012, 22:29

Re: CCU-Historian@Synology

Beitrag von derrapf » 01.12.2017, 12:22

Hallo Rex
Rex69 hat geschrieben:
Zu Beginn des Installationswizzard wird gefragt:

Code: Alles auswählen

Soll eine Initialkonfiguration erstellt werden?
Als Auwahl wird folgendes angeboten:

Code: Alles auswählen

Nein, ich bin ein Profi und will alles selber machen (die folgenden Einträge werden ignoriert)
oder

Code: Alles auswählen

Ja, gerne
NUR wenn hier "Ja, gerne" gewählt wird, wird auch die Konfigurationsdatei angelegt.

Sollte es da tatsächlich Probleme mit dem erstellen der Konfigurationsdatei geben, müsste ich dass nochmal prüfen.

Gruß
Rex69
Das ist genau das Problem: Wenn Du nur eine Config Datei anlegst wenn man nichts! selber konfiguriert; dann sind ja die ganzen Abfragen die bei "Ich bin ein Profi" kommen für die Katz, wenn diese nicht in der config abgespeichert werden. Dann kannst Du Sie Dir gleich schenken.


Zu meinem anderen Problem.
Ich habe jetzt die sample-Config genommen und nur deren Werte geändert, damit ich sicher bin, keine Preferences von früheren Historian Versionen mehr zu verwenden. Im Grund sind darin Deine Vorschläge umgesetzt bis auf den Webport den ich auf 81 gesetzt habe weil er früher, als der Historian noch auf der Synology problemlos lief auch auf 81 war.
Die Config sieht nun (ohne Kommentare) so aus:

Code: Alles auswählen

   logSystem.fileLevel=Level.FINEST
   logSystem.fileName='/volume1/Medien/server-extern/Synology/historian/ccu-historian-%g.log'
   logSystem.fileLimit=10000000
   logSystem.binRpcLevel=Level.WARNING
   database.dir='/volume1/@appstore/ccu-historian/data'
   database.webEnable=true
   database.webAllowOthers=true
   webServer.port=81
   webServer.dir='/volume1/@appstore/ccu-historian/webapp'
   webServer.logLevel=Level.WARNING
   webServer.historianAddress='192.168.111.180'
   devices.historianAddress='192.168.111.180'
   devices.device1.type=CCU2
   devices.device1.address='192.168.111.160'
Neustart! Log sieht 2 Minuten nach Start so aus:

Code: Alles auswählen

2017-12-01 12:12:04|FINE   |Log system configuration:
2017-12-01 12:12:04|FINE   |logSystem.consoleLevel=Level.INFO
2017-12-01 12:12:04|FINE   |logSystem.fileLevel=Level.FINEST
2017-12-01 12:12:04|FINE   |logSystem.fileName='/volume1/Medien/server-extern/Synology/historian/ccu-historian-%g.log'
2017-12-01 12:12:04|FINE   |logSystem.fileLimit=10000000
2017-12-01 12:12:04|FINE   |logSystem.fileCount=5
2017-12-01 12:12:04|FINE   |logSystem.binRpcLevel=Level.WARNING
2017-12-01 12:12:04|INFO   |Starting base services
2017-12-01 12:12:04|INFO   |Connecting to database
2017-12-01 12:12:04|FINE   |database.dir='/volume1/@appstore/ccu-historian/data'
2017-12-01 12:12:04|FINE   |database.name='history'
2017-12-01 12:12:04|FINE   |database.user='sa'
2017-12-01 12:12:04|FINE   |database.webEnable=true
2017-12-01 12:12:04|FINE   |database.webPort=8082
2017-12-01 12:12:04|FINE   |database.webAllowOthers=true
2017-12-01 12:12:04|FINE   |database.tcpEnable=false
2017-12-01 12:12:04|FINE   |database.tcpPort=9092
2017-12-01 12:12:04|FINE   |database.tcpAllowOthers=false
2017-12-01 12:12:04|FINE   |database.pgEnable=false
2017-12-01 12:12:04|FINE   |database.pgPort=5435
2017-12-01 12:12:04|FINE   |database.pgAllowOthers=false
2017-12-01 12:12:04|FINE   |database.backup=''
2017-12-01 12:12:05|FINE   |Database: Preparing table DATA_POINTS
2017-12-01 12:12:05|INFO   |Starting database web server
2017-12-01 12:12:05|FINE   |Database management URL: http://localhost:8082
2017-12-01 12:12:05|FINE   |Configuring interfaces
2017-12-01 12:12:05|FINE   |All devices: Reading configuration option 'historianBinRpcPort': 
2017-12-01 12:12:05|FINE   |All devices: Reading configuration option 'historianXmlRpcPort': 
2017-12-01 12:12:05|FINE   |All devices: Reading configuration option 'historianAddress': 192.168.111.180
2017-12-01 12:12:05|INFO   |Setting up device 1
2017-12-01 12:12:05|FINE   |Device 1: Reading configuration option 'type': CCU2
2017-12-01 12:12:05|FINE   |Device 1: Reading configuration option 'address': 192.168.111.160
2017-12-01 12:12:05|FINE   |Device 1: Reading configuration option 'reinitTimeout': 
2017-12-01 12:12:05|FINE   |Device 1: Reading configuration option 'prefix': 
2017-12-01 12:12:05|FINE   |Device 1: Reading configuration option 'writeAccess': 
2017-12-01 12:12:05|FINE   |Device 1: Reading configuration option 'sysVarDataCycle': 
2017-12-01 12:12:05|FINE   |Device 1: Reading configuration option 'timeout': 
2017-12-01 12:12:05|INFO   |Creating HM script client for http://192.168.111.160:8181/tclrega.exe
2017-12-01 12:12:05|FINE   |Device 1: Reading configuration option 'watchdogProgram': 
2017-12-01 12:12:05|FINE   |Device 1: Reading configuration option 'watchdogCycle': 
2017-12-01 12:12:05|INFO   |Configured following interfaces: BidCos-RF, HmIP-RF, SysVar
2017-12-01 12:12:05|INFO   |Starting interfaces
2017-12-01 12:12:05|INFO   |Starting XML-RPC server on port 2098
2017-12-01 12:12:06|FINE   |XML-RPC server address is http://192.168.111.180:2098
2017-12-01 12:12:06|FINE   |Starting re-init task
2017-12-01 12:12:06|FINEST |Event received: BidCos-RF.JEQ0231349:0.LOWBAT, Fri Dec 01 12:12:06 CET 2017, true, 2
2017-12-01 12:12:06|FINEST |Event received: BidCos-RF.JEQ0233822:0.LOWBAT, Fri Dec 01 12:12:06 CET 2017, true, 2
2017-12-01 12:12:06|FINEST |Event received: BidCos-RF.JEQ0244949:0.CONFIG_PENDING, Fri Dec 01 12:12:06 CET 2017, true, 2
2017-12-01 12:12:06|FINEST |Event received: BidCos-RF.JEQ0459140:0.CONFIG_PENDING, Fri Dec 01 12:12:06 CET 2017, true, 2
2017-12-01 12:12:06|FINEST |Event received: BidCos-RF.JEQ0656217:0.CONFIG_PENDING, Fri Dec 01 12:12:06 CET 2017, true, 2
2017-12-01 12:12:06|FINE   |Calling init(http://192.168.111.180:2098, HmIP-RF)
2017-12-01 12:12:06|FINEST |Event received: BidCos-RF.JEQ0656217:0.UNREACH, Fri Dec 01 12:12:06 CET 2017, true, 2
2017-12-01 12:12:06|FINEST |Event received: BidCos-RF.KEQ0023274:0.UNREACH, Fri Dec 01 12:12:06 CET 2017, true, 2
2017-12-01 12:12:06|FINEST |Event received: BidCos-RF.KEQ0927500:0.UNREACH, Fri Dec 01 12:12:06 CET 2017, true, 2
2017-12-01 12:12:06|FINEST |Event received: BidCos-RF.LEQ0924839:0.UNREACH, Fri Dec 01 12:12:06 CET 2017, true, 2
2017-12-01 12:12:06|FINEST |Event received: BidCos-RF.LEQ0925737:0.UNREACH, Fri Dec 01 12:12:06 CET 2017, true, 2
2017-12-01 12:12:06|FINE   |Stopping re-init task
2017-12-01 12:12:06|FINE   |Stopping XML-RPC server
2017-12-01 12:12:06|FINE   |Stopping main scheduler
2017-12-01 12:12:06|INFO   |Stopping database
2017-12-01 12:12:06|INFO   |Stopping base services
2017-12-01 12:12:06|SEVERE |Exception: Connection refused
2017-12-01 12:12:06|FINE   |java.net.ConnectException: Connection refused
	at mdz.hc.itf.hm.HmXmlRpcClient.init(HmXmlRpcClient.groovy:28)
	at mdz.hc.itf.hm.HmXmlRpcInterface.init(HmXmlRpcInterface.groovy:96)
	at mdz.hc.itf.hm.HmXmlRpcInterface.start(HmXmlRpcInterface.groovy:55)
	at mdz.hc.itf.Manager$_start_closure1.doCall(Manager.groovy:43)
	at mdz.hc.itf.Manager.start(Manager.groovy:41)
	at mdz.ccuhistorian.HistorianSystem.<init>(HistorianSystem.groovy:21)
	at mdz.ccuhistorian.Main.start(Main.groovy:78)
	at mdz.ccuhistorian.Main.access$0(Main.groovy)
	at mdz.ccuhistorian.Main$_run_closure4.doCall(Main.groovy:55)
	at mdz.ccuhistorian.Main$_run_closure4.call(Main.groovy)
	at mdz.ccuhistorian.LogSystem.catchToLog(LogSystem.groovy:78)
	at mdz.ccuhistorian.Main.run(Main.groovy:55)
	at mdz.ccuhistorian.Main.main(Main.groovy:23)
2017-12-01 12:12:06|FINEST |Sleeping
2017-12-01 12:12:36|FINE   |Reading configuration file ccu-historian.config
2017-12-01 12:12:37|FINE   |Log system configuration:
2017-12-01 12:12:37|FINE   |logSystem.consoleLevel=Level.INFO
2017-12-01 12:12:37|FINE   |logSystem.fileLevel=Level.FINEST
2017-12-01 12:12:37|FINE   |logSystem.fileName='/volume1/Medien/server-extern/Synology/historian/ccu-historian-%g.log'
2017-12-01 12:12:37|FINE   |logSystem.fileLimit=10000000
2017-12-01 12:12:37|FINE   |logSystem.fileCount=5
2017-12-01 12:12:37|FINE   |logSystem.binRpcLevel=Level.WARNING
2017-12-01 12:12:37|INFO   |Starting base services
2017-12-01 12:12:37|INFO   |Connecting to database
2017-12-01 12:12:37|FINE   |database.dir='/volume1/@appstore/ccu-historian/data'
2017-12-01 12:12:37|FINE   |database.name='history'
2017-12-01 12:12:37|FINE   |database.user='sa'
2017-12-01 12:12:37|FINE   |database.webEnable=true
2017-12-01 12:12:37|FINE   |database.webPort=8082
2017-12-01 12:12:37|FINE   |database.webAllowOthers=true
2017-12-01 12:12:37|FINE   |database.tcpEnable=false
2017-12-01 12:12:37|FINE   |database.tcpPort=9092
2017-12-01 12:12:37|FINE   |database.tcpAllowOthers=false
2017-12-01 12:12:37|FINE   |database.pgEnable=false
2017-12-01 12:12:37|FINE   |database.pgPort=5435
2017-12-01 12:12:37|FINE   |database.pgAllowOthers=false
2017-12-01 12:12:37|FINE   |database.backup=''
2017-12-01 12:12:37|FINE   |Database: Preparing table DATA_POINTS
2017-12-01 12:12:37|INFO   |Starting database web server
2017-12-01 12:12:37|FINE   |Database management URL: http://localhost:8082
2017-12-01 12:12:37|FINE   |Configuring interfaces
2017-12-01 12:12:37|FINE   |All devices: Reading configuration option 'historianBinRpcPort': 
2017-12-01 12:12:37|FINE   |All devices: Reading configuration option 'historianXmlRpcPort': 
2017-12-01 12:12:37|FINE   |All devices: Reading configuration option 'historianAddress': 192.168.111.180
2017-12-01 12:12:37|INFO   |Setting up device 1
2017-12-01 12:12:37|FINE   |Device 1: Reading configuration option 'type': CCU2
2017-12-01 12:12:37|FINE   |Device 1: Reading configuration option 'address': 192.168.111.160
2017-12-01 12:12:37|FINE   |Device 1: Reading configuration option 'reinitTimeout': 
2017-12-01 12:12:37|FINE   |Device 1: Reading configuration option 'prefix': 
2017-12-01 12:12:37|FINE   |Device 1: Reading configuration option 'writeAccess': 
2017-12-01 12:12:37|FINE   |Device 1: Reading configuration option 'sysVarDataCycle': 
2017-12-01 12:12:37|FINE   |Device 1: Reading configuration option 'timeout': 
2017-12-01 12:12:37|INFO   |Creating HM script client for http://192.168.111.160:8181/tclrega.exe
2017-12-01 12:12:37|FINE   |Device 1: Reading configuration option 'watchdogProgram': 
2017-12-01 12:12:37|FINE   |Device 1: Reading configuration option 'watchdogCycle': 
2017-12-01 12:12:37|INFO   |Configured following interfaces: BidCos-RF, HmIP-RF, SysVar
2017-12-01 12:12:37|INFO   |Starting interfaces
2017-12-01 12:12:37|INFO   |Starting XML-RPC server on port 2098
2017-12-01 12:12:37|FINE   |XML-RPC server address is http://192.168.111.180:2098
2017-12-01 12:12:38|FINE   |Starting re-init task
2017-12-01 12:12:38|FINEST |Event received: BidCos-RF.JEQ0231349:0.LOWBAT, Fri Dec 01 12:12:38 CET 2017, true, 2
2017-12-01 12:12:38|FINE   |Calling init(http://192.168.111.180:2098, HmIP-RF)
2017-12-01 12:12:38|FINEST |Event received: BidCos-RF.JEQ0233822:0.LOWBAT, Fri Dec 01 12:12:38 CET 2017, true, 2
2017-12-01 12:12:38|FINEST |Event received: BidCos-RF.JEQ0244949:0.CONFIG_PENDING, Fri Dec 01 12:12:38 CET 2017, true, 2
2017-12-01 12:12:38|FINE   |Stopping re-init task
2017-12-01 12:12:38|FINEST |Event received: BidCos-RF.JEQ0459140:0.CONFIG_PENDING, Fri Dec 01 12:12:38 CET 2017, true, 2
2017-12-01 12:12:38|FINEST |Event received: BidCos-RF.JEQ0656217:0.CONFIG_PENDING, Fri Dec 01 12:12:38 CET 2017, true, 2
2017-12-01 12:12:38|FINE   |Stopping XML-RPC server
2017-12-01 12:12:38|SEVERE |Exception: Socket is closed
2017-12-01 12:12:38|FINE   |Stopping main scheduler
2017-12-01 12:12:38|INFO   |Stopping database
2017-12-01 12:12:38|INFO   |Stopping base services
2017-12-01 12:12:38|SEVERE |Exception: Connection refused
2017-12-01 12:12:38|FINE   |java.net.ConnectException: Connection refused
	at mdz.hc.itf.hm.HmXmlRpcClient.init(HmXmlRpcClient.groovy:28)
	at mdz.hc.itf.hm.HmXmlRpcInterface.init(HmXmlRpcInterface.groovy:96)
	at mdz.hc.itf.hm.HmXmlRpcInterface.start(HmXmlRpcInterface.groovy:55)
	at mdz.hc.itf.Manager$_start_closure1.doCall(Manager.groovy:43)
	at mdz.hc.itf.Manager.start(Manager.groovy:41)
	at mdz.ccuhistorian.HistorianSystem.<init>(HistorianSystem.groovy:21)
	at mdz.ccuhistorian.Main.start(Main.groovy:78)
	at mdz.ccuhistorian.Main.access$0(Main.groovy)
	at mdz.ccuhistorian.Main$_run_closure4.doCall(Main.groovy:55)
	at mdz.ccuhistorian.Main$_run_closure4.call(Main.groovy)
	at mdz.ccuhistorian.LogSystem.catchToLog(LogSystem.groovy:78)
	at mdz.ccuhistorian.Main.run(Main.groovy:55)
	at mdz.ccuhistorian.Main.main(Main.groovy:23)
2017-12-01 12:12:38|FINEST |Sleeping
2017-12-01 12:13:08|FINE   |Reading configuration file ccu-historian.config
2017-12-01 12:13:08|FINE   |Log system configuration:
2017-12-01 12:13:08|FINE   |logSystem.consoleLevel=Level.INFO
2017-12-01 12:13:08|FINE   |logSystem.fileLevel=Level.FINEST
2017-12-01 12:13:08|FINE   |logSystem.fileName='/volume1/Medien/server-extern/Synology/historian/ccu-historian-%g.log'
2017-12-01 12:13:08|FINE   |logSystem.fileLimit=10000000
2017-12-01 12:13:08|FINE   |logSystem.fileCount=5
2017-12-01 12:13:08|FINE   |logSystem.binRpcLevel=Level.WARNING
2017-12-01 12:13:08|INFO   |Starting base services
2017-12-01 12:13:08|INFO   |Connecting to database
2017-12-01 12:13:08|FINE   |database.dir='/volume1/@appstore/ccu-historian/data'
2017-12-01 12:13:08|FINE   |database.name='history'
2017-12-01 12:13:08|FINE   |database.user='sa'
2017-12-01 12:13:08|FINE   |database.webEnable=true
2017-12-01 12:13:08|FINE   |database.webPort=8082
2017-12-01 12:13:08|FINE   |database.webAllowOthers=true
2017-12-01 12:13:08|FINE   |database.tcpEnable=false
2017-12-01 12:13:08|FINE   |database.tcpPort=9092
2017-12-01 12:13:08|FINE   |database.tcpAllowOthers=false
2017-12-01 12:13:08|FINE   |database.pgEnable=false
2017-12-01 12:13:08|FINE   |database.pgPort=5435
2017-12-01 12:13:08|FINE   |database.pgAllowOthers=false
2017-12-01 12:13:08|FINE   |database.backup=''
2017-12-01 12:13:08|FINE   |Database: Preparing table DATA_POINTS
2017-12-01 12:13:08|INFO   |Starting database web server
2017-12-01 12:13:08|FINE   |Database management URL: http://localhost:8082
2017-12-01 12:13:08|FINE   |Configuring interfaces
2017-12-01 12:13:08|FINE   |All devices: Reading configuration option 'historianBinRpcPort': 
2017-12-01 12:13:08|FINE   |All devices: Reading configuration option 'historianXmlRpcPort': 
2017-12-01 12:13:08|FINE   |All devices: Reading configuration option 'historianAddress': 192.168.111.180
2017-12-01 12:13:08|INFO   |Setting up device 1
2017-12-01 12:13:08|FINE   |Device 1: Reading configuration option 'type': CCU2
2017-12-01 12:13:08|FINE   |Device 1: Reading configuration option 'address': 192.168.111.160
2017-12-01 12:13:08|FINE   |Device 1: Reading configuration option 'reinitTimeout': 
2017-12-01 12:13:08|FINE   |Device 1: Reading configuration option 'prefix': 
2017-12-01 12:13:08|FINE   |Device 1: Reading configuration option 'writeAccess': 
2017-12-01 12:13:08|FINE   |Device 1: Reading configuration option 'sysVarDataCycle': 
2017-12-01 12:13:08|FINE   |Device 1: Reading configuration option 'timeout': 
2017-12-01 12:13:08|INFO   |Creating HM script client for http://192.168.111.160:8181/tclrega.exe
2017-12-01 12:13:08|FINE   |Device 1: Reading configuration option 'watchdogProgram': 
2017-12-01 12:13:08|FINE   |Device 1: Reading configuration option 'watchdogCycle': 
2017-12-01 12:13:08|INFO   |Configured following interfaces: BidCos-RF, HmIP-RF, SysVar
2017-12-01 12:13:08|INFO   |Starting interfaces
2017-12-01 12:13:08|INFO   |Starting XML-RPC server on port 2098
2017-12-01 12:13:08|FINE   |XML-RPC server address is http://192.168.111.180:2098
2017-12-01 12:13:09|FINE   |Starting re-init task
2017-12-01 12:13:09|FINE   |Calling init(http://192.168.111.180:2098, HmIP-RF)
2017-12-01 12:13:09|FINEST |Event received: BidCos-RF.JEQ0231349:0.LOWBAT, Fri Dec 01 12:13:09 CET 2017, true, 2
2017-12-01 12:13:09|FINE   |Stopping re-init task
2017-12-01 12:13:09|FINEST |Event received: BidCos-RF.JEQ0233822:0.LOWBAT, Fri Dec 01 12:13:09 CET 2017, true, 2
2017-12-01 12:13:09|FINEST |Event received: BidCos-RF.JEQ0244949:0.CONFIG_PENDING, Fri Dec 01 12:13:09 CET 2017, true, 2
2017-12-01 12:13:09|FINEST |Event received: BidCos-RF.JEQ0459140:0.CONFIG_PENDING, Fri Dec 01 12:13:09 CET 2017, true, 2
2017-12-01 12:13:09|FINE   |Stopping XML-RPC server
2017-12-01 12:13:09|SEVERE |Exception: Socket is closed
2017-12-01 12:13:09|FINE   |Stopping main scheduler
2017-12-01 12:13:09|INFO   |Stopping database
2017-12-01 12:13:09|INFO   |Stopping base services
2017-12-01 12:13:09|SEVERE |Exception: Connection refused
2017-12-01 12:13:09|FINE   |java.net.ConnectException: Connection refused
	at mdz.hc.itf.hm.HmXmlRpcClient.init(HmXmlRpcClient.groovy:28)
	at mdz.hc.itf.hm.HmXmlRpcInterface.init(HmXmlRpcInterface.groovy:96)
	at mdz.hc.itf.hm.HmXmlRpcInterface.start(HmXmlRpcInterface.groovy:55)
	at mdz.hc.itf.Manager$_start_closure1.doCall(Manager.groovy:43)
	at mdz.hc.itf.Manager.start(Manager.groovy:41)
	at mdz.ccuhistorian.HistorianSystem.<init>(HistorianSystem.groovy:21)
	at mdz.ccuhistorian.Main.start(Main.groovy:78)
	at mdz.ccuhistorian.Main.access$0(Main.groovy)
	at mdz.ccuhistorian.Main$_run_closure4.doCall(Main.groovy:55)
	at mdz.ccuhistorian.Main$_run_closure4.call(Main.groovy)
	at mdz.ccuhistorian.LogSystem.catchToLog(LogSystem.groovy:78)
	at mdz.ccuhistorian.Main.run(Main.groovy:55)
	at mdz.ccuhistorian.Main.main(Main.groovy:23)
2017-12-01 12:13:09|FINEST |Sleeping
2017-12-01 12:13:39|FINE   |Reading configuration file ccu-historian.config
2017-12-01 12:13:39|FINE   |Log system configuration:
2017-12-01 12:13:39|FINE   |logSystem.consoleLevel=Level.INFO
2017-12-01 12:13:39|FINE   |logSystem.fileLevel=Level.FINEST
2017-12-01 12:13:39|FINE   |logSystem.fileName='/volume1/Medien/server-extern/Synology/historian/ccu-historian-%g.log'
2017-12-01 12:13:39|FINE   |logSystem.fileLimit=10000000
2017-12-01 12:13:39|FINE   |logSystem.fileCount=5
2017-12-01 12:13:39|FINE   |logSystem.binRpcLevel=Level.WARNING
2017-12-01 12:13:39|INFO   |Starting base services
2017-12-01 12:13:39|INFO   |Connecting to database
2017-12-01 12:13:39|FINE   |database.dir='/volume1/@appstore/ccu-historian/data'
2017-12-01 12:13:39|FINE   |database.name='history'
2017-12-01 12:13:39|FINE   |database.user='sa'
2017-12-01 12:13:39|FINE   |database.webEnable=true
2017-12-01 12:13:39|FINE   |database.webPort=8082
2017-12-01 12:13:39|FINE   |database.webAllowOthers=true
2017-12-01 12:13:39|FINE   |database.tcpEnable=false
2017-12-01 12:13:39|FINE   |database.tcpPort=9092
2017-12-01 12:13:39|FINE   |database.tcpAllowOthers=false
2017-12-01 12:13:39|FINE   |database.pgEnable=false
2017-12-01 12:13:39|FINE   |database.pgPort=5435
2017-12-01 12:13:39|FINE   |database.pgAllowOthers=false
2017-12-01 12:13:39|FINE   |database.backup=''
2017-12-01 12:13:39|FINE   |Database: Preparing table DATA_POINTS
2017-12-01 12:13:39|INFO   |Starting database web server
2017-12-01 12:13:39|FINE   |Database management URL: http://localhost:8082
2017-12-01 12:13:39|FINE   |Configuring interfaces
2017-12-01 12:13:39|FINE   |All devices: Reading configuration option 'historianBinRpcPort': 
2017-12-01 12:13:39|FINE   |All devices: Reading configuration option 'historianXmlRpcPort': 
2017-12-01 12:13:39|FINE   |All devices: Reading configuration option 'historianAddress': 192.168.111.180
2017-12-01 12:13:39|INFO   |Setting up device 1
2017-12-01 12:13:39|FINE   |Device 1: Reading configuration option 'type': CCU2
2017-12-01 12:13:39|FINE   |Device 1: Reading configuration option 'address': 192.168.111.160
2017-12-01 12:13:39|FINE   |Device 1: Reading configuration option 'reinitTimeout': 
2017-12-01 12:13:39|FINE   |Device 1: Reading configuration option 'prefix': 
2017-12-01 12:13:39|FINE   |Device 1: Reading configuration option 'writeAccess': 
2017-12-01 12:13:39|FINE   |Device 1: Reading configuration option 'sysVarDataCycle': 
2017-12-01 12:13:39|FINE   |Device 1: Reading configuration option 'timeout': 
2017-12-01 12:13:39|INFO   |Creating HM script client for http://192.168.111.160:8181/tclrega.exe
2017-12-01 12:13:39|FINE   |Device 1: Reading configuration option 'watchdogProgram': 
2017-12-01 12:13:39|FINE   |Device 1: Reading configuration option 'watchdogCycle': 
2017-12-01 12:13:39|INFO   |Configured following interfaces: BidCos-RF, HmIP-RF, SysVar
2017-12-01 12:13:39|INFO   |Starting interfaces
2017-12-01 12:13:40|INFO   |Starting XML-RPC server on port 2098
2017-12-01 12:13:40|FINE   |XML-RPC server address is http://192.168.111.180:2098
2017-12-01 12:13:41|FINE   |Starting re-init task
2017-12-01 12:13:41|FINEST |Event received: BidCos-RF.JEQ0231349:0.LOWBAT, Fri Dec 01 12:13:41 CET 2017, true, 2
2017-12-01 12:13:41|FINE   |Calling init(http://192.168.111.180:2098, HmIP-RF)
2017-12-01 12:13:41|FINE   |Stopping re-init task
2017-12-01 12:13:41|FINEST |Event received: BidCos-RF.JEQ0233822:0.LOWBAT, Fri Dec 01 12:13:41 CET 2017, true, 2
2017-12-01 12:13:51|SEVERE |Exception: Read timed out
2017-12-01 12:13:51|FINEST |Event received: BidCos-RF.JEQ0244949:0.CONFIG_PENDING, Fri Dec 01 12:13:41 CET 2017, true, 2
2017-12-01 12:13:51|FINE   |java.net.SocketTimeoutException: Read timed out
	at mdz.hc.itf.binrpc.BinRpcClient.receive(BinRpcClient.groovy:87)
	at mdz.hc.itf.binrpc.BinRpcClient.call(BinRpcClient.groovy:127)
	at mdz.hc.itf.hm.HmBinRpcInterface.deinit(HmBinRpcInterface.groovy:109)
	at mdz.hc.itf.hm.HmBinRpcInterface.access$0(HmBinRpcInterface.groovy)
	at mdz.hc.itf.hm.HmBinRpcInterface$_stop_closure1.doCall(HmBinRpcInterface.groovy:74)
	at mdz.hc.itf.hm.HmBinRpcInterface$_stop_closure1.call(HmBinRpcInterface.groovy)
	at mdz.Utilities.catchToLog(Utilities.groovy:70)
	at mdz.hc.itf.hm.HmBinRpcInterface.stop(HmBinRpcInterface.groovy:74)
	at mdz.hc.itf.Manager$_stop_closure2.doCall(Manager.groovy:57)
	at mdz.hc.itf.Manager.stop(Manager.groovy:56)
	at mdz.hc.itf.Manager.start(Manager.groovy:49)
	at mdz.ccuhistorian.HistorianSystem.<init>(HistorianSystem.groovy:21)
	at mdz.ccuhistorian.Main.start(Main.groovy:78)
	at mdz.ccuhistorian.Main.access$0(Main.groovy)
	at mdz.ccuhistorian.Main$_run_closure4.doCall(Main.groovy:55)
	at mdz.ccuhistorian.Main$_run_closure4.call(Main.groovy)
	at mdz.ccuhistorian.LogSystem.catchToLog(LogSystem.groovy:78)
	at mdz.ccuhistorian.Main.run(Main.groovy:55)
	at mdz.ccuhistorian.Main.main(Main.groovy:23)
2017-12-01 12:13:51|FINEST |Event received: BidCos-RF.JEQ0725751:1.TEMPERATURE, Fri Dec 01 12:13:41 CET 2017, 16.399999976158142, 2
2017-12-01 12:13:51|FINE   |Stopping XML-RPC server
2017-12-01 12:13:51|FINE   |Stopping main scheduler
2017-12-01 12:13:51|INFO   |Stopping database
2017-12-01 12:13:51|INFO   |Stopping base services
2017-12-01 12:13:51|SEVERE |Exception: Connection refused
2017-12-01 12:13:51|FINE   |java.net.ConnectException: Connection refused
	at mdz.hc.itf.hm.HmXmlRpcClient.init(HmXmlRpcClient.groovy:28)
	at mdz.hc.itf.hm.HmXmlRpcInterface.init(HmXmlRpcInterface.groovy:96)
	at mdz.hc.itf.hm.HmXmlRpcInterface.start(HmXmlRpcInterface.groovy:55)
	at mdz.hc.itf.Manager$_start_closure1.doCall(Manager.groovy:43)
	at mdz.hc.itf.Manager.start(Manager.groovy:41)
	at mdz.ccuhistorian.HistorianSystem.<init>(HistorianSystem.groovy:21)
	at mdz.ccuhistorian.Main.start(Main.groovy:78)
	at mdz.ccuhistorian.Main.access$0(Main.groovy)
	at mdz.ccuhistorian.Main$_run_closure4.doCall(Main.groovy:55)
	at mdz.ccuhistorian.Main$_run_closure4.call(Main.groovy)
	at mdz.ccuhistorian.LogSystem.catchToLog(LogSystem.groovy:78)
	at mdz.ccuhistorian.Main.run(Main.groovy:55)
	at mdz.ccuhistorian.Main.main(Main.groovy:23)
2017-12-01 12:13:51|FINEST |Sleeping
2017-12-01 12:14:21|FINE   |Reading configuration file ccu-historian.config
2017-12-01 12:14:21|FINE   |Log system configuration:
2017-12-01 12:14:21|FINE   |logSystem.consoleLevel=Level.INFO
2017-12-01 12:14:21|FINE   |logSystem.fileLevel=Level.FINEST
2017-12-01 12:14:21|FINE   |logSystem.fileName='/volume1/Medien/server-extern/Synology/historian/ccu-historian-%g.log'
2017-12-01 12:14:21|FINE   |logSystem.fileLimit=10000000
2017-12-01 12:14:21|FINE   |logSystem.fileCount=5
2017-12-01 12:14:21|FINE   |logSystem.binRpcLevel=Level.WARNING
2017-12-01 12:14:21|INFO   |Starting base services
2017-12-01 12:14:21|INFO   |Connecting to database
2017-12-01 12:14:21|FINE   |database.dir='/volume1/@appstore/ccu-historian/data'
2017-12-01 12:14:21|FINE   |database.name='history'
2017-12-01 12:14:21|FINE   |database.user='sa'
2017-12-01 12:14:21|FINE   |database.webEnable=true
2017-12-01 12:14:21|FINE   |database.webPort=8082
2017-12-01 12:14:21|FINE   |database.webAllowOthers=true
2017-12-01 12:14:21|FINE   |database.tcpEnable=false
2017-12-01 12:14:21|FINE   |database.tcpPort=9092
2017-12-01 12:14:21|FINE   |database.tcpAllowOthers=false
2017-12-01 12:14:21|FINE   |database.pgEnable=false
2017-12-01 12:14:21|FINE   |database.pgPort=5435
2017-12-01 12:14:21|FINE   |database.pgAllowOthers=false
2017-12-01 12:14:21|FINE   |database.backup=''
2017-12-01 12:14:21|FINE   |Database: Preparing table DATA_POINTS
2017-12-01 12:14:21|INFO   |Starting database web server
2017-12-01 12:14:21|FINE   |Database management URL: http://localhost:8082
2017-12-01 12:14:21|FINE   |Configuring interfaces
2017-12-01 12:14:21|FINE   |All devices: Reading configuration option 'historianBinRpcPort': 
2017-12-01 12:14:21|FINE   |All devices: Reading configuration option 'historianXmlRpcPort': 
2017-12-01 12:14:21|FINE   |All devices: Reading configuration option 'historianAddress': 192.168.111.180
2017-12-01 12:14:21|INFO   |Setting up device 1
2017-12-01 12:14:21|FINE   |Device 1: Reading configuration option 'type': CCU2
2017-12-01 12:14:21|FINE   |Device 1: Reading configuration option 'address': 192.168.111.160
2017-12-01 12:14:21|FINE   |Device 1: Reading configuration option 'reinitTimeout': 
2017-12-01 12:14:21|FINE   |Device 1: Reading configuration option 'prefix': 
2017-12-01 12:14:21|FINE   |Device 1: Reading configuration option 'writeAccess': 
2017-12-01 12:14:21|FINE   |Device 1: Reading configuration option 'sysVarDataCycle': 
2017-12-01 12:14:21|FINE   |Device 1: Reading configuration option 'timeout': 
2017-12-01 12:14:21|INFO   |Creating HM script client for http://192.168.111.160:8181/tclrega.exe
2017-12-01 12:14:21|FINE   |Device 1: Reading configuration option 'watchdogProgram': 
2017-12-01 12:14:21|FINE   |Device 1: Reading configuration option 'watchdogCycle': 
2017-12-01 12:14:21|INFO   |Configured following interfaces: BidCos-RF, HmIP-RF, SysVar
2017-12-01 12:14:21|INFO   |Starting interfaces
2017-12-01 12:14:21|INFO   |Starting XML-RPC server on port 2098
2017-12-01 12:14:21|FINE   |XML-RPC server address is http://192.168.111.180:2098
2017-12-01 12:14:22|FINE   |Starting re-init task
2017-12-01 12:14:22|FINEST |Event received: BidCos-RF.JEQ0231349:0.LOWBAT, Fri Dec 01 12:14:22 CET 2017, true, 2
2017-12-01 12:14:22|FINEST |Event received: BidCos-RF.JEQ0233822:0.LOWBAT, Fri Dec 01 12:14:22 CET 2017, true, 2
2017-12-01 12:14:22|FINEST |Event received: BidCos-RF.JEQ0244949:0.CONFIG_PENDING, Fri Dec 01 12:14:22 CET 2017, true, 2
2017-12-01 12:14:22|FINEST |Event received: BidCos-RF.JEQ0459140:0.CONFIG_PENDING, Fri Dec 01 12:14:22 CET 2017, true, 2
2017-12-01 12:14:22|FINEST |Event received: BidCos-RF.JEQ0656217:0.CONFIG_PENDING, Fri Dec 01 12:14:22 CET 2017, true, 2
2017-12-01 12:14:22|FINEST |Event received: BidCos-RF.JEQ0656217:0.UNREACH, Fri Dec 01 12:14:22 CET 2017, true, 2
2017-12-01 12:14:22|FINEST |Event received: BidCos-RF.KEQ0023274:0.UNREACH, Fri Dec 01 12:14:22 CET 2017, true, 2
2017-12-01 12:14:22|FINE   |Calling init(http://192.168.111.180:2098, HmIP-RF)
2017-12-01 12:14:22|FINEST |Event received: BidCos-RF.KEQ0927500:0.UNREACH, Fri Dec 01 12:14:22 CET 2017, true, 2
2017-12-01 12:14:22|FINE   |Stopping re-init task
2017-12-01 12:14:22|FINEST |Event received: BidCos-RF.LEQ0924839:0.UNREACH, Fri Dec 01 12:14:22 CET 2017, true, 2
2017-12-01 12:14:22|FINEST |Event received: BidCos-RF.LEQ0925737:0.UNREACH, Fri Dec 01 12:14:22 CET 2017, true, 2
2017-12-01 12:14:22|FINE   |Stopping XML-RPC server
2017-12-01 12:14:22|FINE   |Stopping main scheduler
2017-12-01 12:14:22|INFO   |Stopping database
2017-12-01 12:14:22|INFO   |Stopping base services
2017-12-01 12:14:22|SEVERE |Exception: Connection refused
2017-12-01 12:14:22|FINE   |java.net.ConnectException: Connection refused
	at mdz.hc.itf.hm.HmXmlRpcClient.init(HmXmlRpcClient.groovy:28)
	at mdz.hc.itf.hm.HmXmlRpcInterface.init(HmXmlRpcInterface.groovy:96)
	at mdz.hc.itf.hm.HmXmlRpcInterface.start(HmXmlRpcInterface.groovy:55)
	at mdz.hc.itf.Manager$_start_closure1.doCall(Manager.groovy:43)
	at mdz.hc.itf.Manager.start(Manager.groovy:41)
	at mdz.ccuhistorian.HistorianSystem.<init>(HistorianSystem.groovy:21)
	at mdz.ccuhistorian.Main.start(Main.groovy:78)
	at mdz.ccuhistorian.Main.access$0(Main.groovy)
	at mdz.ccuhistorian.Main$_run_closure4.doCall(Main.groovy:55)
	at mdz.ccuhistorian.Main$_run_closure4.call(Main.groovy)
	at mdz.ccuhistorian.LogSystem.catchToLog(LogSystem.groovy:78)
	at mdz.ccuhistorian.Main.run(Main.groovy:55)
	at mdz.ccuhistorian.Main.main(Main.groovy:23)
2017-12-01 12:14:22|FINEST |Sleeping
2017-12-01 12:14:52|FINE   |Reading configuration file ccu-historian.config
2017-12-01 12:14:52|FINE   |Log system configuration:
2017-12-01 12:14:52|FINE   |logSystem.consoleLevel=Level.INFO
2017-12-01 12:14:52|FINE   |logSystem.fileLevel=Level.FINEST
2017-12-01 12:14:52|FINE   |logSystem.fileName='/volume1/Medien/server-extern/Synology/historian/ccu-historian-%g.log'
2017-12-01 12:14:52|FINE   |logSystem.fileLimit=10000000
2017-12-01 12:14:52|FINE   |logSystem.fileCount=5
2017-12-01 12:14:52|FINE   |logSystem.binRpcLevel=Level.WARNING
2017-12-01 12:14:52|INFO   |Starting base services
2017-12-01 12:14:52|INFO   |Connecting to database
2017-12-01 12:14:52|FINE   |database.dir='/volume1/@appstore/ccu-historian/data'
2017-12-01 12:14:52|FINE   |database.name='history'
2017-12-01 12:14:52|FINE   |database.user='sa'
2017-12-01 12:14:52|FINE   |database.webEnable=true
2017-12-01 12:14:52|FINE   |database.webPort=8082
2017-12-01 12:14:52|FINE   |database.webAllowOthers=true
2017-12-01 12:14:52|FINE   |database.tcpEnable=false
2017-12-01 12:14:52|FINE   |database.tcpPort=9092
2017-12-01 12:14:52|FINE   |database.tcpAllowOthers=false
2017-12-01 12:14:52|FINE   |database.pgEnable=false
2017-12-01 12:14:52|FINE   |database.pgPort=5435
2017-12-01 12:14:52|FINE   |database.pgAllowOthers=false
2017-12-01 12:14:52|FINE   |database.backup=''
2017-12-01 12:14:52|FINE   |Database: Preparing table DATA_POINTS
2017-12-01 12:14:52|INFO   |Starting database web server
2017-12-01 12:14:52|FINE   |Database management URL: http://localhost:8082
2017-12-01 12:14:52|FINE   |Configuring interfaces
2017-12-01 12:14:52|FINE   |All devices: Reading configuration option 'historianBinRpcPort': 
2017-12-01 12:14:52|FINE   |All devices: Reading configuration option 'historianXmlRpcPort': 
2017-12-01 12:14:52|FINE   |All devices: Reading configuration option 'historianAddress': 192.168.111.180
2017-12-01 12:14:52|INFO   |Setting up device 1
2017-12-01 12:14:52|FINE   |Device 1: Reading configuration option 'type': CCU2
2017-12-01 12:14:52|FINE   |Device 1: Reading configuration option 'address': 192.168.111.160
2017-12-01 12:14:52|FINE   |Device 1: Reading configuration option 'reinitTimeout': 
2017-12-01 12:14:52|FINE   |Device 1: Reading configuration option 'prefix': 
2017-12-01 12:14:52|FINE   |Device 1: Reading configuration option 'writeAccess': 
2017-12-01 12:14:52|FINE   |Device 1: Reading configuration option 'sysVarDataCycle': 
2017-12-01 12:14:52|FINE   |Device 1: Reading configuration option 'timeout': 
2017-12-01 12:14:52|INFO   |Creating HM script client for http://192.168.111.160:8181/tclrega.exe
2017-12-01 12:14:52|FINE   |Device 1: Reading configuration option 'watchdogProgram': 
2017-12-01 12:14:52|FINE   |Device 1: Reading configuration option 'watchdogCycle': 
2017-12-01 12:14:52|INFO   |Configured following interfaces: BidCos-RF, HmIP-RF, SysVar
2017-12-01 12:14:52|INFO   |Starting interfaces
2017-12-01 12:14:52|INFO   |Starting XML-RPC server on port 2098
2017-12-01 12:14:52|FINE   |XML-RPC server address is http://192.168.111.180:2098
2017-12-01 12:14:53|FINE   |Starting re-init task
2017-12-01 12:14:53|FINEST |Event received: BidCos-RF.JEQ0231349:0.LOWBAT, Fri Dec 01 12:14:53 CET 2017, true, 2
2017-12-01 12:14:53|FINE   |Calling init(http://192.168.111.180:2098, HmIP-RF)
2017-12-01 12:14:53|FINEST |Event received: BidCos-RF.JEQ0233822:0.LOWBAT, Fri Dec 01 12:14:53 CET 2017, true, 2
2017-12-01 12:14:53|FINEST |Event received: BidCos-RF.JEQ0244949:0.CONFIG_PENDING, Fri Dec 01 12:14:53 CET 2017, true, 2
2017-12-01 12:14:53|FINEST |Event received: BidCos-RF.JEQ0459140:0.CONFIG_PENDING, Fri Dec 01 12:14:53 CET 2017, true, 2
2017-12-01 12:14:53|FINE   |Stopping re-init task
Irgendwie scheint er ja schon Events von irgendwelchen Geräte zu bekommen. Aber zwischen drin sind immer noch die connection refused Errors.

Und http://192.168.111.180:81/historian/index.html liefert
Fehler: Verbindung fehlgeschlagen

Firefox kann keine Verbindung zu dem Server unter 192.168.111.180:81 aufbauen.
Gruss Ralf

NickHM
Beiträge: 3733
Registriert: 23.09.2017, 12:04
Hat sich bedankt: 66 Mal
Danksagung erhalten: 120 Mal

Re: CCU-Historian@Synology

Beitrag von NickHM » 01.12.2017, 13:27

Guten Abend

ich finde die beschriebene Abfrage bei der Installation auch etwas verwirrend.
Entweder es soll eine config angelegt werden und es erfolgen entsprechende Abfragen, oder es wird die default config rein kopiert und man muss diese manuell anpassen. Dann sind Abfragen überflüssig.

Allerdings frage ich mich, was bei einem Paketupdate erfolgt. Wenn schon eine config vorhanden ist, sollen nur die Programmdateien überschrieben werden, nicht die config. Wie ist das gelöst ??

Rex69
Beiträge: 28
Registriert: 29.03.2017, 13:02
Hat sich bedankt: 1 Mal

Re: CCU-Historian@Synology

Beitrag von Rex69 » 01.12.2017, 13:41

derrapf hat geschrieben: Das ist genau das Problem: Wenn Du nur eine Config Datei anlegst wenn man nichts! selber konfiguriert; dann sind ja die ganzen Abfragen die bei "Ich bin ein Profi" kommen für die Katz, wenn diese nicht in der config abgespeichert werden. Dann kannst Du Sie Dir gleich schenken.
NickHM hat geschrieben:Guten Abend

ich finde die beschriebene Abfrage bei der Installation auch etwas verwirrend.
Entweder es soll eine config angelegt werden und es erfolgen entsprechende Abfragen, oder es wird die default config rein kopiert und man muss diese manuell anpassen. Dann sind Abfragen überflüssig.
Die Abfrage war schon in dem Paket drin, welches ich übernommen habe. Ob Sie Sinnvoll ist bleibt dahin gestellt.
Die IP sowie der Port die im Wizzard eingetragen werden, nutzt die Synology Oberfläche um das CCU-Historian Icon richtig zu verlinken.

Eigentlich sollte je nach Auswahl ob "Nein, ich bin ein Profi und will alles selber machen (die folgenden Einträge werden ignoriert)" oder "Ja, gerne" der Instalationswizzard anders verlaufen.
Ich habe noch nicht rausgefunden wie ich jeh nach Auswahl die nächste Wizzard Seite anpassen kann. Wenn mir jemand bei dieser Anpassung des Wizzard einen Hinweis geben kann, bin ich gern bereit dies anzupassen.
Allerdings frage ich mich, was bei einem Paketupdate erfolgt. Wenn schon eine config vorhanden ist, sollen nur die Programmdateien überschrieben werden, nicht die config. Wie ist das gelöst ??
Beim Update wird im Wizzard darauf hingewiesen, dass man ein Backup von Datenbank und Konfiguration haben soll.
Allerdings werden nur die Programmdateien überschrieben und nicht die Konfiguration.

Gruß
Rex69

Mathias
Beiträge: 1796
Registriert: 03.11.2010, 10:25
System: CCU
Wohnort: Aachen
Hat sich bedankt: 58 Mal
Danksagung erhalten: 262 Mal
Kontaktdaten:

Re: CCU-Historian@Synology

Beitrag von Mathias » 01.12.2017, 23:23

derrapf hat geschrieben:Nee HM-IP hab ich nicht
Also aus irgendeinen Grund ist die HM-IP-Schnittstelle Deiner CCU nicht erreichbar. Die aktuelle Firmware ist auf der CCU?
Ein nächster Schritt könnte sein, die HM-IP-Prozesse auf der CCU zu kontrollieren (über die SSH-Konsole). Da kann ich aber nicht weiterhelfen.

Gruß
Mathias

derrapf
Beiträge: 815
Registriert: 17.12.2012, 22:29

Re: CCU-Historian@Synology

Beitrag von derrapf » 04.12.2017, 16:34

Hallo Matthias
Auf der CCU ist noch 2.15.5
Ich hab mich bisher nicht getraut upzudaten, denn jedesmal wenn ich das gemacht hat ist irgend eine Katastrophe passiert. Bei der CCU hale ich es mehr als überall anders nach der Devise "never change a running system".
Meinst Du es würde was nutzen?
Das Komische ist ja dass der Historian die ganze Zeit lief, bis ich Depp ohne das Backup der confg eine neue Version installiert habe....
Gruss Ralf

NickHM
Beiträge: 3733
Registriert: 23.09.2017, 12:04
Hat sich bedankt: 66 Mal
Danksagung erhalten: 120 Mal

Re: CCU-Historian@Synology

Beitrag von NickHM » 04.12.2017, 16:58

Guten Abend

wenn ich mal zusammenfassen darf ...

- auf der CCU2 läuft eine FW, die HMIP (noch) nicht unterstützt
- Du hast ein Historian Update von einer aletn Version ohne HMIP Unterstützung au die aktuelle Version mit HMIP Unterstützung gemacht.

soweit richtig ??

Dann musst Du eine Seite anpassen. Entweder CCU2 mit HMIP Funktion, auch wenn Du diese nicht benutzt
oder alte Historian Version ohne HMIP Abfrage.

derrapf
Beiträge: 815
Registriert: 17.12.2012, 22:29

Re: CCU-Historian@Synology

Beitrag von derrapf » 04.12.2017, 17:11

Das klingt einleuchtend.
Ich haette jetzt zwar gehofft, dass der CCU Historian entweder merkt, dass HM-IP nicht unterstützt ist oder sich das per Variable abstellen lässt...
Aber gut. Dann weiss ich was ich zu tun habe:
Sicherheitsgurte anlegen, Kreuz machen, beten, Backup anlegen und CCU updaten...
Klingt nach Wochenend - Job
Melde mich wieder...

Gruss Ralf

Antworten

Zurück zu „CCU-Historian“