Page 1 of 1

zmeventnotification installation problem

Posted: Tue Dec 29, 2020 6:13 am
by titof2375
Hello
here I am installing zoneminder 1.35 and especially zmeventnotification, I am following this tutorial in French.
https://www.nextdom.org/forum/projets-d ... c-nextdom/
and when i type this command
sudo -u www-data ./zmeventnotification.pl --config ./zmeventnotification.ini I end up with this error
Image
Do you have a solution?

Re: zmeventnotification installation problem

Posted: Tue Dec 29, 2020 7:21 am
by Magic919
Sort out the secrets.ini file. Might just be permissions if it exists.

Re: zmeventnotification installation problem

Posted: Tue Dec 29, 2020 7:59 am
by titof2375
nouveau.PNG
nouveau.PNG (21.37 KiB) Viewed 1919 times

Re: zmeventnotification installation problem

Posted: Tue Dec 29, 2020 8:00 am
by titof2375
Magic919 wrote: Tue Dec 29, 2020 7:21 am Sort out the secrets.ini file. Might just be permissions if it exists.
what do you mean

Re: zmeventnotification installation problem

Posted: Tue Dec 29, 2020 10:32 am
by Magic919
It clearly states that it encountered errors whilst reading the file.

Re: zmeventnotification installation problem

Posted: Tue Dec 29, 2020 11:59 am
by titof2375
yes, is how to fix this problem, i don't understand how to do it

Re: zmeventnotification installation problem

Posted: Tue Dec 29, 2020 5:24 pm
by Magic919
Understood.

Do

Code: Select all

ls -la /etc/zm/secrets.ini
Hopefully the file IS there. If not, you need to create one.

I expect it’s there but not owned by www-data.

Code: Select all

chown www-data:www-data /etc/zm/secrets.ini
That will change it to the web owner and should remove the error.

Re: zmeventnotification installation problem

Posted: Wed Dec 30, 2020 8:23 am
by titof2375
thank you