Page 2 of 2

Re: Cambozola problem in the reproduction of events

Posted: Tue Aug 20, 2013 11:39 pm
by knight-of-ni
You can ignore these. These warnings have been suppressed in the upcoming 1.26
aodiaz wrote: 2013-08-20 20:10:57.274222 zmc_m1[4141].WAR-zm_jpeg.cpp/63 [Corrupt JPEG data: 1 extraneous bytes before marker 0xd9]
Ignore this one for now, but we may need to come back to it.
aodiaz wrote: 2013-08-20 20:11:02.566380 zmwatch[4187].ERR-zmwatch.pl [Shared data size conflict in shared_data for monitor Tanque, expected 328, got 316]
This is the cause of your current problem:
aodiaz wrote: 2013-08-20 20:12:01.055164 zms[4767].ERR-zm_event.cpp/1225 [Can't open /usr/share/zoneminder//media/hd160gb/events/3/13/08/20/19/53/05/001-capture.jpg: No such file or directory]
Looks like you tried to redirect your events folder over to your 160gb drive. However, that drive is outside of your webroot, which means zoneminder can't access it. Steps to fix:
1) set your events folder under Options -> Paths -> DIR_EVENTS back to the default "events"
2) now either link your 160gb disk to the events folder like this:

Code: Select all

sudo rmdir /usr/share/zoneminder/events
sudo ln -s /media/hd160gb/events /usr/share/zoneminder/events
*** OR ***
Mount your 160gb disk directly to the events folder by adding an entry to your fstab like this:

Code: Select all

/dev/sda3               /usr/share/zoneminder/events ext4 defaults,noatime,nodiratime,commit=120,data=writeback      0 2
You will need to change "sda3" to whatever is appropriate for your system.
In either case, make sure that www-data has appropriate file permissions to write to the disk.

Re: Cambozola problem in the reproduction of events

Posted: Wed Aug 21, 2013 12:04 am
by aodiaz
I also begs the question, if the next screen is well configured links
links.jpg
links.jpg (61.33 KiB) Viewed 4374 times

Regards!
Antonio

Re: Cambozola problem in the reproduction of events

Posted: Wed Aug 21, 2013 12:10 am
by knight-of-ni
Yes, remove all references to "/media/hd160gb/".
The previous instructions apply to any folder you want to "move".

Re: Cambozola problem in the reproduction of events

Posted: Wed Aug 21, 2013 12:46 am
by aodiaz
Perfect!!!, It worked!!, But now I question arises whether the following links are well configured ..!
folders links.jpg
folders links.jpg (79.04 KiB) Viewed 4374 times
particularly wanted to know if the link to the cgi-bin and temp folders are correct ...!?



Regards! ¡¡¡¡¡¡genius!!!
Antonio

Re: Cambozola problem in the reproduction of events

Posted: Wed Aug 21, 2013 12:55 am
by knight-of-ni
If you have not previously changed them yourself then yes they are most likely correct.

Re: Cambozola problem in the reproduction of events

Posted: Wed Aug 21, 2013 2:43 am
by aodiaz
OK, now that we could solve this issue, we can see the error in the log sheds?

2013-08-20 20:11:02.566380 zmwatch[4187].ERR-zmwatch.pl [Shared data size conflict in shared_data for monitor Tanque, expected 328, got 316]


thanks! regards!
Antonio

Re: Cambozola problem in the reproduction of events

Posted: Wed Aug 21, 2013 1:39 pm
by knight-of-ni
aodiaz wrote:OK, now that we could solve this issue, we can see the error in the log sheds?

2013-08-20 20:11:02.566380 zmwatch[4187].ERR-zmwatch.pl [Shared data size conflict in shared_data for monitor Tanque, expected 328, got 316]


thanks! regards!
Antonio
What I would do is upgrade to 64bit Ubuntu then you would no longer see this issue. However, follow this thread for a temporary fix on a 32bit machine:
http://www.zoneminder.com/forums/viewto ... e+conflict

Re: Cambozola problem in the reproduction of events

Posted: Wed Aug 21, 2013 6:31 pm
by aodiaz
Ok!, Friend, I am very grateful for the help you gave me!, Perform a walkthrough of the problem I had!, But in Spanish, I'll post it?? ...

Regards!
Antonio