Page 1 of 1

ZoneMinder don't start after compiling

Posted: Mon Feb 20, 2012 10:59 am
by atomino_max
sudo ./configure --with-libarch=lib64 --with-webdir=/var/www/html --with-cgidir=/var/www/cgi-bin ZM_SSL_LIB=openssl --enable-mmap=no --with-webuser=www-data --with-webgroup=www-data

sudo make ... no errors

sudo make install ... no errors

but zoneminder don't start so try manually :

sudo /etc/init.d/zoneminder start : result

Starting ZoneMinder: ./zoneminder: 86: /usr/bin/zmpkg.pl: not found
failure

and i found with locate zmpkg.pl :
/usr/local/bin/zmpkg.pl

i make sudo cat /usr/local/etc/zm.conf

# ==========================================================================
#
# ZoneMinder Base Configuration, $Date: 2008-07-25 10:48:16 +0100 (Fri, 25 Jul 2008) $, $Revision: 2612 $
#
# ==========================================================================
#
# This file is generated by 'configure'. Care should be taken if manually
# editing this file as an changes may be overwritten by subsequent configuration
# or installations.
#

# Current version of ZoneMinder
ZM_VERSION=1.25.0

# Path to build directory, used mostly for finding DB upgrade scripts
ZM_PATH_BUILD=/home/massimiliano/Download/Zoneminder/ZoneMinder-1.25.0

# Build time, used to record when to trigger various checks
ZM_TIME_BUILD=1329677867

# Path to ZoneMinder binaries
ZM_PATH_BIN=/usr/local/bin

# Path to ZoneMinder libraries (none at present, for future use)
ZM_PATH_LIB=/usr/local/lib

# Path to ZoneMinder configuration (this file only at present)
ZM_PATH_CONF=/usr/local/etc

# Path to ZoneMinder web files
ZM_PATH_WEB=/var/www/html

# Path to ZoneMinder cgi files
ZM_PATH_CGI=/var/www/cgi-bin

# Username and group that web daemon (httpd/apache) runs as
ZM_WEB_USER=www-data
ZM_WEB_GROUP=www-data

# ZoneMinder database hostname or ip address
ZM_DB_HOST=localhost

# ZoneMinder database name
ZM_DB_NAME=zm

# ZoneMinder database user
ZM_DB_USER=zmuser

# ZoneMinder database password
ZM_DB_PASS=zmpass




......how can I fix the problem ?