Everything is blocked! And I do not understand the manuals. I copied the file https://github.com/weewx/weewx/blob/master/util/systemd/weewx.service on /etc/systemd system/
*# systemctl status weewx● weewx.service - weewx weather system Loaded: loaded (/etc/systemd/system/weewx.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Sun 2021-04-18 08:58:19 CEST; 1min 7s ago Process: 2183 ExecStart=/home/weewx/bin/weewxd --daemon --pidfile=/var/run/weewx.pid /home/weewx/weewx.conf (code=exited, status=203/EXEC)avr 18 08:58:19 pi systemd[2183]: weewx.service: Failed at step EXEC spawning /home/weewx/bin/weewxd: No such file or directoryavr 18 08:58:19 pi systemd[1]: Starting weewx weather system...avr 18 08:58:19 pi systemd[1]: weewx.service: Control process exited, code=exited, status=203/EXECavr 18 08:58:19 pi systemd[1]: weewx.service: Failed with result 'exit-code'.avr 18 08:58:19 pi systemd[1]: Failed to start weewx weather system.* *syslog* *$ sudo tail -f /var/log/syslog | tee /var/tmp/SysLogApr 18 08:49:12 pi dbus-daemon[348]: [system] Activating via systemd: service name='org.freedesktop.ColorManager' unit='colord.service' requested by ':1.7' (uid=0 pid=356 comm="/usr/sbin/cupsd -l ")Apr 18 08:49:12 pi systemd[1]: Starting Manage, Install and Generate Color Profiles...Apr 18 08:49:12 pi dbus-daemon[348]: [system] Successfully activated service 'org.freedesktop.ColorManager'Apr 18 08:49:12 pi systemd[1]: Started Manage, Install and Generate Color Profiles.Apr 18 08:49:12 pi colord[962]: failed to get session [pid 356]: Aucune donnée disponibleApr 18 08:49:18 pi systemd[1]: systemd-fsckd.service: Succeeded.Apr 18 08:49:30 pi systemd-timesyncd[304]: Synchronized to time server for the first time 193.104.37.238:123 (2.debian.pool.ntp.org).Apr 18 08:49:31 pi dbus-daemon[660]: [session uid=1000 pid=660] Activating service name='ca.desrt.dconf' requested by ':1.20' (uid=1000 pid=986 comm="mousepad /home/pi/Desktop/aide-m??moire.txt ")Apr 18 08:49:31 pi dbus-daemon[660]: [session uid=1000 pid=660] Successfully activated service 'ca.desrt.dconf'Apr 18 08:49:40 pi systemd[1]: systemd-hostnamed.service: Succeeded.Apr 18 08:50:13 pi CRON[1109]: (root) CMD (/home/pi/Documents/Develop/tfa.sh > /home/pi/Documents/Develop/tfa.log)Apr 18 08:51:01 pi CRON[1214]: (root) CMD (php /home/pi/MB_WeeWX/meteobelgique.php > /dev/null )Apr 18 08:51:46 pi systemd[1]: Starting weewx weather system...Apr 18 08:51:46 pi systemd[1324]: weewx.service: Failed to execute command: No such file or directoryApr 18 08:51:46 pi systemd[1324]: weewx.service: Failed at step EXEC spawning /home/weewx/bin/weewxd: No such file or directoryApr 18 08:51:46 pi systemd[1]: weewx.service: Control process exited, code=exited, status=203/EXECApr 18 08:51:46 pi systemd[1]: weewx.service: Failed with result 'exit-code'.Apr 18 08:51:46 pi systemd[1]: Failed to start weewx weather system.Apr 18 08:55:01 pi CRON[1733]: (root) CMD (/home/pi/Documents/Develop/tfa.sh > /home/pi/Documents/Develop/tfa.log)Apr 18 08:57:38 pi systemd[1]: Reloading.Apr 18 08:57:38 pi systemd[1]: /etc/systemd/system/weewx.service:10: PIDFile= references path below legacy directory /var/run/, updating /var/run/weewx.pid → /run/weewx.pid; please update the unit file accordingly.Apr 18 08:58:19 pi systemd[2183]: weewx.service: Failed to execute command: No such file or directoryApr 18 08:58:19 pi systemd[2183]: weewx.service: Failed at step EXEC spawning /home/weewx/bin/weewxd: No such file or directoryApr 18 08:58:19 pi systemd[1]: Starting weewx weather system...Apr 18 08:58:19 pi systemd[1]: weewx.service: Control process exited, code=exited, status=203/EXECApr 18 08:58:19 pi systemd[1]: weewx.service: Failed with result 'exit-code'.Apr 18 08:58:19 pi systemd[1]: Failed to start weewx weather system.Apr 18 09:00:01 pi CRON[2413]: (root) CMD (/home/pi/Documents/Develop/tfa.sh > /home/pi/Documents/Develop/tfa.log)Apr 18 09:01:01 pi CRON[2547]: (root) CMD (php /home/pi/MB_WeeWX/meteobelgique.php > /dev/null )Apr 18 09:03:51 pi systemd[1]: Starting Cleanup of Temporary Directories...Apr 18 09:03:51 pi systemd-tmpfiles[2890]: [/usr/lib/tmpfiles.d/vsftpd.conf:1] Line references path below legacy directory /var/run/, updating /var/run/vsftpd/empty → /run/vsftpd/empty; please update the tmpfiles.d/ drop-in file accordingly.Apr 18 09:03:51 pi systemd[1]: systemd-tmpfiles-clean.service: Succeeded.Apr 18 09:03:51 pi systemd[1]: Started Cleanup of Temporary Directories.Apr 18 09:05:01 pi CRON[3031]: (root) CMD (/home/pi/Documents/Develop/tfa.sh > /home/pi/Documents/Develop/tfa.log)Apr 18 09:09:00 pi systemd[1]: Starting Clean php session files...Apr 18 09:09:01 pi systemd[1]: phpsessionclean.service: Succeeded.Apr 18 09:09:01 pi systemd[1]: Started Clean php session files.Apr 18 09:09:01 pi CRON[3571]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)Apr 18 09:10:01 pi CRON[3694]: (root) CMD (/home/pi/Documents/Develop/tfa.sh > /home/pi/Documents/Develop/tfa.log)Apr 18 09:11:01 pi CRON[3823]: (root) CMD (php /home/pi/MB_WeeWX/meteobelgique.php > /dev/null )* Le dimanche 18 avril 2021 à 02:58:23 UTC+2, [email protected] a écrit : > see weewx util/systemd/weewx.service for an example config file. you will > copy this to /etc/systemd/system/. > see online manual systemd.unit(5) to understand its content (you are > unlikely to need to change the file) > > see online manual systemctl(1) for the commands to start/stop weewx > service, once configured as above. > the key command are > # systemctl [start | stop | enable | status] weewx > > (after copying file into /etc/systemd/…, you should run > # systemctl daemon-reload > to ensure systemd realises it has been updated) > > On 17 Apr 2021, at 11:57 pm, P C <[email protected]> wrote: > > This is that not know what to set as a parameter for the systemctl command. > > > > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/6b53e936-e473-43a4-bb4d-3742feb8dda1n%40googlegroups.com.
