[SOLVED] zoneminder Event view broken in Eyezm

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

Re: zoneminder Event view broken

Postby doktor5000 » Jun 17th, '12, 14:42

Guys, if you keep on using fullquotes, and not using code-tags, i'll lock this thread.
https://wiki.mageia.org/en/Forum_Rules#User_rules
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18016
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: zoneminder Event view broken

Postby freetibet » Jun 17th, '12, 14:45

OK,
Sorry,
Will do...
freetibet
 
Posts: 154
Joined: Jun 4th, '12, 12:22

Re: zoneminder Event view broken

Postby barjac » Jun 17th, '12, 15:33

Code: Select all
urpmi make gcc
Add this icon to your KDE desktop - save as "About.desktop" http://pastebin.com/raw.php?i=X10X1Ype
User avatar
barjac
 
Posts: 193
Joined: Apr 4th, '11, 10:26
Location: Rossendale UK

Re: zoneminder Event view broken

Postby freetibet » Jun 17th, '12, 15:49

Thanks could be a red herring..
will look at logs…

Code: Select all
[root@localhost zm_xml_p2fs3]# ./install
Install script for ZoneMinder XML Addon, Version: p2fs3
Please ensure you run this command with elevated privilidges
Press any key to continue...

Checking for availability of FFMPEG...
FFMPEG found in /usr/bin/ffmpeg
Libx264 found with FFMPEG
Checking for zm.conf in /usr/local/etc/zm/zm.conf
Checking for zm.conf in /usr/local/zm/zm.conf
Checking for zm.conf in /etc/zm/zm.conf
Checking for zm.conf in /usr/etc/zm/zm.conf
No configuration file found
Enter path to Zoneminder configuration file [/path/to/zm.conf]
/etc/zm.conf
Found configuration file in /etc/zm.conf
Found ZM configuration file in /etc/zm.conf
ZM Web base is in /var/www/html/zm, server version 1.25.0
XML Plugin does not support version 1.25.0, exiting...
[root@localhost zm_xml_p2fs3]#
Last edited by freetibet on Jun 17th, '12, 17:27, edited 1 time in total.
freetibet
 
Posts: 154
Joined: Jun 4th, '12, 12:22

Re: zoneminder Event view broken

Postby barjac » Jun 17th, '12, 16:17

OK but edit the above with code tags before doktor5000 comes back with a shot gun.
Always use code tags when posting terminal output.
Add this icon to your KDE desktop - save as "About.desktop" http://pastebin.com/raw.php?i=X10X1Ype
User avatar
barjac
 
Posts: 193
Joined: Apr 4th, '11, 10:26
Location: Rossendale UK

Re: zoneminder Event view broken

Postby freetibet » Jun 17th, '12, 16:26

I can't I'm on my mobile but will do later.
anyway I made a mistake I was installing the wrong part of the plugin.
So will install the correct part when I get home...
freetibet
 
Posts: 154
Joined: Jun 4th, '12, 12:22

Re: zoneminder Event view broken

Postby barjac » Jun 17th, '12, 16:39

OK - looking at the spec for ffmpeg, the only time we used to use --enable-nonfree was when building with faac which we now can't do due to licensing.
Code: Select all
%if %build_faac
        --enable-nonfree --enable-libfaac
%endif

I'm not sure what difference it would make.
Add this icon to your KDE desktop - save as "About.desktop" http://pastebin.com/raw.php?i=X10X1Ype
User avatar
barjac
 
Posts: 193
Joined: Apr 4th, '11, 10:26
Location: Rossendale UK

Re: zoneminder Event view broken

Postby freetibet » Jun 17th, '12, 17:32

OK for the eyezm to work ffmpeg looks like it needs some more codecs…

Code: Select all
[root@localhost zm_xml_p2fs3]# ls
CHANGELOG  httpsegmenter.tar.bz2  install*  README  svn.log  version  xml/  zmstreamer.1.24.1.patch  zmstreamer.1.24.2.patch
[root@localhost zm_xml_p2fs3]# tar xvf httpsegmenter.tar.bz2
./httpsegmenter/
./httpsegmenter/Makefile
./httpsegmenter/segmenter.c
[root@localhost zm_xml_p2fs3]# cd httpsegmenter
[root@localhost httpsegmenter]# make
gcc -Wall -g segmenter.c -o segmenter -lavformat -lavcodec -lavutil
segmenter.c:24:34: fatal error: libavformat/avformat.h: No such file or directory
compilation terminated.
make: *** [all] Error 1
[root@localhost httpsegmenter]#
Last edited by freetibet on Jun 17th, '12, 19:10, edited 1 time in total.
freetibet
 
Posts: 154
Joined: Jun 4th, '12, 12:22

Re: zoneminder Event view broken

Postby barjac » Jun 17th, '12, 18:15

Code: Select all
urpmi lib64ffmpeg-devel

So in a nutshell you are saying that we need to package httpsegmenter for eyeZM to work with zoneminder in Mageia
In that case please file a package request bug report.
https://bugs.mageia.org/.
Last edited by barjac on Jun 17th, '12, 18:21, edited 1 time in total.
Add this icon to your KDE desktop - save as "About.desktop" http://pastebin.com/raw.php?i=X10X1Ype
User avatar
barjac
 
Posts: 193
Joined: Apr 4th, '11, 10:26
Location: Rossendale UK

Re: zoneminder Event view broken

Postby freetibet » Jun 17th, '12, 18:18

I chose 1 for each question

looks good…


Code: Select all
[root@localhost httpsegmenter]# make
gcc -Wall -g segmenter.c -o segmenter -lavformat -lavcodec -lavutil
segmenter.c: In function ‘add_output_stream’:
segmenter.c:38:5: warning: ‘av_new_stream’ is deprecated (declared at /usr/include/libavformat/avformat.h:1730) [-Wdeprecated-declarations]
segmenter.c: In function ‘main’:
segmenter.c:268:5: warning: ‘av_open_input_file’ is deprecated (declared at /usr/include/libavformat/avformat.h:1480) [-Wdeprecated-declarations]
segmenter.c:276:5: warning: ‘av_find_stream_info’ is deprecated (declared at /usr/include/libavformat/avformat.h:1526) [-Wdeprecated-declarations]
segmenter.c:319:5: warning: ‘av_set_parameters’ is deprecated (declared at /usr/include/libavformat/avformat.h:1766) [-Wdeprecated-declarations]
segmenter.c:335:7: warning: ‘avcodec_open’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4155) [-Wdeprecated-declarations]
segmenter.c:350:5: warning: ‘av_write_header’ is deprecated (declared at /usr/include/libavformat/avformat.h:1802) [-Wdeprecated-declarations]
[root@localhost httpsegmenter]# make install
cp segmenter /usr/local/bin/
[root@localhost httpsegmenter]#
freetibet
 
Posts: 154
Joined: Jun 4th, '12, 12:22

Re: zoneminder Event view broken

Postby freetibet » Jun 17th, '12, 18:28

OK Nearly there I think…
EyeZM reports correctly that h264 is enabled and reports the correct bit rate on the phone…

However it times out when trying to stream and never actually gets the feed…

this is the log output, I'm looking at it now…


Code: Select all
[Sun, 17 Jun 2012 17:23:29 +0100] XML_LOG (NOTICE): (88.***.***.***) GET: /zm//?skin=xml&view=actions&action=feed&monitor=3&protoVer=2&width=316&height=237&vcodec=h264& - eyeZm 1.3
[Sun, 17 Jun 2012 17:23:30 +0100] XML_LOG (NOTICE): No PID found for ZMStreamer to kill
[Sun, 17 Jun 2012 17:23:30 +0100] XML_LOG (NOTICE): Streaming H264 on Monitor 3, 316x237 @64k
[Sun, 17 Jun 2012 17:23:30 +0100] XML_LOG (NOTICE): Using thumbnail image from http://88.***.***.***/cgi-bin/nph-zms?mode=single&monitor=3&scale=100&maxfps=5&buffer=1000&rand=1339950210
[Sun, 17 Jun 2012 17:23:30 +0100] XML_LOG (NOTICE): (88.***.***.***) GET: /zm//?view=actions&action=spawn264&&monitor=3&br=64k - eyeZm 1.3
[Sun, 17 Jun 2012 17:23:30 +0100] XML_LOG (NOTICE): Using H264 Pipe Function: nohup zmstreamer -m 3 2> /dev/null | /usr/bin/ffmpeg -t 120 -analyzeduration 0 -i - -f mpegts -analyzeduration 0 -acodec copy -vcodec libx264 -b 64k -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -subq 5 -trellis 1 -refs 1 -coder 0 -me_range 16 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt 16k -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -level 30 -g 30 -analyzeduration 0 -async 2 - 2> /dev/null | segmenter - 3 ./temp/sample_3 ./temp/stream_3.m3u8 ../ 2> /dev/null & echo $!
[Sun, 17 Jun 2012 17:23:50 +0100] XML_LOG (NOTICE): Streaming Process for monitor 3 ended, cleaning up files
[root@localhost httpsegmenter]#
freetibet
 
Posts: 154
Joined: Jun 4th, '12, 12:22

Re: zoneminder Event view broken

Postby barjac » Jun 17th, '12, 18:45

Looking very close - good. I can't help you with that but I'm sure you will get there - please post the outcome.
Also please remove the full quote again in
viewtopic.php?p=21213#p21213
...and file a package request bug report for httpsegmenter when you get it working.
Also just for good measure do a
Code: Select all
urpmi --auto-update --auto

on your server - to be sure it has pulled in all the tainted stuff it needs.
Also please edit your first post subject to read "zoneminder Event view broken in eyeZM"
Good luck!
Add this icon to your KDE desktop - save as "About.desktop" http://pastebin.com/raw.php?i=X10X1Ype
User avatar
barjac
 
Posts: 193
Joined: Apr 4th, '11, 10:26
Location: Rossendale UK

Re: zoneminder Event view broken in Eyezm

Postby freetibet » Jun 17th, '12, 19:14

seems it did not pull in everything..

Code: Select all
[root@localhost httpsegmenter]# urpmi --auto-update --auto
medium "Core Release" is up-to-date
medium "Core Updates" is up-to-date
medium "Tainted Release" is up-to-date
medium "Tainted Updates" is up-to-date
medium "Core 32bit Release" is up-to-date
medium "Core 32bit Updates" is up-to-date


    $MIRRORLIST: media/core/release/lib64twolame0-0.3.13-1.mga2.x86_64.rpm
    $MIRRORLIST: media/tainted/release/lib64gstbasevideo0.10_0-0.10.23-3.mga2.tainted.x86_64.rpm                                                               
    $MIRRORLIST: media/tainted/release/gstreamer0.10-plugins-ugly-0.10.19-2.mga2.tainted.x86_64.rpm                                                           
    $MIRRORLIST: media/tainted/release/lib64freetype6-2.4.9-1.mga2.tainted.x86_64.rpm                                                                         
    $MIRRORLIST: media/tainted/release/lib64quicktime0-1.2.3-3.mga2.tainted.x86_64.rpm                                                                         
    $MIRRORLIST: media/tainted/release/lib64dca0-0.0.5-3.mga1.x86_64.rpm                                                                                       
    $MIRRORLIST: media/tainted/release/lib64faad2-2.7-4.mga2.tainted.x86_64.rpm                                                                               
    $MIRRORLIST: media/tainted/release/lib64rtmp0-2.4-0.git20111228.1.mga2.tainted.x86_64.rpm                                                                 
installing lib64gstbasevideo0.10_0-0.10.23-3.mga2.tainted.x86_64.rpm gstreamer0.10-plugins-ugly-0.10.19-2.mga2.tainted.x86_64.rpm lib64freetype6-2.4.9-1.mga2.tainted.x86_64.rpm lib64twolame0-0.3.13-1.mga2.x86_64.rpm lib64dca0-0.0.5-3.mga1.x86_64.rpm lib64quicktime0-1.2.3-3.mga2.tainted.x86_64.rpm lib64rtmp0-2.4-0.git20111228.1.mga2.tainted.x86_64.rpm lib64faad2-2.7-4.mga2.tainted.x86_64.rpm from /var/cache/urpmi/rpms
Preparing...                     #############################################################################################################################
     1/14: lib64faad2            #############################################################################################################################
     2/14: lib64rtmp0            #############################################################################################################################
     3/14: lib64quicktime0       #############################################################################################################################
     4/14: lib64dca0             #############################################################################################################################
     5/14: lib64twolame0         #############################################################################################################################
     6/14: lib64freetype6        #############################################################################################################################
     7/14: gstreamer0.10-plugins-ugly
                                 #############################################################################################################################
     8/14: lib64gstbasevideo0.10_0
                                 #############################################################################################################################


    $MIRRORLIST: media/tainted/release/lib64gstphotography0.10_0-0.10.23-3.mga2.tainted.x86_64.rpm
    $MIRRORLIST: media/tainted/release/gstreamer0.10-plugins-bad-0.10.23-3.mga2.tainted.x86_64.rpm                                                             
    $MIRRORLIST: media/tainted/release/mplayer-1.0-1.rc4.0.r34578.9.mga2.tainted.x86_64.rpm                                                                   
    $MIRRORLIST: media/tainted/release/gstreamer0.10-vp8-0.10.23-3.mga2.tainted.x86_64.rpm                                                                     
    $MIRRORLIST: media/tainted/release/gstreamer0.10-voip-0.10.23-3.mga2.tainted.x86_64.rpm                                                                   
    $MIRRORLIST: media/tainted/release/mencoder-1.0-1.rc4.0.r34578.9.mga2.tainted.x86_64.rpm                                                                   
installing mplayer-1.0-1.rc4.0.r34578.9.mga2.tainted.x86_64.rpm gstreamer0.10-plugins-bad-0.10.23-3.mga2.tainted.x86_64.rpm lib64gstphotography0.10_0-0.10.23-3.mga2.tainted.x86_64.rpm gstreamer0.10-vp8-0.10.23-3.mga2.tainted.x86_64.rpm mencoder-1.0-1.rc4.0.r34578.9.mga2.tainted.x86_64.rpm gstreamer0.10-voip-0.10.23-3.mga2.tainted.x86_64.rpm from /var/cache/urpmi/rpms
Preparing...                     #############################################################################################################################
     9/14: gstreamer0.10-voip    #############################################################################################################################
    10/14: lib64gstphotography0.10_0
                                 #############################################################################################################################
    11/14: mplayer               #############################################################################################################################
    12/14: mencoder              #############################################################################################################################
    13/14: gstreamer0.10-plugins-bad
                                 #############################################################################################################################
    14/14: gstreamer0.10-vp8     #############################################################################################################################
writing /var/lib/rpm/installed-through-deps.list

The following package:
  lib64kdnssd4-4.8.2-3.mga2.x86_64
is now orphaned, if you wish to remove it, you can use "urpme --auto-orphans"
[root@localhost httpsegmenter]#
freetibet
 
Posts: 154
Joined: Jun 4th, '12, 12:22

Re: [SOLVED] zoneminder Event view broken in Eyezm

Postby barjac » Jun 18th, '12, 12:24

There is a package of httpsegmenter now available in Cauldron.
Add this icon to your KDE desktop - save as "About.desktop" http://pastebin.com/raw.php?i=X10X1Ype
User avatar
barjac
 
Posts: 193
Joined: Apr 4th, '11, 10:26
Location: Rossendale UK

Re: [SOLVED] zoneminder Event view broken in Eyezm

Postby freetibet » Jun 18th, '12, 12:29

Although Marked as [SOLVED] the original issue is solved but the h264 streaming still does not work.
Since h264 is not critical to the use of EyeZM I have marked this as solved.
I will hopefully be able to work to resolve the h264 issue although my skills are marginal at best.
freetibet
 
Posts: 154
Joined: Jun 4th, '12, 12:22

Re: [SOLVED] zoneminder Event view broken in Eyezm

Postby freetibet » Jun 24th, '12, 12:17

barjac wrote:There is a package of httpsegmenter now available in Cauldron.


Actually after a file system restart this solution fell apart..
Are there any tests I can do to check the sum links etc… ?
freetibet
 
Posts: 154
Joined: Jun 4th, '12, 12:22

Re: [SOLVED] zoneminder Event view broken in Eyezm

Postby barjac » Jun 24th, '12, 13:20

To check that zoneminder is running:-
Code: Select all
su
systemctl status zoneminder.service

It should be enabled and running. If somehow it is disabled then:-
Code: Select all
su
systemctl enable zoneminder.service
(This flags zoneminder to start on boot)
If it is enabled but stopped then you have another problem as it should have started on boot.
To check that the symlink is in place:-
Code: Select all
ls -l /var/www/http
zm should be shown pointing to your /home/cctvadmin/zm
If the symlink is there and the files are there in the zm folder in your home then to restart zm use:-
Code: Select all
su
systemctl start zoneminder.service

Or to restart apache - mysql and zoneminder in order:-
Code: Select all
su
zmrestart
Add this icon to your KDE desktop - save as "About.desktop" http://pastebin.com/raw.php?i=X10X1Ype
User avatar
barjac
 
Posts: 193
Joined: Apr 4th, '11, 10:26
Location: Rossendale UK

Re: [SOLVED] zoneminder Event view broken in Eyezm

Postby freetibet » Jun 24th, '12, 14:11

Code: Select all
[root@localhost ~]# systemctl status zoneminder.service
zoneminder.service - ZoneMinder CCTV recording and security system
     Loaded: loaded (/lib/systemd/system/zoneminder.service; enabled)
     Active: failed (Result: exit-code) since Sun, 24 Jun 2012 11:10:14 +0100; 2h 0min ago
    Process: 2064 ExecStart=/usr/bin/zmpkg.pl start (code=exited, status=2)
     CGroup: name=systemd:/system/zoneminder.service

Jun 24 11:10:14 localhost zmpkg.pl[2064]: Bareword "ZM_PATH_LOGS" not allowed while "strict subs" in use at /usr/lib/perl5/vendor_perl/5.14.2/ZoneMi...line 153.
Jun 24 11:10:14 localhost zmpkg.pl[2064]: BEGIN not safe after errors--compilation aborted at /usr/lib/perl5/vendor_perl/5.14.2/ZoneMinder/Logger.pm line 168.
Jun 24 11:10:14 localhost zmpkg.pl[2064]: Compilation failed in require at /usr/lib/perl5/vendor_perl/5.14.2/ZoneMinder.pm line 34.
Jun 24 11:10:14 localhost zmpkg.pl[2064]: BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.14.2/ZoneMinder.pm line 34.
Jun 24 11:10:14 localhost zmpkg.pl[2064]: Compilation failed in require at /usr/bin/zmpkg.pl line 37.
Jun 24 11:10:14 localhost zmpkg.pl[2064]: BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 37.



Code: Select all
[root@localhost /]# ls -l /var/www/http
ls: cannot access /var/www/http: No such file or directory
freetibet
 
Posts: 154
Joined: Jun 4th, '12, 12:22

Re: [SOLVED] zoneminder Event view broken in Eyezm

Postby barjac » Jun 24th, '12, 15:42

Sorry my mistake
Code: Select all
ls -l /var/www/html

As posted earlier in this topic.
Add this icon to your KDE desktop - save as "About.desktop" http://pastebin.com/raw.php?i=X10X1Ype
User avatar
barjac
 
Posts: 193
Joined: Apr 4th, '11, 10:26
Location: Rossendale UK

Re: [SOLVED] zoneminder Event view broken in Eyezm

Postby freetibet » Jun 24th, '12, 15:46

Code: Select all
[root@localhost /]# ls -l /var/www/html
total 8
-rw-r--r--  1 root   root    131 May  2 22:31 index.html
lrwxrwxrwx  1 root   root     18 Jun 15 13:20 zm -> /home/cctvadmin/zm/
drwxr-xr-x 15 apache apache 4096 Jun 15 11:24 zm_orig/
[root@localhost /]#

freetibet
 
Posts: 154
Joined: Jun 4th, '12, 12:22

Re: [SOLVED] zoneminder Event view broken in Eyezm

Postby freetibet » Jun 24th, '12, 18:47

When you go to login you get…

Code: Select all
Object not found!

The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.

If you think this is a server error, please contact the webmaster.

Error 404

881.***.***.***
Apache/2.2.22 (Mageia/ITK-12.mga2)
freetibet
 
Posts: 154
Joined: Jun 4th, '12, 12:22

Re: [SOLVED] zoneminder Event view broken in Eyezm

Postby doktor5000 » Jun 24th, '12, 18:59

Please show the output of
Code: Select all
ls -al /home/cctvadmin/zm/
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18016
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: [SOLVED] zoneminder Event view broken in Eyezm

Postby freetibet » Jun 24th, '12, 19:07

Code: Select all
[root@localhost /]# ls -al /home/cctvadmin/zm/
total 13216
drwxr-xr-x 15 apache    apache         4096 Jun 21 08:35 ./
drwxr-xr-x 28 cctvadmin cctvadmin      4096 Jun 24 17:15 ../
drwxr-xr-x  2 apache    apache         4096 Jun 17 00:00 ajax/
-rwxr-xr-x  1 apache    apache        58176 May 11 22:37 cambozola.jar*
-rw-------  1 apache    apache    101384192 Jun 21 08:35 core.10747
-rw-------  1 apache    apache    101384192 Jun 21 08:35 core.10753
-rw-------  1 apache    apache    101384192 Jun 21 08:35 core.10778
-rw-------  1 apache    apache    101384192 Jun 21 08:35 core.10789
-rw-------  1 apache    apache    100782080 Jun 17 18:27 core.14008
-rw-------  1 apache    apache    100782080 Jun 17 18:27 core.14080
drwxr-xr-x  2 apache    apache         4096 Jun 17 00:00 css/
drwxr-xr-x  8 apache    apache         4096 May 11 22:37 events/
drwxr-xr-x  2 apache    apache         4096 Jun 17 00:00 graphics/
drwxr-xr-x  2 apache    apache         4096 May 11 22:37 images/
drwxr-xr-x  2 apache    apache         4096 Jun 17 00:00 includes/
-rwxr-xr-x  1 apache    apache         3741 May 11 22:37 index.php*
drwxr-xr-x  2 apache    apache         4096 Jun 17 00:00 js/
drwxr-xr-x  2 apache    apache         4096 Jun 17 00:00 lang/
-rwxr-xr-x  1 apache    apache        66610 May 11 22:37 mootools-1.2.3-core-yc.js*
lrwxrwxrwx  1 apache    apache           25 Jun 17 00:00 mootools.js -> mootools-1.2.3-core-yc.js*
drwxr-xr-x  5 apache    apache         4096 May 11 22:37 skins/
drwxr-xr-x  2 apache    apache         4096 Jun 17 00:00 sounds/
drwxr-xr-x  2 apache    apache         4096 Jun 17 19:41 temp/
drwxr-xr-x  3 apache    apache         4096 May 11 22:37 tools/
drwxr-xr-x  2 apache    apache         4096 Jun 17 00:00 views/
lrwxrwxrwx  1 apache    apache           18 Jun 15 13:20 zm -> /home/cctvadmin/zm/
[root@localhost /]#
freetibet
 
Posts: 154
Joined: Jun 4th, '12, 12:22

Re: [SOLVED] zoneminder Event view broken in Eyezm

Postby doktor5000 » Jun 24th, '12, 20:12

You should remove the erroneous symlink:
Code: Select all
rm /home/cctvadmin/zm/zm

For zoneminder itself, i don't have any clue.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18016
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: [SOLVED] zoneminder Event view broken in Eyezm

Postby barjac » Jun 24th, '12, 21:12

That : Bareword "ZM_PATH_LOGS" not allowed while "strict subs" error rings a bell from a long while back, but I just don't recall what caused it.
Did you update your server recently before you re-booted?
This may remind you :-
Code: Select all
rpm -qa --last|head -n50
- anything php or mysql/mariadb related?
I have not updated my ZM server since 16th June just before my desktop motherboard died. (Desktop hosted my local mirror)

If you have nothing of value in your mysql database then I think a quick
Code: Select all
su
zmsetup
may be worth trying. Let it delete and re-build a new database.

The zm folder and link seem OK, except the extra link that doktor5000 pointed out - you can delete it.

You can also delete all those old core dumps
Code: Select all
su
rm /home/cctvadmin/zm/core.*
Add this icon to your KDE desktop - save as "About.desktop" http://pastebin.com/raw.php?i=X10X1Ype
User avatar
barjac
 
Posts: 193
Joined: Apr 4th, '11, 10:26
Location: Rossendale UK

Previous

Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest