Exited Abnormally? Exit status 255.

Forum for questions and support relating to the 1.24.x releases only.
Locked
snakeboy
Posts: 12
Joined: Tue Jan 03, 2012 7:49 am

Exited Abnormally? Exit status 255.

Post by snakeboy »

Hi All,

Now that I'm all googled out and a million and one tinkerings have proven fruitless, my last resort is to consult you directly because I feel I'm all out of idea's now.

- ZoneMinder Version: v1.24.4
- Linux server 3.0.0-14-generic #23-Ubuntu SMP Mon Nov 21 20:34:47 UTC 2011 i686 i686 i386 GNU/Linux

I have 5 IP Camera's. Identical D-Link DCS-920's (Firmware 1.04) 1 connected via cable and 4 connected via wi-fi. For the most part, everything is working except that I keep getting the same error messages in my /var/log/syslog (see below)

To aid in troubleshooting, I have now disabled all camera's except one. To eliminate wi-fi I am troubleshooting with the camera connected directly to the router via cable. (I have a Linksys WRT54GL Running Tomato 1.28.)

I've tried all kinds of things from tweaking the shared memory settings as per the wiki as well as installing the turbo libjpeg. I've tried various buffer settings and even tweaked QOS on my router to allow packets from the camera's through ahead of anything else. (I've also tried with QOS disabled, no impact on the results.)

Camera's are set to deliver 320x240 images at 5fps. ZoneMinder is set to the same. While set to Monitor, the only visible problem aside from the logs is that fps occasionally drops very low, like 1fps and I get a blue screen for a few frames every so often.
The machine running ZoneMinder is DEDICATED to the task and not running anything besides what's required. Apache, Mysql etc. It's a 3.06 GHZ core2 Duo with 2GB of RAM and CPU utilization rarely exceeds 30%.

I don't understand what could be causing the "Interrupted System Call" ERR because it's certainly not load related.

I hope someone with more experience with ZoneMinder will be able to point me in the right direction to get this solved. If there is any additional information I could provide that would aid you, don't hesitate to ask.

Here follows some output from tail -f syslog | grep zm:

Code: Select all

Jan  3 12:31:13 server zmwatch[1528]: INF [Restarting capture daemon for Camera-2, time since last capture 7 seconds (1325568673-1325568666)]
Jan  3 12:31:13 server zmdc[1489]: INF ['zmc -m 2' stopping at 12/01/03 12:31:13]
Jan  3 12:31:13 server zmc_m2[7450]: INF [Got signal 15 (Terminated), exiting]
Jan  3 12:31:13 server zmc_m2[7450]: ERR [Select error: Interrupted system call]
Jan  3 12:31:14 server zmc_m2[7450]: ERR [Unable to read content]
Jan  3 12:31:14 server zmc_m2[7450]: ERR [Unable to get response]
Jan  3 12:31:14 server zmc_m2[7450]: ERR [Failed to capture image from monitor 2 (0/1)]
Jan  3 12:31:14 server zmdc[1489]: ERR ['zmc -m 2' exited abnormally, exit status 255]
Jan  3 12:31:34 server zmdc[1489]: INF [Starting pending process, zmc -m 2]
Jan  3 12:31:34 server zmdc[1489]: INF ['zmc -m 2' starting at 12/01/03 12:31:34, pid = 11581]
Jan  3 12:31:34 server zmdc[11581]: INF ['zmc -m 2' started at 12/01/03 12:31:34]
Jan  3 12:31:34 server zmc_m2[11581]: INF [Debug Level = 0, Debug Log = <none>]
Jan  3 12:31:34 server zmc_m2[11581]: INF [Starting Capture]
Jan  3 12:37:14 server zmwatch[1528]: INF [Restarting capture daemon for Camera-2, time since last capture 6 seconds (1325569034-1325569028)]
Jan  3 12:37:14 server zmdc[1489]: INF ['zmc -m 2' stopping at 12/01/03 12:37:14]
Jan  3 12:37:14 server zmc_m2[11581]: INF [Got signal 15 (Terminated), exiting]
Jan  3 12:37:14 server zmc_m2[11581]: ERR [Select error: Interrupted system call]
Jan  3 12:37:14 server zmc_m2[11581]: ERR [Unable to read content]
Jan  3 12:37:14 server zmc_m2[11581]: ERR [Unable to get response]
Jan  3 12:37:14 server zmc_m2[11581]: ERR [Failed to capture image from monitor 2 (0/1)]
Jan  3 12:37:14 server zmdc[1489]: ERR ['zmc -m 2' exited abnormally, exit status 255]
Jan  3 12:37:54 server zmdc[1489]: INF [Starting pending process, zmc -m 2]
Jan  3 12:37:54 server zmdc[1489]: INF ['zmc -m 2' starting at 12/01/03 12:37:54, pid = 17718]
Jan  3 12:37:54 server zmdc[17718]: INF ['zmc -m 2' started at 12/01/03 12:37:54]
Jan  3 12:37:54 server zmc_m2[17718]: INF [Debug Level = 0, Debug Log = <none>]
Jan  3 12:37:54 server zmc_m2[17718]: INF [Starting Capture]
Jan  3 12:38:34 server zmwatch[1528]: INF [Restarting capture daemon for Camera-2, time since last capture 9 seconds (1325569114-1325569105)]
Jan  3 12:38:34 server zmdc[1489]: INF ['zmc -m 2' stopping at 12/01/03 12:38:34]
Jan  3 12:38:34 server zmc_m2[17718]: INF [Got signal 15 (Terminated), exiting]
Jan  3 12:38:34 server zmc_m2[17718]: ERR [Select error: Interrupted system call]
Jan  3 12:38:34 server zmc_m2[17718]: ERR [Unable to read content]
Jan  3 12:38:34 server zmc_m2[17718]: ERR [Unable to get response]
Jan  3 12:38:34 server zmc_m2[17718]: ERR [Failed to capture image from monitor 2 (0/1)]
Jan  3 12:38:34 server zmdc[1489]: ERR ['zmc -m 2' exited abnormally, exit status 255]
Jan  3 12:39:54 server zmdc[1489]: INF [Starting pending process, zmc -m 2]
Jan  3 12:39:54 server zmdc[1489]: INF ['zmc -m 2' starting at 12/01/03 12:39:54, pid = 19663]
Jan  3 12:39:54 server zmdc[19663]: INF ['zmc -m 2' started at 12/01/03 12:39:54]
Jan  3 12:39:54 server zmc_m2[19663]: INF [Debug Level = 0, Debug Log = <none>]
Jan  3 12:39:54 server zmc_m2[19663]: INF [Starting Capture]
Jan  3 12:40:02 server zma_m2[1517]: INF [Camera-2: 1967 - Closing event 2674, section end]
Jan  3 12:40:02 server zma_m2[1517]: INF [Camera-2: 1967 - Opening new event 2675, section start]
Jan  3 12:40:44 server zmwatch[1528]: INF [Restarting analysis daemon for Camera-2, time since last analysis 6 seconds (1325569244-1325569238)]
Jan  3 12:40:45 server zmdc[1489]: INF ['zma -m 2' stopping at 12/01/03 12:40:45]
Jan  3 12:40:45 server zma_m2[1517]: INF [Got signal 15 (Terminated), exiting]
Jan  3 12:40:45 server zma_m2[1517]: INF [Camera-2: 1988 - Closing event 2675, shutting down]
Jan  3 12:40:45 server zmdc[1489]: INF ['zma -m 2' exited normally]
Jan  3 12:40:45 server zmdc[1489]: INF [Starting pending process, zma -m 2]
Jan  3 12:40:45 server zmdc[1489]: INF ['zma -m 2' starting at 12/01/03 12:40:45, pid = 20539]
Jan  3 12:40:45 server zmdc[20539]: INF ['zma -m 2' started at 12/01/03 12:40:45]
Jan  3 12:40:45 server zma_m2[20539]: INF [Debug Level = 0, Debug Log = <none>]
Jan  3 12:40:45 server zma_m2[20539]: INF [In mode 5/1, warming up]
Jan  3 12:41:27 server zma_m2[20539]: INF [Camera-2: 026 - Opening new event 2676, section start]
Jan  3 12:43:35 server zmwatch[1528]: INF [Restarting capture daemon for Camera-2, time since last capture 10 seconds (1325569415-1325569405)]
Jan  3 12:43:35 server zmdc[1489]: INF ['zmc -m 2' stopping at 12/01/03 12:43:35]
Jan  3 12:43:35 server zmc_m2[19663]: INF [Got signal 15 (Terminated), exiting]
Jan  3 12:43:35 server zmc_m2[19663]: ERR [Select error: Interrupted system call]
Jan  3 12:43:35 server zmc_m2[19663]: ERR [Unable to read content]
Jan  3 12:43:35 server zmc_m2[19663]: ERR [Unable to get response]
Jan  3 12:43:35 server zmc_m2[19663]: ERR [Failed to capture image from monitor 2 (0/1)]
Jan  3 12:43:35 server zmdc[1489]: ERR ['zmc -m 2' exited abnormally, exit status 255]
Jan  3 12:46:15 server zmdc[1489]: INF [Starting pending process, zmc -m 2]
Jan  3 12:46:15 server zmdc[1489]: INF ['zmc -m 2' starting at 12/01/03 12:46:15, pid = 25926]
Jan  3 12:46:15 server zmdc[25926]: INF ['zmc -m 2' started at 12/01/03 12:46:15]
Jan  3 12:46:15 server zmc_m2[25926]: INF [Debug Level = 0, Debug Log = <none>]
Jan  3 12:46:15 server zmc_m2[25926]: INF [Starting Capture]
Jan  3 12:46:35 server zmwatch[1528]: INF [Restarting capture daemon for Camera-2, time since last capture 9 seconds (1325569595-1325569586)]
Jan  3 12:46:35 server zmdc[1489]: INF ['zmc -m 2' stopping at 12/01/03 12:46:35]
Jan  3 12:46:35 server zmc_m2[25926]: INF [Got signal 15 (Terminated), exiting]
Jan  3 12:46:35 server zmc_m2[25926]: ERR [Select error: Interrupted system call]
Jan  3 12:46:35 server zmc_m2[25926]: ERR [Unable to read content]
Jan  3 12:46:35 server zmc_m2[25926]: ERR [Unable to get response]
Jan  3 12:46:35 server zmc_m2[25926]: ERR [Failed to capture image from monitor 2 (0/1)]
Jan  3 12:46:35 server zmdc[1489]: ERR ['zmc -m 2' exited abnormally, exit status 255]
Jan  3 12:51:55 server zmdc[1489]: INF [Starting pending process, zmc -m 2]
Jan  3 12:51:55 server zmdc[1489]: INF ['zmc -m 2' starting at 12/01/03 12:51:55, pid = 31421]
Jan  3 12:51:55 server zmdc[31421]: INF ['zmc -m 2' started at 12/01/03 12:51:55]
Jan  3 12:51:55 server zmc_m2[31421]: INF [Debug Level = 0, Debug Log = <none>]
Jan  3 12:51:55 server zmc_m2[31421]: INF [Starting Capture]
Jan  3 12:51:55 server zma_m2[20539]: INF [Camera-2: 246 - Closing event 2676, section end]
Jan  3 12:51:55 server zma_m2[20539]: INF [Camera-2: 246 - Opening new event 2677, section start]
Jan  3 12:53:05 server zmwatch[1528]: INF [Restarting capture daemon for Camera-2, time since last capture 7 seconds (1325569985-1325569978)]
Jan  3 12:53:06 server zmdc[1489]: INF ['zmc -m 2' stopping at 12/01/03 12:53:06]
Jan  3 12:53:06 server zmc_m2[31421]: INF [Got signal 15 (Terminated), exiting]
Jan  3 12:53:06 server zmc_m2[31421]: ERR [Select error: Interrupted system call]
Jan  3 12:53:06 server zmc_m2[31421]: ERR [Unable to read subheader]
Jan  3 12:53:06 server zmc_m2[31421]: ERR [Unable to get response]
Jan  3 12:53:06 server zmc_m2[31421]: ERR [Failed to capture image from monitor 2 (0/1)]
Jan  3 12:53:06 server zmdc[1489]: ERR ['zmc -m 2' exited abnormally, exit status 255]
Jan  3 13:03:06 server zmdc[1489]: INF [Starting pending process, zmc -m 2]
Jan  3 13:03:06 server zmdc[1489]: INF ['zmc -m 2' starting at 12/01/03 13:03:06, pid = 11165]
Jan  3 13:03:06 server zmdc[11165]: INF ['zmc -m 2' started at 12/01/03 13:03:06]
Jan  3 13:03:06 server zmc_m2[11165]: INF [Debug Level = 0, Debug Log = <none>]
Jan  3 13:03:06 server zmc_m2[11165]: INF [Starting Capture]
Jan  3 13:04:06 server zmwatch[1528]: INF [Restarting capture daemon for Camera-2, time since last capture 7 seconds (1325570646-1325570639)]
Jan  3 13:04:06 server zmdc[1489]: INF ['zmc -m 2' stopping at 12/01/03 13:04:06]
Jan  3 13:04:06 server zmc_m2[11165]: INF [Got signal 15 (Terminated), exiting]
Jan  3 13:04:06 server zmc_m2[11165]: ERR [Select error: Interrupted system call]
Jan  3 13:04:06 server zmc_m2[11165]: ERR [Unable to read content]
Jan  3 13:04:06 server zmc_m2[11165]: ERR [Unable to get response]
Jan  3 13:04:06 server zmc_m2[11165]: ERR [Failed to capture image from monitor 2 (0/1)]
Jan  3 13:04:06 server zmdc[1489]: ERR ['zmc -m 2' exited abnormally, exit status 255]
Jan  3 13:14:06 server zmdc[1489]: INF [Starting pending process, zmc -m 2]
Jan  3 13:14:06 server zmdc[1489]: INF ['zmc -m 2' starting at 12/01/03 13:14:06, pid = 21838]
Jan  3 13:14:06 server zmdc[21838]: INF ['zmc -m 2' started at 12/01/03 13:14:06]
Jan  3 13:14:06 server zmc_m2[21838]: INF [Debug Level = 0, Debug Log = <none>]
Jan  3 13:14:06 server zmc_m2[21838]: INF [Starting Capture]
Jan  3 13:19:17 server zmwatch[1528]: INF [Restarting capture daemon for Camera-2, time since last capture 15 seconds (1325571557-1325571542)]
Jan  3 13:19:17 server zmdc[1489]: INF ['zmc -m 2' stopping at 12/01/03 13:19:17]
Jan  3 13:19:17 server zmc_m2[21838]: INF [Got signal 15 (Terminated), exiting]
Jan  3 13:19:17 server zmc_m2[21838]: ERR [Select error: Interrupted system call]
Jan  3 13:19:17 server zmc_m2[21838]: ERR [Unable to read content]
Jan  3 13:19:17 server zmc_m2[21838]: ERR [Unable to get response]
Jan  3 13:19:17 server zmc_m2[21838]: ERR [Failed to capture image from monitor 2 (0/1)]
Many thanks!
PacoLM
Posts: 971
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: Exited Abnormally? Exit status 255.

Post by PacoLM »

Hi,

Could you post the settings of your buffers?.

PacoLM

After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
snakeboy
Posts: 12
Joined: Tue Jan 03, 2012 7:49 am

Re: Exited Abnormally? Exit status 255.

Post by snakeboy »

PacoLM wrote: Could you post the settings of your buffers?.
Certainly, they are:

Image Buffer Size (frames): 40
Warmup Frames: 25
Pre Event Image Count: 10
Post Event Image Count: 10
Stream Replay Image Buffer: 1000
Alarm Frame Count: 1

And in case it's relevant, my shared memory settings in sysctl.conf
kernel.shmax = 134217728
kernel.shmall = 134217728


I did read in a post elsewhere that a good value here was 256000000, but trying it made no difference. (The figure above is from the wiki to specify 128mb.)
PacoLM
Posts: 971
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: Exited Abnormally? Exit status 255.

Post by PacoLM »

Hi,

Your buffer settings are not too high, so try lowering the FPS to 3 and Alarm FPS to 5.
To set the proper values for the shared memory: http://www.zoneminder.com/forums/viewto ... 64&p=71532
Also read the following link: http://www.webdotdev.com/nvd/content/view/2013/

Hope it helps,

PacoLM

After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
snakeboy
Posts: 12
Joined: Tue Jan 03, 2012 7:49 am

Re: Exited Abnormally? Exit status 255.

Post by snakeboy »

I'm sorry to report that after changes made as per your recommendation above, the problem persists. I'm still getting:
Jan 4 18:45:10 server zmwatch[25026]: INF [Restarting capture daemon for Camera-2, time since last capture 7 seconds (1325677510-1325677503)]
Jan 4 18:45:10 server zmdc[24860]: INF ['zmc -m 2' stopping at 12/01/04 18:45:10]
Jan 4 18:45:10 server zmc_m2[7629]: INF [Got signal 15 (Terminated), exiting]
Jan 4 18:45:10 server zmc_m2[7629]: ERR [Select error: Interrupted system call]
Jan 4 18:45:10 server zmc_m2[7629]: ERR [Unable to read content]
Jan 4 18:45:10 server zmc_m2[7629]: ERR [Unable to get response]
Any other suggestions?
PacoLM
Posts: 971
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: Exited Abnormally? Exit status 255.

Post by PacoLM »

Dumb question, could you access the web server of this cameras from the same computer where you have ZM installed?

After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
snakeboy
Posts: 12
Joined: Tue Jan 03, 2012 7:49 am

Re: Exited Abnormally? Exit status 255.

Post by snakeboy »

PacoLM wrote:Dumb question, could you access the web server of this cameras from the same computer where you have ZM installed?
Yes I can, no problems there.

Related: What I have noticed is at night when all is "black" the error is somewhat less frequent (but still present).
During the day, the error message is generated constantly.
bb99
Posts: 943
Joined: Wed Apr 02, 2008 12:04 am

Re: Exited Abnormally? Exit status 255.

Post by bb99 »

Might help: http://www.zoneminder.com/forums/viewto ... it=DCS+920

Seems to me turning the login off on the camera fixed the 900's, 910's and 920's. Also check your path against these.
snakeboy
Posts: 12
Joined: Tue Jan 03, 2012 7:49 am

Re: Exited Abnormally? Exit status 255.

Post by snakeboy »

bb99 wrote:Might help: http://www.zoneminder.com/forums/viewto ... it=DCS+920

Seems to me turning the login off on the camera fixed the 900's, 910's and 920's. Also check your path against these.
OK, I gave that a try, but no joy. In fact I have the OPPOSITE problem of the user who posted there in that when he disabled user authentication, he got it to work. In my case, disabling user authentication resulted in this:
Jan 5 09:43:40 server zmc_m4[12346]: ERR [Can't connect to remote camera: Connection refused]
Jan 5 09:43:40 server zmc_m4[12346]: ERR [Unable to connect to camera]
Jan 5 09:43:40 server zmc_m4[12346]: ERR [Failed to pre-capture monitor 4 (0/1)]
Jan 5 09:43:40 server zmdc[11974]: ERR ['zmc -m 4' exited abnormally, exit status 255]
Jan 5 09:44:00 server zmdc[11974]: INF [Starting pending process, zmc -m 4]
Jan 5 09:44:00 server zmdc[11974]: INF ['zmc -m 4' starting at 12/01/05 09:44:00, pid = 12667]
Jan 5 09:44:00 server zmdc[12667]: INF ['zmc -m 4' started at 12/01/05 09:44:00]
Jan 5 09:44:00 server zmc_m4[12667]: INF [Debug Level = 0, Debug Log = <none>]
Jan 5 09:44:00 server zmc_m4[12667]: INF [Starting Capture]
Jan 5 09:44:00 server zmc_m4[12667]: ERR [Can't connect to remote camera: Connection refused]
Jan 5 09:44:00 server zmc_m4[12667]: ERR [Unable to connect to camera]
Jan 5 09:44:00 server zmc_m4[12667]: ERR [Failed to pre-capture monitor 4 (0/1)]
Jan 5 09:44:00 server zmdc[11974]: ERR ['zmc -m 4' exited abnormally, exit status 255]
Jan 5 09:44:40 server zmdc[11974]: INF [Starting pending process, zmc -m 4]
Jan 5 09:44:40 server zmdc[11974]: INF ['zmc -m 4' starting at 12/01/05 09:44:40, pid = 13309]
Jan 5 09:44:40 server zmdc[13309]: INF ['zmc -m 4' started at 12/01/05 09:44:40]
Jan 5 09:44:40 server zmc_m4[13309]: INF [Debug Level = 0, Debug Log = <none>]
Jan 5 09:44:40 server zmc_m4[13309]: INF [Starting Capture]
Jan 5 09:44:40 server zmc_m4[13309]: ERR [Can't connect to remote camera: Connection refused]
Jan 5 09:44:40 server zmc_m4[13309]: ERR [Unable to connect to camera]
Jan 5 09:44:40 server zmc_m4[13309]: ERR [Failed to pre-capture monitor 4 (0/1)]
Jan 5 09:44:40 server zmdc[11974]: ERR ['zmc -m 4' exited abnormally, exit status 255]
Jan 5 09:46:00 server zmdc[11974]: INF [Starting pending process, zmc -m 4]
Jan 5 09:46:00 server zmdc[11974]: INF ['zmc -m 4' starting at 12/01/05 09:46:00, pid = 14618]
Jan 5 09:46:00 server zmdc[14618]: INF ['zmc -m 4' started at 12/01/05 09:46:00]
I am already using /VIDEO.CGI? as my path. I have no trouble viewing the footage directly connecting to the camera or via ZM.
bb99
Posts: 943
Joined: Wed Apr 02, 2008 12:04 am

Re: Exited Abnormally? Exit status 255.

Post by bb99 »

Looks like the camera is actively refusing the connection request, that tells me that the camera authentication hasn't been turned off or ZM is still sending credentials it doesn't recognize. If I remember right I had to change "admin" with no password to blank with no password. I also remember having to do a reset to factory values then make the changes before it finally worked. Anyway, there's few dcs 920 posts to help out: http://www.zoneminder.com/forums/search ... mit=Search
snakeboy
Posts: 12
Joined: Tue Jan 03, 2012 7:49 am

Re: Exited Abnormally? Exit status 255.

Post by snakeboy »

Do you really think authentication is the issue here? Given that with a username and password provided, ZM has no trouble displaying the images from the camera. Surely if I'm able to see the feed from the camera via ZM, the authentication has been successful?

What I did notice when I had supplied nothing but an IP address to ZM and turned off User Authentication on the camera itself is that I was still getting this:
Jan 5 11:24:01 server zmwatch[12143]: INF [Restarting capture daemon for Camera-2, time since last capture 6 seconds (1325737441-1325737435)]
Jan 5 11:24:02 server zmdc[11974]: INF ['zmc -m 2' stopping at 12/01/05 11:24:02]
Jan 5 11:24:02 server zmc_m2[9946]: INF [Got signal 15 (Terminated), exiting]
Jan 5 11:24:02 server zmc_m2[9946]: ERR [Select error: Interrupted system call]
Jan 5 11:24:02 server zmc_m2[9946]: ERR [Unable to read content]
Jan 5 11:24:02 server zmc_m2[9946]: ERR [Unable to get response]
in addition to this:
Jan 5 09:46:00 server zmc_m4[14618]: ERR [Can't connect to remote camera: Connection refused]
Jan 5 09:46:00 server zmc_m4[14618]: ERR [Unable to connect to camera]
I will go through all the DCS920 posts for further ideas, thanks!
bb99
Posts: 943
Joined: Wed Apr 02, 2008 12:04 am

Re: Exited Abnormally? Exit status 255.

Post by bb99 »

On the 900's fps would usually be very low and logs would be filled with connection failures, disabling login fixed everything but had to restrict IP at router. 920 was the same but took a lot of head banging to remember what had fixed the 900 several years earlier.
Locked