Support and queries relating to all previous versions of ZoneMinder
-
steltek
- Posts: 11
- Joined: Fri Feb 20, 2004 1:23 pm
Post
by steltek »
Debian testing, ZM 1.22.3 (installed from unstable package)
no matter what I do, all I get is:
ERR [Unable to run "sudo -u www-data /usr/bin/zmfix", output is ""]
Is there a way to debug what zmfix is doing? (the SQL base looks OK, access is OK too)
-
cordel
- Posts: 5210
- Joined: Fri Mar 05, 2004 4:47 pm
- Location: /USA/Washington/Seattle
Post
by cordel »
-
steltek
- Posts: 11
- Joined: Fri Feb 20, 2004 1:23 pm
Post
by steltek »
Been there, done that, got the t-shirt.
Alas, it doesn't help. zmfix remains quiet.
-
cordel
- Posts: 5210
- Joined: Fri Mar 05, 2004 4:47 pm
- Location: /USA/Washington/Seattle
Post
by cordel »
And you have sudo installed?
-
steltek
- Posts: 11
- Joined: Fri Feb 20, 2004 1:23 pm
Post
by steltek »
Yep:
~# sudo
usage: sudo -K | -L | -V | -h | -k | -l | -v
usage: sudo [-HPSb] [-p prompt] [-u username|#uid]
{ -e file [...] | -i | -s | <command> }
And when I run 'sudo -u www-data /usr/bin/zmfix', nothing happens (ie it starts and I'm dropped back to command prompt without any message).
-
cordel
- Posts: 5210
- Joined: Fri Mar 05, 2004 4:47 pm
- Location: /USA/Washington/Seattle
Post
by cordel »
sounds like www-data might not have a shell access. How is the user configured?
-
steltek
- Posts: 11
- Joined: Fri Feb 20, 2004 1:23 pm
Post
by steltek »
/# su - www-data
www-data@server:~$
Its shell is /bin/sh
-
steltek
- Posts: 11
- Joined: Fri Feb 20, 2004 1:23 pm
Post
by steltek »
Found the problem: When the machine was rebooted, another program started and took hold of the webcam device!
-
cordel
- Posts: 5210
- Joined: Fri Mar 05, 2004 4:47 pm
- Location: /USA/Washington/Seattle
Post
by cordel »
Glad you were able to get it sorted out.
Regards,
Corey