With sudo the last line is changed to:

OSError: [Errno 98] Address already in use

This is what happens also on the working server.

<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virusfritt.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

Den mån 4 apr. 2022 kl 17:00 skrev vince <vinceska...@gmail.com>:

> The result from ~$ PYTHONPATH=/usr/share/weewx python3
> /usr/share/weewx/user/interceptor.py  --device=observer --port=80:
> Traceback (most recent call last):
>   File "/usr/share/weewx/user/interceptor.py", line 2661, in <module>
>     device = InterceptorDriver.DEVICE_TYPES.get(options.device_type)(
>   File "/usr/share/weewx/user/interceptor.py", line 1284, in __init__
>     super(Observer, self).__init__(
>   File "/usr/share/weewx/user/interceptor.py", line 429, in __init__
>     self._server = Consumer.TCPServer(address, port, handler)
>   File "/usr/share/weewx/user/interceptor.py", line 584, in __init__
>     TCPServer.__init__(self, (address, int(port)), handler)
>   File "/usr/lib/python3.8/socketserver.py", line 452, in __init__
>     self.server_bind()
>   File "/usr/lib/python3.8/socketserver.py", line 466, in server_bind
>     self.socket.bind(self.server_address)
> PermissionError: [Errno 13] Permission denied
>
> ==> try prefacing your command with 'sudo' and see if that helps any...
>
>
> --
> 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/d874d2f8-775f-4057-9076-7f0eb8fb5d28n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/d874d2f8-775f-4057-9076-7f0eb8fb5d28n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
------------------------------------------------------
Ingemar Lekteus
Älgstigen 2
178 52  EKERÖ

E-post: ingemar.lekt...@gmail.com
Mobil: 0704-71 33 30

-- 
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/CALhjqznQpsowy%2B8%3DxdC8KerNinhFn2fSreE1KRarCDga_HKXXQ%40mail.gmail.com.

Reply via email to