Yeah, you should try with sudo, but first you have to stop the weewx service. If it's stopped and you have the "Address already in use" exception, then there is something else running on port 80
Il giorno lunedì 4 aprile 2022 alle 19:30:15 UTC+2 IL ha scritto: > 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> > > <#m_-4330114923121798979_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> > > Den mån 4 apr. 2022 kl 17:00 skrev vince <vince...@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+...@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...@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/f1e883ec-f083-4be6-8581-ecf882f629c4n%40googlegroups.com.