Need some help with Install, apache issues with chown

Support and queries relating to all previous versions of ZoneMinder
Locked
Deserted
Posts: 1
Joined: Fri Mar 31, 2006 12:17 am
Contact:

Need some help with Install, apache issues with chown

Post by Deserted »

being extremely new to Linux, not sure what the story is here, this is the error i'm getting with make install

root@video:/home/psit/ZoneMinder-1.22.0 # make install
Making install in src
make[1]: Entering directory `/home/psit/ZoneMinder-1.22.0/src'
make[2]: Entering directory `/home/psit/ZoneMinder-1.22.0/src'
test -z "/usr/local/bin" || mkdir -p -- "/usr/local/bin"
/usr/bin/install -c 'zmc' '/usr/local/bin/zmc'
/usr/bin/install -c 'zma' '/usr/local/bin/zma'
/usr/bin/install -c 'zmu' '/usr/local/bin/zmu'
/usr/bin/install -c 'zms' '/usr/local/bin/zms'


/usr/bin/install -c 'zmf' '/usr/local/bin/zmf'
/usr/bin/install -c 'zmfix' '/usr/local/bin/zmfix'
make install-exec-hook
make[3]: Entering directory `/home/psit/ZoneMinder-1.22.0/src'
( cd /usr/local/bin; mkdir -p /var/www/cgi-bin; mv zms /var/www/cgi-bin )
( cd /var/www/cgi-bin; chown apache:apache zms; ln -f zms nph-zms )
chown: `apache:apache': invalid user
( cd /usr/local/bin; chmod u+s zmfix )
make[3]: Leaving directory `/home/psit/ZoneMinder-1.22.0/src'
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/psit/ZoneMinder-1.22.0/src'
make[1]: Leaving directory `/home/psit/ZoneMinder-1.22.0/src'
Making install in web
make[1]: Entering directory `/home/psit/ZoneMinder-1.22.0/web'
Making install in graphics
make[2]: Entering directory `/home/psit/ZoneMinder-1.22.0/web/graphics'
make[3]: Entering directory `/home/psit/ZoneMinder-1.22.0/web/graphics'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/var/www/html/graphics" || mkdir -p -- "/var/www/html/graphics"
/usr/bin/install -c -m 644 'arrow-d.gif' '/var/www/html/graphics/arrow-d.gif'
/usr/bin/install -c -m 644 'arrow-dl.gif' '/var/www/html/graphics/arrow-dl.gif'
/usr/bin/install -c -m 644 'arrow-dr.gif' '/var/www/html/graphics/arrow-dr.gif'
/usr/bin/install -c -m 644 'arrow-l.gif' '/var/www/html/graphics/arrow-l.gif'
/usr/bin/install -c -m 644 'arrow-r.gif' '/var/www/html/graphics/arrow-r.gif'
/usr/bin/install -c -m 644 'arrow-u.gif' '/var/www/html/graphics/arrow-u.gif'
/usr/bin/install -c -m 644 'arrow-ul.gif' '/var/www/html/graphics/arrow-ul.gif'
/usr/bin/install -c -m 644 'arrow-ur.gif' '/var/www/html/graphics/arrow-ur.gif'
/usr/bin/install -c -m 644 'arrow-l-u.gif' '/var/www/html/graphics/arrow-l-u.gi f'
/usr/bin/install -c -m 644 'arrow-l-d.gif' '/var/www/html/graphics/arrow-l-d.gi f'
/usr/bin/install -c -m 644 'center.gif' '/var/www/html/graphics/center.gif'
/usr/bin/install -c -m 644 'seq-u.gif' '/var/www/html/graphics/seq-u.gif'
/usr/bin/install -c -m 644 'seq-d.gif' '/var/www/html/graphics/seq-d.gif'
/usr/bin/install -c -m 644 'point-g.gif' '/var/www/html/graphics/point-g.gif'
/usr/bin/install -c -m 644 'point-o.gif' '/var/www/html/graphics/point-o.gif'
/usr/bin/install -c -m 644 'point-r.gif' '/var/www/html/graphics/point-r.gif'
/usr/bin/install -c -m 644 'spacer.gif' '/var/www/html/graphics/spacer.gif'
make install-data-hook
make[4]: Entering directory `/home/psit/ZoneMinder-1.22.0/web/graphics'
( cd /var/www/html/graphics; chown apache:apache arrow-d.gif arrow-dl.gif arrow- dr.gif arrow-l.gif arrow-r.gif arrow-u.gif arrow-ul.gif arrow-ur.gif arrow-l-u.g if arrow-l-d.gif center.gif seq-u.gif seq-d.gif point-g.gif point-o.gif point-r. gif spacer.gif )
chown: `apache:apache': invalid user
make[4]: *** [install-data-hook] Error 1
make[4]: Leaving directory `/home/psit/ZoneMinder-1.22.0/web/graphics'
make[3]: *** [install-data-am] Error 2
make[3]: Leaving directory `/home/psit/ZoneMinder-1.22.0/web/graphics'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/psit/ZoneMinder-1.22.0/web/graphics'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/psit/ZoneMinder-1.22.0/web'
make: *** [install-recursive] Error 1


getting an invalid user response? I'm running Ubuntu 5.04 (Hoary Hedgehog) distro, and installing via root terminal.

any ideas?

thanks

Deserted
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

This seems to suggest that 'apache' is not the web user or group on your system. I don't know Ubuntu but you could check what user is running the web server via ps, it may well be something like wwwrun in which case this is what you have to supply to configure.
Phil
Locked