Hello,
sudo killall weewxd return "no processus found"
About virtual environment, I haven"t

Le mardi 19 juillet 2022 à 22:00:01 UTC+2, [email protected] a écrit :

> One other thought:
>
> If pipenv acts like python3's "venv", when you run "setup.py install" it 
> will attempt to install some things in its own virtual environment 
> subdirectory, and other things under /home/weewx/bin. In other words, 
> expect things to be in strange places.
>
> To avoid, deactivate the virtual environment, then run setup.py using the 
> system's version of Python. Then reactivate. 
>
> -tk
>
> On Tue, Jul 19, 2022 at 12:02 PM Tom Keffer <[email protected]> wrote:
>
>> 1, It looks like you have two instances of weewx running. Make sure all 
>> instances are stopped before trying  to restart weewxd:
>>
>> sudo killall weewxd
>> sudo systemctl start weewx
>>
>> 2. While your driver seems to be putting new packets into its internal 
>> queue, it's not draining the queue, so the queue keeps getting longer. 
>> You'd have to ask the author about that.
>>
>>
>>
>> On Tue, Jul 19, 2022 at 9:09 AM ant duro <[email protected]> wrote:
>>
>>> I have stop weewx and set debug = 1 in conf file and I have start weewx.
>>> This is my syslog:
>>> Jul 19 17:18:17 raspberrypi systemd[1]: Stopping LSB: weewx weather 
>>> system...
>>> Jul 19 17:18:17 raspberrypi weewx[25109] INFO __main__: Received signal 
>>> TERM (15).
>>> Jul 19 17:18:18 raspberrypi /weewxd: wxWmr500: Connected on mqtt server 
>>> with result code 0
>>> Jul 19 17:19:30 raspberrypi rngd[318]: stats: bits received from HRNG 
>>> source: 3000064
>>> Jul 19 17:19:30 raspberrypi rngd[318]: stats: bits sent to kernel pool: 
>>> 2941024
>>> Jul 19 17:19:30 raspberrypi rngd[318]: stats: entropy added to kernel 
>>> pool: 2941024
>>> Jul 19 17:19:30 raspberrypi rngd[318]: stats: FIPS 140-2 successes: 150
>>> Jul 19 17:19:30 raspberrypi rngd[318]: stats: FIPS 140-2 failures: 0
>>> Jul 19 17:19:30 raspberrypi rngd[318]: stats: FIPS 140-2(2001-10-10) 
>>> Monobit: 0
>>> Jul 19 17:19:30 raspberrypi rngd[318]: stats: FIPS 140-2(2001-10-10) 
>>> Poker: 0
>>> Jul 19 17:19:30 raspberrypi rngd[318]: stats: FIPS 140-2(2001-10-10) 
>>> Runs: 0
>>> Jul 19 17:19:30 raspberrypi rngd[318]: stats: FIPS 140-2(2001-10-10) 
>>> Long run: 0
>>> Jul 19 17:19:30 raspberrypi rngd[318]: stats: FIPS 140-2(2001-10-10) 
>>> Continuous run: 0
>>> Jul 19 17:19:30 raspberrypi rngd[318]: stats: HRNG source speed: 
>>> (min=77.709; avg=487.770; max=762.046)Kibits/s
>>> Jul 19 17:19:30 raspberrypi rngd[318]: stats: FIPS tests speed: 
>>> (min=1.017; avg=5.059; max=6.177)Mibits/s
>>> Jul 19 17:19:30 raspberrypi rngd[318]: stats: Lowest ready-buffers 
>>> level: 2
>>> Jul 19 17:19:30 raspberrypi rngd[318]: stats: Entropy starvations: 0
>>> Jul 19 17:19:30 raspberrypi rngd[318]: stats: Time spent starving for 
>>> entropy: (min=0; avg=0.000; max=0)us
>>> Jul 19 17:20:25 raspberrypi weewx[4339]: Stopping weewx weather system: 
>>> weewx........................ failed!
>>> Jul 19 17:20:25 raspberrypi systemd[1]: weewx.service: Control process 
>>> exited, code=exited, status=1/FAILURE
>>> Jul 19 17:20:25 raspberrypi systemd[1]: weewx.service: Failed with 
>>> result 'exit-code'.
>>> Jul 19 17:20:25 raspberrypi systemd[1]: Stopped LSB: weewx weather 
>>> system.
>>> Jul 19 17:21:09 raspberrypi systemd[1]: weewx.service: Found left-over 
>>> process 25109 (python3) in control group while starting unit. Ignoring.
>>> Jul 19 17:21:09 raspberrypi systemd[1]: This usually indicates unclean 
>>> termination of a previous run, or service implementation deficiencies.
>>> Jul 19 17:21:09 raspberrypi systemd[1]: Starting LSB: weewx weather 
>>> system...
>>> Jul 19 17:21:09 raspberrypi weewx[4580]: Starting weewx weather system: 
>>> weewx already running....
>>> Jul 19 17:21:09 raspberrypi systemd[1]: Started LSB: weewx weather 
>>> system.
>>> Jul 19 17:25:13 raspberrypi systemd[1]: session-2510.scope: Succeeded.
>>> Jul 19 17:25:13 raspberrypi systemd[1]: session-2604.scope: Succeeded.
>>> Jul 19 17:25:26 raspberrypi systemd[1]: session-2396.scope: Succeeded.
>>> Jul 19 17:25:36 raspberrypi systemd[1]: Stopping User Manager for UID 
>>> 1000...
>>> Jul 19 17:25:36 raspberrypi systemd[723]: Stopped target Default.
>>> Jul 19 17:25:36 raspberrypi systemd[723]: Stopped target Basic System.
>>> Jul 19 17:25:36 raspberrypi systemd[723]: Stopped target Timers.
>>> Jul 19 17:25:36 raspberrypi systemd[723]: Stopped target Sockets.
>>> Jul 19 17:25:36 raspberrypi systemd[723]: gpg-agent-ssh.socket: 
>>> Succeeded.
>>> Jul 19 17:25:36 raspberrypi systemd[723]: Closed GnuPG cryptographic 
>>> agent (ssh-agent emulation).
>>> Jul 19 17:25:36 raspberrypi systemd[723]: dbus.socket: Succeeded.
>>> Jul 19 17:25:36 raspberrypi systemd[723]: Closed D-Bus User Message Bus 
>>> Socket.
>>> Jul 19 17:25:36 raspberrypi systemd[723]: dirmngr.socket: Succeeded.
>>> Jul 19 17:25:36 raspberrypi systemd[723]: Closed GnuPG network 
>>> certificate management daemon.
>>> Jul 19 17:25:36 raspberrypi systemd[723]: gpg-agent-browser.socket: 
>>> Succeeded.
>>> Jul 19 17:25:36 raspberrypi systemd[723]: Closed GnuPG cryptographic 
>>> agent and passphrase cache (access for web browsers).
>>> Jul 19 17:25:36 raspberrypi systemd[723]: gpg-agent.socket: Succeeded.
>>> Jul 19 17:25:36 raspberrypi systemd[723]: Closed GnuPG cryptographic 
>>> agent and passphrase cache.
>>> Jul 19 17:25:36 raspberrypi systemd[723]: gpg-agent-extra.socket: 
>>> Succeeded.
>>> Jul 19 17:25:36 raspberrypi systemd[723]: Closed GnuPG cryptographic 
>>> agent and passphrase cache (restricted).
>>> Jul 19 17:25:36 raspberrypi systemd[723]: Stopped target Paths.
>>> Jul 19 17:25:36 raspberrypi systemd[723]: Reached target Shutdown.
>>> Jul 19 17:25:36 raspberrypi systemd[723]: systemd-exit.service: 
>>> Succeeded.
>>> Jul 19 17:25:36 raspberrypi systemd[723]: Started Exit the Session.
>>> Jul 19 17:25:36 raspberrypi systemd[723]: Reached target Exit the 
>>> Session.
>>> Jul 19 17:25:36 raspberrypi systemd[1]: [email protected]: Succeeded.
>>> Jul 19 17:25:36 raspberrypi systemd[1]: Stopped User Manager for UID 
>>> 1000.
>>> Jul 19 17:25:36 raspberrypi systemd[1]: Stopping User Runtime Directory 
>>> /run/user/1000...
>>> Jul 19 17:25:37 raspberrypi systemd[1]: run-user-1000.mount: Succeeded.
>>> Jul 19 17:25:37 raspberrypi systemd[1]: [email protected]: 
>>> Succeeded.
>>> Jul 19 17:25:37 raspberrypi systemd[1]: Stopped User Runtime Directory 
>>> /run/user/1000.
>>> Jul 19 17:25:37 raspberrypi systemd[1]: Removed slice User Slice of UID 
>>> 1000.
>>> Jul 19 17:30:45 raspberrypi /weewxd: wxWmr500: Added to queue of 21 
>>> message 
>>> {"type":"m","ts":"2022-07-19T17:30:05.050Z","deviceId":"3a90cf26-9597-4898-b207-15c9555d4d01","data":
>>>  
>>> {"1":{"indoor":{"w8":{"c84":0,"c87":1,"c88":0,"c89":0,"c82":1490,"c83":1.0,"c81":"442c57cdea8","c85":0,"c86":1,"c811":"0.00,0.00"},"w9":{"c913":59.6,"c99":82.0,"c96":53,"c95":0,"c914":59.8,"c911":82.1,"c97":55,"c93":81.0,"c915":57.2,"c912":81.2,"c98":52,"c94":77.8,"c91":80.9,"c92":0
>>>  
>>> },"moonphase":5},"outdoor":{"channel1":{"w7":{"c75":11000,"c77":210,"c73":11000.0,"c71":11000.0,"c76":11000,"c74":11000.0,"c72":11000.0},"w1":{"c17":0,"c16":0,"c14":0,"c13":1984,"c11":0.1,"c12":0.1,"c15":1
>>>  
>>> },"w5":{"c53":1018.2,"c52":2,"c51":1 
>>> },"w4":{"c41":0.00,"c43":0.0,"c42":0.0,"c44":0.00 
>>> },"w3":{"c313":62.4,"c39":98.4,"c35":15,"c36":0,"c314":62.5,"c311":98.6,"c37":85,"c33":102.2,"c315":52.4,"c312":79.9,"c38":15,"c34":57.9,"c31":102.0,"c32":0
>>>  
>>> },"w2":{"c24":6,"c22":2.78,"c25":96,"c23":4,"c21":7.18,"c27":210.0,"c26":210.0,"c28":2,"c29":13.73}}}}}}
>>> Jul 19 17:39:00 raspberrypi systemd[1]: Starting Clean php session 
>>> files...
>>> Jul 19 17:39:02 raspberrypi CRON[4667]: (root) CMD (  [ -x 
>>> /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then 
>>> /usr/lib/php/sessionclean; fi)
>>> Jul 19 17:39:04 raspberrypi systemd[1]: phpsessionclean.service: 
>>> Succeeded.
>>> Jul 19 17:39:04 raspberrypi systemd[1]: Started Clean php session files.
>>> Jul 19 17:45:47 raspberrypi /weewxd: wxWmr500: Added to queue of 22 
>>> message 
>>> {"type":"m","ts":"2022-07-19T17:45:07.070Z","deviceId":"3a90cf26-9597-4898-b207-15c9555d4d01","data":
>>>  
>>> {"1":{"indoor":{"w8":{"c84":0,"c87":1,"c88":0,"c89":0,"c82":1490,"c83":1.0,"c81":"442c57cdea8","c85":0,"c86":1,"c811":"0.00,0.00"},"w9":{"c913":59.5,"c99":82.0,"c96":52,"c95":0,"c914":59.8,"c911":82.1,"c97":55,"c93":81.0,"c915":57.2,"c912":81.2,"c98":52,"c94":77.8,"c91":80.9,"c92":0
>>>  
>>> },"moonphase":5},"outdoor":{"channel1":{"w7":{"c75":11000,"c77":210,"c73":11000.0,"c71":11000.0,"c76":11000,"c74":11000.0,"c72":11000.0},"w1":{"c17":0,"c16":0,"c14":0,"c13":1984,"c11":0.1,"c12":0.1,"c15":1
>>>  
>>> },"w5":{"c53":1018.2,"c52":2,"c51":1 
>>> },"w4":{"c41":0.00,"c43":0.0,"c42":0.0,"c44":0.00 
>>> },"w3":{"c313":62.0,"c39":97.7,"c35":16,"c36":0,"c314":62.5,"c311":98.6,"c37":85,"c33":102.2,"c315":52.4,"c312":79.9,"c38":15,"c34":57.9,"c31":101.3,"c32":0
>>>  
>>> },"w2":{"c24":8,"c22":2.26,"c25":224,"c23":4,"c21":5.44,"c27":210.0,"c26":210.0,"c28":2,"c29":13.73}}}}}}
>>> Jul 19 18:00:01 raspberrypi CRON[4754]: (root) CMD (sudo ntpdate 
>>> pool.ntp.org)
>>> Jul 19 18:00:51 raspberrypi /weewxd: wxWmr500: Added to queue of 23 
>>> message 
>>> {"type":"m","ts":"2022-07-19T18:00:11.110Z","deviceId":"3a90cf26-9597-4898-b207-15c9555d4d01","data":
>>>  
>>> {"1":{"indoor":{"w8":{"c84":0,"c87":1,"c88":0,"c89":0,"c82":1490,"c83":1.0,"c81":"442c57cdea8","c85":0,"c86":1,"c811":"0.00,0.00"},"w9":{"c913":59.5,"c99":82.0,"c96":52,"c95":0,"c914":59.8,"c911":82.1,"c97":55,"c93":81.0,"c915":57.2,"c912":81.2,"c98":52,"c94":77.8,"c91":80.9,"c92":0
>>>  
>>> },"moonphase":5},"outdoor":{"channel1":{"w7":{"c75":11000,"c77":210,"c73":11000.0,"c71":11000.0,"c76":11000,"c74":11000.0,"c72":11000.0},"w1":{"c17":0,"c16":0,"c14":0,"c13":1984,"c11":0.1,"c12":0.1,"c15":1
>>>  
>>> },"w5":{"c53":1018.2,"c52":2,"c51":1 
>>> },"w4":{"c41":0.00,"c43":0.0,"c42":0.0,"c44":0.00 
>>> },"w3":{"c313":61.6,"c39":96.9,"c35":15,"c36":0,"c314":62.5,"c311":98.6,"c37":85,"c33":102.2,"c315":52.4,"c312":79.9,"c38":15,"c34":57.9,"c31":100.7,"c32":0
>>>  
>>> },"w2":{"c24":5,"c22":2.95,"c25":224,"c23":8,"c21":6.13,"c27":210.0,"c26":210.0,"c28":2,"c29":13.73}}}}}}
>>>
>>>
>>>
>>> Le mardi 19 juillet 2022 à 17:32:02 UTC+2, [email protected] a écrit :
>>>
>>>> There is almost always a clue in the log. Please stop weewxd, set 
>>>> debug=1, restart weewxd, then let it run through at least the first 
>>>> reporting cycle. Post the log from startup through the reporting cycle.
>>>>
>>>> -tk
>>>>
>>>> On Tue, Jul 19, 2022 at 8:24 AM ant duro <[email protected]> wrote:
>>>>
>>>>> I have been using weewx on my raspberry since February 2022.
>>>>> Since 1 month, suddenly weewx stopped saving data in sqlite database.
>>>>> I can't find out what the problem is.
>>>>> I have enable the debug mode but I haven't error on syslog.
>>>>> Has anyone had this problem before? 
>>>>> Thanks 
>>>>>
>>>>> -- 
>>>>> 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].
>>>>> To view this discussion on the web visit 
>>>>> https://groups.google.com/d/msgid/weewx-user/e3eabbd3-fe9f-4993-a45f-9fa783a4c30cn%40googlegroups.com
>>>>>  
>>>>> <https://groups.google.com/d/msgid/weewx-user/e3eabbd3-fe9f-4993-a45f-9fa783a4c30cn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>> -- 
>>> 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].
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/weewx-user/b913314a-5103-4b79-be4e-9e01af372f08n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/weewx-user/b913314a-5103-4b79-be4e-9e01af372f08n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/01cc51b1-fb41-4a6f-b8d6-b1029deccd1an%40googlegroups.com.

Reply via email to