Der pi läuft bei mir ja über eine ssd worauf ich es immer versucht hatte. hab ja dann immer alles mit purge mosquitto gelöscht hatte aber das gefühl das nicht alles weg ist. hab ihn jetzt mit der sd karte gebootet und da es nochmal probiert läuft beim ersten anlauf. werde wohl die ssd nochmal komplett löschen und alles von vorne beginnen
Posts by DiveMaschine
-
-
Unter root sagt er mir das ich keine berechtigung habe und beim pi nutzer sagt er -bash: /lib/systemd/system/mosquitto.service:: Datei oder Verzeichnis nicht gefunden
kann also nichts eintragen
-
Er sagt mir da das ich keine berechtiging habe bin aber sogar als root angemeldet.
/var/log/mosquitto/mosquitto.log
bash: /var/log/mosquitto/mosquitto.log: Keine BerechtigungAls erstes über einen container (Docker) da läuft auch grafana nodered influxdb das geht alles nur mosquitto nicht. dann hab ich alles gelöscht und mit apt probiert geht auch nicht.
-
:~ $ cat /etc/mosquitto/mosquitto.conf
# Place your local configuration in /etc/mosquitto/conf.d/
#
# A full description of the configuration file is at
# /usr/share/doc/mosquitto/examples/mosquitto.conf.examplepid_file /run/mosquitto/mosquitto.pid
persistence true
persistence_location /var/lib/mosquitto/log_dest file /var/log/mosquitto/mosquitto.log
include_dir /etc/mosquitto/conf.d
listener 1883
allow_anonymous true~ $ journalctl -xeu mosquitto.service
Okt 07 00:06:32 raspberrypi5 systemd[1]: Stopped mosquitto.service - Mosquitto >
░░ Subject: A stop job for unit mosquitto.service has finished
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A stop job for unit mosquitto.service has finished.
░░
░░ The job identifier is 1011 and the job result is done.
Okt 07 00:06:32 raspberrypi5 systemd[1]: mosquitto.service: Start request repea>
Okt 07 00:06:32 raspberrypi5 systemd[1]: mosquitto.service: Failed with result >
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit mosquitto.service has entered the 'failed' state with result 'exit->
Okt 07 00:06:32 raspberrypi5 systemd[1]: Failed to start mosquitto.service - Mo>
░░ Subject: A start job for unit mosquitto.service has failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit mosquitto.service has finished with a failure.
░░
░░ The job identifier is 1011 and the job result is failed.
lines 233-255/255 (END) -
jetzt geht ja alles. ist ein 52Pi von GeekPi-store und eine Kingston 250Gb
-
Hallo,
ich bekomme Mosquitto einfach nicht zum Laufen ich habe jetzt schon mehrere Stunden probiert das Internet durch sucht und auch echt fast jede Anleitung probiert aber es klappt einfach nicht. Das ist das was er mir die ganze Zeit als Fehler sagt. Hoffe es hilft als info ansonsten würde ich auch alles was noch benötig wird nach tragen.
sudo systemctl restart mosquitto
Job for mosquitto.service failed because the control process exited with error code.
See "systemctl status mosquitto.service" and "journalctl -xeu mosquitto.service" for details.
patrick@raspberrypi5:~ $ systemctl status mosquitto.service
× mosquitto.service - Mosquitto MQTT Broker
Loaded: loaded (/lib/systemd/system/mosquitto.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Sun 2024-10-06 22:24:46 CEST; 42s ago
Docs: man:mosquitto.conf(5)
man:mosquitto(8)
Process: 3456 ExecStartPre=/bin/mkdir -m 740 -p /var/log/mosquitto (code=exited, status=0/SUCCESS)
Process: 3457 ExecStartPre=/bin/chown mosquitto /var/log/mosquitto (code=exited, status=0/SUCCESS)
Process: 3458 ExecStartPre=/bin/mkdir -m 740 -p /run/mosquitto (code=exited, status=0/SUCCESS)
Process: 3459 ExecStartPre=/bin/chown mosquitto /run/mosquitto (code=exited, status=0/SUCCESS)
Process: 3460 ExecStart=/usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf (code=exited, status>
Main PID: 3460 (code=exited, status=1/FAILURE)
CPU: 15msOkt 06 22:24:46 raspberrypi5 systemd[1]: mosquitto.service: Scheduled restart job, restart counter is>
Okt 06 22:24:46 raspberrypi5 systemd[1]: Stopped mosquitto.service - Mosquitto MQTT Broker.
Okt 06 22:24:46 raspberrypi5 systemd[1]: mosquitto.service: Start request repeated too quickly.
Okt 06 22:24:46 raspberrypi5 systemd[1]: mosquitto.service: Failed with result 'exit-code'.
Okt 06 22:24:46 raspberrypi5 systemd[1]: Failed to start mosquitto.service - Mosquitto MQTT Broker.
lines 1-18/18 (END)...skipping...░ The process' exit code is 'exited' and its exit status is 1.
Okt 06 22:24:45 raspberrypi5 systemd[1]: mosquitto.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/supportThe unit mosquitto.service has entered the 'failed' state with result 'exit-code'.
Okt 06 22:24:46 raspberrypi5 systemd[1]: Failed to start mosquitto.service - Mosquitto MQTT Broker.
░░ Subject: A start job for unit mosquitto.service has failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support -
Vielen Dank aber nein das war nicht der Fehler
Hab mir ein usb Adapter geholt für die nvme sie formatiert und neu geflasht mit dem OS jetzt läuft alles dank
-
Hallo, ich habe ein Problem beim booten meines pi5 aber nur wenn die ssd nvme verbaut ist. Von der sd karte geht es einwandfrei. Wer kann mir helfen bei dem Problem