or to run directly, not as a daemon, try sudo weewxd /etc/weewx/weewx.conf
On Tuesday, 21 February 2017 08:54:41 UTC+2, Andrew Milner wrote: > 1. what were you trying to do with the command which you posted? > 2. how did you install weewx? If you used the deb install then try the > commands: > sudo /etc/init.d/weewx start and > sudo /etc/init.d/weewx stop > > to stop and start the weewx daemon - if you were trying to start weewx. > > > > > On Tuesday, 21 February 2017 08:47:16 UTC+2, Torbjørn Aasen wrote: > >> pi@raspberrypi:~ $ sudo weewxd weewx.conf >> Unable to open configuration file /home/pi/weewx.confTraceback (most >> recent call last): >> File "/usr/bin/weewxd", line 64, in <module> >> weewx.engine.main(options, args) >> File "/usr/share/weewx/weewx/engine.py", line 823, in main >> config_dict = getConfiguration(config_path) >> File "/usr/share/weewx/weewx/engine.py", line 922, in getConfiguration >> config_dict = configobj.ConfigObj(config_path, file_error=True) >> File "/usr/lib/python2.7/dist-packages/configobj.py", line 1229, in >> __init__ >> self._load(infile, configspec) >> File "/usr/lib/python2.7/dist-packages/configobj.py", line 1240, in >> _load >> raise IOError('Config file not found: "%s".' % self.filename) >> IOError: Config file not found: "/home/pi/weewx.conf". >> pi@raspberrypi:~ $ >> >> >> >> >> >> >> 2017-02-21 7:46 GMT+01:00 Andrew Milner <andrew.s...@gmail.com>: >> >>> Have you connected the weather station to the Pi?? The log is saying >>> that weewx cannot find the weather station plugged into the USB. >>> >>> If you want to run weewx without a weather station connected to the RPi >>> you must select 'simulator' as the station type. >>> >>> If you select a station type of WMR300 - as you have done - then the >>> station must be connected to the RPi for weewx to be able to run. >>> >>> >>> >>> >>> On Tuesday, 21 February 2017 08:35:56 UTC+2, Torbjørn Aasen wrote: >>> >>>> Feb 20 20:35:16 raspberrypi dhcpcd[436]: wlan0: fe80::222:7ff:fe4a:ebca >>>> router available >>>> Feb 20 20:35:16 raspberrypi dhcpcd[436]: wlan0: fe80::222:7ff:fe4a:ebca >>>> router available >>>> Feb 20 20:35:21 raspberrypi dhcpcd[436]: wlan0: fe80::222:7ff:fe4a:ebca >>>> router available >>>> Feb 20 20:35:24 raspberrypi dhcpcd[436]: wlan0: DHCPv6 REPLY: No >>>> Addresses Available >>>> Feb 20 20:36:02 raspberrypi vncserver-x11-serviced[524]: executing >>>> SUDO_LAUNCHCMD: gksudo -D 'VNC Server - sudo password required' -- >>>> '/usr/bin/vncpipehelper' '-hash' >>>> 'b339b13545b35610a9bb03a210ce6812e39aaa83' >>>> '/tmp/.vnc-1000/vncserverui-service.vncpipehelper.173669680' >>>> '/usr/bin/vncserver-x11-core' '-service' '-configHelper' >>>> Feb 20 20:36:02 raspberrypi rsyslogd-2007: action 'action 17' >>>> suspended, next retry is Mon Feb 20 20:36:32 2017 [try >>>> http://www.rsyslog.com/e/2007 ] >>>> Feb 20 20:36:40 raspberrypi dhcpcd[436]: wlan0: fe80::222:7ff:fe4a:ebca >>>> router available >>>> Feb 20 20:36:40 raspberrypi rsyslogd-2007: action 'action 17' >>>> suspended, next retry is Mon Feb 20 20:37:10 2017 [try >>>> http://www.rsyslog.com/e/2007 ] >>>> Feb 20 20:36:44 raspberrypi dhcpcd[436]: wlan0: fe80::222:7ff:fe4a:ebca >>>> router available >>>> Feb 20 20:36:49 raspberrypi dhcpcd[436]: wlan0: fe80::222:7ff:fe4a:ebca >>>> router available >>>> Feb 20 20:36:53 raspberrypi vncserver-x11[617]: HostedRendezvous: >>>> Connection to [YG9tMT-oUaaq-EDofz9] is from user "<t...@olga.no>" >>>> Feb 20 20:36:53 raspberrypi vncserver-x11[617]: Connections: connected: >>>> t...@olga.no (from 192.168.50.12::54827) >>>> Feb 20 20:37:06 raspberrypi vncserver-x11[617]: Connections: >>>> authenticated: t...@olga.no (from 192.168.50.12::54827), as >>>> (anonymous) (d permissions) >>>> Feb 20 20:37:07 raspberrypi dbus[428]: [system] Activating via systemd: >>>> service name='org.freedesktop.ColorManager' unit='colord.service' >>>> Feb 20 20:37:07 raspberrypi systemd[1]: Starting Manage, Install and >>>> Generate Color Profiles... >>>> Feb 20 20:37:08 raspberrypi colord: Using mapping database file >>>> /var/lib/colord/mapping.db >>>> Feb 20 20:37:08 raspberrypi colord: Using device database file >>>> /var/lib/colord/storage.db >>>> Feb 20 20:37:08 raspberrypi colord: Using profile database file >>>> /var/lib/colord/storage.db >>>> Feb 20 20:37:08 raspberrypi colord: loaded plugin >>>> libcd_plugin_scanner.so >>>> Feb 20 20:37:08 raspberrypi colord: loaded plugin libcd_plugin_sane.so >>>> Feb 20 20:37:08 raspberrypi colord: loaded plugin libcd_plugin_camera.so >>>> Feb 20 20:37:08 raspberrypi colord: Daemon ready for requests >>>> Feb 20 20:37:08 raspberrypi dbus[428]: [system] Successfully activated >>>> service 'org.freedesktop.ColorManager' >>>> Feb 20 20:37:08 raspberrypi systemd[1]: Started Manage, Install and >>>> Generate Color Profiles. >>>> Feb 20 20:37:08 raspberrypi colord: Profile added: >>>> ES3451_MFP(PCL)_via_VNC_from_THINK2-Gray.. >>>> Feb 20 20:37:08 raspberrypi colord: Profile added: >>>> ES3451_MFP(PCL)_via_VNC_from_THINK2-CMYK.. >>>> Feb 20 20:37:08 raspberrypi colord[1894]: (colord:1894): Cd-WARNING **: >>>> failed to get session [pid 511]: Unknown error -2 >>>> Feb 20 20:37:08 raspberrypi colord: Device added: >>>> cups-ES3451_MFP(PCL)_via_VNC_from_THINK2 >>>> Feb 20 20:37:08 raspberrypi kernel: [ 366.331551] warning: process >>>> `colord-sane' used the deprecated sysctl system call with 8.1.2. >>>> Feb 20 20:37:08 raspberrypi colord-sane: [bjnp] >>>> create_broadcast_socket: bind socket to local address failed - Cannot >>>> assign requested address >>>> Feb 20 20:37:25 raspberrypi dhcpcd[436]: wlan0: fe80::222:7ff:fe4a:ebca >>>> router available >>>> Feb 20 20:37:25 raspberrypi rsyslogd-2007: action 'action 17' >>>> suspended, next retry is Mon Feb 20 20:37:55 2017 [try >>>> http://www.rsyslog.com/e/2007 ] >>>> Feb 20 20:38:26 raspberrypi rsyslogd-2007: action 'action 17' >>>> suspended, next retry is Mon Feb 20 20:39:26 2017 [try >>>> http://www.rsyslog.com/e/2007 ] >>>> Feb 20 20:39:13 raspberrypi dhcpcd[436]: wlan0: fe80::222:7ff:fe4a:ebca >>>> router available >>>> Feb 20 20:39:18 raspberrypi dhcpcd[436]: wlan0: fe80::222:7ff:fe4a:ebca >>>> router available >>>> Feb 20 20:39:23 raspberrypi dhcpcd[436]: wlan0: fe80::222:7ff:fe4a:ebca >>>> router available >>>> Feb 20 20:39:40 raspberrypi dhcpcd[436]: wlan0: DHCPv6 REPLY: No >>>> Addresses Available >>>> Feb 20 20:39:40 raspberrypi rsyslogd-2007: action 'action 17' >>>> suspended, next retry is Mon Feb 20 20:40:40 2017 [try >>>> http://www.rsyslog.com/e/2007 ] >>>> Feb 20 20:40:41 raspberrypi rsyslogd-2007: action 'action 17' >>>> suspended, next retry is Mon Feb 20 20:41:41 2017 [try >>>> http://www.rsyslog.com/e/2007 ] >>>> Feb 20 20:40:51 raspberrypi dbus[428]: [system] Activating via systemd: >>>> service name='org.freedesktop.PackageKit' unit='packagekit.service' >>>> Feb 20 20:40:51 raspberrypi systemd[1]: Starting PackageKit Daemon... >>>> Feb 20 20:40:51 raspberrypi PackageKit: daemon start >>>> Feb 20 20:40:51 raspberrypi dbus[428]: [system] Successfully activated >>>> service 'org.freedesktop.PackageKit' >>>> Feb 20 20:40:51 raspberrypi systemd[1]: Started PackageKit Daemon. >>>> Feb 20 20:41:20 raspberrypi dhcpcd[436]: wlan0: fe80::222:7ff:fe4a:ebca >>>> router available >>>> Feb 20 20:41:20 raspberrypi dhcpcd[436]: wlan0: fe80::222:7ff:fe4a:ebca >>>> router available >>>> Feb 20 20:41:20 raspberrypi dhcpcd[436]: wlan0: fe80::222:7ff:fe4a:ebca >>>> router available >>>> Feb 20 20:41:24 raspberrypi dhcpcd[436]: wlan0: fe80::222:7ff:fe4a:ebca >>>> router available >>>> Feb 20 20:41:24 raspberrypi dhcpcd[436]: wlan0: fe80::222:7ff:fe4a:ebca >>>> router available >>>> Feb 20 20:41:28 raspberrypi dhcpcd[436]: wlan0: fe80::222:7ff:fe4a:ebca >>>> router available >>>> Feb 20 20:41:29 raspberrypi dhcpcd[436]: wlan0: fe80::222:7ff:fe4a:ebca >>>> router available >>>> Feb 20 20:41:50 raspberrypi dhcpcd[436]: wlan0: fe80::222:7ff:fe4a:ebca >>>> router available >>>> Feb 20 20:41:50 raspberrypi rsyslogd-2007: action 'action 17' >>>> suspended, next retry is Mon Feb 20 20:42:50 2017 [try >>>> http://www.rsyslog.com/e/2007 ] >>>> Feb 20 20:41:54 raspberrypi dhcpcd[436]: wlan0: fe80::222:7ff:fe4a:ebca >>>> router available >>>> Feb 20 20:41:56 raspberrypi dhcpcd[436]: wlan0: fe80::222:7ff:fe4a:ebca >>>> router available >>>> Feb 20 20:41:59 raspberrypi dhcpcd[436]: wlan0: fe80::222:7ff:fe4a:ebca >>>> router available >>>> Feb 20 20:44:06 raspberrypi dhcpcd[436]: wlan0: fe80::222:7ff:fe4a:ebca >>>> router available >>>> Feb 20 20:44:06 raspberrypi rsyslogd-2007: action 'action 17' >>>> suspended, next retry is Mon Feb 20 20:45:06 2017 [try >>>> http://www.rsyslog.com/e/2007 ] >>>> Feb 20 20:44:10 raspberrypi dhcpcd[436]: wlan0: fe80::222:7ff:fe4a:ebca >>>> router available >>>> Feb 20 20:45:24 raspberrypi dhcpcd[436]: wlan0: fe80::222:7ff:fe4a:ebca >>>> router available >>>> Feb 20 20:45:24 raspberrypi rsyslogd-2007: action 'action 17' >>>> suspended, next retry is Mon Feb 20 20:46:24 2017 [try >>>> http://www.rsyslog.com/e/2007 ] >>>> Feb 20 20:45:29 raspberrypi dhcpcd[436]: wlan0: fe80::222:7ff:fe4a:ebca >>>> router available >>>> Feb 20 20:45:45 raspberrypi dhcpcd[436]: wlan0: fe80::222:7ff:fe4a:ebca >>>> router available >>>> Feb 20 20:45:49 raspberrypi dhcpcd[436]: wlan0: fe80::222:7ff:fe4a:ebca >>>> router available >>>> Feb 20 20:45:54 raspberrypi dhcpcd[436]: wlan0: fe80::222:7ff:fe4a:ebca >>>> router available >>>> Feb 20 20:46:10 raspberrypi systemd[1]: Starting Cleanup of Temporary >>>> Directories... >>>> Feb 20 20:46:11 raspberrypi systemd[1]: Started Cleanup of Temporary >>>> Directories. >>>> Feb 20 20:47:19 raspberrypi systemd[1]: Reloading. >>>> Feb 20 20:47:19 raspberrypi rsyslogd-2007: action 'action 17' >>>> suspended, next retry is Mon Feb 20 20:48:19 2017 [try >>>> http://www.rsyslog.com/e/2007 ] >>>> Feb 20 20:47:31 raspberrypi dhcpcd[436]: wlan0: fe80::222:7ff:fe4a:ebca >>>> router available >>>> Feb 20 20:47:31 raspberrypi systemd[1]: Reloading. >>>> Feb 20 20:47:32 raspberrypi systemd[1]: Reloading. >>>> Feb 20 20:47:33 raspberrypi systemd[1]: Starting LSB: weewx weather >>>> system... >>>> Feb 20 20:47:33 raspberrypi weewx[6076]: engine: Initializing weewx >>>> version 3.6.2 >>>> Feb 20 20:47:33 raspberrypi weewx[6076]: engine: Using Python 2.7.9 >>>> (default, Sep 17 2016, 20:26:04) #012[GCC 4.9.2] >>>> Feb 20 20:47:33 raspberrypi weewx[6076]: engine: Platform >>>> Linux-4.4.34-v7+-armv7l-with-debian-8.0 >>>> Feb 20 20:47:33 raspberrypi weewx[6076]: engine: pid file is >>>> /var/run/weewx.pid >>>> Feb 20 20:47:33 raspberrypi weewx[6080]: engine: Using configuration >>>> file /etc/weewx/weewx.conf >>>> Feb 20 20:47:33 raspberrypi weewx[6080]: engine: Loading station type >>>> WMR300 (weewx.drivers.wmr300) >>>> Feb 20 20:47:33 raspberrypi weewx[6080]: wmr300: driver version is 0.13 >>>> Feb 20 20:47:33 raspberrypi weewx[6080]: import of driver failed: >>>> Unable to find station on USB: cannot find device with VendorID=0x0fde >>>> ProductID=0xca08 (<class 'weewx.drivers.wmr300.WMR300Error'>) >>>> Feb 20 20:47:33 raspberrypi weewx[6080]: engine: Unable to load driver: >>>> Unable to find station on USB: cannot find device with VendorID=0x0fde >>>> ProductID=0xca08 >>>> Feb 20 20:47:33 raspberrypi weewx[6080]: **** Exiting... >>>> Feb 20 20:47:33 raspberrypi weewx[6065]: Starting weewx weather system: >>>> weewx. >>>> Feb 20 20:47:33 raspberrypi systemd[1]: Started LSB: weewx weather >>>> system. >>>> Feb 20 20:47:35 raspberrypi dhcpcd[436]: wlan0: fe80::222:7ff:fe4a:ebca >>>> router available >>>> Feb 20 20:47:48 raspberrypi systemd[1]: Reloading. >>>> Feb 20 20:48:05 raspberrypi dhcpcd[436]: wlan0: DHCPv6 REPLY: No >>>> Addresses Available >>>> Feb 20 20:49:01 raspberrypi dhcpcd[436]: wlan0: fe80::222:7ff:fe4a:ebca >>>> router available >>>> Feb 20 20:49:01 raspberrypi rsyslogd-2007: action 'action 17' >>>> suspended, next retry is Mon Feb 20 20:50:01 2017 [try >>>> http://www.rsyslog.com/e/2007 ] >>>> Feb 20 20:49:05 raspberrypi dhcpcd[436]: wlan0: fe80::222:7ff:fe4a:ebca >>>> router available >>>> >>>> >>>> 2017-02-20 19:38 GMT+01:00 Torbjørn Aasen <t...@olga.no>: >>>> >>>>> Hi >>>>> I am completely new to this. >>>>> I did not find the log file either. >>>>> Have restarted the new NOOBS now. >>>>> Going to try and install once more before I enter the following >>>>> description. >>>>> >>>>> 2017-02-18 21:10 GMT+01:00 mwall <mw...@users.sourceforge.net>: >>>>> >>>>>> >>>>>> >>>>>> On Saturday, February 18, 2017 at 2:50:35 PM UTC-5, Torbjørn Aasen >>>>>> wrote: >>>>>>> >>>>>>> I have loaded the latest Noobs and Weewx twice on my Raspberry PI 3. >>>>>>> When I follow the installation guide it all seems to go right for >>>>>>> themselves but this file can not I find afterwards. >>>>>>> I've never done this before so there are great opportunities that >>>>>>> I'm doing something wrong. >>>>>>> I have not connected weather station to PI yet. >>>>>>> >>>>>>> I use this manual: http://www.weewx.com/docs/apt-get.htm >>>>>>> >>>>>>> But this can not I find afterwards: file: ///var/www/html/weewx/ >>>>>>> index.html >>>>>>> >>>>>> >>>>>> torbjørn, >>>>>> >>>>>> what do you see in the log, starting just before the time when you >>>>>> started weewx until at least 5 minutes later, possibly 30 minutes later? >>>>>> >>>>>> m >>>>>> >>>>>> -- >>>>>> You received this message because you are subscribed to a topic in >>>>>> the Google Groups "weewx-user" group. >>>>>> To unsubscribe from this topic, visit >>>>>> https://groups.google.com/d/topic/weewx-user/6-NAVeNuNME/unsubscribe. >>>>>> To unsubscribe from this group and all its topics, send an email to >>>>>> weewx-user+...@googlegroups.com. >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> Med vennlig hilsen >>>>> >>>>> Torbjørn Aasen >>>>> >>>>> Mob: 92092037 >>>>> >>>>> >>>>> >>>>> Carpe Diem >>>>> >>>> >>>> >>>> >>>> -- >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> Med vennlig hilsen >>>> >>>> Torbjørn Aasen >>>> >>>> Mob: 92092037 >>>> >>>> >>>> >>>> Carpe Diem >>>> >>> -- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "weewx-user" group. >>> To unsubscribe from this topic, visit >>> https://groups.google.com/d/topic/weewx-user/6-NAVeNuNME/unsubscribe. >>> To unsubscribe from this group and all its topics, send an email to >>> weewx-user+...@googlegroups.com. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> >> >> >> >> >> >> >> >> >> Med vennlig hilsen >> >> Torbjørn Aasen >> >> Mob: 92092037 >> >> >> >> Carpe Diem >> > -- 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 weewx-user+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.