Modbus Adapter killt sich selbst?

Fragen zu Konfiguration und Bedienung von Adaptern
Antworten
ChristianF
professional
Beiträge: 171
Registriert: 17.05.2015, 20:59

Modbus Adapter killt sich selbst?

Beitrag von ChristianF » 17.05.2018, 21:54

Moin,

ich finde im Log folgendes vor:

Code: Alles auswählen

modbus.0	2018-05-17 22:48:13.073	error	at process._tickCallback (internal/process/next_tick.js:104:9)
modbus.0	2018-05-17 22:48:13.073	error	at _combinedTickCallback (internal/process/next_tick.js:77:11)
modbus.0	2018-05-17 22:48:13.073	error	at listOnTimeoutNT (timers.js:276:26)
modbus.0	2018-05-17 22:48:13.073	error	at Timer.listOnTimeout (timers.js:214:5)
modbus.0	2018-05-17 22:48:13.073	error	at tryOnTimeout (timers.js:250:5)
modbus.0	2018-05-17 22:48:13.073	error	at ontimeout (timers.js:386:11)
modbus.0	2018-05-17 22:48:13.073	error	at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.modbus/main.js:2235:18)
modbus.0	2018-05-17 22:48:13.073	error	at Object.pollResult (/opt/iobroker/node_modules/iobroker.modbus/main.js:2201:17)
modbus.0	2018-05-17 22:48:13.073	error	at stop (/opt/iobroker/node_modules/iobroker.modbus/main.js:88:19)
modbus.0	2018-05-17 22:48:13.073	error	at /opt/iobroker/node_modules/iobroker.modbus/main.js:2202:29
modbus.0	2018-05-17 22:48:13.073	error	TypeError: adapter.stop is not a function
modbus.0	2018-05-17 22:48:13.072	error	uncaught exception: adapter.stop is not a function
Irgendwas stimmt da offenbar nicht.. hat jemand einen Tipp?

Danke und VG
Christian

Benutzeravatar
apollon77
guru
Beiträge: 4772
Registriert: 10.04.2015, 12:27

Re: Modbus Adapter killt sich selbst?

Beitrag von apollon77 » 17.05.2018, 23:04

Bitte mal neueste Version vo Github nehmen. Passiert es dort auch?

ChristianF
professional
Beiträge: 171
Registriert: 17.05.2015, 20:59

Re: Modbus Adapter killt sich selbst?

Beitrag von ChristianF » 17.05.2018, 23:20

Gerade probiert, kann mehr sagen wenn der Wechselrichter morgen wieder Daten liefert..

Hier zur Info noch die Fehlermeldungen aus dem Install Protokoll:

Code: Alles auswählen

$ ./iobroker url "https://github.com/ioBroker/ioBroker.modbus/tarball/master" modbus --debug
install https://github.com/ioBroker/ioBroker.modbus/tarball/master
npm install https://github.com/ioBroker/ioBroker.modbus/tarball/master --production --save --prefix "/opt/iobroker" (System call)

(..... Debug Info ohne Probleminhalt gelöscht ....)


npm
 WARN optional
 SKIPPING OPTIONAL DEPENDENCY: xpc-connection@~0.1.4 (node_modules/iobroker.radar/node_modules/noble/node_modules/xpc-connection):npm WARN
 notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/dashdash/package.json'npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/engine.io-parser/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/engine.io-client/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/has-binary/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/prompt/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/socket.io-client/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/sshpk/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/tar.gz/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/utile/package.json'
npm ERR! Linux 3.16.0-4-amd64
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "https://github.com/ioBroker/ioBroker.modbus/tarball/master" "--production" "--save" "--prefix" "/opt/iobroker"
npm ERR! node v6.14.2
npm ERR! npm  v3.10.10
npm ERR! path /opt/iobroker/node_modules/.staging/minimist-af8b260c
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall rename

npm ERR! enoent ENOENT: no such file or directory, rename '/opt/iobroker/node_modules/.staging/minimist-af8b260c' -> '/opt/iobroker/node_modules/jsmodbus/node_modules/serialport/node_modules/node-pre-gyp/node_modules/mkdirp/node_modules/minimist'
npm ERR! enoent ENOENT: no such file or directory, rename '/opt/iobroker/node_modules/.staging/minimist-af8b260c' -> '/opt/iobroker/node_modules/jsmodbus/node_modules/serialport/node_modules/node-pre-gyp/node_modules/mkdirp/node_modules/minimist'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent 


npm ERR! Please include the following file with any support request:npm ERR!     /npm-debug.log
npm ERR! code 1

ERROR: Cannot parse null/io-package.json:Error: ENOENT: no such file or directory, open 'null/io-package.json'
process exited with code 0

Benutzeravatar
apollon77
guru
Beiträge: 4772
Registriert: 10.04.2015, 12:27

Re: Modbus Adapter killt sich selbst?

Beitrag von apollon77 » 17.05.2018, 23:33

Welche js-Controller Version?

ChristianF
professional
Beiträge: 171
Registriert: 17.05.2015, 20:59

Re: Modbus Adapter killt sich selbst?

Beitrag von ChristianF » 17.05.2018, 23:55

1.4.2 (auf beiden Hosts).
Node gerade die Woche auf 6.x aktualisiert (beide Hosts)

Hier noch etwas zusätzlicher Input:

Code: Alles auswählen

host.iobroker	2018-05-18 00:36:24.720	error	instance system.adapter.modbus.0 terminated with code 0 (OK)
Caught	2018-05-18 00:36:24.720	error	by controller[4]: at process._tickCallback (internal/process/next_tick.js:104:9)
Caught	2018-05-18 00:36:24.720	error	by controller[4]: at _combinedTickCallback (internal/process/next_tick.js:77:11)
Caught	2018-05-18 00:36:24.719	error	by controller[4]: at listOnTimeoutNT (timers.js:276:26)
Caught	2018-05-18 00:36:24.719	error	by controller[4]: at Timer.listOnTimeout (timers.js:214:5)
Caught	2018-05-18 00:36:24.718	error	by controller[4]: at tryOnTimeout (timers.js:250:5)
Caught	2018-05-18 00:36:24.718	error	by controller[4]: at ontimeout (timers.js:386:11)
Caught	2018-05-18 00:36:24.717	error	by controller[4]: at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.modbus/main.js:2235:18)
Caught	2018-05-18 00:36:24.717	error	by controller[4]: at Object.pollResult (/opt/iobroker/node_modules/iobroker.modbus/main.js:2201:17)
Caught	2018-05-18 00:36:24.717	error	by controller[4]: at stop (/opt/iobroker/node_modules/iobroker.modbus/main.js:88:19)
Caught	2018-05-18 00:36:24.717	error	by controller[4]: at /opt/iobroker/node_modules/iobroker.modbus/main.js:2202:29
Caught	2018-05-18 00:36:24.716	error	by controller[4]: 2018-05-18 00:36:24.624 - error: modbus.0 TypeError: adapter.stop is not a function
Caught	2018-05-18 00:36:24.716	error	by controller[4]: 2018-05-18 00:36:24.623 - error: modbus.0 uncaught exception: adapter.stop is not a function
Caught	2018-05-18 00:36:24.716	error	by controller[4]: at process._tickCallback (internal/process/next_tick.js:104:9)
Caught	2018-05-18 00:36:24.716	error	by controller[4]: at _combinedTickCallback (internal/process/next_tick.js:77:11)
Caught	2018-05-18 00:36:24.716	error	by controller[4]: at listOnTimeoutNT (timers.js:276:26)
Caught	2018-05-18 00:36:24.715	error	by controller[4]: at Timer.listOnTimeout (timers.js:214:5)
Caught	2018-05-18 00:36:24.715	error	by controller[4]: at tryOnTimeout (timers.js:250:5)
Caught	2018-05-18 00:36:24.715	error	by controller[4]: at ontimeout (timers.js:386:11)
Caught	2018-05-18 00:36:24.715	error	by controller[4]: at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.modbus/main.js:2235:18)
Caught	2018-05-18 00:36:24.715	error	by controller[4]: at Object.pollResult (/opt/iobroker/node_modules/iobroker.modbus/main.js:2201:17)
Caught	2018-05-18 00:36:24.714	error	by controller[4]: at stop (/opt/iobroker/node_modules/iobroker.modbus/main.js:88:19)
Caught	2018-05-18 00:36:24.714	error	by controller[4]: at /opt/iobroker/node_modules/iobroker.modbus/main.js:2202:29
Caught	2018-05-18 00:36:24.714	error	by controller[4]: TypeError: adapter.stop is not a function
Caught	2018-05-18 00:36:24.713	error	by controller[4]: 2018-05-18 00:36:24.619 - modbus.0 Reconnect did not help, restart adapter
Caught	2018-05-18 00:36:24.712	error	by controller[3]: at Timer.listOnTimeout (timers.js:214:5)
Caught	2018-05-18 00:36:24.712	error	by controller[3]: at tryOnTimeout (timers.js:250:5)
Caught	2018-05-18 00:36:24.712	error	by controller[3]: at ontimeout (timers.js:386:11)
Caught	2018-05-18 00:36:24.711	error	by controller[3]: at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.modbus/main.js:2235:18)
Caught	2018-05-18 00:36:24.711	error	by controller[3]: at Object.pollResult (/opt/iobroker/node_modules/iobroker.modbus/main.js:2201:17)
Caught	2018-05-18 00:36:24.711	error	by controller[3]: at stop (/opt/iobroker/node_modules/iobroker.modbus/main.js:88:19)
Caught	2018-05-18 00:36:24.711	error	by controller[3]: at /opt/iobroker/node_modules/iobroker.modbus/main.js:2202:29
Caught	2018-05-18 00:36:24.711	error	by controller[3]: 2018-05-18 00:36:24.612 - modbus.0 TypeError: adapter.stop is not a function
Caught	2018-05-18 00:36:24.710	error	by controller[2]: 2018-05-18 00:36:24.611 - modbus.0 uncaught exception: adapter.stop is not a function
Caught	2018-05-18 00:36:24.710	error	by controller[1]: at Timer.listOnTimeout (timers.js:214:5)
Caught	2018-05-18 00:36:24.710	error	by controller[1]: at tryOnTimeout (timers.js:250:5)
Caught	2018-05-18 00:36:24.709	error	by controller[1]: at ontimeout (timers.js:386:11)
Caught	2018-05-18 00:36:24.709	error	by controller[1]: at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.modbus/main.js:2235:18)
Caught	2018-05-18 00:36:24.709	error	by controller[1]: at Object.pollResult (/opt/iobroker/node_modules/iobroker.modbus/main.js:2201:17)
Caught	2018-05-18 00:36:24.709	error	by controller[1]: at stop (/opt/iobroker/node_modules/iobroker.modbus/main.js:88:19)
Caught	2018-05-18 00:36:24.708	error	by controller[1]: at /opt/iobroker/node_modules/iobroker.modbus/main.js:2202:29
Caught	2018-05-18 00:36:24.706	error	by controller[1]: TypeError: adapter.stop is not a function
Caught	2018-05-18 00:36:24.696	error	by controller[0]: 2018-05-18 00:36:24.602 - modbus.0 Reconnect did not help, restart adapter

Benutzeravatar
apollon77
guru
Beiträge: 4772
Registriert: 10.04.2015, 12:27

Re: Modbus Adapter killt sich selbst?

Beitrag von apollon77 » 18.05.2018, 08:58

Installier nochmal neu vom Github und danach aber manuell die Instanz neu starten. Jetzt?

Aber ja - wenn der Adapter die Verbindung verliert und nicht wieder herstellen kann in mehreren Versuchen dann startet er sich selbst neu weil das eine Lösung ist die sich bewiesen hat. Warum das geht und nicht verbindung an sich neu ist noch unbekannt

ChristianF
professional
Beiträge: 171
Registriert: 17.05.2015, 20:59

Re: Modbus Adapter killt sich selbst?

Beitrag von ChristianF » 18.05.2018, 21:36

So, im Moment sieht es so aus als würde es funktionieren.

Die Installation zieht sich offenbar irgendwas "hinterher" (siehe 2018-05-18 22:25:39.198). Hier mal das Installprotokoll (habe modbus.2 zum Upgrade genommen und danach .1 und .0 neu gestartet).

Code: Alles auswählen

2018-05-18 22:19:54.077 - info: iobroker url "https://github.com/ioBroker/ioBroker.modbus/tarball/master" modbus
2018-05-18 22:19:55.008 - info: iobroker install https://github.com/ioBroker/ioBroker.modbus/tarball/master
2018-05-18 22:19:56.217 - info: iobroker npm install https://github.com/ioBroker/ioBroker.modbus/tarball/master --production --save --prefix "/opt/iobroker" (System call)
2018-05-18 22:21:43.793 - info: iobroker npm
2018-05-18 22:21:43.805 - info: iobroker WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@~0.1.4 (node_modules/iobroker.radar/node_modules/noble/node_modules/xpc-connection):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/dashdash/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/engine.io-client/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/engine.io-parser/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/has-binary/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/node-pre-gyp/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/prompt/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/socket.io-client/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/sshpk/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/tar-pack/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/tar.gz/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/utile/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/node-pre-gyp/node_modules/sshpk/package.json'
npm ERR! Linux 3.16.0-4-amd64
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "https://github.com/ioBroker/ioBroker.modbus/tarball/master" "--production" "--save" "--prefix" "/opt/iobroker"
npm ERR! node v6.14.2
npm ERR! npm v3.10.10
2018-05-18 22:21:43.812 - info: iobroker npm ERR! path /opt/iobroker/node_modules/.staging/minimist-af8b260cnpm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename '/opt/iobroker/node_modules/.staging/minimist-af8b260c' -> '/opt/iobroker/node_modules/jsmodbus/node_modules/serialport/node_modules/node-pre-gyp/node_modules/mkdirp/node_modules/minimist'
2018-05-18 22:21:43.830 - info: iobroker npm ERR! enoent ENOENT: no such file or directory, rename '/opt/iobroker/node_modules/.staging/minimist-af8b260c' -> '/opt/iobroker/node_modules/jsmodbus/node_modules/serialport/node_modules/node-pre-gyp/node_modules/mkdirp/node_modules/minimist'npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
2018-05-18 22:21:44.244 - info: iobroker
2018-05-18 22:21:44.245 - info: iobroker npm ERR! Please include the following file with any support request:npm ERR! /npm-debug.log
npm ERR! code 1
2018-05-18 22:21:44.365 - error: iobroker Cannot parse null/io-package.json:Error: ENOENT: no such file or directory, open 'null/io-package.json'
2018-05-18 22:21:44.399 - info: iobroker exit 0
2018-05-18 22:21:45.102 - info: host.iobroker Update repository "latest" under "http://download.iobroker.net/sources-dist-latest.json"
2018-05-18 22:25:36.671 - info: host.iobroker object change system.adapter.modbus.2
2018-05-18 22:25:36.680 - info: host.iobroker stopInstance system.adapter.modbus.2
2018-05-18 22:25:36.682 - info: host.iobroker stopInstance system.adapter.modbus.2 killing pid 29357
2018-05-18 22:25:36.726 - info: modbus.2 terminating
2018-05-18 22:25:36.792 - info: host.iobroker instance system.adapter.modbus.2 terminated with code 0 (OK)
2018-05-18 22:25:39.198 - warn: host.iobroker startInstance cannot find adapter "modbus". Try to install it... 1 attempt
2018-05-18 22:25:39.199 - info: iobroker install modbus
2018-05-18 22:25:42.274 - info: iobroker NPM version: 3.10.10
2018-05-18 22:25:43.197 - info: iobroker npm install iobroker.modbus --production --save --prefix "/opt/iobroker" (System call)
2018-05-18 22:26:26.436 - info: host.iobroker object change system.adapter.modbus.1
2018-05-18 22:26:26.439 - info: host.iobroker stopInstance system.adapter.modbus.1
2018-05-18 22:26:26.439 - info: host.iobroker stopInstance system.adapter.modbus.1 killing pid 29341
2018-05-18 22:26:26.487 - info: modbus.1 terminating
2018-05-18 22:26:26.556 - info: host.iobroker instance system.adapter.modbus.1 terminated with code 0 (OK)
2018-05-18 22:26:27.494 - info: host.iobroker object change system.adapter.modbus.0
2018-05-18 22:26:27.494 - info: host.iobroker stopInstance system.adapter.modbus.0
2018-05-18 22:26:27.495 - info: host.iobroker stopInstance system.adapter.modbus.0 killing pid 29385
2018-05-18 22:26:27.532 - info: modbus.0 terminating
2018-05-18 22:26:27.586 - info: host.iobroker instance system.adapter.modbus.0 terminated with code 0 (OK)
2018-05-18 22:27:07.707 - info: iobroker node-pre-gyp ERR! Tried to download(404): https://github.com/tessel/node-usb/releases/download/1.3.1/usb_bindings-v1.3.1-node-v48-linux-x64.tar.gz node-pre-gyp ERR! Pre-built binaries not found for usb@1.3.1 and node@6.14.2 (node-v48 ABI, glibc) (falling back to source compile with node-gyp)
2018-05-18 22:27:17.309 - info: iobroker ../libusb/libusb/os/linux_udev.c:40:21: fatal error: libudev.h: Datei oder Verzeichnis nicht gefunden #include
^
compilation terminated.
2018-05-18 22:27:17.622 - info: iobroker make: *** [Release/obj.target/libusb/libusb/libusb/os/linux_udev.o] Error 1
2018-05-18 22:27:17.632 - info: iobroker gyp
2018-05-18 22:27:17.637 - info: iobroker ERR! build error
2018-05-18 22:27:17.642 - info: iobroker gyp
2018-05-18 22:27:17.643 - info: iobroker ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/opt/iobroker/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
2018-05-18 22:27:17.644 - info: iobroker gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12)gyp
2018-05-18 22:27:17.646 - info: iobroker ERR! System Linux 3.16.0-4-amd64gyp
2018-05-18 22:27:17.651 - info: iobroker ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/iobroker.radar/node_modules/usb/src/binding/usb_bindings.node" "--module_name=usb_bindings" "--module_path=/opt/iobroker/node_modules/iobroker.radar/node_modules/usb/src/binding"gyp ERR! cwd /opt/iobroker/node_modules/iobroker.radar/node_modules/usb
gyp ERR! node -v v6.14.2
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
2018-05-18 22:27:17.663 - info: iobroker node-pre-gyp ERR! build error
2018-05-18 22:27:17.665 - info: iobroker node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /opt/iobroker/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/iobroker.radar/node_modules/usb/src/binding/usb_bindings.node --module_name=usb_bindings --module_path=/opt/iobroker/node_modules/iobroker.radar/node_modules/usb/src/binding' (1)node-pre-gyp ERR! stack at ChildProcess. (/opt/iobroker/node_modules/iobroker.radar/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR!
2018-05-18 22:27:17.669 - info: iobroker stack at emitTwo (events.js:106:13)node-pre-gyp ERR! stack at ChildProcess.emit (events.js:191:7)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:920:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:230:5)
node-pre-gyp ERR! System Linux 3.16.0-4-amd64
node-pre-gyp ERR!
2018-05-18 22:27:17.671 - info: iobroker command "/usr/bin/node" "/opt/iobroker/node_modules/iobroker.radar/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"node-pre-gyp ERR! cwd /opt/iobroker/node_modules/iobroker.radar/node_modules/usb
2018-05-18 22:27:17.673 - info: iobroker node-pre-gyp ERR! node -v v6.14.2
2018-05-18 22:27:17.674 - info: iobroker node-pre-gyp ERR! node-pre-gyp -v v0.6.39node-pre-gyp ERR! not ok
2018-05-18 22:27:38.574 - info: iobroker npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@~0.1.4 (node_modules/iobroker.radar/node_modules/noble/node_modules/xpc-connection):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/dashdash/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/engine.io-client/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/engine.io-parser/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/has-binary/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/node-pre-gyp/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/prompt/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/socket.io-client/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/sshpk/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/tar-pack/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/tar.gz/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/usb/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/utile/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/node-pre-gyp/node_modules/sshpk/package.json'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: usb@1.3.1 (node_modules/iobroker.radar/node_modules/usb):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: usb@1.3.1 install: `node-pre-gyp install --fallback-to-build`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
2018-05-18 22:27:38.750 - info: iobroker host.iobroker object system.adapter.modbus created
2018-05-18 22:27:38.880 - info: iobroker got /opt/iobroker/node_modules/iobroker.modbus/admin
2018-05-18 22:27:38.909 - info: iobroker upload [11] modbus.admin /opt/iobroker/node_modules/iobroker.modbus/admin/words.js words.js application/javascript
2018-05-18 22:27:39.002 - info: iobroker upload [10] modbus.admin /opt/iobroker/node_modules/iobroker.modbus/admin/modbus.png modbus.png image/png
2018-05-18 22:27:39.065 - info: iobroker upload [9] modbus.admin /opt/iobroker/node_modules/iobroker.modbus/admin/lib/js/jsgrid.min.js lib/js/jsgrid.min.js application/javascript
2018-05-18 22:27:39.130 - info: iobroker upload [8] modbus.admin /opt/iobroker/node_modules/iobroker.modbus/admin/lib/js/jsgrid.js lib/js/jsgrid.js application/javascript
2018-05-18 22:27:39.200 - info: iobroker upload [7] modbus.admin /opt/iobroker/node_modules/iobroker.modbus/admin/lib/js/grid.locale-ru.js lib/js/grid.locale-ru.js application/javascript
2018-05-18 22:27:39.261 - info: iobroker upload [6] modbus.admin /opt/iobroker/node_modules/iobroker.modbus/admin/lib/js/grid.locale-de.js lib/js/grid.locale-de.js application/javascript
2018-05-18 22:27:39.329 - info: iobroker upload [5] modbus.admin /opt/iobroker/node_modules/iobroker.modbus/admin/lib/css/jsgrid.min.css lib/css/jsgrid.min.css text/css
2018-05-18 22:27:39.389 - info: iobroker upload [4] modbus.admin /opt/iobroker/node_modules/iobroker.modbus/admin/lib/css/jsgrid.css lib/css/jsgrid.css text/css
2018-05-18 22:27:39.448 - info: iobroker upload [3] modbus.admin /opt/iobroker/node_modules/iobroker.modbus/admin/lib/css/jsgrid-theme.min.css lib/css/jsgrid-theme.min.css text/css
2018-05-18 22:27:39.516 - info: iobroker upload [2] modbus.admin /opt/iobroker/node_modules/iobroker.modbus/admin/lib/css/jsgrid-theme.css lib/css/jsgrid-theme.css text/css
2018-05-18 22:27:39.591 - info: iobroker upload [1] modbus.admin /opt/iobroker/node_modules/iobroker.modbus/admin/index.html index.html text/html
2018-05-18 22:27:39.665 - info: iobroker upload [0] modbus.admin /opt/iobroker/node_modules/iobroker.modbus/admin/img/plc_back.png img/plc_back.png image/png
2018-05-18 22:27:39.779 - info: iobroker exit 0
2018-05-18 22:27:39.809 - info: host.iobroker instance system.adapter.modbus.2 started with pid 5129
2018-05-18 22:27:41.052 - info: modbus.2 starting. Version 1.1.1 in /opt/iobroker/node_modules/iobroker.modbus, node: v6.14.2
2018-05-18 22:27:41.442 - info: sql.0 enabled logging of modbus.2.inputRegisters.100_100_CP-Status
2018-05-18 22:27:41.508 - info: sql.0 enabled logging of modbus.2.inputRegisters.120_120_W_L1-N
2018-05-18 22:27:41.526 - info: sql.0 enabled logging of modbus.2.inputRegisters.128_128_total_kwh
2018-05-18 22:27:41.845 - info: modbus.2 Connected to slave evcc
2018-05-18 22:27:47.333 - info: robonect.0 Polling done (Status)
2018-05-18 22:28:38.723 - info: nut.0 Start NUT update
2018-05-18 22:28:38.748 - info: nut.0 All Nut values set
2018-05-18 22:28:47.348 - info: robonect.0 Polling done (Status)
2018-05-18 22:29:38.729 - info: nut.0 Start NUT update
2018-05-18 22:29:38.769 - info: nut.0 All Nut values set
2018-05-18 22:29:47.357 - info: robonect.0 Polling done (Status)
2018-05-18 22:29:55.734 - info: host.iobroker object change system.adapter.modbus.1
2018-05-18 22:29:55.774 - info: host.iobroker instance system.adapter.modbus.1 started with pid 5742
2018-05-18 22:29:57.116 - info: modbus.1 starting. Version 1.1.1 in /opt/iobroker/node_modules/iobroker.modbus, node: v6.14.2
2018-05-18 22:29:57.398 - info: sql.0 enabled logging of modbus.1.inputRegisters.30001_VAC_L1-N
2018-05-18 22:29:57.437 - info: sql.0 enabled logging of modbus.1.inputRegisters.30003_VAC_L2-N
2018-05-18 22:29:57.447 - info: sql.0 enabled logging of modbus.1.inputRegisters.30005_VAC_L3-N
2018-05-18 22:29:57.662 - info: sql.0 enabled logging of modbus.1.inputRegisters.30053_WAC_Gesamt
2018-05-18 22:29:57.688 - info: sql.0 enabled logging of modbus.1.inputRegisters.30073_Zaehlerstand
2018-05-18 22:29:58.036 - info: modbus.1 Connected to slave 192.168.1.109
2018-05-18 22:30:00.038 - info: host.iobroker instance system.adapter.dwd.0 started with pid 5752
2018-05-18 22:30:00.063 - info: host.iobroker instance system.adapter.ical.0 started with pid 5758
2018-05-18 22:30:00.095 - info: host.iobroker instance system.adapter.ical.1 started with pid 5764
2018-05-18 22:30:19.333 - info: host.iobroker object change system.adapter.modbus.0
2018-05-18 22:30:19.355 - info: host.iobroker instance system.adapter.modbus.0 started with pid 5782
2018-05-18 22:30:20.637 - info: modbus.0 starting. Version 1.1.1 in /opt/iobroker/node_modules/iobroker.modbus, node: v6.14.2
2018-05-18 22:30:20.889 - info: sql.0 disabled logging of modbus.0.holdingRegisters.40080_VAC_L1-N
2018-05-18 22:30:20.928 - info: sql.0 disabled logging of modbus.0.holdingRegisters.40081_VAC_L2-N
2018-05-18 22:30:20.941 - info: sql.0 disabled logging of modbus.0.holdingRegisters.40082_VAC_L3-N
2018-05-18 22:30:20.971 - info: sql.0 enabled logging of modbus.0.holdingRegisters.40085_ACPF
2018-05-18 22:30:21.345 - info: modbus.0 Connected to slave 192.168.1.27
2018-05-18 22:30:26.556 - warn: modbus.0 Poll error count: 1 code: "App Timeout"

Benutzeravatar
apollon77
guru
Beiträge: 4772
Registriert: 10.04.2015, 12:27

Re: Modbus Adapter killt sich selbst?

Beitrag von apollon77 » 04.06.2018, 21:46

Und wie schaut es aus?

ChristianF
professional
Beiträge: 171
Registriert: 17.05.2015, 20:59

Re: Modbus Adapter killt sich selbst?

Beitrag von ChristianF » 13.06.2018, 22:40

Nicht wirklich gut... gerade ist der Adapter mal wieder hops gegangen, hat sich neu gestartet und alles lief perfekt..
Er erzählt halt auch die ganze Zeit was von App Timeout, aber wenn ich mit einem anderen Programm auf den Bus schaue, ist die Gegenstelle da und alles ist schick, egal was ich anfrage, die Kiste antwortet sofort..

Code: Alles auswählen

modbus.0	2018-06-13 23:32:48.311	info	Connected to slave 192.168.1.27
sql.0	2018-06-13 23:32:47.962	info	enabled logging of modbus.0.holdingRegisters.40085_ACPF
sql.0	2018-06-13 23:32:47.938	info	enabled logging of modbus.0.holdingRegisters.40084_CurrentPower-AC
sql.0	2018-06-13 23:32:47.918	info	disabled logging of modbus.0.holdingRegisters.40082_VAC_L3-N
sql.0	2018-06-13 23:32:47.899	info	disabled logging of modbus.0.holdingRegisters.40081_VAC_L2-N
sql.0	2018-06-13 23:32:47.848	info	disabled logging of modbus.0.holdingRegisters.40080_VAC_L1-N
modbus.0	2018-06-13 23:32:47.559	info	starting. Version 1.1.1 in /opt/iobroker/node_modules/iobroker.modbus, node: v6.14.2
host.iobroker	2018-06-13 23:32:46.149	info	instance system.adapter.modbus.0 started with pid 18586
host.iobroker	2018-06-13 23:32:16.117	info	Restart adapter system.adapter.modbus.0 because enabled
host.iobroker	2018-06-13 23:32:16.116	error	instance system.adapter.modbus.0 terminated with code 0 (OK)
Caught	2018-06-13 23:32:16.115	error	by controller[6]: at process._tickCallback (internal/process/next_tick.js:104:9)
Caught	2018-06-13 23:32:16.115	error	by controller[6]: at _combinedTickCallback (internal/process/next_tick.js:77:11)
Caught	2018-06-13 23:32:16.115	error	by controller[6]: at listOnTimeoutNT (timers.js:276:26)
Caught	2018-06-13 23:32:16.114	error	by controller[6]: at Timer.listOnTimeout (timers.js:214:5)
Caught	2018-06-13 23:32:16.114	error	by controller[6]: at tryOnTimeout (timers.js:250:5)
Caught	2018-06-13 23:32:16.113	error	by controller[6]: at ontimeout (timers.js:386:11)
Caught	2018-06-13 23:32:16.113	error	by controller[6]: at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.modbus/main.js:2235:18)
Caught	2018-06-13 23:32:16.112	error	by controller[6]: at Object.pollResult (/opt/iobroker/node_modules/iobroker.modbus/main.js:2201:17)
Caught	2018-06-13 23:32:16.112	error	by controller[6]: at stop (/opt/iobroker/node_modules/iobroker.modbus/main.js:88:19)
Caught	2018-06-13 23:32:16.111	error	by controller[6]: at /opt/iobroker/node_modules/iobroker.modbus/main.js:2202:29
Caught	2018-06-13 23:32:16.111	error	by controller[6]: 2018-06-13 23:32:16.029 - modbus.0 TypeError: adapter.stop is not a function
Caught	2018-06-13 23:32:16.110	error	by controller[5]: 2018-06-13 23:32:16.028 - error: modbus.0 uncaught exception: adapter.stop is not a function
Caught	2018-06-13 23:32:16.110	error	by controller[5]: at process._tickCallback (internal/process/next_tick.js:104:9)
Caught	2018-06-13 23:32:16.110	error	by controller[5]: at _combinedTickCallback (internal/process/next_tick.js:77:11)
Caught	2018-06-13 23:32:16.109	error	by controller[5]: at listOnTimeoutNT (timers.js:276:26)
Caught	2018-06-13 23:32:16.109	error	by controller[5]: at Timer.listOnTimeout (timers.js:214:5)
Caught	2018-06-13 23:32:16.108	error	by controller[5]: at tryOnTimeout (timers.js:250:5)
Caught	2018-06-13 23:32:16.108	error	by controller[5]: at ontimeout (timers.js:386:11)
Caught	2018-06-13 23:32:16.108	error	by controller[5]: at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.modbus/main.js:2235:18)
Caught	2018-06-13 23:32:16.107	error	by controller[5]: at Object.pollResult (/opt/iobroker/node_modules/iobroker.modbus/main.js:2201:17)
Caught	2018-06-13 23:32:16.107	error	by controller[5]: at stop (/opt/iobroker/node_modules/iobroker.modbus/main.js:88:19)
Caught	2018-06-13 23:32:16.106	error	by controller[5]: at /opt/iobroker/node_modules/iobroker.modbus/main.js:2202:29
Caught	2018-06-13 23:32:16.106	error	by controller[5]: TypeError: adapter.stop is not a function
Caught	2018-06-13 23:32:16.105	error	by controller[5]: 2018-06-13 23:32:16.024 - modbus.0 Reconnect did not help, restart adapter
Caught	2018-06-13 23:32:16.105	error	by controller[4]: at process._tickCallback (internal/process/next_tick.js:104:9)
Caught	2018-06-13 23:32:16.104	error	by controller[4]: at _combinedTickCallback (internal/process/next_tick.js:77:11)
Caught	2018-06-13 23:32:16.104	error	by controller[4]: at listOnTimeoutNT (timers.js:276:26)
Caught	2018-06-13 23:32:16.103	error	by controller[4]: at Timer.listOnTimeout (timers.js:214:5)
Caught	2018-06-13 23:32:16.103	error	by controller[4]: at tryOnTimeout (timers.js:250:5)
Caught	2018-06-13 23:32:16.102	error	by controller[4]: at ontimeout (timers.js:386:11)
Caught	2018-06-13 23:32:16.102	error	by controller[4]: at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.modbus/main.js:2235:18)
Caught	2018-06-13 23:32:16.102	error	by controller[4]: at Object.pollResult (/opt/iobroker/node_modules/iobroker.modbus/main.js:2201:17)
Caught	2018-06-13 23:32:16.101	error	by controller[4]: at stop (/opt/iobroker/node_modules/iobroker.modbus/main.js:88:19)
Caught	2018-06-13 23:32:16.101	error	by controller[4]: at /opt/iobroker/node_modules/iobroker.modbus/main.js:2202:29
Caught	2018-06-13 23:32:16.100	error	by controller[4]: 2018-06-13 23:32:16.021 - error: modbus.0 TypeError: adapter.stop is not a function
Caught	2018-06-13 23:32:16.100	error	by controller[4]: 2018-06-13 23:32:16.020 - error: modbus.0 uncaught exception: adapter.stop is not a function
Caught	2018-06-13 23:32:16.099	error	by controller[4]: at process._tickCallback (internal/process/next_tick.js:104:9)
Caught	2018-06-13 23:32:16.099	error	by controller[4]: at _combinedTickCallback (internal/process/next_tick.js:77:11)
Caught	2018-06-13 23:32:16.098	error	by controller[4]: at listOnTimeoutNT (timers.js:276:26)
Caught	2018-06-13 23:32:16.098	error	by controller[4]: at Timer.listOnTimeout (timers.js:214:5)
Caught	2018-06-13 23:32:16.098	error	by controller[4]: at tryOnTimeout (timers.js:250:5)
Caught	2018-06-13 23:32:16.095	error	by controller[4]: at ontimeout (timers.js:386:11)
Caught	2018-06-13 23:32:16.094	error	by controller[4]: at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.modbus/main.js:2235:18)
Caught	2018-06-13 23:32:16.094	error	by controller[4]: at Object.pollResult (/opt/iobroker/node_modules/iobroker.modbus/main.js:2201:17)
Caught	2018-06-13 23:32:16.094	error	by controller[4]: at stop (/opt/iobroker/node_modules/iobroker.modbus/main.js:88:19)
Caught	2018-06-13 23:32:16.093	error	by controller[4]: at /opt/iobroker/node_modules/iobroker.modbus/main.js:2202:29
Caught	2018-06-13 23:32:16.093	error	by controller[4]: TypeError: adapter.stop is not a function
Caught	2018-06-13 23:32:16.093	error	by controller[4]: 2018-06-13 23:32:16.017 - error: modbus.0 Reconnect did not help, restart adapter
Caught	2018-06-13 23:32:16.092	error	by controller[4]: at Timer.listOnTimeout (timers.js:214:5)
Caught	2018-06-13 23:32:16.092	error	by controller[4]: at tryOnTimeout (timers.js:250:5)
Caught	2018-06-13 23:32:16.091	error	by controller[4]: at ontimeout (timers.js:386:11)
Caught	2018-06-13 23:32:16.091	error	by controller[4]: at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.modbus/main.js:2235:18)
Caught	2018-06-13 23:32:16.091	error	by controller[4]: at Object.pollResult (/opt/iobroker/node_modules/iobroker.modbus/main.js:2201:17)
Caught	2018-06-13 23:32:16.090	error	by controller[4]: at stop (/opt/iobroker/node_modules/iobroker.modbus/main.js:88:19)
Caught	2018-06-13 23:32:16.090	error	by controller[4]: at /opt/iobroker/node_modules/iobroker.modbus/main.js:2202:29
Caught	2018-06-13 23:32:16.089	error	by controller[4]: 2018-06-13 23:32:16.014 - error: modbus.0 TypeError: adapter.stop is not a function
Caught	2018-06-13 23:32:16.089	error	by controller[4]: 2018-06-13 23:32:16.012 - error: modbus.0 uncaught exception: adapter.stop is not a function
Caught	2018-06-13 23:32:16.089	error	by controller[4]: at Timer.listOnTimeout (timers.js:214:5)
Caught	2018-06-13 23:32:16.088	error	by controller[4]: at tryOnTimeout (timers.js:250:5)
Caught	2018-06-13 23:32:16.088	error	by controller[4]: at ontimeout (timers.js:386:11)
Caught	2018-06-13 23:32:16.087	error	by controller[4]: at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.modbus/main.js:2235:18)
Caught	2018-06-13 23:32:16.087	error	by controller[4]: at Object.pollResult (/opt/iobroker/node_modules/iobroker.modbus/main.js:2201:17)
Caught	2018-06-13 23:32:16.087	error	by controller[4]: at stop (/opt/iobroker/node_modules/iobroker.modbus/main.js:88:19)
Caught	2018-06-13 23:32:16.086	error	by controller[4]: at /opt/iobroker/node_modules/iobroker.modbus/main.js:2202:29
Caught	2018-06-13 23:32:16.086	error	by controller[4]: TypeError: adapter.stop is not a function
Caught	2018-06-13 23:32:16.085	error	by controller[4]: 2018-06-13 23:32:16.009 - modbus.0 Reconnect did not help, restart adapter
Caught	2018-06-13 23:32:16.085	error	by controller[3]: at Timer.listOnTimeout (timers.js:214:5)
Caught	2018-06-13 23:32:16.085	error	by controller[3]: at tryOnTimeout (timers.js:250:5)
Caught	2018-06-13 23:32:16.084	error	by controller[3]: at ontimeout (timers.js:386:11)
Caught	2018-06-13 23:32:16.084	error	by controller[3]: at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.modbus/main.js:2235:18)
Caught	2018-06-13 23:32:16.084	error	by controller[3]: at Object.pollResult (/opt/iobroker/node_modules/iobroker.modbus/main.js:2201:17)
Caught	2018-06-13 23:32:16.083	error	by controller[3]: at stop (/opt/iobroker/node_modules/iobroker.modbus/main.js:88:19)
Caught	2018-06-13 23:32:16.083	error	by controller[3]: at /opt/iobroker/node_modules/iobroker.modbus/main.js:2202:29
Caught	2018-06-13 23:32:16.083	error	by controller[3]: 2018-06-13 23:32:15.991 - modbus.0 TypeError: adapter.stop is not a function
Caught	2018-06-13 23:32:16.082	error	by controller[2]: 2018-06-13 23:32:15.990 - modbus.0 uncaught exception: adapter.stop is not a function
Caught	2018-06-13 23:32:16.082	error	by controller[1]: at Timer.listOnTimeout (timers.js:214:5)
Caught	2018-06-13 23:32:16.081	error	by controller[1]: at tryOnTimeout (timers.js:250:5)
Caught	2018-06-13 23:32:16.081	error	by controller[1]: at ontimeout (timers.js:386:11)
Caught	2018-06-13 23:32:16.081	error	by controller[1]: at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.modbus/main.js:2235:18)
Caught	2018-06-13 23:32:16.080	error	by controller[1]: at Object.pollResult (/opt/iobroker/node_modules/iobroker.modbus/main.js:2201:17)
Caught	2018-06-13 23:32:16.080	error	by controller[1]: at stop (/opt/iobroker/node_modules/iobroker.modbus/main.js:88:19)
Caught	2018-06-13 23:32:16.079	error	by controller[1]: at /opt/iobroker/node_modules/iobroker.modbus/main.js:2202:29
Caught	2018-06-13 23:32:16.079	error	by controller[1]: TypeError: adapter.stop is not a function
Caught	2018-06-13 23:32:16.077	error	by controller[0]: 2018-06-13 23:32:15.981 - modbus.0 Reconnect did not help, restart adapter
modbus.0	2018-06-13 23:32:16.029	error	at process._tickCallback (internal/process/next_tick.js:104:9)
modbus.0	2018-06-13 23:32:16.029	error	at _combinedTickCallback (internal/process/next_tick.js:77:11)
modbus.0	2018-06-13 23:32:16.029	error	at listOnTimeoutNT (timers.js:276:26)
modbus.0	2018-06-13 23:32:16.029	error	at Timer.listOnTimeout (timers.js:214:5)
modbus.0	2018-06-13 23:32:16.029	error	at tryOnTimeout (timers.js:250:5)
modbus.0	2018-06-13 23:32:16.029	error	at ontimeout (timers.js:386:11)
modbus.0	2018-06-13 23:32:16.029	error	at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.modbus/main.js:2235:18)
modbus.0	2018-06-13 23:32:16.029	error	at Object.pollResult (/opt/iobroker/node_modules/iobroker.modbus/main.js:2201:17)
modbus.0	2018-06-13 23:32:16.029	error	at stop (/opt/iobroker/node_modules/iobroker.modbus/main.js:88:19)
modbus.0	2018-06-13 23:32:16.029	error	at /opt/iobroker/node_modules/iobroker.modbus/main.js:2202:29
modbus.0	2018-06-13 23:32:16.029	error	TypeError: adapter.stop is not a function
modbus.0	2018-06-13 23:32:16.026	error	uncaught exception: adapter.stop is not a function
modbus.0	2018-06-13 23:32:16.024	error	Reconnect did not help, restart adapter
modbus.0	2018-06-13 23:32:16.022	warn	Poll error count: 16 code: "App Timeout"
modbus.0	2018-06-13 23:32:16.021	error	at process._tickCallback (internal/process/next_tick.js:104:9)
modbus.0	2018-06-13 23:32:16.021	error	at _combinedTickCallback (internal/process/next_tick.js:77:11)
modbus.0	2018-06-13 23:32:16.021	error	at listOnTimeoutNT (timers.js:276:26)
modbus.0	2018-06-13 23:32:16.021	error	at Timer.listOnTimeout (timers.js:214:5)
modbus.0	2018-06-13 23:32:16.021	error	at tryOnTimeout (timers.js:250:5)
modbus.0	2018-06-13 23:32:16.021	error	at ontimeout (timers.js:386:11)
modbus.0	2018-06-13 23:32:16.021	error	at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.modbus/main.js:2235:18)
modbus.0	2018-06-13 23:32:16.021	error	at Object.pollResult (/opt/iobroker/node_modules/iobroker.modbus/main.js:2201:17)
modbus.0	2018-06-13 23:32:16.021	error	at stop (/opt/iobroker/node_modules/iobroker.modbus/main.js:88:19)
modbus.0	2018-06-13 23:32:16.021	error	at /opt/iobroker/node_modules/iobroker.modbus/main.js:2202:29
modbus.0	2018-06-13 23:32:16.021	error	TypeError: adapter.stop is not a function
modbus.0	2018-06-13 23:32:16.019	error	uncaught exception: adapter.stop is not a function
modbus.0	2018-06-13 23:32:16.017	error	Reconnect did not help, restart adapter
modbus.0	2018-06-13 23:32:16.016	warn	Poll error count: 15 code: "App Timeout"
modbus.0	2018-06-13 23:32:16.013	error	at Timer.listOnTimeout (timers.js:214:5)
modbus.0	2018-06-13 23:32:16.013	error	at tryOnTimeout (timers.js:250:5)
modbus.0	2018-06-13 23:32:16.013	error	at ontimeout (timers.js:386:11)
modbus.0	2018-06-13 23:32:16.013	error	at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.modbus/main.js:2235:18)
modbus.0	2018-06-13 23:32:16.013	error	at Object.pollResult (/opt/iobroker/node_modules/iobroker.modbus/main.js:2201:17)
modbus.0	2018-06-13 23:32:16.013	error	at stop (/opt/iobroker/node_modules/iobroker.modbus/main.js:88:19)
modbus.0	2018-06-13 23:32:16.013	error	at /opt/iobroker/node_modules/iobroker.modbus/main.js:2202:29
modbus.0	2018-06-13 23:32:16.013	error	TypeError: adapter.stop is not a function
modbus.0	2018-06-13 23:32:16.012	error	uncaught exception: adapter.stop is not a function
modbus.0	2018-06-13 23:32:16.009	error	Reconnect did not help, restart adapter
modbus.0	2018-06-13 23:32:16.008	warn	Poll error count: 14 code: "App Timeout"
modbus.0	2018-06-13 23:32:15.991	error	at Timer.listOnTimeout (timers.js:214:5)
modbus.0	2018-06-13 23:32:15.991	error	at tryOnTimeout (timers.js:250:5)
modbus.0	2018-06-13 23:32:15.991	error	at ontimeout (timers.js:386:11)
modbus.0	2018-06-13 23:32:15.991	error	at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.modbus/main.js:2235:18)
modbus.0	2018-06-13 23:32:15.991	error	at Object.pollResult (/opt/iobroker/node_modules/iobroker.modbus/main.js:2201:17)
modbus.0	2018-06-13 23:32:15.991	error	at stop (/opt/iobroker/node_modules/iobroker.modbus/main.js:88:19)
modbus.0	2018-06-13 23:32:15.991	error	at /opt/iobroker/node_modules/iobroker.modbus/main.js:2202:29
modbus.0	2018-06-13 23:32:15.991	error	TypeError: adapter.stop is not a function
modbus.0	2018-06-13 23:32:15.990	error	uncaught exception: adapter.stop is not a function
modbus.0	2018-06-13 23:32:15.981	error	Reconnect did not help, restart adapter
modbus.0	2018-06-13 23:32:15.979	warn	Poll error count: 13 code: "App Timeout"
modbus.0	2018-06-13 23:32:15.898	warn	Poll error count: 12 code: "App Timeout"
modbus.0	2018-06-13 23:32:15.861	warn	Poll error count: 11 code: "App Timeout"
modbus.0	2018-06-13 23:32:15.855	warn	Poll error count: 10 code: "App Timeout"
modbus.0	2018-06-13 23:32:15.793	warn	Poll error count: 9 code: "App Timeout"
modbus.0	2018-06-13 23:32:15.762	warn	Poll error count: 8 code: "App Timeout"
modbus.0	2018-06-13 23:32:15.748	warn	Poll error count: 7 code: "App Timeout"
modbus.0	2018-06-13 23:32:15.630	warn	Poll error count: 6 code: "App Timeout"
modbus.0	2018-06-13 23:32:15.627	warn	Poll error count: 5 code: "App Timeout"
modbus.0	2018-06-13 23:32:11.135	warn	Poll error count: 4 code: "App Timeout"
modbus.0	2018-06-13 23:32:11.134	warn	Poll error count: 3 code: "App Timeout"
modbus.0	2018-06-13 23:32:11.132	warn	Poll error count: 2 code: "App Timeout"
modbus.0	2018-06-13 23:32:11.130	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:32:11.099	warn	On error: {}
modbus.0	2018-06-13 23:32:11.078	info	Disconnected from slave 192.168.1.27
modbus.0	2018-06-13 23:32:11.075	warn	Poll error count: 6 code: "App Timeout"
modbus.0	2018-06-13 23:32:11.070	warn	Poll error count: 5 code: "App Timeout"
modbus.0	2018-06-13 23:32:11.070	warn	Poll error count: 4 code: "App Timeout"
modbus.0	2018-06-13 23:32:11.056	warn	Poll error count: 3 code: "App Timeout"
modbus.0	2018-06-13 23:32:11.055	warn	Poll error count: 2 code: "App Timeout"
modbus.0	2018-06-13 23:32:11.051	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:32:11.003	warn	Poll error count: 3 code: "App Timeout"
modbus.0	2018-06-13 23:32:11.002	warn	Poll error count: 2 code: "App Timeout"
modbus.0	2018-06-13 23:32:10.994	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:32:10.946	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:32:10.942	warn	Poll error count: 2 code: "App Timeout"
modbus.0	2018-06-13 23:32:10.940	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:32:10.924	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:32:10.897	warn	Poll error count: 2 code: "App Timeout"
modbus.0	2018-06-13 23:32:10.892	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:32:10.875	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:32:10.824	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:32:10.751	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:32:10.729	warn	Poll error count: 2 code: "App Timeout"
modbus.0	2018-06-13 23:32:10.724	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:32:10.708	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:32:10.590	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:32:06.005	warn	Poll error count: 3 code: "App Timeout"
modbus.0	2018-06-13 23:32:05.998	warn	Poll error count: 2 code: "App Timeout"
modbus.0	2018-06-13 23:32:05.997	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:32:05.977	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:32:05.966	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:32:05.884	warn	Poll error count: 2 code: "App Timeout"
modbus.0	2018-06-13 23:32:05.881	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:32:05.853	warn	Poll error count: 2 code: "App Timeout"
modbus.0	2018-06-13 23:32:05.852	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:32:05.803	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:32:05.737	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:32:05.696	warn	Poll error count: 2 code: "App Timeout"
modbus.0	2018-06-13 23:32:05.689	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:32:05.558	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:32:00.940	warn	Poll error count: 4 code: "App Timeout"
modbus.0	2018-06-13 23:32:00.934	warn	Poll error count: 3 code: "App Timeout"
modbus.0	2018-06-13 23:32:00.932	warn	Poll error count: 2 code: "App Timeout"
modbus.0	2018-06-13 23:32:00.931	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:32:00.829	warn	Poll error count: 2 code: "App Timeout"
modbus.0	2018-06-13 23:32:00.824	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:32:00.795	warn	Poll error count: 3 code: "App Timeout"
modbus.0	2018-06-13 23:32:00.794	warn	Poll error count: 2 code: "App Timeout"
modbus.0	2018-06-13 23:32:00.792	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:32:00.704	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:32:00.670	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:32:00.523	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:31:55.911	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:31:55.773	warn	Poll error count: 4 code: "App Timeout"
modbus.0	2018-06-13 23:31:55.765	warn	Poll error count: 3 code: "App Timeout"
modbus.0	2018-06-13 23:31:55.756	warn	Poll error count: 2 code: "App Timeout"
modbus.0	2018-06-13 23:31:55.743	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:31:55.653	warn	Poll error count: 2 code: "App Timeout"
modbus.0	2018-06-13 23:31:55.649	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:31:55.635	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:31:55.500	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:31:50.751	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:31:50.731	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:31:50.728	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:31:50.616	warn	Poll error count: 2 code: "App Timeout"
modbus.0	2018-06-13 23:31:50.607	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:31:50.585	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:31:50.468	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:31:45.713	warn	Poll error count: 3 code: "App Timeout"
modbus.0	2018-06-13 23:31:45.707	warn	Poll error count: 2 code: "App Timeout"
modbus.0	2018-06-13 23:31:45.582	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:31:45.562	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:31:45.444	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:31:40.548	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:31:40.527	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:31:40.409	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:31:35.523	warn	Poll error count: 2 code: "App Timeout"
modbus.0	2018-06-13 23:31:35.511	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:31:35.381	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:31:30.491	warn	Poll error count: 2 code: "App Timeout"
modbus.0	2018-06-13 23:31:30.352	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:31:25.319	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:31:20.298	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:31:15.272	warn	Poll error count: 1 code: "App Timeout"
modbus.0	2018-06-13 23:31:03.480	info	Connected to slave 192.168.1.27

Benutzeravatar
apollon77
guru
Beiträge: 4772
Registriert: 10.04.2015, 12:27

Re: Modbus Adapter killt sich selbst?

Beitrag von apollon77 » 14.06.2018, 17:14

Ok, hm ... jetzt sind wir inzwischen an dem Punkt das bluefox eine 2.0.2 auf Github hat. Weiter auf der 1.1.1 zu untersuchen wird schwierig ...

2.0.2 ist nur auf Github und ich habe es selbst noch nicht versucht. testing ist grün.

Mag jemand experimentieren? :-)

Benutzeravatar
wendy2702
guru
Beiträge: 2959
Registriert: 18.01.2016, 22:12
Wohnort: Herzogenrath

Re: Modbus Adapter killt sich selbst?

Beitrag von wendy2702 » 14.06.2018, 18:03

Habe drei Instanzen von Version 1.1.1 laufen ohne Probleme.

Hast du mal versucht die Instanzen und Adapter komplett zu löschen und neu zu installieren?

Hast du nur Node oder auch NPM upgrade gemacht?

Wie hast du den Node upgrade gemacht? Gibt es davon noch ein log?
Bitte keine Fragen per PN, die gehören ins Forum!

ChristianF
professional
Beiträge: 171
Registriert: 17.05.2015, 20:59

Re: Modbus Adapter killt sich selbst?

Beitrag von ChristianF » 14.06.2018, 18:24

Ja, ich habe die Adapter komplett weggetreten und neu installiert. Vorher habe ich Node, NPM und alles was es sonst noch gibt aktualisiert (apt-get update && apt-get upgrade). Ein Log habe ich davon nicht mehr, sorry.

Benutzeravatar
wendy2702
guru
Beiträge: 2959
Registriert: 18.01.2016, 22:12
Wohnort: Herzogenrath

Re: Modbus Adapter killt sich selbst?

Beitrag von wendy2702 » 14.06.2018, 18:28

Welches Linux? Jessie, Stretch?

Dann upgrade ohne „-get“ und nur „apt“ verwenden.

Was kommt denn bei

Code: Alles auswählen

npm -v
node -v
nodejs -v
Bitte keine Fragen per PN, die gehören ins Forum!

Benutzeravatar
apollon77
guru
Beiträge: 4772
Registriert: 10.04.2015, 12:27

Re: Modbus Adapter killt sich selbst?

Beitrag von apollon77 » 15.06.2018, 11:47

Vllt ist es Zeit dann mal die 2.0.x zu testen: viewtopic.php?f=36&t=14929 :-)

ChristianF
professional
Beiträge: 171
Registriert: 17.05.2015, 20:59

Re: Modbus Adapter killt sich selbst?

Beitrag von ChristianF » 16.06.2018, 21:45

Hier die gefragten Versionen:

Code: Alles auswählen

root@iobroker:~# cat /proc/version
Linux version 3.16.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.8.4 (Debian 4.8.4-1) ) #1 SMP Debian 3.16.51-3 (2017-12-13)
root@iobroker:~# npm -v
3.10.10
root@iobroker:~# node -v
v6.14.2
root@iobroker:~# nodejs -v
v6.14.2

Benutzeravatar
wendy2702
guru
Beiträge: 2959
Registriert: 18.01.2016, 22:12
Wohnort: Herzogenrath

Re: Modbus Adapter killt sich selbst?

Beitrag von wendy2702 » 18.06.2018, 09:25

Hm,

mit den Versionen läuft es bei mir mit 1.1.1 ohne Probleme.
Bitte keine Fragen per PN, die gehören ins Forum!

Antworten