IP sources keep going red...
Posted: Mon Jan 11, 2010 5:26 pm
I have been trying to get 1.24.2 working correctly for me and have been running into the issue that randomly about two camera's will drop (turn red) durring the course of a few days. The camera's are working fine, I have an older version of zoneminder on a different machine running 1.22.3 which can reach the same cameras just fine in the same way without having any sources turning red.
I am currently running:
OS: Debian 5.03 (Lenny)
Kernel Linux 2.6.26-2-686
GNOME 2.22.3
Motherboard: Tyan S2895
CPU0: AMD Opteron 250
CPU1: AMD Opteron 250
Ram: 2GB
I have tried this same setup on an older Intel P4 setup and having identical results with this red source issue. I have also tried this with the Arch Linux image with the same issue...
The cameras are all Axis IP cameras, a few different models, 206W, 207, 221, 212.
Again please keep in mind all of them are working fine on my older 1.22.3 zoneminder box...
Log files:
/var/log/messages |grep m9
Jan 11 03:06:44 debian-zm2 zmc_m9[27300]: INF [New Debug Level = 5, New Debug Log = /tmp/zm_debug.log.27300]
Jan 11 03:06:44 debian-zm2 zmc_m9[27300]: INF [Starting Capture]
Jan 11 03:10:18 debian-zm2 zma_m9[24404]: INF [1st_Floor_-_WEST_ENTRANCE_INSIDE: 513000 - Processing at 2.19 fps]
Jan 11 03:13:46 debian-zm2 zmc_m9[27300]: INF [1st_Floor_-_WEST_ENTRANCE_INSIDE: 1000 - Capturing at 2.37 fps]
Jan 11 03:17:21 debian-zm2 zma_m9[24404]: INF [1st_Floor_-_WEST_ENTRANCE_INSIDE: 514000 - Processing at 2.36 fps]
Jan 11 03:21:00 debian-zm2 zmc_m9[27300]: INF [1st_Floor_-_WEST_ENTRANCE_INSIDE: 2000 - Capturing at 2.30 fps]
Jan 11 03:24:35 debian-zm2 zma_m9[24404]: INF [1st_Floor_-_WEST_ENTRANCE_INSIDE: 515000 - Processing at 2.30 fps]
Jan 11 03:28:16 debian-zm2 zmc_m9[27300]: INF [1st_Floor_-_WEST_ENTRANCE_INSIDE: 3000 - Capturing at 2.29 fps]
Jan 11 03:32:02 debian-zm2 zma_m9[24404]: INF [1st_Floor_-_WEST_ENTRANCE_INSIDE: 516000 - Processing at 2.24 fps]
Jan 11 03:35:43 debian-zm2 zmc_m9[27300]: INF [1st_Floor_-_WEST_ENTRANCE_INSIDE: 4000 - Capturing at 2.24 fps]
Jan 11 03:36:03 debian-zm2 zmc_m9[27300]: INF [Got signal 15 (Terminated), exiting]
debian-zm2:/tmp#
when I try and look for the PID for my two cameras that are red, I don't see any related monitors running.. so it seems they crash, never to restart on their own.. (requires a zm restart or manual disable/enable camera)
debian-zm2:/tmp# ps axf | grep zmc
24361 ? S 388:04 \_ /usr/local/bin/zmc -m 1
24365 ? S 415:23 \_ /usr/local/bin/zmc -m 2
24377 ? S 396:21 \_ /usr/local/bin/zmc -m 5
24383 ? S 382:52 \_ /usr/local/bin/zmc -m 6
24389 ? S 406:13 \_ /usr/local/bin/zmc -m 7
24395 ? S 400:45 \_ /usr/local/bin/zmc -m 8
24413 ? S 410:22 \_ /usr/local/bin/zmc -m 11
24855 ? S 352:55 \_ /usr/local/bin/zmc -m 16
27058 ? S 83:26 \_ /usr/local/bin/zmc -m 4
27741 ? R 0:07 \_ /usr/local/bin/zmc -m 3
27751 pts/1 S+ 0:00 \_ grep zmc
debian-zm2:/tmp#
The red monitors are 9 and 10 both show this in the zdmc.log
-----------------------------------------------------------------------------------------
debian-zm2:/tmp# more zmdc.log |grep 'zmc -m 9'
01/11/10 00:19:29.586704 zmdc[24339].INF [Starting pending process, zmc -m 9]
01/11/10 00:19:29.587624 zmdc[24339].INF ['zmc -m 9' starting at 10/01/11 00:19:29, pid = 27237]
01/11/10 01:19:43.612925 zmdc[24339].ERR ['zmc -m 9' exited abnormally, exit status 255]
01/11/10 01:19:43.613294 zmdc[24339].INF [Starting pending process, zmc -m 9]
01/11/10 01:19:43.641876 zmdc[24339].INF ['zmc -m 9' starting at 10/01/11 01:19:43, pid = 27264]
01/11/10 01:48:14.394717 zmdc[24339].ERR ['zmc -m 9' exited abnormally, exit status 255]
01/11/10 01:48:14.395011 zmdc[24339].INF [Starting pending process, zmc -m 9]
01/11/10 01:48:14.403105 zmdc[24339].INF ['zmc -m 9' starting at 10/01/11 01:48:14, pid = 27274]
01/11/10 03:06:44.185115 zmdc[24339].INF ['zmc -m 9' stopping at 10/01/11 03:06:44]
01/11/10 03:06:44.206200 zmdc[24339].ERR ['zmc -m 9' exited abnormally, exit status 255]
01/11/10 03:06:44.306610 zmdc[24339].INF [Starting pending process, zmc -m 9]
01/11/10 03:06:44.315094 zmdc[24339].INF ['zmc -m 9' starting at 10/01/11 03:06:44, pid = 27300]
01/11/10 03:36:03.263298 zmdc[24339].INF ['zmc -m 9' stopping at 10/01/11 03:36:03]
01/11/10 03:36:03.287721 zmdc[24339].ERR ['zmc -m 9' exited abnormally, exit status 255]
-----------------------------------------------------------------------------------------
debian-zm2:/tmp# tail -n 100 zm_debug.log.27300
01/11/10 03:36:03.047362 zmc_m9[27300].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
01/11/10 03:36:03.047407 zmc_m9[27300].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
01/11/10 03:36:03.049194 zmc_m9[27300].DB3-zm_remote_camera_http.cpp/171 [Expecting 807 bytes]
01/11/10 03:36:03.049219 zmc_m9[27300].DB3-zm_remote_camera_http.cpp/196 [Read 807 bytes]
01/11/10 03:36:03.049232 zmc_m9[27300].DB3-zm_remote_camera_http.cpp/937 [Got end of image by length, content-length = 48421]
01/11/10 03:36:03.049268 zmc_m9[27300].DB3-zm_remote_camera_http.cpp/1004 [Returning 48421 (48421) bytes of captured content]
01/11/10 03:36:03.070789 zmc_m9[27300].DB3-zm_remote_camera_http.cpp/105 [Connected to host, socket = 4]
01/11/10 03:36:03.070850 zmc_m9[27300].DB3-zm_remote_camera_http.cpp/126 [Request sent]
01/11/10 03:36:03.263563 zmc_m9[27300].INF-zm_signal.cpp/43 [Got signal 15 (Terminated), exiting]
01/11/10 03:36:03.263617 zmc_m9[27300].ERR-zm_remote_camera_http.cpp/146 [Select error: Interrupted system call]
01/11/10 03:36:03.263641 zmc_m9[27300].ERR-zm_remote_camera_http.cpp/577 [Unable to read header]
01/11/10 03:36:03.263659 zmc_m9[27300].ERR-zm_remote_camera_http.cpp/1043 [Unable to get response]
01/11/10 03:36:03.263709 zmc_m9[27300].ERR-zmc.cpp/260 [Failed to capture image from monitor 9 (0/1)]
debian-zm2:/tmp#
-----------------------------------------------------------------------------------------
Anyone have any thoughts? I have restarted the zm service to get these two cameras going again and will also check and make sure its not the SAME cameras showing red.. on my past two machines they were different...
Thank you for your time,
-Brian
I am currently running:
OS: Debian 5.03 (Lenny)
Kernel Linux 2.6.26-2-686
GNOME 2.22.3
Motherboard: Tyan S2895
CPU0: AMD Opteron 250
CPU1: AMD Opteron 250
Ram: 2GB
I have tried this same setup on an older Intel P4 setup and having identical results with this red source issue. I have also tried this with the Arch Linux image with the same issue...
The cameras are all Axis IP cameras, a few different models, 206W, 207, 221, 212.
Again please keep in mind all of them are working fine on my older 1.22.3 zoneminder box...
Log files:
/var/log/messages |grep m9
Jan 11 03:06:44 debian-zm2 zmc_m9[27300]: INF [New Debug Level = 5, New Debug Log = /tmp/zm_debug.log.27300]
Jan 11 03:06:44 debian-zm2 zmc_m9[27300]: INF [Starting Capture]
Jan 11 03:10:18 debian-zm2 zma_m9[24404]: INF [1st_Floor_-_WEST_ENTRANCE_INSIDE: 513000 - Processing at 2.19 fps]
Jan 11 03:13:46 debian-zm2 zmc_m9[27300]: INF [1st_Floor_-_WEST_ENTRANCE_INSIDE: 1000 - Capturing at 2.37 fps]
Jan 11 03:17:21 debian-zm2 zma_m9[24404]: INF [1st_Floor_-_WEST_ENTRANCE_INSIDE: 514000 - Processing at 2.36 fps]
Jan 11 03:21:00 debian-zm2 zmc_m9[27300]: INF [1st_Floor_-_WEST_ENTRANCE_INSIDE: 2000 - Capturing at 2.30 fps]
Jan 11 03:24:35 debian-zm2 zma_m9[24404]: INF [1st_Floor_-_WEST_ENTRANCE_INSIDE: 515000 - Processing at 2.30 fps]
Jan 11 03:28:16 debian-zm2 zmc_m9[27300]: INF [1st_Floor_-_WEST_ENTRANCE_INSIDE: 3000 - Capturing at 2.29 fps]
Jan 11 03:32:02 debian-zm2 zma_m9[24404]: INF [1st_Floor_-_WEST_ENTRANCE_INSIDE: 516000 - Processing at 2.24 fps]
Jan 11 03:35:43 debian-zm2 zmc_m9[27300]: INF [1st_Floor_-_WEST_ENTRANCE_INSIDE: 4000 - Capturing at 2.24 fps]
Jan 11 03:36:03 debian-zm2 zmc_m9[27300]: INF [Got signal 15 (Terminated), exiting]
debian-zm2:/tmp#
when I try and look for the PID for my two cameras that are red, I don't see any related monitors running.. so it seems they crash, never to restart on their own.. (requires a zm restart or manual disable/enable camera)
debian-zm2:/tmp# ps axf | grep zmc
24361 ? S 388:04 \_ /usr/local/bin/zmc -m 1
24365 ? S 415:23 \_ /usr/local/bin/zmc -m 2
24377 ? S 396:21 \_ /usr/local/bin/zmc -m 5
24383 ? S 382:52 \_ /usr/local/bin/zmc -m 6
24389 ? S 406:13 \_ /usr/local/bin/zmc -m 7
24395 ? S 400:45 \_ /usr/local/bin/zmc -m 8
24413 ? S 410:22 \_ /usr/local/bin/zmc -m 11
24855 ? S 352:55 \_ /usr/local/bin/zmc -m 16
27058 ? S 83:26 \_ /usr/local/bin/zmc -m 4
27741 ? R 0:07 \_ /usr/local/bin/zmc -m 3
27751 pts/1 S+ 0:00 \_ grep zmc
debian-zm2:/tmp#
The red monitors are 9 and 10 both show this in the zdmc.log
-----------------------------------------------------------------------------------------
debian-zm2:/tmp# more zmdc.log |grep 'zmc -m 9'
01/11/10 00:19:29.586704 zmdc[24339].INF [Starting pending process, zmc -m 9]
01/11/10 00:19:29.587624 zmdc[24339].INF ['zmc -m 9' starting at 10/01/11 00:19:29, pid = 27237]
01/11/10 01:19:43.612925 zmdc[24339].ERR ['zmc -m 9' exited abnormally, exit status 255]
01/11/10 01:19:43.613294 zmdc[24339].INF [Starting pending process, zmc -m 9]
01/11/10 01:19:43.641876 zmdc[24339].INF ['zmc -m 9' starting at 10/01/11 01:19:43, pid = 27264]
01/11/10 01:48:14.394717 zmdc[24339].ERR ['zmc -m 9' exited abnormally, exit status 255]
01/11/10 01:48:14.395011 zmdc[24339].INF [Starting pending process, zmc -m 9]
01/11/10 01:48:14.403105 zmdc[24339].INF ['zmc -m 9' starting at 10/01/11 01:48:14, pid = 27274]
01/11/10 03:06:44.185115 zmdc[24339].INF ['zmc -m 9' stopping at 10/01/11 03:06:44]
01/11/10 03:06:44.206200 zmdc[24339].ERR ['zmc -m 9' exited abnormally, exit status 255]
01/11/10 03:06:44.306610 zmdc[24339].INF [Starting pending process, zmc -m 9]
01/11/10 03:06:44.315094 zmdc[24339].INF ['zmc -m 9' starting at 10/01/11 03:06:44, pid = 27300]
01/11/10 03:36:03.263298 zmdc[24339].INF ['zmc -m 9' stopping at 10/01/11 03:36:03]
01/11/10 03:36:03.287721 zmdc[24339].ERR ['zmc -m 9' exited abnormally, exit status 255]
-----------------------------------------------------------------------------------------
debian-zm2:/tmp# tail -n 100 zm_debug.log.27300
01/11/10 03:36:03.047362 zmc_m9[27300].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
01/11/10 03:36:03.047407 zmc_m9[27300].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
01/11/10 03:36:03.049194 zmc_m9[27300].DB3-zm_remote_camera_http.cpp/171 [Expecting 807 bytes]
01/11/10 03:36:03.049219 zmc_m9[27300].DB3-zm_remote_camera_http.cpp/196 [Read 807 bytes]
01/11/10 03:36:03.049232 zmc_m9[27300].DB3-zm_remote_camera_http.cpp/937 [Got end of image by length, content-length = 48421]
01/11/10 03:36:03.049268 zmc_m9[27300].DB3-zm_remote_camera_http.cpp/1004 [Returning 48421 (48421) bytes of captured content]
01/11/10 03:36:03.070789 zmc_m9[27300].DB3-zm_remote_camera_http.cpp/105 [Connected to host, socket = 4]
01/11/10 03:36:03.070850 zmc_m9[27300].DB3-zm_remote_camera_http.cpp/126 [Request sent]
01/11/10 03:36:03.263563 zmc_m9[27300].INF-zm_signal.cpp/43 [Got signal 15 (Terminated), exiting]
01/11/10 03:36:03.263617 zmc_m9[27300].ERR-zm_remote_camera_http.cpp/146 [Select error: Interrupted system call]
01/11/10 03:36:03.263641 zmc_m9[27300].ERR-zm_remote_camera_http.cpp/577 [Unable to read header]
01/11/10 03:36:03.263659 zmc_m9[27300].ERR-zm_remote_camera_http.cpp/1043 [Unable to get response]
01/11/10 03:36:03.263709 zmc_m9[27300].ERR-zmc.cpp/260 [Failed to capture image from monitor 9 (0/1)]
debian-zm2:/tmp#
-----------------------------------------------------------------------------------------
Anyone have any thoughts? I have restarted the zm service to get these two cameras going again and will also check and make sure its not the SAME cameras showing red.. on my past two machines they were different...
Thank you for your time,
-Brian