weewx.service: Main process exited, code=exited, status=4/NOPERMISSION

103 views
Skip to first unread message

Joe

unread,
Sep 26, 2024, 12:02:31 PM9/26/24
to weewx-user
This suddenly started again.  Its been a year.  Nothing changed to cause it.
Is weewx going to offer a solution internally considering how many of us use davis pros?




● weewx.service - WeeWX
     Loaded: loaded (/lib/systemd/system/weewx.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Thu 2024-09-26 10:56:53 CDT; 49s ago
       Docs: https://weewx.com/docs
    Process: 570 ExecStart=weewxd /etc/weewx/weewx.conf (code=exited, status=4)
   Main PID: 570 (code=exited, status=4)
        CPU: 823ms

Sep 26 10:56:53 raspberrypi weewxd[570]: CRITICAL weewx.engine:     ****      self.serial_port = serial.Serial(self.port, self.baudra>
Sep 26 10:56:53 raspberrypi weewxd[570]: CRITICAL weewx.engine:     ****    File "/usr/lib/python3/dist-packages/serial/serialutil.py>
Sep 26 10:56:53 raspberrypi weewxd[570]: CRITICAL weewx.engine:     ****      self.open()
Sep 26 10:56:53 raspberrypi weewxd[570]: CRITICAL weewx.engine:     ****    File "/usr/lib/python3/dist-packages/serial/serialposix.p>
Sep 26 10:56:53 raspberrypi weewxd[570]: CRITICAL weewx.engine:     ****      raise SerialException(msg.errno, "could not open port {>
Sep 26 10:56:53 raspberrypi weewxd[570]: CRITICAL weewx.engine:     ****  serial.serialutil.SerialException: [Errno 2] could not open>
Sep 26 10:56:53 raspberrypi weewxd[570]: CRITICAL __main__: Unable to load driver: [Errno 2] could not open port /dev/ttyUSB0: [Errno>
Sep 26 10:56:53 raspberrypi weewxd[570]: CRITICAL __main__:     ****  Exiting...
Sep 26 10:56:53 raspberrypi systemd[1]: weewx.service: Main process exited, code=exited, status=4/NOPERMISSION
Sep 26 10:56:53 raspberrypi systemd[1]: weewx.service: Failed with result 'exit-code'.

vince

unread,
Sep 26, 2024, 1:50:18 PM9/26/24
to weewx-user
Perhaps if you worded your question with a much less demanding tone you might get some answers....

Look at your previous posts in https://groups.google.com/g/weewx-user/c/iGR21sLZ7VM/m/BOMROMWDAQAJ in which you had the same issues and seem to have solved it then.

Reply all
Reply to author
Forward
0 new messages