Is this log file normal? I'm not generating Alerts/events, but seeing all this activity - especially with codes of ERR - just makes me nervous.
So.....is this normal?
Thanks.
JIm
Is This Log Normal?
- knight-of-ni
- Posts: 2406
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: Is This Log Normal?
The short is, yes.
Follow the documentation, and use the ffmpeg source type instead of Remote for ip cameras:
http://zoneminder.readthedocs.io/en/sta ... source-tab
Follow the documentation, and use the ffmpeg source type instead of Remote for ip cameras:
http://zoneminder.readthedocs.io/en/sta ... source-tab
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/
-
- Posts: 19
- Joined: Thu Jul 06, 2017 1:35 am
Re: Is This Log Normal?
The only way I've been able to get the connection to my camera (Wanscam HW0043) has been to use the Remote Method and RTSP. I did so per this thread:
viewtopic.php?t=24468
I think I'd like to us ffmpeg if I could....because I wonder if doing that would help with this behavior I'm seeing......
Periodically (like a handful of times per day) it appears ZM loses its connection with the camera. In the console the Source URL goes red. I simply open up the connection dialogs, make sure I select the Source tab (I don't even have to change any of the parameters), push Save, and it's connected again.
So like I said, I'd like to go to ffmpeg if that is the desired method. But virtually every other attempt I've tried to get it to work other than how I'm doing it now with RTSP has failed.
Thanks.
Jim
viewtopic.php?t=24468
I think I'd like to us ffmpeg if I could....because I wonder if doing that would help with this behavior I'm seeing......
Periodically (like a handful of times per day) it appears ZM loses its connection with the camera. In the console the Source URL goes red. I simply open up the connection dialogs, make sure I select the Source tab (I don't even have to change any of the parameters), push Save, and it's connected again.
So like I said, I'd like to go to ffmpeg if that is the desired method. But virtually every other attempt I've tried to get it to work other than how I'm doing it now with RTSP has failed.
Thanks.
Jim
- knight-of-ni
- Posts: 2406
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: Is This Log Normal?
The Remote method and Ffmpeg method are interchangeable.
Change your remote type to ffmpeg then update the fields under the Source tab. The fields are slightly different, but the result is the same.
With the ffmpeg source type, you enter the full rtsp url, including authentication, into a single field.
If you experience issues after making that change, then post the contents of the monitor source tab, and a page of log entries so we can see what is going on.
Change your remote type to ffmpeg then update the fields under the Source tab. The fields are slightly different, but the result is the same.
With the ffmpeg source type, you enter the full rtsp url, including authentication, into a single field.
If you experience issues after making that change, then post the contents of the monitor source tab, and a page of log entries so we can see what is going on.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/
-
- Posts: 19
- Joined: Thu Jul 06, 2017 1:35 am
Re: Is This Log Normal?
Wow! You should change your login name to "ZM Whisperer" or something like that. LOL
It worked great. I guess I *hadn't* tried actually putting in the full rtsp url. Since I don't know this stuff very well I was getting hung up on doing that while having TCP in the the Source tab as well.
Do you think this might be contributing to the source URLs turning red periodically like I described above?
Thx for all the help!
Jim
It worked great. I guess I *hadn't* tried actually putting in the full rtsp url. Since I don't know this stuff very well I was getting hung up on doing that while having TCP in the the Source tab as well.
Do you think this might be contributing to the source URLs turning red periodically like I described above?
Thx for all the help!
Jim
- knight-of-ni
- Posts: 2406
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: Is This Log Normal?
The errors you received using the Remote source type for your camera are quite common. What you posted is exactly why we don't want people using it for RTSP. In the future, Remote -> RTSP may go away entirely. It is not worth devoting our very limited manpower to something that is entirely redundant.
If you get enough errors in a row, zoneminder will mark the camera as failed and then it will turn red in the console.
The camera can still turn red for other reasons so continue to monitor your system.
If you get enough errors in a row, zoneminder will mark the camera as failed and then it will turn red in the console.
The camera can still turn red for other reasons so continue to monitor your system.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/
-
- Posts: 19
- Joined: Thu Jul 06, 2017 1:35 am
Re: Is This Log Normal?
I'm sorry to report things have degraded. Here are the various oddities/possible indicators of weirdness gong on. I assume these will provide indicators to someone more knowledgeable than me:
* I no longer see the live stream.
* Motion events are being captured. Alerts are bing logged. But I can't see the recorded video or the live video (per first bullet).
* This morning I had (from overnight) an Ubuntu error that said zmc had stopped unexpectedly.
* In the log I'm periodically getting the "Socket var/run/zm/zms-??????s.sock does not exist. This file............".
PATH_ZMS is set to /zoneminder/cgi-bin/nph-zms
zoneminder.conf in /etc/apache2/conf-available contains:
ScriptAlias /zoneminder/cgi-bin/ "/usr/lib/zoneminder/cgi-bin"
The camera config screens are shown below.
Suggestions?
Thanks.
Jim
* I no longer see the live stream.
* Motion events are being captured. Alerts are bing logged. But I can't see the recorded video or the live video (per first bullet).
* This morning I had (from overnight) an Ubuntu error that said zmc had stopped unexpectedly.
* In the log I'm periodically getting the "Socket var/run/zm/zms-??????s.sock does not exist. This file............".
PATH_ZMS is set to /zoneminder/cgi-bin/nph-zms
zoneminder.conf in /etc/apache2/conf-available contains:
ScriptAlias /zoneminder/cgi-bin/ "/usr/lib/zoneminder/cgi-bin"
The camera config screens are shown below.
Suggestions?
Thanks.
Jim