it was sudo systemctl - a lower case l not a digit 1
On Wednesday, 16 May 2018 05:59:23 UTC+3, Mark Roberts wrote: > > > sudo systemct1 returns an error message. command not found. > > >> Try "sudo systemctl status weewx" and give us the 'full' output of what >> it returns. It should return something that looks like the following. >> >> # sudo systemctl status weewx >> ● weewx.service - LSB: weewx weather system >> Loaded: loaded (/etc/init.d/weewx; bad; vendor preset: enabled) >> Active: active (running) since Tue 2018-05-15 09:56:30 PDT; 43s ago >> Docs: man:systemd-sysv-generator(8) >> CGroup: /system.slice/weewx.service >> └─4336 python /usr/bin/weewxd --daemon >> --pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf >> >> May 15 09:56:30 ubuntu-xenial weewx[4336]: manager: Starting backfill of >> daily summaries >> May 15 09:56:30 ubuntu-xenial weewx[4336]: restx: StationRegistry: >> Registration not requested. >> May 15 09:56:30 ubuntu-xenial weewx[4336]: restx: Wunderground: Posting >> not enabled. >> May 15 09:56:30 ubuntu-xenial weewx[4336]: restx: PWSweather: Posting not >> enabled. >> May 15 09:56:30 ubuntu-xenial weewx[4336]: restx: CWOP: Posting not >> enabled. >> May 15 09:56:30 ubuntu-xenial weewx[4336]: restx: WOW: Posting not >> enabled. >> May 15 09:56:30 ubuntu-xenial weewx[4336]: restx: AWEKAS: Posting not >> enabled. >> May 15 09:56:30 ubuntu-xenial weewx[4336]: engine: Starting up weewx >> version 3.8.0 >> May 15 09:56:30 ubuntu-xenial weewx[4336]: engine: Clock error is -0.11 >> seconds (positive is fast) >> May 15 09:56:30 ubuntu-xenial weewx[4336]: engine: Starting main packet >> loop. >> >> >> (if it gives you something at the end saying lines 1/17 in reverse >> highlight, hit 'q' to get out of that) >> >> Then wait for the next interval period which (probably) is 5 minutes if >> he took the defaults. Then do the systemctl command again and the output >> should have changed to something like the following. Note that it shows >> weewx is working as expected. >> >> # sudo systemctl status weewx >> ● weewx.service - LSB: weewx weather system >> Loaded: loaded (/etc/init.d/weewx; bad; vendor preset: enabled) >> Active: active (running) since Tue 2018-05-15 09:56:30 PDT; 4min 45s >> ago >> Docs: man:systemd-sysv-generator(8) >> CGroup: /system.slice/weewx.service >> └─4336 python /usr/bin/weewxd --daemon >> --pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf >> >> May 15 09:56:30 ubuntu-xenial weewx[4336]: restx: WOW: Posting not >> enabled. >> May 15 09:56:30 ubuntu-xenial weewx[4336]: restx: AWEKAS: Posting not >> enabled. >> May 15 09:56:30 ubuntu-xenial weewx[4336]: engine: Starting up weewx >> version 3.8.0 >> May 15 09:56:30 ubuntu-xenial weewx[4336]: engine: Clock error is -0.11 >> seconds (positive is fast) >> May 15 09:56:30 ubuntu-xenial weewx[4336]: engine: Starting main packet >> loop. >> May 15 10:00:15 ubuntu-xenial weewx[4336]: manager: Added record >> 2018-05-15 10:00:00 PDT (1526403600) to database 'weewx.sdb' >> May 15 10:00:15 ubuntu-xenial weewx[4336]: manager: Added record >> 2018-05-15 10:00:00 PDT (1526403600) to daily summary in 'weewx >> May 15 10:00:16 ubuntu-xenial weewx[4336]: cheetahgenerator: Generated 14 >> files for report StandardReport in 0.74 seconds >> May 15 10:00:17 ubuntu-xenial weewx[4336]: imagegenerator: Generated 49 >> images for StandardReport in 1.05 seconds >> May 15 10:00:17 ubuntu-xenial weewx[4336]: copygenerator: copied 9 files >> to /var/www/html/weewx >> >> >> >> -- 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]. For more options, visit https://groups.google.com/d/optout.
