Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 164893 - www-misc/zoneminder - post-installation docs incorrect
Summary: www-misc/zoneminder - post-installation docs incorrect
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-01 18:19 UTC by p cooper
Modified: 2007-02-01 18:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description p cooper 2007-02-01 18:19:26 UTC
it states 

1.  Edit /etc/zm.conf:
  ZM_PATH_BUILD => /usr/share/zoneminder
  ZM_PATH_WEB   => /
  ZM_PATH_CGI   => /var/www/localhost/cgi-bin

this should be ZM_PATH_BUILD = /usr/share/zoneminder
/usr/lib/perl5/site_perl/5.8.8/ZoneMinder/Config.pm    splits it on a = sign

  81          my ( $name, $value ) = $str =~ /^\s*([^=\s]+)\s*=\s*(.+?)\s*$/;



2.  Start the zoneminder daemon:
  /etc/init.d/zoneminder start

also needs syslog-ng installed
without it you get this 

chickcam cgi-bin # /etc/init.d/zoneminder start
 * Starting zoneminder ...
no connection to syslog available
        - getservbyname failed for syslog/tcp and syslogng/tcp
        - unix dgram connect: Connection refused
        - stream /dev/conslog is not writable
        - console is not writable at /usr/lib/perl5/site_perl/5.8.8/ZoneMinder/Debug.pm line 249                            [ !! ]
chickcam cgi-bin #                                                                                  


3. Login: http://localhost///zm.php

isnt correct 

you need apache to be running  and the path is http://localhost/zm/zm.php





Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-02-01 18:24:27 UTC
The instructions are just fine (http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/zm.php) but your webapps are misconfigured, i.e.${VHOST_APPDIR} not set.

(And kindly stick ebuild name and version into bug summary next time instead of letting us guess.)