Beiträge von Bruttus

    horchi
    In Raspbian Buster 10 habe ich SSH in der Schnittstellenkonfiguration aktiviert.
    Ich habe die Internetadresse meines (Port 22 war dort schon eingestellt) Raspberry 400 in das PuTTY-Fenster am PC eingegeben, ein Terminalfenster öffnete sich und nach Eingabe von Login und Passwort war ich in Raspbian. Ich habe einige Befehle ausprobiert und es hat funktioniert.
    Oder reicht es nicht und ich muss etwas anderes installieren oder etwas am Router ändern?

    @ horchi
    Es sieht so aus, als würde der MariaDb-Server ausgeführt.


    kvě 07 18:58:07 raspberrypi systemd[1]: Starting MariaDB 10.3.38 database server...

    kvě 07 18:58:09 raspberrypi systemd[1]: Started MariaDB 10.3.38 database server.

    kvě 07 18:58:09 raspberrypi /etc/mysql/debian-start[650]: /usr/bin/mysql_upgrade: the '--basedir' option is always ignored

    kvě 07 18:58:09 raspberrypi /etc/mysql/debian-start[650]: Looking for 'mysql' as: /usr/bin/mysql

    kvě 07 18:58:09 raspberrypi /etc/mysql/debian-start[650]: Looking for 'mysqlcheck' as: /usr/bin/mysqlcheck

    kvě 07 18:58:09 raspberrypi /etc/mysql/debian-start[650]: This installation of MariaDB is already upgraded to 10.3.38-MariaDB.

    kvě 07 18:58:09 raspberrypi /etc/mysql/debian-start[650]: There is no need to run mysql_upgrade again for 10.3.38-MariaDB.

    kvě 07 18:58:09 raspberrypi /etc/mysql/debian-start[650]: You can use --force if you still want to run mysql_upgrade


    Wo finde ich die Benutzertabelle? /etc/ ?

    horchi

    also habe ich p4d über befehle installiert


    wget http://www.jwendel.de/p4d/install-deb.sh -O /tmp/install-deb.sh
    sudo bash /tmp/install-deb.sh


    Ich habe P4d mit Befehl gestartet


    systemctl start p4d


    und hier die fehlermeldung


    4d -n -t -1 2

    Read 5 option from /etc/p4d/daemon.conf

    Dictionary '/etc/p4d/database.dat' loaded

    Try conneting to database

    SQL-Error in 'connecting to database' - Access denied for user 'p4'@'localhost' (1698)

    Fatal, lost connection to mysql server, aborting pending actions

    Error, connecting to database at 'localhost' on port (3306) failed

    Error: Initial database connect failed


    Ich habe im Internet über SSH gelesen, kann es aber noch nicht einrichten.


    Hallo Horchi, es geht nicht! Ich habe Raspbian Buster Lite installiert und bei der Installation


    wget http://www.jwendel.de/p4d/install-deb.sh -O /tmp/install-deb.sh
    sudo bash /tmp/install-deb.sh


    wirft es immer noch Fehler, z.B.


    Failed to start W1 to MQTT service

    Failed to start p4d control daemon


    Das Problem ist, dass ich noch nie mit Linux gearbeitet habe und nicht weiß, wie ich Fehlermeldungen in die Lite-Version kopieren kann.
    Wird es auch die ungeschnittene Version auf Raspbian Buster installieren? Dann könnte ich die Fehlermeldungen ins Forum übertragen.

    Hallo Horchi
    Hier ist mehr Syslog


    syslog

    grep "p4d." /var/log/syslog

    May 4 18:35:12 raspberrypi systemd[1]: p4d.service: Control process exited, code=exited, status=127/n/a

    May 4 18:35:12 raspberrypi systemd[1]: p4d.service: Failed with result 'exit-code'.

    May 4 18:36:00 raspberrypi systemd[1]: p4d.service: Scheduled restart job, restart counter is at 1.

    May 4 18:36:00 raspberrypi systemd[1]: p4d.service: Control process exited, code=exited, status=127/n/a

    May 4 18:36:00 raspberrypi systemd[1]: p4d.service: Failed with result 'exit-code'.

    May 4 18:36:30 raspberrypi systemd[1]: p4d.service: Scheduled restart job, restart counter is at 2.

    May 4 18:36:30 raspberrypi systemd[1]: p4d.service: Control process exited, code=exited, status=127/n/a

    May 4 18:36:30 raspberrypi systemd[1]: p4d.service: Failed with result 'exit-code'.

    May 4 18:37:00 raspberrypi systemd[1]: p4d.service: Scheduled restart job, restart counter is at 3.

    May 4 18:37:00 raspberrypi systemd[1]: p4d.service: Control process exited, code=exited, status=127/n/a

    May 4 18:37:00 raspberrypi systemd[1]: p4d.service: Failed with result 'exit-code'.

    May 4 18:37:30 raspberrypi systemd[1]: p4d.service: Scheduled restart job, restart counter is at 4.

    May 4 18:37:31 raspberrypi systemd[1]: p4d.service: Control process exited, code=exited, status=127/n/a

    May 4 18:37:31 raspberrypi systemd[1]: p4d.service: Failed with result 'exit-code'.

    May 4 18:38:01 raspberrypi systemd[1]: p4d.service: Scheduled restart job, restart counter is at 5.

    May 4 18:38:01 raspberrypi systemd[1]: p4d.service: Start request repeated too quickly.

    May 4 18:38:01 raspberrypi systemd[1]: p4d.service: Failed with result 'exit-code'.

    May 4 18:38:24 raspberrypi systemd[1]: p4d.service: Start request repeated too quickly.

    May 4 18:38:24 raspberrypi systemd[1]: p4d.service: Failed with result 'exit-code'.

    May 4 18:41:24 raspberrypi systemd[1]: p4d.service: Control process exited, code=exited, status=127/n/a

    May 4 18:41:24 raspberrypi systemd[1]: p4d.service: Failed with result 'exit-code'.

    May 4 18:41:54 raspberrypi systemd[1]: p4d.service: Scheduled restart job, restart counter is at 1.

    May 4 18:41:54 raspberrypi systemd[1]: p4d.service: Control process exited, code=exited, status=127/n/a

    May 4 18:41:54 raspberrypi systemd[1]: p4d.service: Failed with result 'exit-code'.

    May 4 18:42:24 raspberrypi systemd[1]: p4d.service: Scheduled restart job, restart counter is at 2.

    May 4 18:42:24 raspberrypi systemd[1]: p4d.service: Control process exited, code=exited, status=127/n/a

    May 4 18:42:24 raspberrypi systemd[1]: p4d.service: Failed with result 'exit-code'.

    May 4 18:42:54 raspberrypi systemd[1]: p4d.service: Scheduled restart job, restart counter is at 3.

    May 4 18:42:54 raspberrypi systemd[1]: p4d.service: Control process exited, code=exited, status=127/n/a

    May 4 18:42:54 raspberrypi systemd[1]: p4d.service: Failed with result 'exit-code'.

    May 4 18:43:24 raspberrypi systemd[1]: p4d.service: Scheduled restart job, restart counter is at 4.

    May 4 18:43:24 raspberrypi systemd[1]: p4d.service: Control process exited, code=exited, status=127/n/a

    May 4 18:43:24 raspberrypi systemd[1]: p4d.service: Failed with result 'exit-code'.

    May 4 18:43:55 raspberrypi systemd[1]: p4d.service: Scheduled restart job, restart counter is at 5.

    May 4 18:43:55 raspberrypi systemd[1]: p4d.service: Start request repeated too quickly.

    May 4 18:43:55 raspberrypi systemd[1]: p4d.service: Failed with result 'exit-code'.

    May 4 19:31:13 raspberrypi systemd[1]: p4d.service: Control process exited, code=exited, status=127/n/a

    May 4 19:31:13 raspberrypi systemd[1]: p4d.service: Failed with result 'exit-code'.

    May 4 21:43:53 raspberrypi systemd[1]: p4d.service: Scheduled restart job, restart counter is at 1.

    May 4 21:43:53 raspberrypi systemd[1]: p4d.service: Control process exited, code=exited, status=127/n/a

    May 4 21:43:53 raspberrypi systemd[1]: p4d.service: Failed with result 'exit-code'.

    May 4 21:44:24 raspberrypi systemd[1]: p4d.service: Scheduled restart job, restart counter is at 2.

    May 4 21:44:24 raspberrypi systemd[1]: p4d.service: Control process exited, code=exited, status=127/n/a

    May 4 21:44:24 raspberrypi systemd[1]: p4d.service: Failed with result 'exit-code'.

    May 4 21:44:54 raspberrypi systemd[1]: p4d.service: Scheduled restart job, restart counter is at 3.

    May 4 21:44:54 raspberrypi systemd[1]: p4d.service: Control process exited, code=exited, status=127/n/a

    May 4 21:44:54 raspberrypi systemd[1]: p4d.service: Failed with result 'exit-code'.

    May 4 21:45:24 raspberrypi systemd[1]: p4d.service: Scheduled restart job, restart counter is at 4.

    May 4 21:45:24 raspberrypi systemd[1]: p4d.service: Control process exited, code=exited, status=127/n/a

    May 4 21:45:24 raspberrypi systemd[1]: p4d.service: Failed with result 'exit-code'.

    May 4 21:45:54 raspberrypi systemd[1]: p4d.service: Scheduled restart job, restart counter is at 5.

    May 4 21:45:54 raspberrypi systemd[1]: p4d.service: Start request repeated too quickly.

    May 4 21:45:54 raspberrypi systemd[1]: p4d.service: Failed with result 'exit-code'.

    wie geschrieben diese beiden Befehle und fertig, die Datenbank wird dabei installiert und eingerichtet. Danach nur noch einmal booten.


    Sollte es zu Fehlermeldungen kommen poste sie hier.


    Zitat

    Ich bin dieser Seite gefolgt und sie ist unten, ....

    Es gibt zwei Abschnitte zur Installation, Installation by package und Installation by source

    Der erste ist der mit den zwei Befehlen und passt wenn man Raspian Buster als OS verwendet. Bei dem zweiten Link kompiliert man alles aus den Quellen und installiert es manuell.


    Hallo Horsch
    Also habe ich das gesamte Rasbian-Betriebssystem neu installiert und p4d mit 2 Befehlen installiert.
    Ich stelle fest, dass ich keine Verbindung zum Boiler habe (ich habe die Verbindung noch nicht gelöst). Es wirft mir diese Berichte

    Es tut mir leid, ich kann immer noch keine Berichte posten, wie es hier üblich ist





    A stop job for unit p4d.service has finished.

    ░░

    ░░ The job identifier is 2105 and the job result is done.

    kvě 04 18:43:55 raspberrypi systemd[1]: p4d.service: Start request repeated too>

    kvě 04 18:43:55 raspberrypi systemd[1]: p4d.service: Failed with result 'exit-c>

    ░░ Subject: Unit failed

    ░░ Defined-By: systemd

    ░░ Support: https://www.debian.org/support

    ░░

    ░░ The unit p4d.service has entered the 'failed' state with result 'exit-code'.

    kvě 04 18:43:55 raspberrypi systemd[1]: Failed to start P4d Control Deamon.

    ░░ Subject: A start job for unit p4d.service has failed

    ░░ Defined-By: systemd

    ░░ Support: https://www.debian.org/support

    ░░

    ░░ A start job for unit p4d.service has finished with a failure.

    ░░

    ░░ The job identifier is 2105 and the job result is failed.

    kvě 04 18:45:42 raspberrypi dbus-daemon[789]: [session uid=1000 pid=789] Activa>

    kvě 04 18:45:42 raspberrypi dbus-daemon[789]: [session uid=1000 pid=789] Succes>

    kvě 04 18:45:44 raspberrypi dbus-daemon[789]: [session uid=1000 pid=789] Activa>

    kvě 04 18:45:44 raspberrypi dbus-daemon[789]: [session uid=1000 pid=789] Succes>

    Ja, ich installiere auf einem Raspberry Pi.

    Meinst du diese Befehle?
    "wget http://www.jwendel.de/p4d/install-deb.sh -O /tmp/install-deb.sh
    und sudo bash /tmp/install-deb.sh".

    Ich bin dieser Seite gefolgt und sie ist unten, um libwebsockets und mehr zu laden. Oder reichen diese beiden Befehle aus? Ich bin wegen des längeren Kabelproblems noch nicht mit dem Boiler verbunden.
    Wie gehe ich bei der Installation von „MariaDb Database and Mosquitto“ und der Installation des p4d:-Daemons vor?

    Ich habe ein 25 m3 Becken. Ich hatte 2 schwarze Flachkollektoren mit Pumpe und Automatisierung zur Erwärmung des Wassers im Pool. Die Kollektoren wurden auf dem Dach der Garage platziert, wo sich auch die Filteranlage befindet.Letztendlich habe ich die Erwärmung des Wassers durch die Kollektoren gestrichen, weil ich fand, dass jede Überdachung des Pools effizienter und billiger ist.

    Könnte ich nicht zB 9-polige COM-Klemmen an das LAN-Kabel anschließen und den FTDI/USB-Konverter nur mit dem Raspberry PI nutzen?

    Nein, das funktioniert nicht.

    Und die zweite Frage, wann handelt es sich eigentlich um eine RS232 20m lange COM1 Verlengerung vom Kessel und der USB/TFDI 232 Konverter wäre am anderen Ende der Verlengerung am Rasberry PI.

    In Ihrem obigen Beitrag haben Sie selbst die Verwendung eines kürzeren RS232-Verlängerungskabels für den Kessel erwähnt.