If you're running weewx 5.1 yes it is very likely you need the weewx user 
added to the group(s) needed to access network devices.   See the wiki and 
FAQ and many (many) other posts here with how to debug and fix the problem.

On Wednesday, July 31, 2024 at 1:34:57 PM UTC-7 Marco Citossi wrote:

> Anyway also from the other webserver with weewx 5 I get an error.
> Could be a problem of firewall again?
>  
> weewx.service - WeeWX
>    Loaded: loaded (/usr/lib/systemd/system/weewx.service; enabled; vendor 
> preset: disabled)
>    Active: failed (Result: exit-code) since Wed 2024-07-31 22:28:35 CEST; 
> 2s ago
>      Docs: https://weewx.com/docs
>   Process: 59322 ExecStart=/usr/bin/weewxd /etc/weewx/weewx.conf 
> (code=exited, status=4)
>  Main PID: 59322 (code=exited, status=4)
>
> CRITICAL weewx.engine:     ****      Vantage.__init__(self, 
> **config_dict[DRIVER_NA>
> CRITICAL weewx.engine:     ****    File 
> "/usr/share/weewx/weewx/drivers/vantage.py">
> CRITICAL weewx.engine:     ****      self.port.openPort()
> CRITICAL weewx.engine:     ****    File 
> "/usr/share/weewx/weewx/drivers/vantage.py">
> weewx.engine:     ****      raise weewx.WeeWxIOError(ex)
> weewx.engine:     ****  weewx.WeeWxIOError: [Errno 113] No route to host
> CRITICAL __main__: Unable to load driver: [Errno 113] No route to host
> weewxd[59322]: CRITICAL __main__:     ****  Exiting...
> weewx.service: Main process exited, code=exited, status=4/NOPERMISSION
> weewx.service: Failed with result 'exit-code'.
>
> Il giorno mercoledì 31 luglio 2024 alle 22:23:51 UTC+2 Marco Citossi ha 
> scritto:
>
>> Hi vince! 
>> Centos 7, weewx 3.8.0.a1
>> I've find pid in /var/run...deleted, stopped weewx 2 times (failed), 
>> start again but nothing same problem.
>> Thanks.
>>
>>
>> Il giorno mercoledì 31 luglio 2024 alle 19:24:26 UTC+2 vince ha scritto:
>>
>>> Marco - what os (and version) are you running and which version of weewx 
>>> ?
>>>
>>> In older os using init.d startup files the pid file would be in /var/run 
>>> if that helps any in looking for it.   Generally trying to stop weewx twice 
>>> and then start it (not 'restart') used to work.
>>>
>>> On Wednesday, July 31, 2024 at 7:13:50 AM UTC-7 Marco Citossi wrote:
>>>
>>>> I don't find the pid file in the ps list.
>>>> I've tried to restart the webserver but same problem.
>>>>
>>>> Il giorno mercoledì 31 luglio 2024 alle 15:47:50 UTC+2 Graham Eddy ha 
>>>> scritto:
>>>>
>>>>> delete the pid file. then it will start (and create new pid file)
>>>>> *⊣GE⊢*
>>>>>
>>>>> On 31 Jul 2024, at 11:37 PM, Marco Citossi <mcit...@gmail.com> wrote:
>>>>>
>>>>> I've tried to restart a lot of times but I get this error. 
>>>>> "Checking for weewx: weewx dead but pid file exists."
>>>>> What could be the problem?
>>>>> Thank.
>>>>> 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 weewx-user+...@googlegroups.com.
>>>>> To view this discussion on the web visit 
>>>>> https://groups.google.com/d/msgid/weewx-user/979e0836-166b-4da1-abca-dd37f5d9e483n%40googlegroups.com
>>>>>  
>>>>> <https://groups.google.com/d/msgid/weewx-user/979e0836-166b-4da1-abca-dd37f5d9e483n%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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/e443e18e-004e-4b12-a920-55d8c9f1e40bn%40googlegroups.com.

Reply via email to