Unable to run "/usr/local/bin/zmfix", output is ""

Forum for questions and support relating to the 1.25.x releases only.
Locked
Brimstar
Posts: 5
Joined: Wed Oct 07, 2009 1:04 pm

Unable to run "/usr/local/bin/zmfix", output is ""

Post by Brimstar »

I get the message above in the log when I tell Zoneminder 1.25.0 to start.

Fresh install of CentOS 6.0

Configure statement when building ZoneMinder:
./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin --with-webuser=apache --with-webgroup=apache ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zmadmin ZM_DB_PASS=Wh1teAnd8lack ZM_SSL_LIB=openssl --with-ffmpeg=/usr/local/share/ffmpeg CPPFLAGS="-D__STDC_CONSTANT_MACROS"

Not getting errors
ffmpeg is built and seems to be ok. When run I get the following:

ffmpeg version N-34030-g1ca1336, Copyright (c) 2000-2011 the FFmpeg developers
built on Oct 25 2011 14:30:49 with gcc 4.4.4 20100726 (Red Hat 4.4.4-13)
configuration: --enable-gpl --enable-shared --enable-pthreads
libavutil 51. 22. 0 / 51. 22. 0
libavcodec 53. 23. 0 / 53. 23. 0
libavformat 53. 17. 0 / 53. 17. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 45. 0 / 2. 45. 0
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

Use -h to get full help or, even better, run 'man ffmpeg'

I also get the following error if I tell it to probe the camera.
Unable to probe local cameras, status is '127'

Setup is identical to our existing 1.24.2 for the camera, and that install is functional. We need to move over to a different machine so we figured a rebuild was in order.

Any suggestions on what to look for?
mastertheknife
Posts: 678
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Re: Unable to run "/usr/local/bin/zmfix", output is ""

Post by mastertheknife »

This error and the broken probe are nothing critical, you can safely ignore these. If zoneminder doesn't work, the error lies somewhere else.

mastertheknife
Kfir Itzhak.
Brimstar
Posts: 5
Joined: Wed Oct 07, 2009 1:04 pm

Re: Unable to run "/usr/local/bin/zmfix", output is ""

Post by Brimstar »

Checked a couple things and found I'd forgotten to turn off SELinux Toggled that off and everything seems happy now.
elbek
Posts: 11
Joined: Tue Dec 06, 2011 5:33 pm

Re: Unable to run "/usr/local/bin/zmfix", output is ""

Post by elbek »

I have same error about Probe cameras.

I dont have SElinux working so no idea about this error.

Could somebody help me?

thanks.
aDutchuser
Posts: 5
Joined: Wed Dec 28, 2011 1:09 pm

Re: Unable to run "/usr/local/bin/zmfix", output is ""

Post by aDutchuser »

try sudo -u [the webuser] /usr/local/bin/zmfix

or
sudo ldd /usr/local/bin/zmfix
what you'll find is that zmfix can't find a few libraries.

so just ln -s [path to missing library] /usr/lib/
Locked