No live/events with LinHes
Posted: Wed Feb 21, 2018 3:56 am
I'm using a Linux distribution geared toward home entertainment/TV recording that also includes Zoneminder (1.30.2). The package makers do not have a lot of zoneminder experience, but include it with the distribution.
I cannot view live images or recorded events.However, events are being captured. if I select an event and create a video (such as AVI) I can view the event.
Initially, there were issues with CakePHP and I have made some improvements because I can now see http://server/zm/api/, though I'm not sure if it's 100% correct (authentication is turned off):
When I try http://server/zm/api/host/getVersion.json I get a blank window and nothing helpful in any log files I can find.
I can see the nph-zms process running on my system, even when I close the "live" view. More interesting, files are written to /var/log as follows:
I have to kill the nph-zms process or the processes will remain until the system is rebooted. Once I kill the process(es) the files in /var/tmp are removed.
The files appear to be related to zoneminder:
I am using Firefox 52 for my browser, which worked well with zoneminder 1.30.0.
Help.
I cannot view live images or recorded events.However, events are being captured. if I select an event and create a video (such as AVI) I can view the event.
Initially, there were issues with CakePHP and I have made some improvements because I can now see http://server/zm/api/, though I'm not sure if it's 100% correct (authentication is turned off):
Code: Select all
CakePHP: the rapid development php framework
Not Found
Error: The requested address '/zm/api/' was not found on this server.
CakePHP: the rapid development php framework
CakePHP 2.8.0
I can see the nph-zms process running on my system, even when I close the "live" view. More interesting, files are written to /var/log as follows:
Code: Select all
-rw------- 1 http http 1066616 Feb 20 20:43 /var/tmp/lighttpd-upload-4OT8gf
-rw------- 1 http http 1071960 Feb 20 20:46 /var/tmp/lighttpd-upload-5CO2je
-rw------- 1 http http 1066374 Feb 20 20:43 /var/tmp/lighttpd-upload-65mzSQ
-rw------- 1 http http 1064589 Feb 20 20:43 /var/tmp/lighttpd-upload-8VUrkX
The files appear to be related to zoneminder:
Code: Select all
$ sudo less /var/tmp/lighttpd-upload-ps6S00
"/var/tmp/lighttpd-upload-ps6S00" may be a binary file. See it anyway?
--ZoneMinderFrame
Content-Type: image/jpeg
Content-Length: 54572
<FF><D8><FF><E0>^@^PJFIF^@^A^A^@^@^A^@^A^@^@<FF><DB>^@C^@
^G^G^H^G^F
^H^H^H^K
Help.