Can't play events at all. I now know why. What's the fix?

Forum for questions and support relating to the 1.24.x releases only.
Locked
Jim March
Posts: 88
Joined: Thu Oct 04, 2007 8:31 am

Can't play events at all. I now know why. What's the fix?

Post by Jim March »

I have my events on a separate 500gig disk formatted ReiserFS (hope it doesn't kill it's wife).

Path is /media/disk/events

I can't view events. I've set all the paths correctly in the options menus. But in debug mode I get:

01/26/11 12:25:36.473342 zms[2537].ERR-zm_event.cpp/1190 [Can't open /usr/share/zoneminder/www//media/disk/events/2/11/01/24/18/00/00/001-capture.jpg: No such file or directory]

OK...yeah, that ain't gonna work! So...how do I get it to read events from the same place it's writing them to!? I found references to fixing this with a symlink but it wasn't clear...help?

I'm running Fedora 13 if that helps...
Jim March
Posts: 88
Joined: Thu Oct 04, 2007 8:31 am

Post by Jim March »

I tried to follow the symlink advice here:

http://www.zoneminder.com/forums/viewtopic.php?t=16392

I issued the commands:

ln -s /media/disk/events
ln -s /media/disk/images

...both with and without sudo, and changed the path locations in the Options>Paths area to "events" and "images" (no quotes) respectively.

It "worked" in that yeah, I can play back images...but it has changed the location where it's storing the stuff, blowing away the last two days of events. Which is no biggie right now, but it's clearly not storing anything at /media/disk where I need it to be. And at this point I have no idea where the stuff is going!

Um...does anybody know how to really set the path locations here?

Thanks,

Jim
PacoLM
Posts: 971
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Post by PacoLM »

Hi,

Try this:

mv /usr/share/zoneminder/events /media/disk/events
mv /usr/share/zoneminder/images /media/disk/images

Then

ln -s /usr/share/zoneminder/events /media/disk/events
ln -s /usr/share/zoneminder/images /media/disk/images

It's the way I did it and works fine. I didn't had to change settings in options as the symbolic links make it transparent for ZM.

Read also: http://www.zoneminder.com/forums/viewtopic.php?t=15021

Hope it helps,

PacoLM
Locked