ZoneMinder 1.24.2 on openSUSE 11.2

Forum for questions and support relating to the 1.24.x releases only.
Locked
djs_core
Posts: 5
Joined: Tue Feb 09, 2010 4:53 pm

ZoneMinder 1.24.2 on openSUSE 11.2

Post by djs_core »

Hi,
I installed ZoneMinder 1.24.2 from http://download.opensuse.org/repositori ... SUSE_11.2/ and is working, but I can not get working any IP Camera (no image).
I have AXIS 206 and AXIS 212 PTZ.
In the log file is:
...
02/09/10 18:13:29.475453 zmwatch[3289].ERR [Can't get shared memory id '7a6d0003', 3: No such file or directory]
02/09/10 18:13:39.476996 zmwatch[3289].ERR [Can't get shared memory id '7a6d0001', 1: No such file or directory]
02/09/10 18:13:39.477527 zmwatch[3289].ERR [Can't get shared memory id '7a6d0003', 3: No such file or directory]
02/09/10 18:13:49.479041 zmwatch[3289].ERR [Can't get shared memory id '7a6d0001', 1: No such file or directory]
02/09/10 18:13:49.479590 zmwatch[3289].ERR [Can't get shared memory id '7a6d0003', 3: No such file or directory]
02/09/10 18:13:59.481187 zmwatch[3289].ERR [Can't get shared memory id '7a6d0001', 1: No such file or directory]
02/09/10 18:13:59.481814 zmwatch[3289].ERR [Can't get shared memory id '7a6d0003', 3: No such file or directory]
02/09/10 18:14:09.483378 zmwatch[3289].ERR [Can't get shared memory id '7a6d0001', 1: No such file or directory]
02/09/10 18:14:09.483996 zmwatch[3289].ERR [Can't get shared memory id '7a6d0003', 3: No such file or directory]
02/09/10 18:14:19.485805 zmwatch[3289].ERR [Can't get shared memory id '7a6d0001', 1: No such file or directory]
02/09/10 18:14:19.486377 zmwatch[3289].ERR [Can't get shared memory id '7a6d0003', 3: No such file or directory]
02/09/10 18:14:29.487706 zmwatch[3289].ERR [Can't get shared memory id '7a6d0001', 1: No such file or directory]
02/09/10 18:14:29.488297 zmwatch[3289].ERR [Can't get shared memory id '7a6d0003', 3: No such file or directory]
02/09/10 18:14:39.489546 zmwatch[3289].ERR [Can't get shared memory id '7a6d0001', 1: No such file or directory]
02/09/10 18:14:39.490108 zmwatch[3289].ERR [Can't get shared memory id '7a6d0003', 3: No such file or directory]
...
I tried to increase the shared memory, but nothing happend.
Here is my ipcs -l

------ Shared Memory Limits --------
max number of segments = 4096
max seg size (kbytes) = 4194303
max total shared memory (kbytes) = 1073740800
min seg size (bytes) = 1

------ Semaphore Limits --------
max number of arrays = 1024
max semaphores per array = 250
max semaphores system wide = 256000
max ops per semop call = 32
semaphore max value = 32767

------ Messages: Limits --------
max queues system wide = 433
max size of message (bytes) = 65536
default max size of queue (bytes) = 65536

and shmall/shmmax

cat /proc/sys/kernel/shmall
268435200

cat /proc/sys/kernel/shmmax
4294967295

Any idea :?: Thx for any help ;)
(and sorry for my bad english)
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

02/09/10 18:14:39.490108 zmwatch[3289].ERR [Can't get shared memory id '7a6d0003', 3: No such file or directory]
This error is just a vague error and is usually always collateral from a failed image capture.
Turn ZM debug up to about 3 to 5 and limit the output to zmc and check the resulting debug logs for what is actually happening.
The possibilities are failed authentication, bad path, unsupported format, incorrect image size configured, etc. etc.
djs_core
Posts: 5
Joined: Tue Feb 09, 2010 4:53 pm

Post by djs_core »

Turn ZM debug up to about 3 to 5 and limit the output to zmc and check the resulting debug logs for what is actually happening.
The possibilities are failed authentication, bad path, unsupported format, incorrect image size configured, etc. etc.
Hi cordel,
many thanks for info. I have tried these debug settings and here is log file:

02/10/10 12:00:25.899545 zmc_m1[7314].INF-zm_debug.c/292 [New Debug Level = 5, New Debug Log = /var/log/zm/zm_debug.log.07314]
02/10/10 12:00:25.900287 zmc_m1[7314].DB1-zm_monitor.cpp/2262 [Got 1 monitors]
02/10/10 12:00:25.900557 zmc_m1[7314].DB2-zm_remote_camera_http.cpp/69 [Request: GET /axis-cgi/jpg/image.cgi?resolution=640x480 HTTP/1.1
User-Agent: ZoneMinder/1.24.2
Host: 192.168.30.50
Connection: Keep-Alive
Authorization: Basic em06em00MTE=

]02/10/10 12:00:25.903371 zmc_m1[7314].DB1-zm_monitor.cpp/338 [monitor purpose=1]
02/10/10 12:00:25.903408 zmc_m1[7314].DB1-zm_monitor.cpp/345 [mem.size=36865192]
02/10/10 12:00:25.980496 zmc_m1[7314].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]
02/10/10 12:00:25.991219 zmc_m1[7314].DB1-zm_monitor.cpp/458 [Monitor Kamera-1 has function 2]
02/10/10 12:00:25.991242 zmc_m1[7314].DB1-zm_monitor.cpp/459 [Monitor Kamera-1 LBF = '%N - %y/%m/%d %H:%M:%S', LBX = 0, LBY = 0]
02/10/10 12:00:25.991259 zmc_m1[7314].DB1-zm_monitor.cpp/460 [Monitor Kamera-1 IBC = 40, WUC = 25, pEC = 10, PEC = 10, EAF = 1, FRI = 1000, RBP = 7, FM = 0]
02/10/10 12:00:25.991648 zmc_m1[7314].DB1-zm_zone.cpp/889 [Got 1 zones for monitor Kamera-1]
02/10/10 12:00:25.991672 zmc_m1[7314].DB5-zm_zone.cpp/918 [Parsing polygon 0,0 639,0 639,479 0,479]
02/10/10 12:00:25.991688 zmc_m1[7314].DB3-zm_zone.cpp/758 [Parsing polygon string '0,0 639,0 639,479 0,479']
02/10/10 12:00:25.991705 zmc_m1[7314].DB3-zm_zone.cpp/796 [Got coordinate 0,0 from polygon string]
02/10/10 12:00:25.991721 zmc_m1[7314].DB3-zm_zone.cpp/796 [Got coordinate 639,0 from polygon string]
02/10/10 12:00:25.991737 zmc_m1[7314].DB3-zm_zone.cpp/796 [Got coordinate 639,479 from polygon string]
02/10/10 12:00:25.991753 zmc_m1[7314].DB3-zm_zone.cpp/796 [Got coordinate 0,479 from polygon string]
02/10/10 12:00:25.991774 zmc_m1[7314].DB3-zm_zone.cpp/816 [Successfully parsed polygon string]
02/10/10 12:00:25.991793 zmc_m1[7314].DB1-zm_zone.cpp/50 [Initialised zone 1/All - 1 - 640x480 - Rgb:ff0000, CM:3, MnAT:25, MxAT:0, MnAP:9216, MxAP:230400, FB:3x3, MnFP:9216, MxFP:230400, MnBS:6144, MxBS:0, MnB:1, MxB:0, OF: 0]
02/10/10 12:00:26.007063 zmc_m1[7314].DB1-zm_monitor.cpp/2459 [Loaded monitor 1(Kamera-1), 1 zones]
02/10/10 12:00:26.007113 zmc_m1[7314].INF-zmc.cpp/188 [Starting Capture]
02/10/10 12:00:26.007788 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/105 [Connected to host, socket = 3]
02/10/10 12:00:26.007861 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/126 [Request sent]
02/10/10 12:00:26.167474 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:26.167557 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:26.167628 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/686 [Got status '200' (OK), http version 1.0]
02/10/10 12:00:26.167669 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/693 [Got connection 'close']
02/10/10 12:00:26.167747 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/699 [Got content length '31363']
02/10/10 12:00:26.167786 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/727 [Got content type 'image/jpeg']
02/10/10 12:00:26.167833 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:26.167876 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:26.168550 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:26.168603 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:26.168897 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:26.168957 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:26.169337 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:26.169396 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:26.170133 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:26.170192 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:26.170427 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:26.170485 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:26.170894 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:26.170952 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:26.171738 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:26.171800 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:26.172062 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:26.172115 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:26.172534 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:26.172596 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:26.173299 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:26.173362 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:26.173605 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:26.173664 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:26.174055 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:26.174109 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:26.174849 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:26.174899 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:26.175152 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:26.175203 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:26.175602 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:26.175661 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:26.176394 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:26.176456 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:26.176768 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:26.176819 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:26.177429 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:26.177490 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:26.177725 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:26.177783 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:26.178507 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1125 bytes]
02/10/10 12:00:26.178568 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1125 bytes]
02/10/10 12:00:26.178608 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/937 [Got end of image by length, content-length = 31363]
02/10/10 12:00:26.178686 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/1004 [Returning 31363 (31363) bytes of captured content]
02/10/10 12:00:26.203114 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/105 [Connected to host, socket = 3]
02/10/10 12:00:26.203207 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/126 [Request sent]
02/10/10 12:00:26.316964 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:26.317015 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:26.317056 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/686 [Got status '200' (OK), http version 1.0]
02/10/10 12:00:26.317088 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/693 [Got connection 'close']
02/10/10 12:00:26.317117 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/699 [Got content length '31443']
02/10/10 12:00:26.317146 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/727 [Got content type 'image/jpeg']
02/10/10 12:00:26.317257 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:26.317326 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:26.318054 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:26.318089 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:26.318402 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:26.318437 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:26.318855 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:26.318890 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:26.319637 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:26.319679 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:26.319927 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:26.319965 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:26.320386 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:26.320420 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:26.321226 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:26.321266 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:26.321529 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:26.321569 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:26.322072 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:26.322106 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:26.322751 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:26.322786 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:26.323232 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:26.323271 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:26.323538 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:26.323583 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:26.324321 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:26.324366 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:26.324622 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:26.324663 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:26.325080 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:26.325115 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:26.325860 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:26.325896 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:26.326238 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:26.326279 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:26.326900 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:26.326936 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:26.327215 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:26.327259 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:26.340860 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1205 bytes]
02/10/10 12:00:26.340911 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1205 bytes]
02/10/10 12:00:26.340943 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/937 [Got end of image by length, content-length = 31443]
02/10/10 12:00:26.340995 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/1004 [Returning 31443 (31443) bytes of captured content]
02/10/10 12:00:27.203711 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/105 [Connected to host, socket = 3]
02/10/10 12:00:27.203831 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/126 [Request sent]
02/10/10 12:00:27.289615 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 2896 bytes]
02/10/10 12:00:27.289691 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 2896 bytes]
02/10/10 12:00:27.289737 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/686 [Got status '200' (OK), http version 1.0]
02/10/10 12:00:27.289794 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/693 [Got connection 'close']
02/10/10 12:00:27.289824 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/699 [Got content length '31351']
02/10/10 12:00:27.289852 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/727 [Got content type 'image/jpeg']
02/10/10 12:00:27.289898 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:27.289932 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:27.290157 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:27.290197 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:27.290742 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:27.290782 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:27.291484 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:27.291525 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:27.291764 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:27.291801 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:27.292240 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:27.292281 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:27.292996 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:27.293030 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:27.293295 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:27.293329 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:27.293836 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:27.293878 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:27.294505 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:27.294544 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:27.294973 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:27.295006 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:27.295392 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:27.295424 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:27.296077 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:27.296113 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:27.296348 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
02/10/10 12:00:27.296387 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/196 [Read 1448 bytes]
02/10/10 12:00:27.296816 zmc_m1[7314].DB3-zm_remote_camera_http.cpp/171 [Expecting 1448 bytes]
....

I see no error here :(
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

I would seem that zmc is getting am image fine. So a few questions:

:?: If you set the monitor to record or mocord, after collecting a few events you would hopefully see events populate the tables. Can you open a monitor and see a still image by clicking the stills link?

:arrow: If the above is true and you have still images, I suspect the problem is with the setup of the cgi file zms. It's errors will be logged in the apache error_log.

:arrow: If the above is false, and you see no events being stored, then try limiting debug to zma and see what comes up.
djs_core
Posts: 5
Joined: Tue Feb 09, 2010 4:53 pm

Post by djs_core »

cordel wrote:If you set the monitor to record or mocord, after collecting a few events you would hopefully see events populate the tables. Can you open a monitor and see a still image by clicking the stills link?
Yes. See screen :D

Image
cordel wrote:If the above is true and you have still images, I suspect the problem is with the setup of the cgi file zms. It's errors will be logged in the apache error_log.
And apache log errors:

http://www.djscore.org/tmp/apache-log.txt

Is there something more of errors :cry:
Paranoid
Posts: 129
Joined: Thu Feb 05, 2009 10:40 pm

Post by Paranoid »

It looks like your cgi-bin might not be set up corectly in apache. Have a look through this thread: http://www.zoneminder.com/forums/viewto ... c&start=45

If you want to get rid of all those php errors in your apache error log file then look at this thread: http://www.zoneminder.com/forums/viewtopic.php?t=15299
djs_core
Posts: 5
Joined: Tue Feb 09, 2010 4:53 pm

Post by djs_core »

Paranoid wrote:It looks like your cgi-bin might not be set up corectly in apache. Have a look through this thread: http://www.zoneminder.com/forums/viewto ... c&start=45
Appears, that the cgi-bin is set correctly:

Code: Select all

ScriptAlias /cgi-bin/ "/srv/www/cgi-bin/"

# "/srv/www/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory>
	AllowOverride None
	Options +ExecCGI -Includes
	Order allow,deny
	Allow from all
</Directory>
But if I look back to the Apache log, I do not like this error:

Code: Select all

 socket_sendto( /var/run/zm/zms-068723s.sock ) failed: No such file or directory
In folder: /var/run/zm/ is only two files:

Code: Select all

zm.pid
=zmdc.sock
Whe I try watch camera image, in folder is created file zms-*****w.sock, but not zms-*****s.sock
Therefore displays an error, because it can not find the file. How to fix it? :D
djs_core
Posts: 5
Joined: Tue Feb 09, 2010 4:53 pm

Post by djs_core »

I do not know what happened, but the error is gone, and watch feature now work :shock: Many thanks for helping :wink:
Locked