See the manual <http://weewx.com/docs/usersguide.htm#Running_directly>.

-tk

On Thu, Jan 19, 2017 at 4:52 AM, kevin.w7...@gmail.com <
kevin.w7...@gmail.com> wrote:

> How do I run it normally and not as a daemon?
>
> Kevin
>
> Sent from Yahoo Mail on Android
>
> On Thu, Jan 19, 2017 at 4:40 AM, Thomas Keffer
> <tkef...@gmail.com> wrote:
> Things to try:
>
> Does /dev/ttyS0 actually exist?
>
> It looks like you are running weewxd as a daemon, which is usually run as
> root, so adding yourself to the dialout group will not make any difference.
> In any case, try running from the command line, and try running as root (by
> using a 'sudo' prefix). This may give you clues.
>
> Try running the driver directly. It can give you more clues about what's
> happening. The command
>
> PYTHONPATH=/usr/share/weewx python /usr/share/weewx/weewx/drivers/ws23xx.py
> --help
>
> will show you the options available.
>
> -tk
>
> On Thu, Jan 19, 2017 at 3:17 AM, Kevin Bosworth <kevin.w7...@gmail.com>
> wrote:
>
>> Can anyone help me out here??!!
>>
>>
>>
>> On Monday, January 9, 2017 at 4:39:17 AM UTC-7, Kevin Bosworth wrote:
>>>
>>> I had this running on an older Lubuntu laptop that died. Seems I had no
>>> problems then. So here is what I have.
>>>
>>> Lubuntu 12.04
>>>
>>>
>>> sudo tail -f /var/log/syslog
>>> Jan  9 04:25:54 weather weewx[3277]: engine: Platform
>>> Linux-3.2.0-119-generic-i686-w ith-Ubuntu-12.04-precise
>>> Jan  9 04:25:54 weather weewx[3277]: engine: pid file is
>>> /var/run/weewx.pid
>>> Jan  9 04:25:54 weather weewx[3281]: engine: Using configuration file
>>> /etc/weewx/weewx.conf
>>> Jan  9 04:25:54 weather weewx[3281]: engine: Loading station type WS23xx
>>> (weewx.drivers.ws23xx)
>>> Jan  9 04:25:54 weather weewx[3281]: ws23xx: driver version is 0.25
>>> Jan  9 04:25:54 weather weewx[3281]: ws23xx: serial port is /dev/ttyS0
>>> Jan  9 04:25:54 weather weewx[3281]: ws23xx: polling interval is None
>>> Jan  9 04:25:54 weather weewx[3281]: import of driver failed: (5,
>>> 'Input/output error') (<class 'termios.error'>)
>>> Jan  9 04:25:54 weather weewx[3281]: engine: Unable to load driver: (5,
>>> 'Input/output error')
>>> Jan  9 04:25:54 weather weewx[3281]:     ****  Exiting...
>>> Jan  9 04:30:07 weather kernel: [ 4758.327907] b43legacy-phy0 ERROR: PHY
>>> transmission error
>>> Jan  9 04:31:23 weather wpa_supplicant[1050]: WPA: Group rekeying
>>> completed with 14:91:82:bd:0f:77 [GTK=TKIP]
>>> Jan  9 04:33:57 weather kernel: [ 4988.761336] b43legacy-phy0 ERROR: PHY
>>> transmission error
>>>
>>> Not sure what else to do. Tried copying my old backup config files with
>>> the same results. I did add myself to to the dailout group.
>>>
>>> Thanks, Kevin
>>>
>> --
>> 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+unsubscribe@ googlegroups.com.
>> For more options, visit https://groups.google.com/d/ optout
>> <https://groups.google.com/d/optout>.
>>
>>
> --
> 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/NpeOl7xJ0BQ/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
> --
> 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.
>

-- 
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.

Reply via email to