On Monday, January 1, 2018 at 12:25:29 PM UTC-5, Cycle London wrote: > > Anyway, the system now appears to be running. > > root@weather:~# ps -ef | grep weather > avahi 322 1 0 2017 ? 00:00:17 avahi-daemon: running > [weather.local] >
you want this: ps ax | grep wee or, if you prefer: /etc/init.d/weewx status or, if you have taken the kool-aid: systemctl status weewx i'm partial to ps - no extra layers or ideologies :) > Still nothing in the HTML_ROOT however. That's fine I guess since it's > aliasing to /home/weewx/public_html but what should the permissions be on > that directory? > you can use nginx, lighthttpd, apache, or any web server you prefer. just symlink from the web server's document root to the weewx public_html directory, for example: ln -s /home/weewx/public_html /var/www/html/weewx public_html should already have the correct permissions (must be writable by whatever user owns the weewxd process). drwxr-xr-x 6 root root 4096 Jan 1 17:20 public_html > > And lynx localhost/weewx` still returns a 404 (with nothing in the httpd > log but just that: 404). > > Trying to hit the Pi on http from my Mac also returns a 404, which isn't > anything to do with name resolution as the Pi is in DNS and I can ping it > on its FQDN. > be sure that weewx is actually running. 'ps ax|grep wee' will tell you that, and if it is not running, take a look at /var/log/syslog to find out why it quit. just earlier today we found another usb failure mode for the wmr300 stations: https://groups.google.com/forum/#!topic/weewx-user/teVxjoRMOb8 you might want to grab the wmr300-0.19rc3.py driver from the end of that thread. but please check your syslog first and let me know if you go the same failure. it looks like "Operation timed out" and "Connection timed out" really are different types of failures (i suspect the latter is more common on raspberry pi, where the weewx service is up and running before the usb subsystem has been fully initialized). m -- 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.
