NEWS
Slave meldet sich nicht mehr
-
@sms sagte in Slave meldet sich nicht mehr:
Sehe auf den ersten Blick nichts Slavespezifisches.
und wir sehen gar nichts
Slave kellerkind4GB:
{ "system": { "memoryLimitMB": 0, "hostname": "", "statisticsInterval": 15000, "statisticsIntervalComment": "Interval how often the counters for input/output in adapters and controller will be updated", "checkDiskInterval": 300000, "checkDiskIntervalComment": "Interval how often the disk size will be checked", "noChmod": false, "instanceStartInterval": 2000, "noChmodComment": "Flag to test new feature with no chmod call. Must be deleted later and noChmod must be mainline (2018.06.04)", "compact": false, "compactComment": "Controller will try to start the instances as a part of the same process. No spawn will be done. Only by adapters that support it and have flag compact flag in$ "allowShellCommands": false, "allowShellCommandsComment": "Allow execution of \"shell\" sendToHost commands", "memLimitWarn": 100, "memLimitWarnComment": "If the available RAM is below this threshold on adapter start, a warning will be logged.", "memLimitError": 50, "memLimitErrorComment": "If the available RAM is below this threshold on adapter start, an error will be logged." }, "multihostService": { "enabled": false, "secure": true }, "network": { "IPv4": true, "IPv6": true, "bindAddress": null }, "objects": { "type": "file", "typeComment": "Possible values: 'file' - [port 9001], redis - [port 6379], couch - [port 5984].", "host": "192.168.178.58", "port": 9001, "user": "", "pass": "", "noFileCache": false, "connectTimeout": 2000, "writeFileInterval": 5000, "options": { "auth_pass": null, "retry_max_delay": 5000 }, "backup": { "disabled": false, "files": 24, "filesComment": "Minimal number of backup files, after the deletion will be executed according to backupTime settings", "hours": 48, "hoursComment": "All backups older than 48 hours will be deleted. But only if the number of files is greater than of backupNumber", "period": 120, "periodComment": "by default backup every 2 hours. Time is in minutes. To disable backup set the value to 0", "path": "", "pathComment": "Absolute path to backup directory or empty to backup in data directory" } }, "log": { "level": "info", "maxDays": 7, "noStdout": true, "transport": { "file1": { "type": "file", "enabled": true, "filename": "log/iobroker", "fileext": ".log", "maxSize": null, "maxFiles": null }, "syslog1": { "type": "syslog", "enabled": false, "host": "localhost", "hostComment": "The host running syslogd, defaults to localhost.", "portComment": "The port on the host that syslog is running on, defaults to syslogd's default port(514/UDP).", "protocol": "udp4", "protocolComment": "The network protocol to log over (e.g. tcp4, udp4, unix, unix-connect, etc).", "pathComment": "The path to the syslog dgram socket (i.e. /dev/log or /var/run/syslog for OS X).", "facilityComment": "Syslog facility to use (Default: local0).", "localhost": "iobroker", "localhostComment": "Host to indicate that log messages are coming from (Default: localhost).", "sysLogTypeComment": "The type of the syslog protocol to use (Default: BSD).", "app_nameComment": "The name of the application (Default: process.title).", "eolComment": "The end of line character to be added to the end of the message (Default: Message without modifications)." } } }, "dataDirComment": "Always relative to iobroker.js-controller/", "plugins": {}, "dataDir": "../../iobroker-data/" } -
Slave kellerkind4GB:
{ "system": { "memoryLimitMB": 0, "hostname": "", "statisticsInterval": 15000, "statisticsIntervalComment": "Interval how often the counters for input/output in adapters and controller will be updated", "checkDiskInterval": 300000, "checkDiskIntervalComment": "Interval how often the disk size will be checked", "noChmod": false, "instanceStartInterval": 2000, "noChmodComment": "Flag to test new feature with no chmod call. Must be deleted later and noChmod must be mainline (2018.06.04)", "compact": false, "compactComment": "Controller will try to start the instances as a part of the same process. No spawn will be done. Only by adapters that support it and have flag compact flag in$ "allowShellCommands": false, "allowShellCommandsComment": "Allow execution of \"shell\" sendToHost commands", "memLimitWarn": 100, "memLimitWarnComment": "If the available RAM is below this threshold on adapter start, a warning will be logged.", "memLimitError": 50, "memLimitErrorComment": "If the available RAM is below this threshold on adapter start, an error will be logged." }, "multihostService": { "enabled": false, "secure": true }, "network": { "IPv4": true, "IPv6": true, "bindAddress": null }, "objects": { "type": "file", "typeComment": "Possible values: 'file' - [port 9001], redis - [port 6379], couch - [port 5984].", "host": "192.168.178.58", "port": 9001, "user": "", "pass": "", "noFileCache": false, "connectTimeout": 2000, "writeFileInterval": 5000, "options": { "auth_pass": null, "retry_max_delay": 5000 }, "backup": { "disabled": false, "files": 24, "filesComment": "Minimal number of backup files, after the deletion will be executed according to backupTime settings", "hours": 48, "hoursComment": "All backups older than 48 hours will be deleted. But only if the number of files is greater than of backupNumber", "period": 120, "periodComment": "by default backup every 2 hours. Time is in minutes. To disable backup set the value to 0", "path": "", "pathComment": "Absolute path to backup directory or empty to backup in data directory" } }, "log": { "level": "info", "maxDays": 7, "noStdout": true, "transport": { "file1": { "type": "file", "enabled": true, "filename": "log/iobroker", "fileext": ".log", "maxSize": null, "maxFiles": null }, "syslog1": { "type": "syslog", "enabled": false, "host": "localhost", "hostComment": "The host running syslogd, defaults to localhost.", "portComment": "The port on the host that syslog is running on, defaults to syslogd's default port(514/UDP).", "protocol": "udp4", "protocolComment": "The network protocol to log over (e.g. tcp4, udp4, unix, unix-connect, etc).", "pathComment": "The path to the syslog dgram socket (i.e. /dev/log or /var/run/syslog for OS X).", "facilityComment": "Syslog facility to use (Default: local0).", "localhost": "iobroker", "localhostComment": "Host to indicate that log messages are coming from (Default: localhost).", "sysLogTypeComment": "The type of the syslog protocol to use (Default: BSD).", "app_nameComment": "The name of the application (Default: process.title).", "eolComment": "The end of line character to be added to the end of the message (Default: Message without modifications)." } } }, "dataDirComment": "Always relative to iobroker.js-controller/", "plugins": {}, "dataDir": "../../iobroker-data/" }@sms sagte in Slave meldet sich nicht mehr:
"host": "192.168.178.58",
ist das der Master?
@apollon77 mag da sicher mehr erkennen ob die ganzen
nullund""in Ordnung sind -
@sms sagte in Slave meldet sich nicht mehr:
"host": "192.168.178.58",
ist das der Master?
@apollon77 mag da sicher mehr erkennen ob die ganzen
nullund""in Ordnung sind -
Wenn ich die Datei iobroker.json auf dem nicht mehr funktionierenden Slave öffne, erschein unten:
[ Fehler beim Lesen der Sperrdatei ./.iobroker.json.swp: Nicht genügend Daten gelesen ]


@sms sagte in Slave meldet sich nicht mehr:
Fehler beim Lesen der Sperrdatei
dann darfst du die als User pi nicht öffnen
-
@sms sagte in Slave meldet sich nicht mehr:
Fehler beim Lesen der Sperrdatei
dann darfst du die als User pi nicht öffnen
-
Wenn ich die Datei iobroker.json auf dem nicht mehr funktionierenden Slave öffne, erschein unten:
[ Fehler beim Lesen der Sperrdatei ./.iobroker.json.swp: Nicht genügend Daten gelesen ]


sudo -u iobroker nano /opt/iobroker/iobroker-data/iobroker.jsonAber das war ja die defekte Datei, oder nicht?
-
sudo -u iobroker nano /opt/iobroker/iobroker-data/iobroker.jsonAber das war ja die defekte Datei, oder nicht?
@thomas-braun bei der defekten Datei erscheint
[ Fehler beim Lesen der Sperrdatei ./.iobroker.json.swp: Nicht genügend Daten gelesen ]
-
sudo -u iobroker nano /opt/iobroker/iobroker-data/iobroker.jsonAber das war ja die defekte Datei, oder nicht?
@thomas-braun sagte in Slave meldet sich nicht mehr:
Aber das war ja die defekte Datei, oder nicht?
ich denke ja, oder kann auch fehlende Zugriffsrechte zu diesem Fehler führen?
-
@thomas-braun sagte in Slave meldet sich nicht mehr:
Aber das war ja die defekte Datei, oder nicht?
ich denke ja, oder kann auch fehlende Zugriffsrechte zu diesem Fehler führen?
@homoran
Andersherum eher. Die Rechte können ja auch 'kaputt' gehen. Das könnte dann ein Hinweis auf ein sterbendes Dateisystem sein.dmesg -T | grep -i ext4auf dem Host 'MotionEye' bringt?
Undgetfacl /opt/iobroker/iobroker-data/iobroker.jsonbitte.
-
@homoran
Andersherum eher. Die Rechte können ja auch 'kaputt' gehen. Das könnte dann ein Hinweis auf ein sterbendes Dateisystem sein.dmesg -T | grep -i ext4auf dem Host 'MotionEye' bringt?
Undgetfacl /opt/iobroker/iobroker-data/iobroker.jsonbitte.
@thomas-braun sagte in Slave meldet sich nicht mehr:
Die Rechte können ja auch 'kaputt' gehen. Das könnte dann ein Hinweis auf ein sterbendes Dateisystem sein.
das wäre dann auch meine letzte Möglichkeit gewesen.
Dann sollte man sowieso eine neue Karte nehmen und neu aufbauen -
Slave kellerkind4GB:
{ "system": { "memoryLimitMB": 0, "hostname": "", "statisticsInterval": 15000, "statisticsIntervalComment": "Interval how often the counters for input/output in adapters and controller will be updated", "checkDiskInterval": 300000, "checkDiskIntervalComment": "Interval how often the disk size will be checked", "noChmod": false, "instanceStartInterval": 2000, "noChmodComment": "Flag to test new feature with no chmod call. Must be deleted later and noChmod must be mainline (2018.06.04)", "compact": false, "compactComment": "Controller will try to start the instances as a part of the same process. No spawn will be done. Only by adapters that support it and have flag compact flag in$ "allowShellCommands": false, "allowShellCommandsComment": "Allow execution of \"shell\" sendToHost commands", "memLimitWarn": 100, "memLimitWarnComment": "If the available RAM is below this threshold on adapter start, a warning will be logged.", "memLimitError": 50, "memLimitErrorComment": "If the available RAM is below this threshold on adapter start, an error will be logged." }, "multihostService": { "enabled": false, "secure": true }, "network": { "IPv4": true, "IPv6": true, "bindAddress": null }, "objects": { "type": "file", "typeComment": "Possible values: 'file' - [port 9001], redis - [port 6379], couch - [port 5984].", "host": "192.168.178.58", "port": 9001, "user": "", "pass": "", "noFileCache": false, "connectTimeout": 2000, "writeFileInterval": 5000, "options": { "auth_pass": null, "retry_max_delay": 5000 }, "backup": { "disabled": false, "files": 24, "filesComment": "Minimal number of backup files, after the deletion will be executed according to backupTime settings", "hours": 48, "hoursComment": "All backups older than 48 hours will be deleted. But only if the number of files is greater than of backupNumber", "period": 120, "periodComment": "by default backup every 2 hours. Time is in minutes. To disable backup set the value to 0", "path": "", "pathComment": "Absolute path to backup directory or empty to backup in data directory" } }, "log": { "level": "info", "maxDays": 7, "noStdout": true, "transport": { "file1": { "type": "file", "enabled": true, "filename": "log/iobroker", "fileext": ".log", "maxSize": null, "maxFiles": null }, "syslog1": { "type": "syslog", "enabled": false, "host": "localhost", "hostComment": "The host running syslogd, defaults to localhost.", "portComment": "The port on the host that syslog is running on, defaults to syslogd's default port(514/UDP).", "protocol": "udp4", "protocolComment": "The network protocol to log over (e.g. tcp4, udp4, unix, unix-connect, etc).", "pathComment": "The path to the syslog dgram socket (i.e. /dev/log or /var/run/syslog for OS X).", "facilityComment": "Syslog facility to use (Default: local0).", "localhost": "iobroker", "localhostComment": "Host to indicate that log messages are coming from (Default: localhost).", "sysLogTypeComment": "The type of the syslog protocol to use (Default: BSD).", "app_nameComment": "The name of the application (Default: process.title).", "eolComment": "The end of line character to be added to the end of the message (Default: Message without modifications)." } } }, "dataDirComment": "Always relative to iobroker.js-controller/", "plugins": {}, "dataDir": "../../iobroker-data/" } -
@homoran
Andersherum eher. Die Rechte können ja auch 'kaputt' gehen. Das könnte dann ein Hinweis auf ein sterbendes Dateisystem sein.dmesg -T | grep -i ext4auf dem Host 'MotionEye' bringt?
Undgetfacl /opt/iobroker/iobroker-data/iobroker.jsonbitte.
pi@MotionEye:~ $ dmesg -T | grep -i ext4 [Mo Okt 25 16:13:24 2021] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 smsc95xx.macaddr=DC:A6:32:E2:9D:54 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=PARTUUID=d666f4cc-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait [Mo Okt 25 16:13:27 2021] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [Mo Okt 25 16:13:27 2021] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. [Mo Okt 25 16:13:29 2021] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)pi@MotionEye:~ $ getfacl /opt/iobroker/iobroker-data/iobroker.json getfacl: Entferne führende '/' von absoluten Pfadnamen # file: opt/iobroker/iobroker-data/iobroker.json # owner: iobroker # group: iobroker user::rw- group::r-- group:iobroker:rwx mask::rwx other::r-- -
@sms Wenn das das File vom anderen Slave ist und die IPs drin die vom master sind und hostname oben "leer" ist dann ja kannst DU so übernehemn auf den anderen Slave
-
-
@thomas-braun Seltsam:

pi@MotionEye:/opt/iobroker/iobroker-data $ df -h Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf /dev/root 15G 14G 0 100% / devtmpfs 3,7G 0 3,7G 0% /dev tmpfs 3,9G 16K 3,9G 1% /dev/shm tmpfs 3,9G 8,5M 3,9G 1% /run tmpfs 5,0M 4,0K 5,0M 1% /run/lock tmpfs 3,9G 0 3,9G 0% /sys/fs/cgroup /dev/mmcblk0p1 253M 49M 204M 20% /boot tmpfs 790M 0 790M 0% /run/user/1000 -
@thomas-braun Seltsam:

pi@MotionEye:/opt/iobroker/iobroker-data $ df -h Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf /dev/root 15G 14G 0 100% / devtmpfs 3,7G 0 3,7G 0% /dev tmpfs 3,9G 16K 3,9G 1% /dev/shm tmpfs 3,9G 8,5M 3,9G 1% /run tmpfs 5,0M 4,0K 5,0M 1% /run/lock tmpfs 3,9G 0 3,9G 0% /sys/fs/cgroup /dev/mmcblk0p1 253M 49M 204M 20% /boot tmpfs 790M 0 790M 0% /run/user/1000@sms sagte in Slave meldet sich nicht mehr:
Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf /dev/root 15G 14G 0 100% /Dicht.
-
@sms sagte in Slave meldet sich nicht mehr:
Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf /dev/root 15G 14G 0 100% /Dicht.
@thomas-braun aber warum? Außer backups, welche doch auf dem Master abgelegt werden sollten, mache ich da nichts
Oder kommt das von den Updates.
-
@thomas-braun aber warum? Außer backups, welche doch auf dem Master abgelegt werden sollten, mache ich da nichts
Oder kommt das von den Updates.
@sms
Dann musst du mal schauen was da so massiv Platz braucht.
MotionEye... Vermutlich die ganzen erfassten Videos. -
@thomas-braun aber warum? Außer backups, welche doch auf dem Master abgelegt werden sollten, mache ich da nichts
Oder kommt das von den Updates.
@sms sagte in Slave meldet sich nicht mehr:
Außer backups, welche doch auf dem Master abgelegt werden sollten,
wie kommst du darauf?
wie machst du denn die Backups?
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden
