Page 1 of 1
Can't view events with this errors each time i'm trying
Posted: Tue Sep 24, 2013 8:12 pm
by vietcyber
All,
I'm connected to the wireless camera and images are capture but each time i try to view the event i don't see anything and here is what i see from the log
Sep 24 15:54:27 vienna zms[10150]: FAT [Can't open memory map file /dev/shm/zm.mmap.1, probably not enough space free: Permission denied]
Sep 24 15:54:27 vienna web_php[2330]: ERR [socket_bind( /tmp/zm/zms-179054w.sock ) failed: Permission denied]
Sep 24 15:54:27 vienna web_php[10134]: ERR [getCmdResponse stream error: socket_bind( /tmp/zm/zms-179054w.sock ) failed: Permission denied - checkStreamForErrors()]
I'm running this on CentOS 6.4 x86 with 4GB of RAM.
Thanks,
Quan
Re: Can't view events with this errors each time i'm trying
Posted: Wed Sep 25, 2013 1:23 am
by vietcyber
each time i tried to open up an event i got this errors
Sep 24 21:18:59 vienna zma_m1[1721]: INF [Livingroom: 1904 - Gone into alert state]
Sep 24 21:19:00 vienna zma_m1[1721]: INF [Livingroom: 1909 - Left alarm state (113) - 1883(16) images]
Sep 24 21:19:12 vienna zmc_m1[1713]: INF [Livingroom: 2000 - Capturing at 5.88 fps]
Sep 24 21:19:13 vienna zma_m1[1721]: INF [Livingroom: 2000 - Processing at 5.88 fps]
Sep 24 21:20:00 vienna zma_m1[1721]: INF [Livingroom: 2278 - Closing event 113, section end]
Sep 24 21:20:00 vienna zma_m1[1721]: INF [Livingroom: 2278 - Opening new event 114, section start]
Sep 24 21:21:21 vienna zms[1878]: FAT [Can't open memory map file /dev/shm/zm.mmap.1, probably not enough space free: Permission denied]
Sep 24 21:21:21 vienna web_php[1629]: ERR [socket_bind( /tmp/zm/zms-093646w.sock ) failed: Permission denied]
Sep 24 21:21:21 vienna web_php[1624]: ERR [getCmdResponse stream error: socket_bind( /tmp/zm/zms-093646w.sock ) failed: Permission denied - checkStreamForErrors()]
Sep 24 21:21:32 vienna web_php[1623]: ERR [socket_bind( /tmp/zm/zms-093646w.sock ) failed: Permission denied]
Sep 24 21:21:32 vienna web_php[1628]: ERR [getCmdResponse stream error: socket_bind( /tmp/zm/zms-093646w.sock ) failed: Permission denied - checkStreamForErrors()]
Sep 24 21:21:42 vienna web_php[1630]: ERR [socket_bind( /tmp/zm/zms-093646w.sock ) failed: Permission denied]
Sep 24 21:21:42 vienna web_php[1625]: ERR [getCmdResponse stream error: socket_bind( /tmp/zm/zms-093646w.sock ) failed: Permission denied - checkStreamForErrors()]
Sep 24 21:21:43 vienna web_php[1629]: ERR [socket_bind( /tmp/zm/zms-093646w.sock ) failed: Permission denied]
Sep 24 21:21:43 vienna web_php[1626]: ERR [getCmdResponse stream error: socket_bind( /tmp/zm/zms-093646w.sock ) failed: Permission denied - checkStreamForErrors()]
Sep 24 21:21:43 vienna web_php[1624]: ERR [socket_bind( /tmp/zm/zms-093646w.sock ) failed: Permission denied]
Sep 24 21:21:43 vienna web_php[1627]: ERR [getCmdResponse stream error: socket_bind( /tmp/zm/zms-093646w.sock ) failed: Permission denied - checkStreamForErrors()]
Sep 24 21:21:43 vienna web_php[1623]: ERR [socket_bind( /tmp/zm/zms-093646w.sock ) failed: Permission denied]
Sep 24 21:21:43 vienna web_php[1628]: ERR [getCmdResponse stream error: socket_bind( /tmp/zm/zms-093646w.sock ) failed: Permission denied - checkStreamForErrors()]
[root@vienna ~]# sysctl -p
net.ipv4.ip_forward = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
kernel.sysrq = 0
kernel.core_uses_pid = 1
net.ipv4.tcp_syncookies = 1
error: "net.bridge.bridge-nf-call-ip6tables" is an unknown key
error: "net.bridge.bridge-nf-call-iptables" is an unknown key
error: "net.bridge.bridge-nf-call-arptables" is an unknown key
kernel.msgmnb = 65536
kernel.msgmax = 65536
kernel.shmmni = 4096
kernel.shmall = 3774873
kernel.shmmax = 4294967295
[root@vienna ~]# ipcs -l
------ Shared Memory Limits --------
max number of segments = 4096
max seg size (kbytes) = 4194303
max total shared memory (kbytes) = 15099492
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 = 6772
max size of message (bytes) = 65536
default max size of queue (bytes) = 65536
Please help
Re: Can't view events with this errors each time i'm trying
Posted: Mon Feb 17, 2014 8:30 pm
by DrKappy
Were you ever able to fix this? I have Centos 6.5 and seeing same errors....
Code: Select all
Feb 17 15:24:47 surveillance zma_m2[1650]: INF [FD3: 196000 - Processing at 30.30 fps]
Feb 17 15:25:11 surveillance zmc_dvideo7[1642]: INF [FD3: 197000 - Capturing at 29.41 fps]
Feb 17 15:25:21 surveillance zma_m2[1650]: INF [FD3: 197000 - Processing at 29.41 fps]
Feb 17 15:25:44 surveillance zmc_dvideo7[1642]: INF [FD3: 198000 - Capturing at 30.30 fps]
Feb 17 15:25:45 surveillance web_php[1370]: WAR [Adjusting to minimum width when getting popup size for tag 'event' - getPopupSize()]
Feb 17 15:25:45 surveillance web_php[1374]: WAR [Adjusting to minimum height when getting popup size for tag 'event' - getPopupSize()]
Feb 17 15:25:46 surveillance zms[1850]: INF [Authenticated user 'admin']
Feb 17 15:25:46 surveillance zms[1850]: FAT [Can't open memory map file /dev/shm/zm.mmap.2, probably not enough space free: Permission denied]
Feb 17 15:25:49 surveillance web_php[1377]: ERR [socket_sendto( /var/lib/zoneminder/sock/zms-290210s.sock ) failed: No such file or directory]
Feb 17 15:25:49 surveillance web_php[1376]: ERR [getCmdResponse stream error: socket_sendto( /var/lib/zoneminder/sock/zms-290210s.sock ) failed: No such file or directory - checkStreamForErrors()]
Feb 17 15:25:54 surveillance zma_m2[1650]: INF [FD3: 198000 - Processing at 30.30 fps]
Feb 17 15:26:17 surveillance zmc_dvideo7[1642]: INF [FD3: 199000 - Capturing at 30.30 fps]
Feb 17 15:26:28 surveillance zma_m2[1650]: INF [FD3: 199000 - Processing at 29.41 fps]
Feb 17 15:26:51 surveillance zmc_dvideo7[1642]: INF [FD3: 200000 - Capturing at 29.41 fps]