Ich wollt heute mal wieder schauen was der Historian macht und stelle fest dass er nicht funktioniert.
Ein Blick in die Logs lieferte, dass angeblich die database in use wäre.
Ich habe den Hstorian beendet und per ps geschaut ob noch eine weitere Instanz läuft
Code: Alles auswählen
root@SynologyNAS:~# ps -e | grep java
root@SynologyNAS:~#
Log gelöscht und Historian über die Synology wieder neu gestartet.
Jetzt sieht das Log auf einmal so aus
Code: Alles auswählen
2018-09-19 12:34:16|INFO |CCU-Historian V2.0.0-beta.1
2018-09-19 12:34:16|INFO |(C)MDZ (info@ccu-historian.de)
2018-09-19 12:34:18|INFO |Starting base services
2018-09-19 12:34:18|INFO |Connecting to database
2018-09-19 12:34:21|INFO |Starting database web server
2018-09-19 12:34:21|INFO |Setting up device 1
2018-09-19 12:34:21|INFO |Creating HM script client for http://192.168.111.160:8181/tclrega.exe
2018-09-19 12:34:21|INFO |Setting up plug-in 1
2018-09-19 12:34:21|INFO |Configured following interfaces: BidCos-RF, HmIP-RF, SysVar, CUxD
2018-09-19 12:34:21|INFO |Starting interfaces
2018-09-19 12:34:21|INFO |Starting XML-RPC server on port 2098
2018-09-19 12:34:22|INFO |Starting historian
2018-09-19 12:34:22|INFO |Starting web server
2018-09-19 12:34:23|INFO |Web server port: 81
2018-09-19 12:34:46|WARNING|Device BidCos-RF.CENTRAL.PONG does not exist
2018-09-19 12:34:47|WARNING|Device BidCos-RF.JEQ0098152:0.DEVICE_IN_BOOTLOADER does not exist
2018-09-19 12:34:47|WARNING|Device BidCos-RF.JEQ0098152:0.STICKY_UNREACH does not exist
2018-09-19 12:34:47|WARNING|Device BidCos-RF.JEQ0098152:0.UNREACH does not exist
2018-09-19 12:34:47|WARNING|Device BidCos-RF.JEQ0098187:0.STICKY_UNREACH does not exist
2018-09-19 12:34:47|WARNING|Device BidCos-RF.JEQ0098187:0.UNREACH does not exist
2018-09-19 12:34:48|WARNING|Device BidCos-RF.LEQ1274615.DUTY_CYCLE does not exist
2018-09-19 12:34:48|WARNING|Communication error
2018-09-19 12:34:48|WARNING|Exception: Invalid device
2018-09-19 12:34:48|WARNING|Detail: uk.co.wilson.net.xmlrpc.XMLRPCFailException: Invalid device
at uk.co.wilson.net.xmlrpc.XMLRPCMessageProcessor.endElement(XMLRPCMessageProcessor.java:627)
at uk.co.wilson.xml.MinML.parse(MinML.java:312)
at uk.co.wilson.net.xmlrpc.XMLRPCMessageProcessor.parseMessage(XMLRPCMessageProcessor.java:443)
at mdz.hc.itf.hm.HmXmlRpcClient.getParamsetDescription(HmXmlRpcClient.groovy:54)
at mdz.hc.itf.hm.HmXmlRpcInterface$_updateDeviceProperties_closure3.doCall(HmXmlRpcInterface.groovy:161)
at mdz.hc.itf.hm.HmXmlRpcInterface.updateDeviceProperties(HmXmlRpcInterface.groovy:156)
at mdz.hc.itf.hm.HmXmlRpcInterface.updateProperties(HmXmlRpcInterface.groovy:209)
at mdz.hc.itf.Manager$_updateProperties_closure4.doCall(Manager.groovy:120)
at mdz.hc.itf.Manager.updateProperties(Manager.groovy:117)
at mdz.ccuhistorian.Historian.updateWithoutSubscriptionSupport(Historian.groovy:179)
at mdz.ccuhistorian.Historian.access$1(Historian.groovy)
at mdz.ccuhistorian.Historian$_run_closure2.doCall(Historian.groovy:104)
at mdz.ccuhistorian.Historian$_run_closure2.call(Historian.groovy)
at mdz.Exceptions.lambda$0(Exceptions.java:84)
at mdz.Exceptions.catchToLog(Exceptions.java:74)
at mdz.Exceptions.catchToLog(Exceptions.java:84)
at mdz.ccuhistorian.Historian.run(Historian.groovy:102)
2018-09-19 12:34:48|WARNING|Communication error
2018-09-19 12:34:48|WARNING|Exception: Invalid device
2018-09-19 12:34:48|WARNING|Detail: uk.co.wilson.net.xmlrpc.XMLRPCFailException: Invalid device
at uk.co.wilson.net.xmlrpc.XMLRPCMessageProcessor.endElement(XMLRPCMessageProcessor.java:627)
at uk.co.wilson.xml.MinML.parse(MinML.java:312)
at uk.co.wilson.net.xmlrpc.XMLRPCMessageProcessor.parseMessage(XMLRPCMessageProcessor.java:443)
at mdz.hc.itf.hm.HmXmlRpcClient.getParamsetDescription(HmXmlRpcClient.groovy:54)
at mdz.hc.itf.hm.HmXmlRpcInterface$_updateDeviceProperties_closure3.doCall(HmXmlRpcInterface.groovy:161)
at mdz.hc.itf.hm.HmXmlRpcInterface.updateDeviceProperties(HmXmlRpcInterface.groovy:156)
at mdz.hc.itf.hm.HmXmlRpcInterface.updateProperties(HmXmlRpcInterface.groovy:209)
at mdz.hc.itf.Manager$_updateProperties_closure4.doCall(Manager.groovy:120)
at mdz.hc.itf.Manager.updateProperties(Manager.groovy:117)
at mdz.ccuhistorian.Historian.updateWithoutSubscriptionSupport(Historian.groovy:179)
at mdz.ccuhistorian.Historian.access$1(Historian.groovy)
at mdz.ccuhistorian.Historian$_run_closure2.doCall(Historian.groovy:104)
at mdz.ccuhistorian.Historian$_run_closure2.call(Historian.groovy)
at mdz.Exceptions.lambda$0(Exceptions.java:84)
at mdz.Exceptions.catchToLog(Exceptions.java:74)
at mdz.Exceptions.catchToLog(Exceptions.java:84)
at mdz.ccuhistorian.Historian.run(Historian.groovy:102)
2018-09-19 12:34:48|WARNING|Communication error
2018-09-19 12:34:48|WARNING|Exception: Invalid device
2018-09-19 12:34:48|WARNING|Detail: uk.co.wilson.net.xmlrpc.XMLRPCFailException: Invalid device
at uk.co.wilson.net.xmlrpc.XMLRPCMessageProcessor.endElement(XMLRPCMessageProcessor.java:627)
at uk.co.wilson.xml.MinML.parse(MinML.java:312)
at uk.co.wilson.net.xmlrpc.XMLRPCMessageProcessor.parseMessage(XMLRPCMessageProcessor.java:443)
at mdz.hc.itf.hm.HmXmlRpcClient.getParamsetDescription(HmXmlRpcClient.groovy:54)
at mdz.hc.itf.hm.HmXmlRpcInterface$_updateDeviceProperties_closure3.doCall(HmXmlRpcInterface.groovy:161)
at mdz.hc.itf.hm.HmXmlRpcInterface.updateDeviceProperties(HmXmlRpcInterface.groovy:156)
at mdz.hc.itf.hm.HmXmlRpcInterface.updateProperties(HmXmlRpcInterface.groovy:209)
at mdz.hc.itf.Manager$_updateProperties_closure4.doCall(Manager.groovy:120)
at mdz.hc.itf.Manager.updateProperties(Manager.groovy:117)
at mdz.ccuhistorian.Historian.updateWithoutSubscriptionSupport(Historian.groovy:179)
at mdz.ccuhistorian.Historian.access$1(Historian.groovy)
at mdz.ccuhistorian.Historian$_run_closure2.doCall(Historian.groovy:104)
at mdz.ccuhistorian.Historian$_run_closure2.call(Historian.groovy)
at mdz.Exceptions.lambda$0(Exceptions.java:84)
at mdz.Exceptions.catchToLog(Exceptions.java:74)
at mdz.Exceptions.catchToLog(Exceptions.java:84)
at mdz.ccuhistorian.Historian.run(Historian.groovy:102)
2018-09-19 12:34:48|WARNING|Communication error
2018-09-19 12:34:48|WARNING|Exception: Invalid device
2018-09-19 12:34:48|WARNING|Detail: uk.co.wilson.net.xmlrpc.XMLRPCFailException: Invalid device
at uk.co.wilson.net.xmlrpc.XMLRPCMessageProcessor.endElement(XMLRPCMessageProcessor.java:627)
at uk.co.wilson.xml.MinML.parse(MinML.java:312)
at uk.co.wilson.net.xmlrpc.XMLRPCMessageProcessor.parseMessage(XMLRPCMessageProcessor.java:443)
at mdz.hc.itf.hm.HmXmlRpcClient.getParamsetDescription(HmXmlRpcClient.groovy:54)
at mdz.hc.itf.hm.HmXmlRpcInterface$_updateDeviceProperties_closure3.doCall(HmXmlRpcInterface.groovy:161)
at mdz.hc.itf.hm.HmXmlRpcInterface.updateDeviceProperties(HmXmlRpcInterface.groovy:156)
at mdz.hc.itf.hm.HmXmlRpcInterface.updateProperties(HmXmlRpcInterface.groovy:209)
at mdz.hc.itf.Manager$_updateProperties_closure4.doCall(Manager.groovy:120)
at mdz.hc.itf.Manager.updateProperties(Manager.groovy:117)
at mdz.ccuhistorian.Historian.updateWithoutSubscriptionSupport(Historian.groovy:179)
at mdz.ccuhistorian.Historian.access$1(Historian.groovy)
at mdz.ccuhistorian.Historian$_run_closure2.doCall(Historian.groovy:104)
at mdz.ccuhistorian.Historian$_run_closure2.call(Historian.groovy)
at mdz.Exceptions.lambda$0(Exceptions.java:84)
at mdz.Exceptions.catchToLog(Exceptions.java:74)
at mdz.Exceptions.catchToLog(Exceptions.java:84)
at mdz.ccuhistorian.Historian.run(Historian.groovy:102)
2018-09-19 12:34:48|WARNING|Communication error
2018-09-19 12:34:48|WARNING|Exception: Invalid device
2018-09-19 12:34:48|WARNING|Detail: uk.co.wilson.net.xmlrpc.XMLRPCFailException: Invalid device
at uk.co.wilson.net.xmlrpc.XMLRPCMessageProcessor.endElement(XMLRPCMessageProcessor.java:627)
at uk.co.wilson.xml.MinML.parse(MinML.java:312)
at uk.co.wilson.net.xmlrpc.XMLRPCMessageProcessor.parseMessage(XMLRPCMessageProcessor.java:443)
at mdz.hc.itf.hm.HmXmlRpcClient.getParamsetDescription(HmXmlRpcClient.groovy:54)
at mdz.hc.itf.hm.HmXmlRpcInterface$_updateDeviceProperties_closure3.doCall(HmXmlRpcInterface.groovy:161)
at mdz.hc.itf.hm.HmXmlRpcInterface.updateDeviceProperties(HmXmlRpcInterface.groovy:156)
at mdz.hc.itf.hm.HmXmlRpcInterface.updateProperties(HmXmlRpcInterface.groovy:209)
at mdz.hc.itf.Manager$_updateProperties_closure4.doCall(Manager.groovy:120)
at mdz.hc.itf.Manager.updateProperties(Manager.groovy:117)
at mdz.ccuhistorian.Historian.updateWithoutSubscriptionSupport(Historian.groovy:179)
at mdz.ccuhistorian.Historian.access$1(Historian.groovy)
at mdz.ccuhistorian.Historian$_run_closure2.doCall(Historian.groovy:104)
at mdz.ccuhistorian.Historian$_run_closure2.call(Historian.groovy)
at mdz.Exceptions.lambda$0(Exceptions.java:84)
at mdz.Exceptions.catchToLog(Exceptions.java:74)
at mdz.Exceptions.catchToLog(Exceptions.java:84)
at mdz.ccuhistorian.Historian.run(Historian.groovy:102)
Kann mir jemand den Spuk erklären, bzw. eine Hilfe geben wie ich dieses Invalid Device finde?
Gruss Ralf