Page 1 of 1
zmpkg[8557].ERR [Unable to find valid 'su' syntax] ??? help
Posted: Sat May 13, 2006 5:30 pm
by breizhbug
Hello, I need help to install zm service on ubuntu. Even if I have installed zm script shell with
update-rc.d zm defaults
When I connect zm web page, zm stay stopped. When I check services zm service doesn't appear on service's list.
Please help linux newbie

Posted: Mon May 15, 2006 6:35 pm
by breizhbug
Hello Again,
Could someone help me or is my question not clear ?
Posted: Mon May 15, 2006 10:17 pm
by jameswilson
have you tried starting it from the web page? if so what errors do you have
Posted: Tue May 16, 2006 2:13 pm
by breizhbug
jameswilson wrote:have you tried starting it from the web page? if so what errors do you have
Yes, When I click on Stopped word on web page, popup appear, I wrote start or started, Applying state changed please wait... popup close and nothing new...zm stay stopped.
I found in /tmp/zmpkg.log these errors:
05/16/06 16:11:41.096597 zmpkg[8557].INF [Command: start]
05/16/06 16:11:43.769081 zmpkg[8557].ERR [Unable to find valid 'su' syntax]
05/16/06 16:12:33.255712 zmpkg[8588].INF [Command: start]
05/16/06 16:12:35.176717 zmpkg[8588].ERR [Unable to find valid 'su' syntax]
It seems to be the issue. Why ? (remember, I'm newbie)
Posted: Wed May 17, 2006 7:21 am
by breizhbug
Hello,
I try to manualy start zm using /etc/init.d/zm start
After correcting some directory locations, process stop at line 140 with error :
echo_success command not found.
Then error on Touch command directory /var/lock/subsys/zm doesn't exist
Even if Command /etc/init.d/zm status gave me
ZoneMinder is running then web page indicate ZM stopped.
Nobody install ZM on ubuntu ?
Posted: Wed May 17, 2006 8:32 am
by jameswilson
ah i dont know i have never used ubuntu. I know there are issues with some distros and su but im not sure what they are. I might be worth learning on one of the distros we know more about (well fc3 and mandrake) and then moving that to ububtu
Posted: Wed May 17, 2006 9:49 pm
by zoneminder
Several people has installed ZM on Ubuntu without problems. If you search you should find a couple of short install guides for it as well.
Posted: Thu May 18, 2006 6:07 am
by breizhbug
Of course, I've seen and read lot of post regarding ubuntu and debian, but there is no complete tuto and none explain how to install correctly zm service or nobody who knows give me information.
I have also tried to install liveCD but there is errors during install so it seems to be so complicated.
Thanks to guy who explain and try to help newbies like me.
So, without help I will be obliged to stop here my linux conversion

Posted: Fri May 19, 2006 10:28 am
by zoneminder
I have just added a Wiki to the site and will be trying to encourage people to contribute 'Howto' type guides to that, to make it easier for people like yourself to find.
Don't give up yet

Posted: Fri May 19, 2006 3:31 pm
by breizhbug
zoneminder wrote:I have just added a Wiki to the site and will be trying to encourage people to contribute 'Howto' type guides to that, to make it easier for people like yourself to find.
Don't give up yet

Thanks a lot Zoneminder for your help

Posted: Tue May 23, 2006 3:49 pm
by KaZeR
I have something similar on my installation (gentoo). I found a quick and dirty trick for the moment : i gave the apache user a valid shell, then when i want to start or stop zm from console, i do a su - apache. I can then "zmpkg.pl whatever'.
Hope this help, waiting for better answer

Posted: Wed May 24, 2006 9:30 am
by mongrel
KaZeR wrote:I have something similar on my installation (gentoo). I found a quick and dirty trick for the moment : i gave the apache user a valid shell, then when i want to start or stop zm from console, i do a su - apache. I can then "zmpkg.pl whatever'.
Hope this help, waiting for better answer

Try 'emerge sudo' (eg. install package 'sudo'), works for me... & don't forget change shell for user apache back to false:) hope it helps:)
Posted: Wed May 24, 2006 12:20 pm
by KaZeR
I should have figured this one myself..
Thanks anyhow, i've emerged sudo and set apache's shell back to /bin/false
