zmpkg[7759]: ERR [Unable to find valid 'su' syntax]
zmpkg[7759]: ERR [Unable to find valid 'su' syntax]
Hello all,
I previously installed zoneminder and it was working fine.
I made some changes on my debian and now, I can't run it !!
when I click on "stopped" and I choose start I have an error on the log /var/log/syslog
Jan 13 08:08:08 debian zmpkg[7928]: INF [Command: start]
Jan 13 08:08:09 debian zmpkg[7928]: ERR [Unable to find valid 'su' syntax]
can anyone help me ?
I have already installed sudo package
Im' runing the 1.23.0 version
thank you
Sami
I previously installed zoneminder and it was working fine.
I made some changes on my debian and now, I can't run it !!
when I click on "stopped" and I choose start I have an error on the log /var/log/syslog
Jan 13 08:08:08 debian zmpkg[7928]: INF [Command: start]
Jan 13 08:08:09 debian zmpkg[7928]: ERR [Unable to find valid 'su' syntax]
can anyone help me ?
I have already installed sudo package
Im' runing the 1.23.0 version
thank you
Sami
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Unfortunately I don't have a Debian system so can't check this problem. For distro specific issues there is usually someone who is an expert who can diagnose the problem and recommend a fix. Ubuntu is Debian based I think and there appear to be no problems with that so it may be worth enquiring oif people who are running on that.
Phil
Hi samiweb!
I see this error in the syslog everytime I want to start Zoneminder from the frontend (web page). And of corse, the ZM status still "Stopped".
What kind of changes do you make in your Debian?
I´m using Ubuntu (Debian based) and the only weird thing I made is change the shell to bash, doing something like:
I think the problem is related to this because the error is about a command syntax...
But I guessing to much =P I hope someone with experience can help a little with this issue.
I see this error in the syslog everytime I want to start Zoneminder from the frontend (web page). And of corse, the ZM status still "Stopped".
What kind of changes do you make in your Debian?
I´m using Ubuntu (Debian based) and the only weird thing I made is change the shell to bash, doing something like:
Code: Select all
rm /bin/sh
ln -s /bin/sh /bin/bash
But I guessing to much =P I hope someone with experience can help a little with this issue.
As one of the Debian bigots I will tell you why I did not answer your post. 
"I made some changes..."
Am I expected to guess? If you messed up your system, and do not know how, it is much easier to reinstall and start from a known good platform than to try and guess what is screwed up. I say the same things to Ubuntu users who install Envy and complain when a major upgrade breaks the system... So rather than make a post that would be less than professional about your poor linux hygine, I chose to pass and let someone else handle this one. Sometimes you need to step back for a while, or you degenerate into one of the "Search Noob!" shouting idiots...
But I guess others were also stepping back for a while.
So for real help... What were the changes exactly.
How did you install it?
What version?

"I made some changes..."
Am I expected to guess? If you messed up your system, and do not know how, it is much easier to reinstall and start from a known good platform than to try and guess what is screwed up. I say the same things to Ubuntu users who install Envy and complain when a major upgrade breaks the system... So rather than make a post that would be less than professional about your poor linux hygine, I chose to pass and let someone else handle this one. Sometimes you need to step back for a while, or you degenerate into one of the "Search Noob!" shouting idiots...

Yep. sudo is broke... You compiled it one way, and then changed the way... You also might check your startup scripts. I would say where, but you did not say how you installed it.when I click on "stopped" and I choose start I have an error on the log /var/log/syslog
Jan 13 08:08:08 debian zmpkg[7928]: INF [Command: start]
Jan 13 08:08:09 debian zmpkg[7928]: ERR [Unable to find valid 'su' syntax]
So for real help... What were the changes exactly.
How did you install it?
What version?
Hi Lee Sharp! Thanks for the reply.
I will explain my installation procedures:
First I download the 1.23.1 version.
Then unpack it in my Desktop and build it:
./configure --with-webdir=/var/www/zm --with-cgidir=/var/www/zm/cgi
After that I write the MySQL statements:
mysql mysql < db/zm_create.sql
mysql mysql
grant select,insert,update,delete on zm.* to 'zmuser'@localhost identified by 'zmpass';
quit
mysqladmin reload
Then I do a make install. Next to that I run /usr/local/bin/zmpkg.pl start
I do a chmod 644 to zm.conf, then I load the frontend. Everything is allright up to here. But when I try to start Zoneminder from the web panel, the status remain in "Stopped", and the syslog said the 'su' thing.
That's all!
erm... I found this >>> http://serverwiki.nerdworks.org/index.p ... nce_Server
Is a tutorial to install ZM in a Slackware distro, but I think it could help. I can't read it right now, 'cos it's to late for me, but tomorrow I will do it
I will explain my installation procedures:
First I download the 1.23.1 version.
Then unpack it in my Desktop and build it:
./configure --with-webdir=/var/www/zm --with-cgidir=/var/www/zm/cgi
After that I write the MySQL statements:
mysql mysql < db/zm_create.sql
mysql mysql
grant select,insert,update,delete on zm.* to 'zmuser'@localhost identified by 'zmpass';
quit
mysqladmin reload
Then I do a make install. Next to that I run /usr/local/bin/zmpkg.pl start
I do a chmod 644 to zm.conf, then I load the frontend. Everything is allright up to here. But when I try to start Zoneminder from the web panel, the status remain in "Stopped", and the syslog said the 'su' thing.
That's all!
erm... I found this >>> http://serverwiki.nerdworks.org/index.p ... nce_Server
Is a tutorial to install ZM in a Slackware distro, but I think it could help. I can't read it right now, 'cos it's to late for me, but tomorrow I will do it

You should be fine if you just change the user and group in zm.conf. You will have to make sure to check for errors as some things that zm creates will still be root and you will have to change the permissions for things to fall into place (Like the log files for example will be owned by root, you can just delete those, and maybe the sock and pid files.)
hello,
I was waiting for a notification from the forum, and I did think that no one has reply
anyway, fo me the situation is the same, I have upgraded to the version to the 1.23.1
and try to compil it the the line command:
But I still have the same problem !!!
I also tried to change the user an group to root (just for testing) into the file /usr/local/etc/zm.conf but the same thing happens
how can I resolve that ??
thank you
Sami
I was waiting for a notification from the forum, and I did think that no one has reply

anyway, fo me the situation is the same, I have upgraded to the version to the 1.23.1
and try to compil it the the line command:
Code: Select all
./configure --with-webdir=/var/www/zm --with-cgidir=/usr/lib/cgi-bin --with-webuser=www-data --with-webgroup=www-data

Code: Select all
Feb 3 06:50:54 debian zmpkg[5010]: INF [Command: start]
Feb 3 06:50:55 debian zmpkg[5010]: ERR [Unable to find valid 'su' syntax]
I also tried to change the user an group to root (just for testing) into the file /usr/local/etc/zm.conf but the same thing happens
Code: Select all
Feb 3 07:40:55 debian zmpkg[5486]: INF [Command: start]
Feb 3 07:40:55 debian zmpkg[5486]: ERR [Unable to find valid 'su' syntax]
how can I resolve that ??
thank you
Sami