FHEM Forum

FHEM => Anfängerfragen => Thema gestartet von: UnbekannterNr1 am 09 Oktober 2018, 17:57:59

Titel: myBroker: Can't connect to 127.0.0.1:1883: Connection refused
Beitrag von: UnbekannterNr1 am 09 Oktober 2018, 17:57:59
Hallo,
seit gestern bekomme ich obige Fehlermeldung im Log angezeigt. myBroker steht auf disconnected. Vorher lief alles einwandfrei.

sudo service mosquitto status

mosquitto.service - LSB: mosquitto MQTT v3.1 message broker
   Loaded: loaded (/etc/init.d/mosquitto; generated; vendor preset: enabled)
   Active: active (exited) since Mon 2018-10-08 23:52:09 CEST; 18h ago
     Docs: man:systemd-sysv-generator(8)
  Process: 300 ExecStart=/etc/init.d/mosquitto start (code=exited, status=0/SUCCESS)
      CPU: 0
   CGroup: /system.slice/mosquitto.service

Okt 08 23:52:08 raspberrypi systemd[1]: Starting LSB: mosquitto MQTT v3.1 message broker...
Okt 08 23:52:09 raspberrypi mosquitto[300]: Starting network daemon:: mosquitto.
Okt 08 23:52:09 raspberrypi systemd[1]: Started LSB: mosquitto MQTT v3.1 message broker.


perl -v

This is perl 5, version 24, subversion 1 (v5.24.1) built for arm-linux-gnueabihf-thread-multi-64int
(with 81 registered patches, see perl -V for more detail)

Copyright 1987-2017, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.


Hat jemand einen Tipp für mich?
Titel: Antw:myBroker: Can't connect to 127.0.0.1:1883: Connection refused
Beitrag von: amenomade am 09 Oktober 2018, 18:42:31
Da ist kein Fehler zu sehen.
Stelle das FHEM-Device auf verbose 5 und guck die fhem Log.
Titel: Antw:myBroker: Can't connect to 127.0.0.1:1883: Connection refused
Beitrag von: UnbekannterNr1 am 09 Oktober 2018, 19:56:11
Es kommt leider nur:

2018.10.09 19:54:53 3: Opening myBroker device 127.0.0.1:1883
2018.10.09 19:54:53 1: myBroker: Can't connect to 127.0.0.1:1883: Connection refused


Hier auch nochmal die Config:

define myBroker MQTT 127.0.0.1:1883
attr myBroker icon mqtt_broker
attr myBroker room Buro,Sonoff
attr myBroker verbose 5


Und vorsichtshalber auch noch, Fhem hatte mein Fritzbox Passwort vergessen. Das musste ich wieder neu eingeben. Keine Ahnung, ob dass einen Zusammenhang hat.
Titel: Antw:myBroker: Can't connect to 127.0.0.1:1883: Connection refused
Beitrag von: amenomade am 09 Oktober 2018, 21:48:15
Funktioniert in einem Terminal ein telnet 127.0.0.1 1883?

Nutzt dein Broker ein User/Passwort?
Titel: Antw:myBroker: Can't connect to 127.0.0.1:1883: Connection refused
Beitrag von: UnbekannterNr1 am 09 Oktober 2018, 22:58:55
Wenn ich von meinem Laptop die Raspi Ip eingebe, kommt folgendes:

ivt@acer:~$ telnet 192.168.2.15 1883
Trying 192.168.2.15...
telnet: Unable to connect to remote host: Connection refused


Und nein, es wird kein User/Passwort benutzt.
Titel: Antw:myBroker: Can't connect to 127.0.0.1:1883: Connection refused
Beitrag von: amenomade am 10 Oktober 2018, 00:29:17
Das kann aber das Firewall blockieren. Mach es lieber aus dem Raspi selbst und mit 127.0.0.1
Titel: Antw:myBroker: Can't connect to 127.0.0.1:1883: Connection refused
Beitrag von: UnbekannterNr1 am 10 Oktober 2018, 16:19:26
Gleiches Ergebnis vom Raspi aus!

Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
Titel: Antw:myBroker: Can't connect to 127.0.0.1:1883: Connection refused
Beitrag von: amenomade am 10 Oktober 2018, 16:24:42
Was sagt netstat -l? Taucht den Port 1883 drin?

Mit ps aux siehst den Prozess vom Mosquitto Dienst?
Titel: Antw:myBroker: Can't connect to 127.0.0.1:1883: Connection refused
Beitrag von: UnbekannterNr1 am 10 Oktober 2018, 19:30:16
netstat -l

Proto Recv-Q Send-Q Local Address           Foreign Address         State     
tcp        0      0 localhost:9665          0.0.0.0:*               LISTEN     
tcp        0      0 localhost:9666          0.0.0.0:*               LISTEN     
tcp        0      0 0.0.0.0:46441           0.0.0.0:*               LISTEN     
tcp        0      0 0.0.0.0:netbios-ssn     0.0.0.0:*               LISTEN     
tcp        0      0 0.0.0.0:tproxy          0.0.0.0:*               LISTEN     
tcp        0      0 0.0.0.0:8082            0.0.0.0:*               LISTEN     
tcp        0      0 0.0.0.0:8083            0.0.0.0:*               LISTEN     
tcp        0      0 0.0.0.0:8084            0.0.0.0:*               LISTEN     
tcp        0      0 localhost:46325         0.0.0.0:*               LISTEN     
tcp        0      0 0.0.0.0:8085            0.0.0.0:*               LISTEN     
tcp        0      0 0.0.0.0:ssh             0.0.0.0:*               LISTEN     
tcp        0      0 0.0.0.0:microsoft-ds    0.0.0.0:*               LISTEN     
tcp        0      0 0.0.0.0:8765            0.0.0.0:*               LISTEN     
tcp        0      0 localhost:7999          0.0.0.0:*               LISTEN     
tcp        0      0 0.0.0.0:7072            0.0.0.0:*               LISTEN     
tcp6       0      0 [::]:netbios-ssn        [::]:*                  LISTEN     
tcp6       0      0 [::]:ssh                [::]:*                  LISTEN     
tcp6       0      0 [::]:microsoft-ds       [::]:*                  LISTEN     
udp        0      0 0.0.0.0:60377           0.0.0.0:*                         
udp        0      0 0.0.0.0:bootpc          0.0.0.0:*                         
udp        0      0 192.168.2.25:netbios-ns 0.0.0.0:*                         
udp        0      0 raspberrypi.:netbios-ns 0.0.0.0:*                         
udp        0      0 0.0.0.0:netbios-ns      0.0.0.0:*                         
udp        0      0 192.168.2.2:netbios-dgm 0.0.0.0:*                         
udp        0      0 raspberrypi:netbios-dgm 0.0.0.0:*                         
udp        0      0 0.0.0.0:netbios-dgm     0.0.0.0:*                         
udp        0      0 0.0.0.0:mdns            0.0.0.0:*                         
udp6       0      0 [::]:dhcpv6-client      [::]:*                             
udp6       0      0 [::]:mdns               [::]:*                             
udp6       0      0 [::]:54045              [::]:*                             
raw6       0      0 [::]:ipv6-icmp          [::]:*                  7         
Aktive Sockets in der UNIX-Domäne (Nur Server)
Proto RefCnt Flags       Type       State         I-Node   Pfad
unix  2      [ ACC ]     STREAM     HÖRT         9006     /run/thd.socket
unix  2      [ ACC ]     STREAM     HÖRT         13683    /var/run/samba/nmbd/unexpected
unix  2      [ ACC ]     STREAM     HÖRT         8069     /var/run/dhcpcd.sock
unix  2      [ ACC ]     STREAM     HÖRT         8071     /var/run/dhcpcd.unpriv.sock
unix  2      [ ACC ]     STREAM     HÖRT         8392     /run/systemd/private
unix  2      [ ACC ]     STREAM     HÖRT         8406     /run/systemd/journal/stdout
unix  2      [ ACC ]     STREAM     HÖRT         111848   /run/user/1000/systemd/private
unix  2      [ ACC ]     STREAM     HÖRT         111853   /run/user/1000/gnupg/S.gpg-agent.browser
unix  2      [ ACC ]     STREAM     HÖRT         111856   /run/user/1000/gnupg/S.gpg-agent.ssh
unix  2      [ ACC ]     STREAM     HÖRT         111858   /run/user/1000/gnupg/S.gpg-agent.extra
unix  2      [ ACC ]     SEQPAKET   HÖRT         8433     /run/udev/control
unix  2      [ ACC ]     STREAM     HÖRT         111860   /run/user/1000/gnupg/S.gpg-agent
unix  2      [ ACC ]     STREAM     HÖRT         9715     /var/run/avahi-daemon/socket
unix  2      [ ACC ]     STREAM     HÖRT         8436     /run/systemd/fsck.progress
unix  2      [ ACC ]     STREAM     HÖRT         9718     /var/run/dbus/system_bus_socket


ps aux

USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.6   9620  5984 ?        Ss   Okt08   0:07 /sbin/init
root         2  0.0  0.0      0     0 ?        S    Okt08   0:00 [kthreadd]
root         4  0.0  0.0      0     0 ?        I<   Okt08   0:00 [kworker/0:0H]
root         6  0.0  0.0      0     0 ?        I<   Okt08   0:00 [mm_percpu_wq]
root         7  0.0  0.0      0     0 ?        S    Okt08   0:29 [ksoftirqd/0]
root         8  0.0  0.0      0     0 ?        I    Okt08   0:27 [rcu_sched]
root         9  0.0  0.0      0     0 ?        I    Okt08   0:00 [rcu_bh]
root        10  0.0  0.0      0     0 ?        S    Okt08   0:00 [migration/0]
root        11  0.0  0.0      0     0 ?        S    Okt08   0:00 [cpuhp/0]
root        12  0.0  0.0      0     0 ?        S    Okt08   0:00 [cpuhp/1]
root        13  0.0  0.0      0     0 ?        S    Okt08   0:00 [migration/1]
root        14  0.0  0.0      0     0 ?        S    Okt08   0:05 [ksoftirqd/1]
root        16  0.0  0.0      0     0 ?        I<   Okt08   0:00 [kworker/1:0H]
root        17  0.0  0.0      0     0 ?        S    Okt08   0:00 [cpuhp/2]
root        18  0.0  0.0      0     0 ?        S    Okt08   0:00 [migration/2]
root        19  0.0  0.0      0     0 ?        S    Okt08   0:03 [ksoftirqd/2]
root        21  0.0  0.0      0     0 ?        I<   Okt08   0:00 [kworker/2:0H]
root        22  0.0  0.0      0     0 ?        S    Okt08   0:00 [cpuhp/3]
root        23  0.0  0.0      0     0 ?        S    Okt08   0:00 [migration/3]
root        24  0.0  0.0      0     0 ?        S    Okt08   0:00 [ksoftirqd/3]
root        26  0.0  0.0      0     0 ?        I<   Okt08   0:00 [kworker/3:0H]
root        27  0.0  0.0      0     0 ?        S    Okt08   0:00 [kdevtmpfs]
root        28  0.0  0.0      0     0 ?        I<   Okt08   0:00 [netns]
root        33  0.0  0.0      0     0 ?        S    Okt08   0:00 [khungtaskd]
root        34  0.0  0.0      0     0 ?        S    Okt08   0:00 [oom_reaper]
root        35  0.0  0.0      0     0 ?        I<   Okt08   0:00 [writeback]
root        36  0.0  0.0      0     0 ?        S    Okt08   0:00 [kcompactd0]
root        37  0.0  0.0      0     0 ?        I<   Okt08   0:00 [crypto]
root        38  0.0  0.0      0     0 ?        I<   Okt08   0:00 [kblockd]
root        39  0.0  0.0      0     0 ?        I<   Okt08   0:00 [watchdogd]
root        40  0.0  0.0      0     0 ?        I<   Okt08   0:00 [rpciod]
root        41  0.0  0.0      0     0 ?        I<   Okt08   0:00 [xprtiod]
root        44  0.0  0.0      0     0 ?        S    Okt08   0:02 [kswapd0]
root        45  0.0  0.0      0     0 ?        I<   Okt08   0:00 [nfsiod]
root        55  0.0  0.0      0     0 ?        I<   Okt08   0:00 [kthrotld]
root        56  0.0  0.0      0     0 ?        I<   Okt08   0:00 [iscsi_eh]
root        57  0.0  0.0      0     0 ?        I<   Okt08   0:00 [dwc_otg]
root        58  0.0  0.0      0     0 ?        I<   Okt08   0:00 [DWC Notificatio]
root        59  0.0  0.0      0     0 ?        S<   Okt08   0:00 [vchiq-slot/0]
root        60  0.0  0.0      0     0 ?        S<   Okt08   0:00 [vchiq-recy/0]
root        61  0.0  0.0      0     0 ?        S<   Okt08   0:00 [vchiq-sync/0]
root        62  0.0  0.0      0     0 ?        S    Okt08   0:00 [vchiq-keep/0]
root        63  0.0  0.0      0     0 ?        S<   Okt08   0:00 [SMIO]
root        66  0.0  0.0      0     0 ?        S    Okt08   0:28 [mmcqd/0]
root        67  0.0  0.0      0     0 ?        S    Okt08   0:09 [jbd2/mmcblk0p2-]
root        68  0.0  0.0      0     0 ?        I<   Okt08   0:00 [ext4-rsv-conver]
root        69  0.0  0.0      0     0 ?        I<   Okt08   0:00 [ipv6_addrconf]
root        85  0.0  0.0      0     0 ?        I<   Okt08   0:00 [kworker/0:1H]
root        96  0.1  0.8  29176  7936 ?        Ss   Okt08   3:39 /lib/systemd/systemd-journald
root       117  0.0  0.0      0     0 ?        S    Okt08   0:00 [scsi_eh_0]
root       118  0.0  0.0      0     0 ?        I<   Okt08   0:00 [scsi_tmf_0]
root       119  0.0  0.0      0     0 ?        S    Okt08   0:08 [usb-storage]
root       124  0.0  0.3  14340  3092 ?        Ss   Okt08   0:01 /lib/systemd/systemd-udevd
root       233  0.0  0.1   4632  1700 ?        Ss   Okt08   0:00 /sbin/mount.ntfs-3g /dev/sda1 /media/usbstick -o rw,noatime,utf8,uid=1000,gid=1000
systemd+   260  0.0  0.4  17280  3876 ?        Ssl  Okt08   0:00 /lib/systemd/systemd-timesyncd
root       301  0.0  0.3  23748  2964 ?        Ssl  Okt08   0:46 /usr/sbin/rsyslogd -n
root       309  0.3  2.0  60276 19816 ?        Ssl  Okt08   8:06 /usr/bin/python /usr/local/bin/meyectl startserver -c /etc/motioneye/motioneye.conf
avahi      314  0.0  0.3   6404  3088 ?        Ss   Okt08   0:00 avahi-daemon: running [raspberrypi.local]
nobody     317  0.0  0.2   5296  2464 ?        Ss   Okt08   0:01 /usr/sbin/thd --triggers /etc/triggerhappy/triggers.d/ --socket /run/thd.socket --user nobody --deviceg
root       319  0.0  0.4   7412  4264 ?        Ss   Okt08   0:00 /lib/systemd/systemd-logind
root       324  0.0  0.2   5296  2416 ?        Ss   Okt08   0:00 /usr/sbin/cron -f
message+   325  0.0  0.3   6512  3384 ?        Ss   Okt08   0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
root       333  0.0  0.0      0     0 ?        I<   Okt08   0:00 [cfg80211]
avahi      335  0.0  0.0   6404   324 ?        S    Okt08   0:00 avahi-daemon: chroot helper
root       394  0.0  0.0      0     0 ?        I<   Okt08   0:01 [kworker/2:1H]
root       395  0.0  0.0      0     0 ?        I<   Okt08   0:00 [kworker/3:1H]
root       396  0.0  0.0      0     0 ?        I<   Okt08   0:00 [kworker/1:1H]
root       493  0.0  0.1   2884  1664 ?        Ss   Okt08   0:16 /sbin/dhcpcd -q -w
pi         495  0.2 10.5 348672 100140 ?       Ssl  Okt08   6:09 /usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt/bin/java -Djava.awt.headless=true -jar /home/pi/jdownloader/JD
root       508  0.0  0.1   4196  1360 tty1     Ss+  Okt08   0:00 /sbin/agetty --noclear tty1 linux
root       509  0.0  0.1   3972  1808 ?        Ss+  Okt08   0:00 /sbin/agetty --keep-baud 115200,38400,9600 ttyAMA0 vt220
root       512  0.0  0.5  10208  5312 ?        Ss   Okt08   0:00 /usr/sbin/sshd -D
root       520  0.0  0.5  26480  5372 ?        Ss   Okt08   0:11 /usr/sbin/nmbd
fhem       521  0.3  5.3  54752 50428 ?        S    Okt08   8:39 /usr/bin/perl fhem.pl fhem.cfg
root       585 39.8  7.0 183280 66524 ?        Sl   Okt08 1041:40 /usr/bin/motion -n -c /etc/motioneye/motion.conf -d 5
root       592  0.0  1.2  32372 12248 ?        S    Okt08   0:00 /usr/bin/python /usr/local/bin/meyectl startserver -c /etc/motioneye/motioneye.conf
root       600  0.0  1.4  40668 13756 ?        Ss   Okt08   0:00 /usr/sbin/smbd
root       601  0.0  0.5  38652  4960 ?        S    Okt08   0:00 /usr/sbin/smbd
root       602  0.0  0.5  38664  4816 ?        S    Okt08   0:00 /usr/sbin/smbd
root       604  0.0  0.6  40656  5764 ?        S    Okt08   0:01 /usr/sbin/smbd
root     22755  0.0  0.0      0     0 ?        I    10:16   0:01 [kworker/u8:1]
root     26168  0.0  0.0      0     0 ?        I    13:53   0:01 [kworker/3:1]
root     28278  0.0  0.0      0     0 ?        I    16:16   0:00 [kworker/u8:0]
root     30452  0.0  0.0      0     0 ?        I    18:44   0:00 [kworker/0:2]
root     30508  0.0  0.0      0     0 ?        I    18:58   0:00 [kworker/0:1]
root     30511  0.0  0.0      0     0 ?        I    18:59   0:00 [kworker/1:0]
root     30580  0.0  0.0      0     0 ?        I    19:01   0:00 [kworker/3:0]
root     30639  0.0  0.0      0     0 ?        I    19:14   0:00 [kworker/1:2]
root     30642  0.0  0.0      0     0 ?        I    19:15   0:00 [kworker/2:2]
root     30781  0.0  0.0      0     0 ?        I    19:21   0:00 [kworker/2:0]
root     30783  0.0  0.0      0     0 ?        I    19:21   0:00 [kworker/1:1]
root     30840  0.0  0.0      0     0 ?        I    19:25   0:00 [kworker/u8:2]
root     30845  0.0  0.0      0     0 ?        I    19:25   0:00 [kworker/1:3]
root     30846  0.1  0.6  11528  5752 ?        Ss   19:25   0:00 sshd: pi [priv]
pi       30851  0.0  0.5   9656  4948 ?        Ss   19:25   0:00 /lib/systemd/systemd --user
pi       30854  0.0  0.1  11284  1296 ?        S    19:25   0:00 (sd-pam)
pi       30861  0.0  0.4  11528  3832 ?        S    19:25   0:00 sshd: pi@pts/0
pi       30864  0.1  0.4   5864  3800 pts/0    Ss   19:25   0:00 -bash
root     30882  0.0  0.0      0     0 ?        I    19:26   0:00 [kworker/2:1]
pi       30888  0.0  0.3   7740  2960 pts/0    R+   19:28   0:00 ps aux


Ich kann beides leider nicht finden! Und nun?
Titel: Antw:myBroker: Can't connect to 127.0.0.1:1883: Connection refused
Beitrag von: kumue am 10 Oktober 2018, 20:52:56
bei der ausgabe von ps aux sehe ich keinen laufenden mosquitto prozess...

edit: den prozess 300 aus dem ersten thread gibts in der prozessliste nicht mehr
Titel: Antw:myBroker: Can't connect to 127.0.0.1:1883: Connection refused
Beitrag von: UnbekannterNr1 am 10 Oktober 2018, 21:02:03
Was sagt mir das jetzt? Was soll ich tun? Ich bin da leider nicht so firm!

Scheint aber noch zu laufen!:

pi@raspberrypi:~ $ sudo service mosquitto status
● mosquitto.service - LSB: mosquitto MQTT v3.1 message broker
   Loaded: loaded (/etc/init.d/mosquitto; generated; vendor preset: enabled)
   Active: active (exited) since Mon 2018-10-08 23:52:09 CEST; 1 day 21h ago
     Docs: man:systemd-sysv-generator(8)
  Process: 300 ExecStart=/etc/init.d/mosquitto start (code=exited, status=0/SUCCESS)
      CPU: 0
   CGroup: /system.slice/mosquitto.service

Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
Titel: Antw:myBroker: Can't connect to 127.0.0.1:1883: Connection refused
Beitrag von: kumue am 10 Oktober 2018, 21:08:29
starte ihn wieder mit
sudo service mosquitto start

Installierte hatte ich nach dieser Anleitung
http://blog.wenzlaff.de/?p=6487 (http://blog.wenzlaff.de/?p=6487)
Titel: Antw:myBroker: Can't connect to 127.0.0.1:1883: Connection refused
Beitrag von: Christoph Morrison am 10 Oktober 2018, 21:10:32
Was sagt denn der Log von Mosquitto?

Kannst du mit folgenden Settings in der mosquitto.conf aktivieren:


log_dest file /var/log/mosquitto/mosquitto.log
log_type all


Liegt dann unter /var/log/mosquitto/mosquitto.log
Titel: Antw:myBroker: Can't connect to 127.0.0.1:1883: Connection refused
Beitrag von: UnbekannterNr1 am 10 Oktober 2018, 21:28:51
Installiert habe ich es nach der Anleitung aus der Fhem Wiki. Es lief ja bis vorgestern auch einwandfrei.
https://wiki.fhem.de/wiki/MQTT_Einführung

Hier mal der mosqitto log:

1538108708: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538110509: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538112310: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538114111: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538115912: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538117713: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538119514: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538121315: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538123116: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538124917: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538126718: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538128519: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538130320: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538132121: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538133922: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538135723: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538137526: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538139327: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538141014: Socket error on client DVES_481002, disconnecting.
1538141029: Socket error on client DVES_4AC793, disconnecting.
1538141043: Socket error on client POW202, disconnecting.
1538141045: Socket error on client DVES_98F62E, disconnecting.
1538141063: Socket error on client Basic01, disconnecting.
1538141064: New connection from 192.168.2.31 on port 1883.
1538141064: New client connected from 192.168.2.31 as DVES_4AC793 (c1, k15, u'DVES_USER').
1538141064: New connection from 192.168.2.29 on port 1883.
1538141064: New client connected from 192.168.2.29 as DVES_98F62E (c1, k15, u'DVES_USER').
1538141065: New connection from 192.168.2.32 on port 1883.
1538141065: New client connected from 192.168.2.32 as POW202 (c1, k15, u'DVES_USER').
1538141065: New connection from 192.168.2.33 on port 1883.
1538141065: New client connected from 192.168.2.33 as Basic01 (c1, k15, u'DVES_USER').
1538141065: New connection from 192.168.2.34 on port 1883.
1538141065: New client connected from 192.168.2.34 as DVES_481002 (c1, k15, u'DVES_USER').
1538141128: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538142929: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538144730: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538146531: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538148332: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538150133: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538151934: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538153735: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538155536: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538157337: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538159138: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538160939: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538162740: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538164541: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538166342: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538168143: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538169944: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538171745: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538173546: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538175347: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538177148: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538178949: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538180750: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538182551: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538184352: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538186153: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538187954: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538189755: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538191556: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538193357: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538195158: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538196959: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538198760: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538200561: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538202362: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538204163: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538205969: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538207770: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538209571: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538211372: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538213173: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538214974: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538216775: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538218576: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538220377: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538222178: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538223979: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538225780: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538227581: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538229382: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538231183: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538232984: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538234785: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538236586: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538238387: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538240188: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538241989: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538243790: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538245591: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538247392: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538249193: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538250994: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538252795: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538254596: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538256397: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538258198: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538259999: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538261800: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538263601: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538265402: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538267203: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538269004: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538270805: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538272606: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538274407: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538276208: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538278009: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538279810: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1538281611: Saving in-memory database to


Vielleicht schnappe ich mir auch ne neue SD Karte, und setze es einfach neu auf....
Titel: Antw:myBroker: Can't connect to 127.0.0.1:1883: Connection refused
Beitrag von: Christoph Morrison am 10 Oktober 2018, 21:53:05
Wenn der Log wirklich so endet, dann ist dein Mosquitto abgestürzt und das erklärt auch die connection refused-Meldungen.
Nächste Station ist dann der Syslog.
Titel: Antw:myBroker: Can't connect to 127.0.0.1:1883: Connection refused
Beitrag von: UnbekannterNr1 am 11 Oktober 2018, 15:14:55
So,
ich hatte jetzt die Faxe dick. Ich habe meinen Raspi neu aufgesetzt. Jetzt funktioniert es wieder. Trotzdem Danke für eure Hilfe!!