View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 19 posts ] 
Go to page 1, 2  Next

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: Zoneminder and R8.5.1
PostPosted: Thu Dec 28, 2017 1:18 pm 
Offline
Joined: Wed Jan 18, 2006 8:36 pm
Posts: 199
My zoneminder is not working, meaning I cannot see any live streams nor can I see any previously captured events. It appears zoneminder if still analyzing and capturing events, though.

The first step is to do: zmupdate.pl

This will update your zoneminder database from 1.30.0 to 1.30.2

The nph-zms binary appears to be compiled so that all libraries resolve (good news).

However, the nph-zms processes don't appear to go away once you attempt to view a camera or event.

Yes, I am using Firefox.


Top
 Profile  
 
PostPosted: Thu Dec 28, 2017 1:51 pm 
Offline
Joined: Mon Apr 10, 2006 3:48 pm
Posts: 997
Location: Lexington, Ky
I'm not using Zm but with the latest versions of Firefox I can no longer view any of my cameras. I do how ever get a message on the browser screen. Try IE. That's what I had to resort to.


Top
 Profile  
 
PostPosted: Thu Dec 28, 2017 2:07 pm 
Offline
Joined: Wed Jan 18, 2006 8:36 pm
Posts: 199
My version of Firefox has not changed. Meaning, I was able to view my cameras this morning before the upgrade and after the upgrade I am unable to view them.


Top
 Profile  
 
PostPosted: Thu Dec 28, 2017 8:38 pm 
Offline
Joined: Mon Apr 10, 2006 3:48 pm
Posts: 997
Location: Lexington, Ky
Got it, well keep using the version your using. Don't upgrade..

Wish I had something else but no other thoughts at the moment. Good luck.


Top
 Profile  
 
PostPosted: Sun Dec 31, 2017 9:40 am 
Offline
Joined: Wed Jan 18, 2006 8:36 pm
Posts: 199
Something else that I just noticed, I left a nph-zms process running Friday morning and how I have 28,000 files from lighthttpd in /myth/tmp, it's odd:

Code:
$ ls -ltr /myth/tmp
-rw------- 1 http http 1055112 Dec 29 10:36 /myth/tmp/lighttpd-upload-fWipqP
-rw------- 1 http http 1064678 Dec 29 10:36 /myth/tmp/lighttpd-upload-laZsr5
...
-rw------- 1 http http 1087619 Dec 31 08:33 /myth/tmp/lighttpd-upload-HSrDN7
-rw------- 1 http http  681069 Dec 31 08:33 /myth/tmp/lighttpd-upload-PhN66W


Now that I've killed the process, the files have stopped accumulating.

Also interesting is the content of the files:
Code:
$ sudo less /myth/tmp/lighttpd-upload-ps6S00
"/myth/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


Looks like a zoneminder jpeg file.


Top
 Profile  
 
PostPosted: Tue Jan 30, 2018 10:34 pm 
Offline
Joined: Wed Jan 18, 2006 8:36 pm
Posts: 199
Small progress, I found an error:
Code:
# tail -f /var/log/2018-01-30/mythtv_php-cgi.log
Jan 30 20:26:58 mythtv php-cgi[26996]: PHP Warning:  _cake_core_ cache was unable to write 'cake_dev_en-us' to File cache in /data/srv/httpd/zoneminder/api/lib/Cake/Cache/Cache.php on line 328
Jan 30 20:26:58 mythtv php-cgi[26996]: PHP Warning:  /data/srv/httpd/zoneminder/api/app/tmp/cache/persistent/ is not writable in /data/srv/httpd/zoneminder/api/lib/Cake/Cache/Engine/FileEngine.php on line 385

I created /data/srv/httpd/zoneminder/api/app/tmp/cache/persistent/ but still cannot view live or recorded events.

I should be able to view this URL: http://mythtv/zm/api/host/getVersion.json

but am not there yet.


Top
 Profile  
 
PostPosted: Wed Jan 31, 2018 10:32 pm 
Offline
Joined: Wed Jan 18, 2006 8:36 pm
Posts: 199
Small progress. Creating these:
Code:
tmp/
tmp/cache
tmp/cache/models
tmp/cache/cache_group
tmp/cache/persistent
tmp/logs
made it so I could get this somewhat working:
http://mythtv/zm/api/


Top
 Profile  
 
PostPosted: Sat Feb 17, 2018 1:13 am 
Offline
Joined: Wed Mar 03, 2004 7:43 pm
Posts: 748
Location: Sydney, Australia
I upgraded from 8.4.2 to 8.5.1 on Dec. 29, but after a recent power outage, couldn't use the frontend because database filesystem filled up. Some snooping revealed:

Code:
# ls -l /data/srv/mysql/zm
total 1502980
-rw-rw---- 1 mysql mysql       8972 Jan  8  2017 Config.frm
-rw-rw---- 1 mysql mysql     344064 Dec 29 15:56 Config.ibd
-rw-rw---- 1 mysql mysql       8636 Jan  8  2017 ControlPresets.frm
-rw-rw---- 1 mysql mysql      98304 Jan  8  2017 ControlPresets.ibd
-rw-rw---- 1 mysql mysql      13106 Jan  8  2017 Controls.frm
-rw-rw---- 1 mysql mysql      98304 Jan  8  2017 Controls.ibd
-rw-rw---- 1 mysql mysql         61 Jan  8  2017 db.opt
-rw-rw---- 1 mysql mysql       8662 Jan  8  2017 Devices.frm
-rw-rw---- 1 mysql mysql      98304 Jan  8  2017 Devices.ibd
-rw-rw---- 1 mysql mysql       9330 Jan  8  2017 Events.frm
-rw-rw---- 1 mysql mysql     163840 Jan  8  2017 Events.ibd
-rw-rw---- 1 mysql mysql       8980 Jan  8  2017 Filters.frm
-rw-rw---- 1 mysql mysql      98304 Jan  8  2017 Filters.ibd
-rw-rw---- 1 mysql mysql       8782 Jan  8  2017 Frames.frm
-rw-rw---- 1 mysql mysql     147456 Jan  8  2017 Frames.ibd
-rw-rw---- 1 mysql mysql       8628 Jan  8  2017 Groups.frm
-rw-rw---- 1 mysql mysql      98304 Jan  8  2017 Groups.ibd
-rw-rw---- 1 mysql mysql       8830 Jan  8  2017 Logs.frm
-rw-rw---- 1 mysql mysql 1535115264 Feb 17 17:38 Logs.ibd
...



The thing is, I don't even use ZoneMinder. I don't think I have ever configured it. Is that normal?

Thankfully, a Google revealed a fast way to fix this:
Code:
mysql  -uroot  zm
truncate table Logs;
quit


but this might be a problem for other users?

_________________
| Nigel Pearson, nigel.pearson.au@gmail.com
| "Things you own end up owning you" - Tyler, Fight Club


Top
 Profile  
 
PostPosted: Sun Feb 18, 2018 10:22 pm 
Offline
Joined: Wed Jan 18, 2006 8:36 pm
Posts: 199
nigelpearson wrote:
The thing is, I don't even use ZoneMinder. I don't think I have ever configured it. Is that normal?

I'm not certain if this is normal as I usually configure zoneminder and set-up rules to automatically truncate events.

I appreciate the suggestion, though.


Top
 Profile  
 
PostPosted: Mon Feb 19, 2018 8:09 am 
Offline
Joined: Fri Jul 21, 2006 11:12 pm
Posts: 1194
Location: SC
I don't see anywhere that zoneminder is on by default. The user would have to specifically install it using either pacman or select it in LinHES Settings --> Programs.


Top
 Profile  
 
PostPosted: Wed Apr 18, 2018 9:19 pm 
Offline
Joined: Wed Jan 18, 2006 8:36 pm
Posts: 199
Small progress, I suspect a PHP package called php-uapc is missing, more information here.

Maybe this will fix my problem? Can someone package this?


Top
 Profile  
 
PostPosted: Thu Apr 19, 2018 6:20 am 
Offline
Joined: Thu Sep 27, 2007 5:44 pm
Posts: 580
I dont mind trying to build it tomorrow evening if you dont mind installing something which is not yet in the linhes repository.


Top
 Profile  
 
PostPosted: Thu Apr 19, 2018 9:05 pm 
Offline
Joined: Wed Jan 18, 2006 8:36 pm
Posts: 199
Sure, let me know where to get it and give me a md5sum/sha256sum value and I'll give it a go. Thanks.


Top
 Profile  
 
PostPosted: Fri Apr 20, 2018 8:39 pm 
Offline
Joined: Thu Sep 27, 2007 5:44 pm
Posts: 580
Fair warning... I have not even tried to install this, but I was able to get it to build:
php-apcu 4.0.11
Download link:
https://drive.google.com/open?id=1llK2X ... J9JxWeP4Y1
md5sum:
9b66cec84fbb448201a3db2c381bf50e
Don't hold me responsible for any problems you encounter! It looks like you may still need to enable it in configuration somewhere as well. Let me know if this helps. I have the PKGBUILD file I can submit for consideration in the repository.


Top
 Profile  
 
PostPosted: Sun Apr 22, 2018 9:29 pm 
Offline
Joined: Wed Jan 18, 2006 8:36 pm
Posts: 199
I installed the package.

I added the following line to /etc/php/php.ini:
Code:
extension=apcu.so

to the "Dynamic Extensions" section.

I restarted lighttpd.

I created a script to run phpinfo() for me and I did see apcu in that output.

I restarted zoneminder for good measure.

Unfortunately, I still cannot view live video or recorded events. :(

The search continues...


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ] 
Go to page 1, 2  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu