Does this help - altering syslogd config file :

----------------------------

As to your problem with rsyslog error messages flooding your logs, I've 
been trying to fix this on my Pi today.
One possible fix I found on an internet search, is to comment out the lines 
in the /etc/rsyslog.conf file that pipe 
anything to /dev/xconsole. If /dev/xconsole does not take the data, the 
pipe fills up, and this causes the rsyslog 
error message, then rsyslog tries to do the same thing again and again.

I commented out the last 4 lines of my /etc/rsyslog.conf file like this:
Code: *Select all* 
<https://www.raspberrypi.org/forums/viewtopic.php?f=91&t=122601#>
#daemon.*;mail.*;\
#       news.err;\
#       *.=debug;*.=info;\
#       *.=notice;*.=warn       |/dev/xconsole

----------------------------
https://www.raspberrypi.org/forums/viewtopic.php?f=91&t=122601


since weewx seemed to go quiet when the only thing going to the log were 
these 'error'messages from syslog.


Just an idea - namely that a full pipe is blocking weewx execution .






On Monday, 16 January 2017 13:08:37 UTC+2, Marc Aubry wrote:

> Hi 
> The weewx has just stop reporting and i did a lsusb command and it look 
> the same then before it stop reporting.
> so it is not a problem of usb port changing name or order.
>
> Bus 001 Device 004: ID 10c4:8468 Cygnal Integrated Products, Inc.
> Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 
> Fast Ethernet Adapter
> Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>
>
>
> On Monday, January 16, 2017 at 9:48:58 AM UTC+7, Marc Aubry wrote:
>>
>> Hi,
>> Thanks for this info 
>> i have listed the usb devices with lsusb
>>
>> Bus 001 Device 004: ID 10c4:8468 Cygnal Integrated Products, Inc.
>> Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. 
>> SMSC9512/9514 Fast Ethernet Adapter
>> Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
>> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>>
>> I guess that my weather station is  Device 004: ID 10c4:8468 
>> I will wait the next time the weewx stop reporting to check if the device 
>> number has changed.
>> I check in my weewx.conf file and i have no such thing as "device link" i 
>> just have the following lines referring to the driver i'm using:
>> [WH23xx]
>>     # This section is for Fine Offset WH23xx stations
>>     # The model name such as Tycon, or TP2700
>>     model = WH2310
>>     # The driver to use
>>     driver = user.wh23xx
>>
>> Do i have to add the following "port = /dev/mydevice" in the weewx.conf 
>> file?
>>
>> thanks for your help
>>
>>
>>
>>
>> On Sunday, January 15, 2017 at 8:58:57 PM UTC+7, Per Edström wrote:
>>>
>>> Apparently my USB-to-COM-port converter is not stable hence causing 
>>> weewx to stop (when the device changes). SO  I made a link to the current 
>>> device for use in weewx.conf (details in a new thread here in the forum).
>>> It seems to work for now..
>>>
>>

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

Reply via email to