[Help] zoneminder 2x recording

Forum for questions and support relating to the 1.25.x releases only.
Locked
furyzika
Posts: 6
Joined: Wed May 15, 2013 12:17 pm

[Help] zoneminder 2x recording

Post by furyzika »

I had put a name to the cameras, I decided to change the name. Now is creating events with the old name and the new.

PIC: in attachment

Anyone know how to fix it?

sorry for bad english.
Attachments
PIC
PIC
Sem título.jpg (174.04 KiB) Viewed 3448 times
mikb
Posts: 600
Joined: Mon Mar 25, 2013 12:34 pm

Re: [Help] zoneminder 2x recording

Post by mikb »

That looks normal, in my events directory there are actual numbered directories containing the events, and symbolic links from "fake" directories that have the name of the cameras

Code: Select all

drwxr-xr-x 2 apache apache 4096 Mar 30 00:02 10
drwxr-xr-x 3 apache apache 4096 Apr  1 15:13 4
drwxr-xr-x 3 apache apache 4096 Mar 25 11:52 5
drwxr-xr-x 3 apache apache 4096 Mar 26 11:52 6
drwxr-xr-x 3 apache apache 4096 Apr  6 19:01 7
drwxr-xr-x 3 apache apache 4096 Apr 10 15:16 8
drwxr-xr-x 2 apache apache 4096 Mar 30 00:02 9
lrwxrwxrwx 1 apache apache    1 Mar 25 10:43 CAM01_FRONT_CZ -> 5
lrwxrwxrwx 1 apache apache    1 Mar 28 12:16 CAM02_FRONT_RW -> 4
lrwxrwxrwx 1 apache apache    1 Mar 24 17:03 CAM03_FRONT_LW -> 6
lrwxrwxrwx 1 apache apache    1 Mar 24 17:03 CAM04_REAR_CW -> 7
lrwxrwxrwx 1 apache apache    1 Mar 24 17:04 CAM05_FRONT_GW -> 8
lrwxrwxrwx 1 apache apache    1 Mar 24 17:05 CAM06 -> 9
lrwxrwxrwx 1 apache apache    2 Mar 24 17:06 CAM07 -> 10
Events that were made before you changed the name will be stored as the old name, events from after will take the new name.

If your old names were just 1 2 3 4, then I don't see a problem here. Maybe I misunderstood the question :)
furyzika
Posts: 6
Joined: Wed May 15, 2013 12:17 pm

Re: [Help] zoneminder 2x recording

Post by furyzika »

the problem that is occupying space 2x in HD right?
ex: right would store 1 gb in which case store 2gb understand?
mikb
Posts: 600
Joined: Mon Mar 25, 2013 12:34 pm

Re: [Help] zoneminder 2x recording

Post by mikb »

furyzika wrote:the problem that is occupying space 2x in HD right?
ex: right would store 1 gb in which case store 2gb understand?
Ah -- if that's what you were worried about, then no.

That's the beauty of a symbolic link. You are looking at a graphical representation that hides the underlying details, it looks like there are two directories with identical contents. But there isn't.

Zoneminder (internally) uses the numbered directories, they have the actual events and video in.

The directories with "friendly names" are just a link to the underlying numbered directory.

It looks like everything is working normally to me!
furyzika
Posts: 6
Joined: Wed May 15, 2013 12:17 pm

Re: [Help] zoneminder 2x recording

Post by furyzika »

ooo thank you. you know this error?
LOG:
message:socket_sendto( /tmp/zm/zms-515252s.sock ) failed: No such file or directory
file:/usr/share/zoneminder/includes/functions.php
line:2322
mikb
Posts: 600
Joined: Mon Mar 25, 2013 12:34 pm

Re: [Help] zoneminder 2x recording

Post by mikb »

furyzika wrote:ooo thank you. you know this error?
LOG:
message:socket_sendto( /tmp/zm/zms-515252s.sock ) failed: No such file or directory
file:/usr/share/zoneminder/includes/functions.php
line:2322
I've seen it, but not understood or fixed it -- it's something to do with your "live view" of a camera feed breaking.

May 19 16:54:39 perkin web_php[24474]: ERR [socket_sendto( /tmp/zm/zms-574376s.sock ) failed: Connection refused]

or

May 19 17:08:10 perkin web_php[22821]: ERR [socket_sendto( /tmp/zm/zms-534260s.sock ) failed: No such file or directory]
Locked