NEWS
Sonoff Adapter Rot nach Updaten (Port?)
-
@bambam89 sagte in Sonoff Adapter Rot nach Updaten (Port?):
Es sieht ja danach aus, als wenn das Problem vom Port 1883 kommt? Oder sehe ich das falsch?
Ja , siehst du richtig
Laut deinen Angaben nutzt du den Port 1883 für Sonoff und laut Log ist er schon in Benutzung .
Entweder ein demon im Hintergrund oder hast du noch ein MQTT Server wo anders laufen .
zeige mal :
lsof -i -P | grep -i LISTEN
Wenn der Befehl nicht geht dann nachinstallieren :
https://wiki.ubuntuusers.de/lsof/und die Ausgabe von :
ps auxww|grep io
Hast du auch mal dein System mal neu gestartet ( Reboot )
-
@glasfaser said in Sonoff Adapter Rot nach Updaten (Port?):
Ja es läuft auch eine MQTT Instanz aber unter dem Port 1500
Ein Reset wurde auch schon mehrfach durchgeführt.
pi@raspberrypi-ioB:~ $ ps auxww|grep io root 13 0.0 0.0 0 0 ? S 18:32 0:00 [migration/0] root 16 0.0 0.0 0 0 ? S 18:32 0:00 [migration/1] root 21 0.0 0.0 0 0 ? S 18:32 0:00 [migration/2] root 26 0.0 0.0 0 0 ? S 18:32 0:00 [migration/3] root 58 0.0 0.0 0 0 ? I< 18:32 0:00 [blkcg_punt_bio] root 62 0.0 0.0 0 0 ? I< 18:32 0:00 [rpciod] root 64 0.0 0.0 0 0 ? I< 18:32 0:00 [xprtiod] root 66 0.0 0.0 0 0 ? I< 18:32 0:00 [nfsiod] root 76 0.0 0.0 0 0 ? I< 18:32 0:00 [DWC Notificatio] message+ 352 0.0 0.0 6560 3000 ? Ss 18:32 0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only avahi 359 4.5 0.0 5900 2560 ? Ss 18:32 3:49 avahi-daemon: running [raspberrypi-ioB.local] root 363 0.1 0.5 63312 21040 ? Ssl 18:32 0:10 /usr/bin/python /usr/local/bin/meyectl startserver -c /etc/motioneye/motioneye.conf root 544 62.8 3.6 334920 144556 ? SLl 18:32 53:08 /usr/bin/motion -n -c /etc/motioneye/motion.conf -d 5 root 550 0.0 0.3 35396 12528 ? S 18:32 0:00 /usr/bin/python /usr/local/bin/meyectl startserver -c /etc/motioneye/motioneye.conf iobroker 741 20.8 5.3 331736 208380 ? Ssl 18:32 17:38 iobroker.js-controller iobroker 900 0.4 1.9 208856 76016 ? Sl 19:21 0:10 io.hmip.0 iobroker 920 2.0 3.0 244132 120224 ? Sl 18:32 1:45 io.admin.0 iobroker 1043 0.1 1.6 197956 63020 ? Sl 18:32 0:08 io.pushover.0 iobroker 1112 0.1 1.5 174876 59796 ? Sl 18:32 0:09 io.node-red.0 iobroker 1198 0.2 1.7 199612 68276 ? Sl 18:33 0:12 io.scenes.0 iobroker 1221 0.2 2.4 207248 94980 ? Sl 18:33 0:12 node-red iobroker 1236 0.2 1.8 201112 70884 ? Sl 18:33 0:13 io.hue.0 iobroker 1304 0.8 2.2 217224 88140 ? Sl 18:33 0:41 io.hue.1 iobroker 1393 0.1 1.6 201892 66228 ? Sl 18:33 0:09 io.tr-064.0 iobroker 1500 1.2 1.9 208352 75640 ? Sl 18:33 1:01 io.alexa2.0 iobroker 1636 0.1 1.5 198464 62612 ? Sl 18:33 0:09 io.discovery.0 iobroker 1678 0.2 1.9 207128 76704 ? Sl 18:33 0:13 io.info.0 iobroker 1762 2.7 2.1 221484 83532 ? Sl 18:33 2:17 io.web.0 iobroker 1797 0.1 1.3 175944 54636 ? Sl 18:33 0:08 io.milight.0 iobroker 2130 0.3 1.7 187388 69812 ? Sl 18:33 0:17 io.tankerkoenig.0 iobroker 2404 1.9 2.2 196368 89216 ? Sl 18:34 1:35 io.upnp.0 iobroker 2611 0.2 2.0 206924 79756 ? Sl 18:34 0:10 io.backitup.0 root 8938 0.0 0.0 0 0 ? I 19:33 0:01 [kworker/u8:0-ext4-rsv-conversion] iobroker 16956 4.4 3.1 253168 125600 ? Sl 19:45 0:30 io.javascript.0 iobroker 19695 1.4 2.0 208068 78792 ? Sl 19:49 0:06 io.iot.0 iobroker 19825 1.1 1.8 199760 71512 ? Sl 19:49 0:04 io.mqtt.0 iobroker 20842 8.2 1.8 181652 71352 ? Sl 19:51 0:27 io.robonect.0 iobroker 21236 1.3 1.7 196288 67948 ? Sl 19:51 0:04 io.trashschedule.0 iobroker 22000 1.7 1.7 198236 67656 ? Sl 19:52 0:04 io.history.0 iobroker 22588 1.3 1.3 171284 53560 ? Sl 19:53 0:02 io.procon-ip.0 pi 25391 0.0 0.0 7360 560 pts/0 S+ 19:57 0:00 grep --color=auto io
-
@glasfaser sagte in Sonoff Adapter Rot nach Updaten (Port?):
zeige mal :
lsof -i -P | grep -i LISTENWas ist hiermit !
-
@glasfaser said in Sonoff Adapter Rot nach Updaten (Port?):
lsof -i -P | grep -i LISTEN
Sorry. Da bekomme ich keine Information:
pi@raspberrypi-ioB:~ $ lsof -i -P | grep -i LISTEN pi@raspberrypi-ioB:~ $ sudo apt-get install lsof Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig lsof ist schon die neueste Version (4.91+dfsg-1). 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
-
-
@glasfaser said in Sonoff Adapter Rot nach Updaten (Port?):
lsof -n | grep LISTEN
nix:
pi@raspberrypi-ioB:~ $ lsof -n | grep LISTEN pi@raspberrypi-ioB:~ $
-
sudo lsof -i -P | grep -i LISTEN
-
@glasfaser said in Sonoff Adapter Rot nach Updaten (Port?):
sudo lsof -i -P | grep -i LISTEN
Ich hatte dieses mosquitto schon im verdacht:
pi@raspberrypi-ioB:~ $ sudo lsof -i -P | grep -i LISTEN meyectl 363 root 12u IPv4 15903 0t0 TCP *:8765 (LISTEN) deCONZ 381 pi 5u IPv4 15856 0t0 TCP *:80 (LISTEN) deCONZ 381 pi 10u IPv4 14995 0t0 TCP *:443 (LISTEN) motion 544 root 5u IPv4 17173 0t0 TCP *:8085 (LISTEN) motion 544 root 7u IPv4 17174 0t0 TCP localhost:7999 (LISTEN) iobroker. 741 iobroker 19u IPv4 20537 0t0 TCP localhost:9001 (LISTEN) iobroker. 741 iobroker 24u IPv4 18238 0t0 TCP localhost:9000 (LISTEN) mosquitto 745 mosquitto 5u IPv4 18033 0t0 TCP *:1883 (LISTEN) mosquitto 745 mosquitto 6u IPv6 18034 0t0 TCP *:1883 (LISTEN) sshd 755 root 3u IPv4 18630 0t0 TCP *:22 (LISTEN) sshd 755 root 4u IPv6 18632 0t0 TCP *:22 (LISTEN) dnsmasq 757 dnsmasq 5u IPv4 18039 0t0 TCP *:53 (LISTEN) dnsmasq 757 dnsmasq 7u IPv6 18041 0t0 TCP *:53 (LISTEN) io.admin. 920 iobroker 27u IPv6 18361 0t0 TCP *:8081 (LISTEN) node-red 1221 iobroker 22u IPv4 21060 0t0 TCP raspberrypi-ioB.fritz.box:1880 (LISTEN) node-red 1221 iobroker 23u IPv6 20138 0t0 TCP *:8080 (LISTEN) io.web.0 1762 iobroker 27u IPv6 22816 0t0 TCP *:8082 (LISTEN) io.upnp.0 2404 iobroker 29u IPv6 32939 0t0 TCP *:8000 (LISTEN) io.mqtt.0 19825 iobroker 27u IPv4 188190 0t0 TCP *:1500 (LISTEN) pi@raspberrypi-ioB:~ $
Wie bekommt man denn da den Port geändert? Oder was kann man da machen?
-
@bambam89 sagte in Sonoff Adapter Rot nach Updaten (Port?):
Ich hatte dieses mosquitto schon im verdacht:
Bingo ,
Kenne mich nicht mit mosquitto aus
-
@bambam89 ,
die mosquitto.conf in /etc/mosquitto ändern oder Mosquitto löschen. -
@glasfaser Danke dir!!
@Wal kannst du mir sagen, wozu mosquitto genutzt wird?
-
@bambam89 ,
das ist ein MQTT-Server und den musst du installiert haben.sudo apt remove mosquitto
-
und zack ist der Sonoff Adapter wieder grün. Mal schauen was durch die Deinstallation jetzt dann nicht mehr geht
Danke euch beiden und noch einen schönen Restsonntag
-
@bambam89 sagte in Sonoff Adapter Rot nach Updaten (Port?):
Mal schauen was durch die Deinstallation jetzt dann nicht mehr geht
mosquitto