Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Having issues setting up Real Time Notifications with ZM ninja and ZM server #295

Closed
lobo2714 opened this issue Aug 6, 2016 · 1 comment

Comments

@lobo2714
Copy link

lobo2714 commented Aug 6, 2016

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"

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

@pliablepixels
Copy link
Member

pliablepixels commented Aug 6, 2016

Hi, can you please post this issue @ https://github.com/pliablepixels/zmeventserver ? I'm closing this as this issue list is only for zmNinja

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants