LQ Newbie
Registered: Mar 2013
Posts: 1
Rep:
|
Zoneminder 1.25.0 on CentOS 6.3 - black image without live feed
Hello. I've spent two days struggling to get Zoneminder 1.25 working on a fresh install of CentOS 6.3. However, my camera URL still shows up in red and when I click on the camera name I get a black image without any live feed. Can someone please give me some clues? Here is additional info:
1. Server hardware:
Processor = XEON E3-1240 3.3G 8M HT
Memory = 16GB DDR3
Drive = 900GB of SSD in Raid 0
[root@s01 conf]# ipcs -l
------ Shared Memory Limits --------
max number of segments = 4096
max seg size (kbytes) = 67108864
max total shared memory (kbytes) = 17179869184
min seg size (bytes) = 1
------ Semaphore Limits --------
max number of arrays = 128
max semaphores per array = 250
max semaphores system wide = 32000
max ops per semop call = 32
semaphore max value = 32767
------ Messages: Limits --------
max queues system wide = 31835
max size of message (bytes) = 65536
default max size of queue (bytes) = 65536
2. [root@s01 conf]# service zm start
Mar 30 09:33:09 s01 zmpkg[2503]: INF [Command: start]
Mar 30 09:33:09 s01 zmdc[2526]: INF [Server starting at 13/03/30 09:33:09]
Mar 30 09:33:12 s01 zmdc[2526]: INF ['zmc -m 1' starting at 13/03/30 09:33:12, pid = 2552]
Mar 30 09:33:12 s01 zmdc[2552]: INF ['zmc -m 1' started at 13/03/30 09:33:12]
Mar 30 09:33:12 s01 rsyslogd-2177: imuxsock begins to drop messages from pid 2552 due to rate-limiting
Mar 30 09:33:12 s01 zmdc[2526]: INF ['zma -m 1' starting at 13/03/30 09:33:12, pid = 2560]
Mar 30 09:33:12 s01 zmdc[2560]: INF ['zma -m 1' started at 13/03/30 09:33:12]
Mar 30 09:33:12 s01 zma_m1[2560]: WAR [Waiting for capture daemon]
Mar 30 09:33:12 s01 zmdc[2526]: INF ['zmfilter.pl' starting at 13/03/30 09:33:12, pid = 2568]
Mar 30 09:33:12 s01 zmdc[2568]: INF ['zmfilter.pl' started at 13/03/30 09:33:12]
Mar 30 09:33:12 s01 zmdc[2526]: ERR ['zmc -m 1' exited abnormally, exit status 255]
Mar 30 09:33:12 s01 zmdc[2526]: INF [Starting pending process, zmc -m 1]
Mar 30 09:33:12 s01 zmdc[2526]: INF ['zmc -m 1' starting at 13/03/30 09:33:12, pid = 2573]
Mar 30 09:33:12 s01 zmdc[2573]: INF ['zmc -m 1' started at 13/03/30 09:33:12]
Mar 30 09:33:12 s01 rsyslogd-2177: imuxsock begins to drop messages from pid 2573 due to rate-limiting
Mar 30 09:33:12 s01 zmdc[2526]: INF ['zmaudit.pl -c' starting at 13/03/30 09:33:12, pid = 2580]
Mar 30 09:33:12 s01 zmdc[2580]: INF ['zmaudit.pl -c' started at 13/03/30 09:33:12]
Mar 30 09:33:12 s01 zmfilter[2568]: INF [Scanning for events]
Mar 30 09:33:12 s01 zmdc[2526]: INF ['zmwatch.pl' starting at 13/03/30 09:33:12, pid = 2589]
Mar 30 09:33:12 s01 zmdc[2589]: INF ['zmwatch.pl' started at 13/03/30 09:33:12]
Mar 30 09:33:13 s01 zmdc[2526]: ERR ['zmc -m 1' exited abnormally, exit status 255]
Mar 30 09:33:13 s01 zmwatch[2589]: INF [Watchdog starting]
Mar 30 09:33:13 s01 zmwatch[2589]: INF [Watchdog pausing for 30 seconds]
Mar 30 09:33:13 s01 zmdc[2526]: INF ['zmupdate.pl -c' starting at 13/03/30 09:33:13, pid = 2599]
Mar 30 09:33:13 s01 zmdc[2599]: INF ['zmupdate.pl -c' started at 13/03/30 09:33:13]
Mar 30 09:33:13 s01 zma_m1[2560]: INF [In mode 3/1, warming up]
Mar 30 09:33:18 s01 zmdc[2526]: INF [Starting pending process, zmc -m 1]
Mar 30 09:33:18 s01 zmdc[2526]: INF ['zmc -m 1' starting at 13/03/30 09:33:18, pid = 2606]
Mar 30 09:33:18 s01 zmdc[2606]: INF ['zmc -m 1' started at 13/03/30 09:33:18]
Mar 30 09:33:18 s01 rsyslogd-2177: imuxsock begins to drop messages from pid 2606 due to rate-limiting
Mar 30 09:33:18 s01 zmdc[2526]: ERR ['zmc -m 1' exited abnormally, exit status 255]
Mar 30 09:33:28 s01 zmdc[2526]: INF [Starting pending process, zmc -m 1]
Mar 30 09:33:28 s01 zmdc[2526]: INF ['zmc -m 1' starting at 13/03/30 09:33:28, pid = 2611]
Mar 30 09:33:28 s01 zmdc[2611]: INF ['zmc -m 1' started at 13/03/30 09:33:28]
Mar 30 09:33:28 s01 rsyslogd-2177: imuxsock begins to drop messages from pid 2611 due to rate-limiting
Mar 30 09:33:28 s01 zmdc[2526]: ERR ['zmc -m 1' exited abnormally, exit status 255]
3. Clicking on camera name in ZM console writes this to /var/log/messages:
Mar 30 09:34:00 s01 zms[2624]: WAR [Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results]
Mar 30 09:34:00 s01 zms[2624]: WAR [Unable to store frame as shared memory invalid]
4. From the last debug log in /tmp/zm:
03/30/13 09:34:28.084909 zmc_m1[2630].DB1-zm_logger.cpp/230 [LogOpts: level=DB9/DB9, screen=OFF, database=INF, logfile=DB9->/tmp/zm/zm_debug.log.02630, syslog=DB9]
03/30/13 09:34:28.085336 zmc_m1[2630].DB1-zm_monitor.cpp/2306 [Got 1 monitors]
03/30/13 09:34:28.085492 zmc_m1[2630].DB2-zm_remote_camera_http.cpp/70 [Request: GET /nphMotionJpeg?Resolution=320x240&Quality=Standard HTTP/1.1^M
User-Agent: ZoneMinder/1.25.0^M
Host: 10.10.2.21^M
Authorization: Basic ZG1vb3JlOmNhTDQ5RXI=^M
^M
]
03/30/13 09:34:28.086779 zmc_m1[2630].DB1-zm_monitor.cpp/340 [monitor purpose=1]
03/30/13 09:34:28.086823 zmc_m1[2630].DB1-zm_monitor.cpp/347 [mem.size=36865524]
03/30/13 09:34:28.086893 zmc_m1[2630].DB1-zm_monitor.cpp/371 [Unable to map file /dev/shm/zm.mmap.1 (36865524 bytes) to locked memory, trying unlocked]
03/30/13 09:34:28.100002 zmc_m1[2630].DB1-zm_zone.cpp/50 [Initialised zone 0/All - 1 - 640x480 - Rgb:ff0000, CM:3, MnAT:15, MxAT:0, MnAP:50, MxAP:75000, FB:3x3, MnFP:50, MxFP:50000, MnBS:10, MxBS:0, MnB:0, MxB:0, OF: 0]
03/30/13 09:34:28.100111 zmc_m1[2630].DB9-zm_image.cpp/1352 [x1:0,y1:479 x2:0,y2:0]
03/30/13 09:34:28.100125 zmc_m1[2630].DB9-zm_image.cpp/1352 [x1:0,y1:0 x2:639,y2:0]
03/30/13 09:34:28.100145 zmc_m1[2630].DB9-zm_image.cpp/1352 [x1:639,y1:0 x2:639,y2:479]
03/30/13 09:34:28.100162 zmc_m1[2630].DB9-zm_image.cpp/1352 [x1:639,y1:479 x2:0,y2:479]
03/30/13 09:34:28.100186 zmc_m1[2630].DB9-zm_image.cpp/1372 [0: min_y: 0, max_y:479, min_x:0.00, 1/m:-0.00]
03/30/13 09:34:28.100207 zmc_m1[2630].DB9-zm_image.cpp/1372 [1: min_y: 0, max_y:479, min_x:639.00, 1/m:0.00]
03/30/13 09:34:28.100228 zmc_m1[2630].DB9-zm_image.cpp/1386 [Moving global edge]
03/30/13 09:34:28.100249 zmc_m1[2630].DB9-zm_image.cpp/1386 [Moving global edge]
03/30/13 09:34:28.100266 zmc_m1[2630].DB9-zm_image.cpp/1407 [0 - 0: min_y: 0, max_y:479, min_x:0.00, 1/m:-0.00]
03/30/13 09:34:28.100285 zmc_m1[2630].DB9-zm_image.cpp/1407 [0 - 1: min_y: 0, max_y:479, min_x:639.00, 1/m:0.00]
03/30/13 09:34:28.100309 zmc_m1[2630].DB9-zm_image.cpp/1407 [1 - 0: min_y: 0, max_y:479, min_x:0.00, 1/m:-0.00]
... ... ...
03/30/13 09:34:28.183105 zmc_m1[2630].DB1-zm_monitor.cpp/2509 [Loaded monitor 1(Driveway1), 1 zones]
03/30/13 09:34:28.183118 zmc_m1[2630].INF-zmc.cpp/191 [Starting Capture]
03/30/13 09:34:28.184058 zmc_m1[2630].DB3-zm_remote_camera_http.cpp/106 [Connected to host, socket = 5]
03/30/13 09:34:28.184129 zmc_m1[2630].DB3-zm_remote_camera_http.cpp/128 [Request sent]
03/30/13 09:34:28.245883 zmc_m1[2630].DB3-zm_remote_camera_http.cpp/174 [Expecting 17 bytes]
03/30/13 09:34:28.245953 zmc_m1[2630].DB3-zm_remote_camera_http.cpp/199 [Read 17 bytes]
03/30/13 09:34:28.245977 zmc_m1[2630].DB6-zm_remote_camera_http.cpp/645 [HTTP/1.1 200 OK^M
]
03/30/13 09:34:28.245998 zmc_m1[2630].DB6-zm_remote_camera_http.cpp/653 [Got http header 'HTTP/1.1 200 OK^M
']
03/30/13 09:34:28.246018 zmc_m1[2630].DB3-zm_remote_camera_http.cpp/810 [Unable to extract entire header from stream, continuing]
03/30/13 09:34:28.246349 zmc_m1[2630].DB3-zm_remote_camera_http.cpp/174 [Expecting 98 bytes]
03/30/13 09:34:28.246390 zmc_m1[2630].DB3-zm_remote_camera_http.cpp/199 [Read 98 bytes]
03/30/13 09:34:28.246409 zmc_m1[2630].DB6-zm_remote_camera_http.cpp/645 [Status: 200^M
Connection: close^M
Content-type: multipart/x-mixed-replace;boundary =--myboundary^M
^M
]
03/30/13 09:34:28.246426 zmc_m1[2630].DB6-zm_remote_camera_http.cpp/672 [Got ignored header 'Status: 200^M
Connection: close^M
Content-type: multipart/x-mixed-replace;boundary =--myboundary^M
^M
']
03/30/13 09:34:28.246442 zmc_m1[2630].DB6-zm_remote_camera_http.cpp/645 [Connection: close^M
Content-type: multipart/x-mixed-replace;boundary =--myboundary^M
^M
]
03/30/13 09:34:28.246457 zmc_m1[2630].DB6-zm_remote_camera_http.cpp/658 [Got connection header 'Connection: close^M
Content-type: multipart/x-mixed-replace;boundary =--myboundary^M
^M
']
03/30/13 09:34:28.246473 zmc_m1[2630].DB6-zm_remote_camera_http.cpp/645 [Content-type: multipart/x-mixed-replace;boundary =--myboundary^M
^M
]
03/30/13 09:34:28.246495 zmc_m1[2630].DB6-zm_remote_camera_http.cpp/668 [Got content type header 'Content-type: multipart/x-mixed-replace;boundary =--myboundary^M
^M
']
03/30/13 09:34:28.246521 zmc_m1[2630].DB3-zm_remote_camera_http.cpp/717 [Got status '200' (OK), http version 1.1]
03/30/13 09:34:28.246537 zmc_m1[2630].DB3-zm_remote_camera_http.cpp/724 [Got connection 'close']
03/30/13 09:34:28.246544 zmc_m1[2630].DB3-zm_remote_camera_http.cpp/739 [Got content type 'multipart/x-mixed-replace']
03/30/13 09:34:28.246550 zmc_m1[2630].DB3-zm_remote_camera_http.cpp/744 [---> start_ptr=]
03/30/13 09:34:28.246557 zmc_m1[2630].DB3-zm_remote_camera_http.cpp/745 [---> boundary_match=]
03/30/13 09:34:28.246563 zmc_m1[2630].DB3-zm_remote_camera_http.cpp/746 [---> boundary_match_len=]
03/30/13 09:34:28.246570 zmc_m1[2630].ERR-zm_remote_camera_http.cpp/756 [No content boundary found in header ' multipart/x-mixed-replace;boundary =--myboundary']
03/30/13 09:34:28.246724 zmc_m1[2630].ERR-zm_remote_camera_http.cpp/792 [No content boundary found in header ' multipart/x-mixed-replace;boundary =--myboundary']
03/30/13 09:34:28.246881 zmc_m1[2630].ERR-zm_remote_camera_http.cpp/1101 [Unable to get response]
03/30/13 09:34:28.247055 zmc_m1[2630].DB3-zm_remote_camera_http.cpp/114 [Disconnected from host]
03/30/13 09:34:28.247083 zmc_m1[2630].ERR-zmc.cpp/263 [Failed to capture image from monitor 1 (0/1)]
03/30/13 09:34:28.247277 zmc_m1[2630].DB3-zm_remote_camera_http.cpp/114 [Disconnected from host]
|