Platform & OS Version
-Server:Ubuntu 16.04
Phone:Iphone 6s
-ZMninja version:1.1.96
Device details:
I am trying to set up Real time alerts, but I am getting some errors
Step1:
I follow these steps below
"Copy zmeventnotification.pl to /usr/bin
Edit /usr/bin/zmdc.pl and in the array @daemons (starting line 80) add 'zmeventnotification.pl' like this
Edit /usr/bin/zmpkg.pl and around line 260, right after the comment that says #this is now started unconditionally and right before the line that says runCommand( "zmdc.pl start zmfilter.pl" ); start zmeventnotification.pl by adding runCommand( "zmdc.pl start zmeventnotification.pl" ); like this
Make sure you restart ZM. Rebooting the server is better - sometimes zmdc hangs around and you'll be wondering why your new daemon hasn't started
To check if its running do a zmdc.pl status zmeventnotification.pl"
Step 2: Once I executed this line zmdc.pl status zmeventnotification.pl, below you can see the errors I am getting
"Can't open config file '/etc/zm/zm.conf': Permission denied at /usr/share/perl5/ZoneMinder/Config.pm line 119.
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 119.
Compilation failed in require at /usr/share/perl5/ZoneMinder.pm line 33.
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder.pm line 33.
Compilation failed in require at /usr/bin/zmdc.pl line 65.
BEGIN failed--compilation aborted at /usr/bin/zmdc.pl line 65."
Details
I am just having issues configuring real time alerts. I am not sure what I need to do next. It seems that I have a permission problem, but I don't know what to do next or where to start.. need step by step help.
I also need confirmation that the steps ( step1 instructions) I am following are correct for this set up. I may be doing this all wrong.
Note: My system is working and operational as we speak. I just need to enable real time notifications so I can receive them on my phone while alerts pop up.
Platform & OS Version -Server:Ubuntu 16.04 Phone:Iphone 6s -ZMninja version:1.1.96
Device details: I am trying to set up Real time alerts, but I am getting some errors
Step1: I follow these steps below
link: https://github.com/pliablepixels/zmeventserver
Step 2: Once I executed this line zmdc.pl status zmeventnotification.pl, below you can see the errors I am getting
"Can't open config file '/etc/zm/zm.conf': Permission denied at /usr/share/perl5/ZoneMinder/Config.pm line 119. BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 119. Compilation failed in require at /usr/share/perl5/ZoneMinder.pm line 33. BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder.pm line 33. Compilation failed in require at /usr/bin/zmdc.pl line 65. BEGIN failed--compilation aborted at /usr/bin/zmdc.pl line 65."
Details I am just having issues configuring real time alerts. I am not sure what I need to do next. It seems that I have a permission problem, but I don't know what to do next or where to start.. need step by step help.
I also need confirmation that the steps ( step1 instructions) I am following are correct for this set up. I may be doing this all wrong.
Note: My system is working and operational as we speak. I just need to enable real time notifications so I can receive them on my phone while alerts pop up.
Thanks! Robert