Hallo,
wenn ich meinen Server neu starte funktioniert alles, aber nach einiger Zeit kann ich über die Smartvisu und auch über Groupswrite nichts mehr schalten.
Woran kann das liegen?
Das System liegt in einer VirtualBox.
Smarthome Backend :8383 Fehler:
Debug (hab das File bis auf Error und Warning bereinigt:
wenn ich meinen Server neu starte funktioniert alles, aber nach einiger Zeit kann ich über die Smartvisu und auch über Groupswrite nichts mehr schalten.
Woran kann das liegen?
Das System liegt in einer VirtualBox.
Smarthome Backend :8383 Fehler:
Code:
[LIST][*]2017-04-08 06:59:35 WARNING Main WebSocket: protocol mismatch. SmartHomeNG protocol version=3, visu protocol version=4[*]2017-04-08 07:02:21 WARNING Main -------------------- Init smarthomeNG 1.2.0.man --------------------[*]2017-04-08 07:02:23 WARNING Main Could not add listener tcp:0.0.0.0:4711 for EG.tuergong_protokoll[*]2017-04-08 07:02:24 WARNING Main Could not add listener tcp:0.0.0.0:4711 for Aussen.garage_protokoll[*]2017-04-08 07:02:24 WARNING system.datum_uhrzeit.sonne.position Item system.datum_uhrzeit.sonne.position: value (1.4709506034851074, 0.08378460258245468) does not match type num. Via Init None[*]2017-04-08 07:55:20 WARNING Main -------------------- Init smarthomeNG 1.2.0.man --------------------[*]2017-04-08 07:55:22 WARNING Main Could not add listener tcp:0.0.0.0:4711 for EG.tuergong_protokoll[*]2017-04-08 07:55:22 WARNING Main Could not add listener tcp:0.0.0.0:4711 for Aussen.garage_protokoll[*]2017-04-08 07:55:22 WARNING system.datum_uhrzeit.sonne.position Item system.datum_uhrzeit.sonne.position: value (1.6425552368164062, 0.23667480051517487) does not match type num. Via Init None[*]2017-04-08 08:18:53 WARNING Main -------------------- Init smarthomeNG 1.2.0.man --------------------[*]2017-04-08 08:18:58 WARNING system.datum_uhrzeit.sonne.position Item system.datum_uhrzeit.sonne.position: value (1.721169352531433, 0.30500149726867676) does not match type num. Via Init None[*]2017-04-08 08:19:00 WARNING Novelan.temperatur.aussen.max Item Novelan.temperatur.aussen.max: problem evaluating sh.Novlean.temperatur.aussen.db('max', '24h'): 'SmartHome' object has no attribute 'Novlean'[/LIST]
Code:
[LIST][*]2017-04-08 07:02:23 ERROR Main TCPDispatcher: problem binding 0.0.0.0:2727 (TCP): [Errno 98] Die Adresse wird bereits verwendet[*]2017-04-08 07:02:23 ERROR Main HTTPDispatcher: problem binding 0.0.0.0:8090 (TCP): [Errno 98] Die Adresse wird bereits verwendet[*]2017-04-08 07:02:23 ERROR Main Problem parsing '/usr/local/smarthome/items/smartvisu.conf': item starts with digit '0' in line 2289: [[[[0]]]][*]2017-04-08 07:02:23 ERROR Main TCPDispatcher: problem binding 0.0.0.0:4711 (TCP): [Errno 98] Die Adresse wird bereits verwendet[*]2017-04-08 07:02:24 ERROR Main TCPDispatcher: problem binding 0.0.0.0:4711 (TCP): [Errno 98] Die Adresse wird bereits verwendet[*]2017-04-08 07:02:24 ERROR smartvisu Could not find valid smartVISU directory: /var/www/smartVISU[*]2017-04-08 07:02:26 ERROR Connections CLI: problem binding 127.0.0.1:2323 (TCP): [Errno 98] Die Adresse wird bereits verwendet[*]2017-04-08 07:02:26 ERROR Connections _websocket: problem binding 0.0.0.0:2424 (TCP): [Errno 98] Die Adresse wird bereits verwendet[*]2017-04-08 07:02:26 ERROR Connections TCPDispatcher: problem binding 0.0.0.0:2727 (TCP): [Errno 98] Die Adresse wird bereits verwendet[*]2017-04-08 07:02:26 ERROR Connections HTTPDispatcher: problem binding 0.0.0.0:8090 (TCP): [Errno 98] Die Adresse wird bereits verwendet[*]2017-04-08 07:02:26 ERROR Connections TCPDispatcher: problem binding 0.0.0.0:4711 (TCP): [Errno 98] Die Adresse wird bereits verwendet[*]2017-04-08 07:02:26 ERROR Connections TCPDispatcher: problem binding 0.0.0.0:4711 (TCP): [Errno 98] Die Adresse wird bereits verwendet[*]2017-04-08 07:02:26 ERROR BackendServer [08/Apr/2017:07:02:26] ENGINE Error in 'start' listener <bound method Server.start of <cherrypy._cpserver.Server object at 0x7f599cb9ef28>>[*]2017-04-08 07:02:26 ERROR BackendServer [08/Apr/2017:07:02:26] ENGINE Shutting down due to error in start listener:[*]2017-04-08 07:55:21 ERROR Main TCPDispatcher: problem binding 0.0.0.0:2727 (TCP): [Errno 98] Die Adresse wird bereits verwendet[*]2017-04-08 07:55:21 ERROR Main HTTPDispatcher: problem binding 0.0.0.0:8090 (TCP): [Errno 98] Die Adresse wird bereits verwendet[*]2017-04-08 07:55:22 ERROR Main Problem parsing '/usr/local/smarthome/items/smartvisu.conf': item starts with digit '0' in line 2289: [[[[0]]]][*]2017-04-08 07:55:22 ERROR Main TCPDispatcher: problem binding 0.0.0.0:4711 (TCP): [Errno 98] Die Adresse wird bereits verwendet[*]2017-04-08 07:55:22 ERROR Main TCPDispatcher: problem binding 0.0.0.0:4711 (TCP): [Errno 98] Die Adresse wird bereits verwendet[*]2017-04-08 07:55:22 ERROR smartvisu Could not find valid smartVISU directory: /var/www/smartVISU[*]2017-04-08 07:55:24 ERROR BackendServer [08/Apr/2017:07:55:24] ENGINE Error in 'start' listener <bound method Server.start of <cherrypy._cpserver.Server object at 0x7f0392035e48>>[*]2017-04-08 07:55:24 ERROR BackendServer [08/Apr/2017:07:55:24] ENGINE Shutting down due to error in start listener:[*]2017-04-08 08:18:57 ERROR Main Problem parsing '/usr/local/smarthome/items/smartvisu.conf': item starts with digit '0' in line 2289: [[[[0]]]][*]2017-04-08 08:18:58 ERROR smartvisu Could not find valid smartVISU directory: /var/www/smartVISU[*]2017-04-08 13:10:33 ERROR Main TCPDispatcher: problem binding 0.0.0.0:2727 (TCP): [Errno 98] Die Adresse wird bereits verwendet[*]2017-04-08 13:10:33 ERROR Main HTTPDispatcher: problem binding 0.0.0.0:8090 (TCP): [Errno 98] Die Adresse wird bereits verwendet[*]2017-04-08 13:10:33 ERROR Main Problem parsing '/usr/local/smarthome/items/smartvisu.conf': item starts with digit '0' in line 2289: [[[[0]]]][*]2017-04-08 13:10:33 ERROR Main TCPDispatcher: problem binding 0.0.0.0:4711 (TCP): [Errno 98] Die Adresse wird bereits verwendet[*]2017-04-08 13:10:34 ERROR Main TCPDispatcher: problem binding 0.0.0.0:4711 (TCP): [Errno 98] Die Adresse wird bereits verwendet[*]2017-04-08 13:10:34 ERROR smartvisu Could not find valid smartVISU directory: /var/www/smartVISU[*]2017-04-08 13:10:35 ERROR Connections CLI: problem binding 127.0.0.1:2323 (TCP): [Errno 98] Die Adresse wird bereits verwendet[*]2017-04-08 13:10:35 ERROR Connections _websocket: problem binding 0.0.0.0:2424 (TCP): [Errno 98] Die Adresse wird bereits verwendet[*]2017-04-08 13:10:35 ERROR Connections TCPDispatcher: problem binding 0.0.0.0:2727 (TCP): [Errno 98] Die Adresse wird bereits verwendet[*]2017-04-08 13:10:35 ERROR Connections HTTPDispatcher: problem binding 0.0.0.0:8090 (TCP): [Errno 98] Die Adresse wird bereits verwendet[*]2017-04-08 13:10:35 ERROR Connections TCPDispatcher: problem binding 0.0.0.0:4711 (TCP): [Errno 98] Die Adresse wird bereits verwendet[*]2017-04-08 13:10:35 ERROR Connections TCPDispatcher: problem binding 0.0.0.0:4711 (TCP): [Errno 98] Die Adresse wird bereits verwendet[*]2017-04-08 13:10:36 ERROR BackendServer [08/Apr/2017:13:10:36] ENGINE Error in 'start' listener <bound method Server.start of <cherrypy._cpserver.Server object at 0x7f84304e3eb8>>[*]2017-04-08 13:10:36 ERROR BackendServer [08/Apr/2017:13:10:36] ENGINE Shutting down due to error in start listener:[/LIST]
Debug (hab das File bis auf Error und Warning bereinigt:
Code:
2017-04-08 07:02:21 WARNING smarthome Main -------------------- Init smarthomeNG 1.2.0.man -------------------- -- smarthome.py:__init__:195 22017-04-08 07:02:23 ERROR connection Main HTTPDispatcher: problem binding 0.0.0.0:8090 (TCP): [Errno 98] Die Adresse wird bereits verwendet -- connection.py:connect:156 2017-04-08 07:02:23 ERROR config Main Problem parsing '/usr/local/smarthome/items/smartvisu.conf': item starts with digit '0' in line 2289: [[[[0]]]] -- config.py:parse:107 2017-04-08 07:02:23 ERROR connection Main TCPDispatcher: problem binding 0.0.0.0:4711 (TCP): [Errno 98] Die Adresse wird bereits verwendet -- connection.py:connect:156 2017-04-08 07:02:23 WARNING __init__ Main Could not add listener tcp:0.0.0.0:4711 for EG.tuergong_protokoll -- __init__.py:parse_obj:338 2017-04-08 07:02:24 WARNING item system.datum_uhrzeit.sonne.position Item system.datum_uhrzeit.sonne.position: value (1.4709506034851074, 0.08378460258245468) does not match type num. Via Init None -- item.py:__update:358 2017-04-08 07:02:24 WARNING item Novelan.temperatur.aussen.max Item Novelan.temperatur.aussen.max: problem evaluating sh.Novlean.temperatur.aussen.db('max', '24h'): 'SmartHome' object has no attribute 'Novlean' -- item.py:__run_eval:342 [08/Apr/2017:07:02:24] ENGINE Bus STARTING 2017-04-08 07:02:24 INFO _cplogging BackendServer [08/Apr/2017:07:02:24] ENGINE Bus STARTING -- _cplogging.py:error:219 CherryPy Checker: dir is an absolute path, even though a root is provided. section: [/static] root: '/usr/local/smarthome/plugins/backend' dir: '/usr/local/smarthome/plugins/backend/static' 2017-04-08 07:02:24 ERROR __init__ smartvisu Could not find valid smartVISU directory: /var/www/smartVISU -- __init__.py:run:75 [08/Apr/2017:07:02:24] ENGINE Started monitor thread '_TimeoutMonitor'. 2017-04-08 07:02:24 INFO _cplogging BackendServer [08/Apr/2017:07:02:24] ENGINE Started monitor thread '_TimeoutMonitor'. -- _cplogging.py:error:219 2017-04-08 07:02:26 ERROR connection Connections CLI: problem binding 127.0.0.1:2323 (TCP): [Errno 98] Die Adresse wird bereits verwendet -- connection.py:connect:156 2017-04-08 07:02:26 DEBUG connection Connections KNX: connected to 127.0.0.1:6720 -- connection.py:connect:393 2017-04-08 07:02:26 DEBUG __init__ Connections KNX[default]: reading eibd cache -- __init__.py:handle_connect:130 2017-04-08 07:02:26 DEBUG __init__ Connections KNX[default]: enable group monitor -- __init__.py:handle_connect:134 2017-04-08 07:02:26 DEBUG __init__ Connections KNX[default]: init read -- __init__.py:handle_connect:140 2017-04-08 07:02:26 DEBUG __init__ Main KNX[default]: 1.1.79 set 2/1/9 to True -- __init__.py:parse_telegram:207 2017-04-08 07:02:26 DEBUG item Main Item EG.Essplatz.Deckenlicht.OnOff = True via KNX 1.1.79 2/1/9 -- item.py:__update:374 2017-04-08 07:02:26 ERROR connection Connections _websocket: problem binding 0.0.0.0:2424 (TCP): [Errno 98] Die Adresse wird bereits verwendet -- connection.py:connect:156 2017-04-08 07:02:26 ERROR connection Connections TCPDispatcher: problem binding 0.0.0.0:2727 (TCP): [Errno 98] Die Adresse wird bereits verwendet -- connection.py:connect:156 2017-04-08 07:02:26 ERROR connection Connections HTTPDispatcher: problem binding 0.0.0.0:8090 (TCP): [Errno 98] Die Adresse wird bereits verwendet -- connection.py:connect:156 2017-04-08 07:02:26 ERROR connection Connections TCPDispatcher: problem binding 0.0.0.0:4711 (TCP): [Errno 98] Die Adresse wird bereits verwendet -- connection.py:connect:156 2017-04-08 07:02:26 ERROR connection Connections TCPDispatcher: problem binding 0.0.0.0:4711 (TCP): [Errno 98] Die Adresse wird bereits verwendet -- connection.py:connect:156 [08/Apr/2017:07:02:26] ENGINE Error in 'start' listener <bound method Server.start of <cherrypy._cpserver.Server object at 0x7f599cb9ef28>> Traceback (most recent call last): File "/usr/local/lib/python3.4/dist-packages/cherrypy/process/wspbus.py", line 215, in publish output.append(listener(*args, **kwargs)) File "/usr/local/lib/python3.4/dist-packages/cherrypy/_cpserver.py", line 168, in start super(Server, self).start() File "/usr/local/lib/python3.4/dist-packages/cherrypy/process/servers.py", line 177, in start portend.free(*self.bind_addr, timeout=Timeouts.free) File "/usr/local/lib/python3.4/dist-packages/portend.py", line 143, in free raise Timeout("Port {port} not free on {host}.".format(**locals())) portend.Timeout: Port 8383 not free on 10.0.0.6. 2017-04-08 07:02:26 ERROR _cplogging BackendServer [08/Apr/2017:07:02:26] ENGINE Error in 'start' listener <bound method Server.start of <cherrypy._cpserver.Server object at 0x7f599cb9ef28>> Traceback (most recent call last): File "/usr/local/lib/python3.4/dist-packages/cherrypy/process/wspbus.py", line 215, in publish output.append(listener(*args, **kwargs)) File "/usr/local/lib/python3.4/dist-packages/cherrypy/_cpserver.py", line 168, in start super(Server, self).start() File "/usr/local/lib/python3.4/dist-packages/cherrypy/process/servers.py", line 177, in start portend.free(*self.bind_addr, timeout=Timeouts.free) File "/usr/local/lib/python3.4/dist-packages/portend.py", line 143, in free raise Timeout("Port {port} not free on {host}.".format(**locals())) portend.Timeout: Port 8383 not free on 10.0.0.6. -- _cplogging.py:error:219 [08/Apr/2017:07:02:26] ENGINE Shutting down due to error in start listener: Traceback (most recent call last): File "/usr/local/lib/python3.4/dist-packages/cherrypy/process/wspbus.py", line 253, in start self.publish('start') File "/usr/local/lib/python3.4/dist-packages/cherrypy/process/wspbus.py", line 233, in publish raise exc cherrypy.process.wspbus.ChannelFailures: Timeout('Port 8383 not free on 10.0.0.6.',) 2017-04-08 07:02:26 ERROR _cplogging BackendServer [08/Apr/2017:07:02:26] ENGINE Shutting down due to error in start listener: Traceback (most recent call last): File "/usr/local/lib/python3.4/dist-packages/cherrypy/process/wspbus.py", line 253, in start self.publish('start') File "/usr/local/lib/python3.4/dist-packages/cherrypy/process/wspbus.py", line 233, in publish raise exc cherrypy.process.wspbus.ChannelFailures: Timeout('Port 8383 not free on 10.0.0.6.',) -- _cplogging.py:error:219 [08/Apr/2017:07:02:26] ENGINE Bus STOPPING 2017-04-08 07:02:26 INFO _cplogging BackendServer [08/Apr/2017:07:02:26] ENGINE Bus STOPPING -- _cplogging.py:error:219 [08/Apr/2017:07:02:26] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('10.0.0.6', 8383)) already shut down 2017-04-08 07:02:26 INFO _cplogging BackendServer [08/Apr/2017:07:02:26] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('10.0.0.6', 8383)) already shut down -- _cplogging.py:error:219 [08/Apr/2017:07:02:26] ENGINE Stopped thread '_TimeoutMonitor'. 2017-04-08 07:02:26 INFO _cplogging BackendServer [08/Apr/2017:07:02:26] ENGINE Stopped thread '_TimeoutMonitor'. -- _cplogging.py:error:219 [08/Apr/2017:07:02:26] ENGINE Bus STOPPED 2017-04-08 07:02:26 INFO _cplogging BackendServer [08/Apr/2017:07:02:26] ENGINE Bus STOPPED -- _cplogging.py:error:219 [08/Apr/2017:07:02:26] ENGINE Bus EXITING 2017-04-08 07:02:26 INFO _cplogging BackendServer [08/Apr/2017:07:02:26] ENGINE Bus EXITING -- _cplogging.py:error:219 [08/Apr/2017:07:02:26] ENGINE Bus EXITED 2017-04-08 07:02:26 INFO _cplogging BackendServer [08/Apr/2017:07:02:26] ENGINE Bus EXITED -- _cplogging.py:error:219
Code:
smarthome@sh:/usr/local/smarthome/bin$ netstat -na | grep 8090 tcp 0 0 0.0.0.0:8090 0.0.0.0:* LISTEN
Kommentar