Page 1 of 1

ERR [Unable to run "sudo -u www-data /usr/bin/zmfix&quo

Posted: Fri Mar 30, 2007 6:36 pm
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)

Posted: Fri Mar 30, 2007 6:43 pm
by cordel

Posted: Fri Mar 30, 2007 6:52 pm
by steltek
Been there, done that, got the t-shirt.

Alas, it doesn't help. zmfix remains quiet.

Posted: Fri Mar 30, 2007 7:04 pm
by cordel
And you have sudo installed?

Posted: Fri Mar 30, 2007 7:10 pm
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).

Posted: Fri Mar 30, 2007 7:17 pm
by cordel
sounds like www-data might not have a shell access. How is the user configured?

Posted: Fri Mar 30, 2007 7:24 pm
by steltek
/# su - www-data
www-data@server:~$
Its shell is /bin/sh

Posted: Fri Mar 30, 2007 9:37 pm
by steltek
Found the problem: When the machine was rebooted, another program started and took hold of the webcam device!

Posted: Fri Mar 30, 2007 9:58 pm
by cordel
Glad you were able to get it sorted out.

Regards,
Corey