NEWS
[Gelöst] Hostname geändert und jetzt Meldung beim starten
-
Hack mal wieder entfernt ;)
pi@iobroker_garage_gross:/opt/iobroker $ hostname
iobroker_garage_gross
Kann es sein das etwas mit /etc/hosts/ nicht stimmt:
PI (Slave) mit Fehler:
pi@iobroker_garage_gross:/opt/iobroker $ cat /etc/hosts 127.0.0.1 HomebridgePI (Slave) ohne Fehler:
pi@pi-iobroker:~ $ cat /etc/hosts 127.0.0.1 localhost ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters 127.0.1.1 pi-iobroker pi@pi-iobroker:~ $Host ohne Fehler:
root@openmediavault /opt/iobroker > cat /etc/hosts 127.0.0.1 localhost 127.0.1.1 openmediavault.fritz.box openmediavault # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters -
Slave-Pi:
pi@Keller-RasPi2:~ $ cat /etc/hosts
127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
127.0.1.1 Keller-RasPi2
Tinkerboard:
root@linaro-alip:~# cat /etc/hosts
127.0.0.1 localhost tinkerboard
::1 localhost tinkerboard ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
-
Ja:
C:\Users\meinPC>ping Keller-Raspi2
Ping wird ausgeführt für Keller-Raspi2.fritz.box [192.168.xxx.yyy] mit 32 Bytes Daten:
Antwort von 192.168.xxx.yyy: Bytes=32 Zeit<1ms TTL=64
Antwort von 192.168.xxx.yyy: Bytes=32 Zeit<1ms TTL=64
Antwort von 192.168.xxx.yyy: Bytes=32 Zeit<1ms TTL=64
Antwort von 192.168.xxx.yyy: Bytes=32 Zeit=1ms TTL=64
Ping-Statistik für 192.168.xxx.yyy:
Pakete: Gesendet = 4, Empfangen = 4, Verloren = 0
(0% Verlust),
Ca. Zeitangaben in Millisek.:
Minimum = 0ms, Maximum = 1ms, Mittelwert = 0ms
-
Danke.
Scheinbar liegt es am Hostnamen.
NOK –> iobroker_garage_gross
OK --> iobroker-garage-gross
Habe das wieder über "raspi-config" geändert allerdings klappt das jetzt nicht mehr:
pi@iobroker-garage-gross:/opt/iobroker $ sudo iobroker stop Stopping iobroker controller daemon... iobroker controller daemon stopped. Exit code for "killall.sh": 0 pi@iobroker-garage-gross:/opt/iobroker $ sudo iobroker host this Cannot execute changes on running system. Stop iobroker first.Hat dazu noch jemand eine Idee?
-
Hm,
wenn ich nichts übersehen habe…
! ````
pi@iobroker-garage-gross:/opt/iobroker $ ps -ef |grep io
root 9 2 0 17:43 ? 00:00:00 [migration/0]
root 13 2 0 17:43 ? 00:00:00 [migration/1]
root 18 2 0 17:43 ? 00:00:00 [migration/2]
root 23 2 0 17:43 ? 00:00:00 [migration/3]
root 34 2 0 17:43 ? 00:00:00 [bioset]
root 38 2 0 17:43 ? 00:00:00 [rpciod]
root 39 2 0 17:43 ? 00:00:00 [xprtiod]
root 42 2 0 17:43 ? 00:00:00 [nfsiod]
root 53 2 0 17:43 ? 00:00:00 [bioset]
root 54 2 0 17:43 ? 00:00:00 [bioset]
root 55 2 0 17:43 ? 00:00:00 [bioset]
root 56 2 0 17:43 ? 00:00:00 [bioset]
root 57 2 0 17:43 ? 00:00:00 [bioset]
root 58 2 0 17:43 ? 00:00:00 [bioset]
root 59 2 0 17:43 ? 00:00:00 [bioset]
root 60 2 0 17:43 ? 00:00:00 [bioset]
root 61 2 0 17:43 ? 00:00:00 [bioset]
root 62 2 0 17:43 ? 00:00:00 [bioset]
root 63 2 0 17:43 ? 00:00:00 [bioset]
root 64 2 0 17:43 ? 00:00:00 [bioset]
root 65 2 0 17:43 ? 00:00:00 [bioset]
root 66 2 0 17:43 ? 00:00:00 [bioset]
root 67 2 0 17:43 ? 00:00:00 [bioset]
root 68 2 0 17:43 ? 00:00:00 [bioset]
root 69 2 0 17:43 ? 00:00:00 [bioset]
root 70 2 0 17:43 ? 00:00:00 [bioset]
root 71 2 0 17:43 ? 00:00:00 [bioset]
root 72 2 0 17:43 ? 00:00:00 [bioset]
root 73 2 0 17:43 ? 00:00:00 [bioset]
root 74 2 0 17:43 ? 00:00:00 [bioset]
root 75 2 0 17:43 ? 00:00:00 [bioset]
root 76 2 0 17:43 ? 00:00:00 [bioset]
root 80 2 0 17:43 ? 00:00:00 [DWC Notificatio]
root 91 2 0 17:43 ? 00:00:00 [bioset]
avahi 440 1 0 17:43 ? 00:00:00 avahi-daemon: running [iobroker-garage-gross.local]
message+ 448 1 0 17:43 ? 00:00:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
pi 1362 868 0 18:08 pts/0 00:00:00 grep --color=auto io
pi@iobroker-garage-gross:/opt/iobroker $EDIT: Denke das ist mein Problem: To change any host name (must be only single host system, not for multihosts) write iobroker host this. Das ist ja jetzt ein Slave. Wie muss ich das denn da machen bzw. mit welchem Befehl oder muss ich alle anderen iobroker installation stoppen? -
Denke das ist mein Problem: To change any host name (must be only single host system, not for multihosts) write iobroker host this `
Da geht es auch unter angebe des Hostnamens - weiß aber nicht mehr auswendig wie.Gruß
Rainer
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