I appreciate any assistance!
Problem is, I can view individual frames from an event but when I attempt to watch the event, as an animated stream, I see nothing.
However, I can see nph-zms running using 'ps -fae | grep zm'
Code: Select all
apache 4530 4027 0 21:36 ? 00:00:00 /var/www/localhost/cgi-bin/nph-zms
And an example of who owns the process
Code: Select all
apache 4027 4025 0 21:33 ? 00:00:00 /usr/sbin/apache2 -D DEFAULT_VHOST -D INFO -D MANUAL -D SSL -D SSL_DEFAULT_VHOST -D
apache 4245 4027 0 21:34 ? 00:00:00 /var/www/localhost/cgi-bin/nph-zms
apache 4530 4027 0 21:36 ? 00:00:00 /var/www/localhost/cgi-bin/nph-zms
I did notice that once I stopped Zoneminder, these two processes hung around and once I killed them off, the following lines appeared in the apache log files.
Code: Select all
127.0.0.1 - - [02/Jan/2013:21:36:48 +1030] "GET /cgi-bin/nph-zms?source=event&mode=jpeg&event=11&frame=1&scale=100&rate=100&maxfps=15&replay=single&connkey=325915&rand=1357124808 HTTP/1.1" 200 -
127.0.0.1 - - [02/Jan/2013:21:34:08 +1030] "GET /cgi-bin/nph-zms?source=event&mode=jpeg&event=11&frame=1&scale=100&rate=100&maxfps=15&replay=single&connkey=81644&rand=1357124648 HTTP/1.1" 200 -
::
Nothing in the error log other than apache mod_ssl resuming normal operations (I am not using ssl for zoneminder).
Nothing in the zoneminder logs (database) indicates any exceptions.
Global read/execute permissions on zms and nph-zms in /var/www/localhost/cgi-bin (which is scriptaliased in the apache config) as well as /var/www/localhost/zoneminder/cgi-bin (which is aliased in the zoneminder part of the apache config and has ExecCGI enabled)
/etc/zm.conf is owned by apache:root and is rw to Owner and r to group, so if the zms programs access the config, they should be able to.
I am kind of confused why apache is running the /var/www/localhost/cgi-bin/nph-zms runner than the /var/www/localhost/htdocs/zonemaster/cgi-bin/nph-zms program.
Apache global config
Code: Select all
<IfModule alias_module>
ScriptAlias /cgi-bin/ "/var/www/localhost/cgi-bin/"
</IfModule>
Zonemaster specific config
Code: Select all
Alias /cgi-bin/zms "/var/www/localhost/htdocs/zoneminder/cgi-bin/zms"
Alias /cgi-bin/nph-zms "/var/www/localhost/htdocs/zoneminder/cgi-bin/nph-zms"
<Directory "/var/www/localhost/htdocs/zoneminder/cgi-bin">
AllowOverride All
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
Alias /zoneminder "/var/www/localhost/htdocs/zoneminder"
<Directory "/var/www/localhost/htdocs/zoneminder">
Options -Indexes MultiViews FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
Directory structure
Code: Select all
root@lyalls-pc /var/www/localhost
# find . -type d # superflous directories removed from listing.
.
./cgi-bin # copies of zms and nph-zms are in here as well
./htdocs
./htdocs/zoneminder
./htdocs/zoneminder/htdocs
./htdocs/zoneminder/htdocs/sound
./htdocs/zoneminder/htdocs/images
./htdocs/zoneminder/htdocs/events
./htdocs/zoneminder/temp
./htdocs/zoneminder/sounds
./htdocs/zoneminder/images
./htdocs/zoneminder/events # Events have been captured, as can be seen in this directory tree
./htdocs/zoneminder/events/1
./htdocs/zoneminder/events/1/13
./htdocs/zoneminder/events/1/13/01
./htdocs/zoneminder/events/1/13/01/01
./htdocs/zoneminder/events/1/13/01/01/15
./htdocs/zoneminder/events/1/13/01/01/15/16
./htdocs/zoneminder/events/1/13/01/01/15/16/27
./htdocs/zoneminder/events/1/13/01/01/15/59
./htdocs/zoneminder/events/1/13/01/01/15/59/40
./htdocs/zoneminder/events/1/13/01/01/16
./htdocs/zoneminder/events/1/13/01/01/16/42
./htdocs/zoneminder/events/1/13/01/01/16/42/47
./htdocs/zoneminder/events/1/13/01/01/17
./htdocs/zoneminder/events/1/13/01/01/17/14
./htdocs/zoneminder/events/1/13/01/01/17/14/47
./htdocs/zoneminder/events/1/13/01/01/17/31
./htdocs/zoneminder/events/1/13/01/01/17/31/29
./htdocs/zoneminder/events/1/13/01/01/17/37
./htdocs/zoneminder/events/1/13/01/01/17/37/25
./htdocs/zoneminder/events/1/13/01/02
./htdocs/zoneminder/events/1/13/01/02/21
./htdocs/zoneminder/events/1/13/01/02/21/33
./htdocs/zoneminder/events/1/13/01/02/21/33/53
./htdocs/zoneminder/events/1/13/01/02/21/37
./htdocs/zoneminder/events/1/13/01/02/21/37/40
./htdocs/zoneminder/views
./htdocs/zoneminder/tools
./htdocs/zoneminder/tools/mootools
./htdocs/zoneminder/skins
./htdocs/zoneminder/skins/xml
./htdocs/zoneminder/skins/xml/views
./htdocs/zoneminder/skins/xml/includes
./htdocs/zoneminder/skins/mobile
./htdocs/zoneminder/skins/mobile/views
./htdocs/zoneminder/skins/mobile/views/css
./htdocs/zoneminder/skins/mobile/includes
./htdocs/zoneminder/skins/mobile/css
./htdocs/zoneminder/skins/classic
./htdocs/zoneminder/skins/classic/views
./htdocs/zoneminder/skins/classic/views/js
./htdocs/zoneminder/skins/classic/views/css
./htdocs/zoneminder/skins/classic/js
./htdocs/zoneminder/skins/classic/includes
./htdocs/zoneminder/skins/classic/graphics
./htdocs/zoneminder/skins/classic/css
./htdocs/zoneminder/lang
./htdocs/zoneminder/js
./htdocs/zoneminder/includes
./htdocs/zoneminder/graphics
./htdocs/zoneminder/css
./htdocs/zoneminder/ajax
./htdocs/zoneminder/cgi-bin # zms and nph-zms in here too!
./error
./icons