Error executing uvccapture command. returned: 9  [Solved]

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
jluc2808
Posts: 49
Joined: Thursday 18 January 2018 6:30
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Error executing uvccapture command. returned: 9

Post by jluc2808 »

hello,
since a few days, i have an error in domoticz logs : Error executing uvccapture command. returned: 9 which is new and append without any modification on my dzvents scripts (for a long time).

whhen this error appends, all my dzvents script seems stopped (no more update on any devices which used dzvents script) and when i look at parameters/others/dzvents the swith for dzvents is OFF (i never touch this switch)

as i don't find what is the error code : 9 and i don't make any update to domoticz / synology / dzvents
could somebody give me a way to search ?

thanks
jluc
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Error executing uvccapture command. returned: 9

Post by waaren »

jluc2808 wrote: Friday 28 June 2019 16:18 since a few days, i have an error in domoticz logs : Error executing uvccapture command. returned: 9 which is new and append without any modification on my dzvents scripts (for a long time).
could somebody give me a way to search ?
Please share the relevant loglines also a few line before and after the error please. The string "uvccapture" is related to a camera snapshot but I don't see a direct link with dzVents code .
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
jluc2808
Posts: 49
Joined: Thursday 18 January 2018 6:30
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Error executing uvccapture command. returned: 9

Post by jluc2808 »

2019-06-28 18:21:39.719 (Nest) Thermostat (peynier Temp Programmée)
2019-06-28 18:21:39.739 (Nest) Temp + Humidity (peynier Salon Temp Hum)
2019-06-28 18:21:39.749 Error: Error executing uvccapture command. returned: 9
2019-06-28 18:21:39.759 (Nest) Thermostat (peynier Temp Programmée)
2019-06-28 18:21:39.779 (Nest) Temp + Humidity (peynier Salon Temp Hum)

i just publish few lines because there is no other entries in the log 'for hours'

i agree but i have no camera at all and even more no snapshot
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Error executing uvccapture command. returned: 9

Post by waaren »

jluc2808 wrote: Friday 28 June 2019 18:24 2019-06-28 18:21:39.719 (Nest) Thermostat (peynier Temp Programmée)
2019-06-28 18:21:39.739 (Nest) Temp + Humidity (peynier Salon Temp Hum)
2019-06-28 18:21:39.749 Error: Error executing uvccapture command. returned: 9
2019-06-28 18:21:39.759 (Nest) Thermostat (peynier Temp Programmée)
2019-06-28 18:21:39.779 (Nest) Temp + Humidity (peynier Salon Temp Hum)

i just publish few lines because there is no other entries in the log 'for hours'

i agree but i have no camera at all and even more no snapshot
Sorry but I don't see any reference to dzVents here. Need to have more detailed logging before anything can be said about what's causing this. Can you enable debug logging for domoticz / dzVents ?
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
jluc2808
Posts: 49
Joined: Thursday 18 January 2018 6:30
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Error executing uvccapture command. returned: 9

Post by jluc2808 »

Of course, when this problem/error append all the dzvents script are frozen and stop running, so even if I set the debug mode you will never have dzvents logging.
Read carefully my 1rst post, I have discribe the effect, param/other/dzvents is disable and no more dzvents script running.
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Error executing uvccapture command. returned: 9

Post by waaren »

jluc2808 wrote: Friday 28 June 2019 20:38 Of course, when this problem/error append all the dzvents script are frozen and stop running, so even if I set the debug mode you will never have dzvents logging.
Read carefully my 1rst post, I have discribe the effect, param/other/dzvents is disable and no more dzvents script running.
I red and understood your first post. Debugging is available at various levels; that is why I asked to turn on debugging for both domoticz and dzVents.
When dzVents stopped it will no longer produce any debug info but until then it might reveal something that is happening on your system.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
jluc2808
Posts: 49
Joined: Thursday 18 January 2018 6:30
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Error executing uvccapture command. returned: 9

Post by jluc2808 »

OK I understand, I will set to debug
jluc2808
Posts: 49
Joined: Thursday 18 January 2018 6:30
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Error executing uvccapture command. returned: 9  [Solved]

Post by jluc2808 »

some news ,

after a long search i tried to connect to my NAS with SSH session and get a strange warning : ERROR: ld.so: object '/usr/local/lib/libkk.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
so i search that problem and find that there is virus / worm https://www.domoticz.com/forum/viewtopi ... =6&t=28329 which is involved in the problem, so i think that all my problems could be the result of that worm.
i will stop this thread and go back to the worm one.

thanks a lot
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest