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

daemon not work #37

Closed
ludodoucet opened this issue Feb 12, 2018 · 2 comments
Closed

daemon not work #37

ludodoucet opened this issue Feb 12, 2018 · 2 comments
Labels

Comments

@ludodoucet
Copy link

ludodoucet commented Feb 12, 2018

Feb 12 09:57:07 Serveur-Pro zmdc[1416]: INF [Starting pending process, zmeventnotification.pl]
Feb 12 09:57:07 Serveur-Pro zmdc[1416]: INF ['zmeventnotification.pl' starting at 18/02/12 09:57:07, pid = 2209]
Feb 12 09:57:07 Serveur-Pro zmdc[2209]: INF ['zmeventnotification.pl' started at 18/02/12 09:57:07]
Feb 12 09:57:07 Serveur-Pro zmeventnotification[2209]: INF [Push enabled via FCM]
Feb 12 09:57:07 Serveur-Pro zmeventnotification[2209]: INF [Event Notification daemon v 0.98.3 starting]
Feb 12 09:57:07 Serveur-Pro zmeventnotification[2209]: INF [Creating /etc/private/tokens.txt]
Feb 12 09:57:07 Serveur-Pro zmeventnotification[2209]: INF [Total event client connections: 0]
Feb 12 09:57:07 Serveur-Pro zmeventnotification[2209]: INF [Reloading Monitors...]
Feb 12 09:57:07 Serveur-Pro zmeventnotification[2209]: INF [Loading monitors]
Feb 12 09:57:08 Serveur-Pro zmeventnotification[2209]: INF [About to start listening to socket]
Feb 12 09:57:08 Serveur-Pro zmdc[1416]: ERR ['zmeventnotification.pl' exited abnormally, exit status 9]
Feb 12 09:57:27 Serveur-Pro zmc_m1[1689]: INF [Monitor-1: 2000 - Capturing at 20.00 fps]
Feb 12 09:57:07 Serveur-Pro zmdc[2209]: INF ['zmeventnotification.pl' started at 18/02/12 09:57:07]
Feb 12 09:57:07 Serveur-Pro zmeventnotification[2209]: INF [Push enabled via FCM]
Feb 12 09:57:07 Serveur-Pro zmeventnotification[2209]: INF [Event Notification daemon v 0.98.3 starting]
Feb 12 09:57:07 Serveur-Pro zmeventnotification[2209]: INF [Creating /etc/private/tokens.txt]
Feb 12 09:57:07 Serveur-Pro zmeventnotification[2209]: INF [Total event client connections: 0]
Feb 12 09:57:07 Serveur-Pro zmeventnotification[2209]: INF [Reloading Monitors...]
Feb 12 09:57:07 Serveur-Pro zmeventnotification[2209]: INF [Loading monitors]
Feb 12 09:57:08 Serveur-Pro zmeventnotification[2209]: INF [About to start listening to socket]
Feb 12 09:57:08 Serveur-Pro zmdc[1416]: ERR ['zmeventnotification.pl' exited abnormally, exit status 9]

ls -al:

lrwxrwxrwx 1 root www-data 42 janv. 5 22:51 cert.pem
lrwxrwxrwx 1 root www-data 45 janv. 5 22:51 privkey.pem

www-data@Serveur-Pro:/home/aurelien$ /usr/bin/zmeventnotification.pl
SSL_cert_file /etc/letsencrypt/live/zm*fr/cert.pem can't be used: Permission denied at /usr/share/perl5/IO/Socket/SSL.pm line 2216.

work with chmod -R 777 /etc/letsencrypt/archive/ but a little brut 777

work with: chown -R root:www-data /etc/letsencrypt/archive/
chmod -R 770 /etc/letsencrypt/archive/

@pliablepixels
Copy link
Member

pliablepixels commented Feb 15, 2018

In my case, the owner is www-data, group is root, perms are 644

/etc/apache2/ssl$ ls -l
total 8
-rw-r--r-- 1 www-data root 1277 Feb 27  2017 zoneminder.crt
-rw-r--r-- 1 www-data root 1704 Feb 27  2017 zoneminder.key

@stale
Copy link

stale bot commented Apr 16, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

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

No branches or pull requests

2 participants