Cambozola problem in the reproduction of events

Forum for questions and support relating to the 1.25.x releases only.
User avatar
knight-of-ni
Posts: 2406
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Cambozola problem in the reproduction of events

Post 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.
Last edited by knight-of-ni on Wed Aug 21, 2013 12:07 am, edited 2 times in total.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
User avatar
aodiaz
Posts: 26
Joined: Thu Apr 25, 2013 3:38 am
Location: Argentina

Re: Cambozola problem in the reproduction of events

Post by aodiaz »

I also begs the question, if the next screen is well configured links
links.jpg
links.jpg (61.33 KiB) Viewed 4370 times

Regards!
Antonio
User avatar
knight-of-ni
Posts: 2406
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Cambozola problem in the reproduction of events

Post by knight-of-ni »

Yes, remove all references to "/media/hd160gb/".
The previous instructions apply to any folder you want to "move".
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
User avatar
aodiaz
Posts: 26
Joined: Thu Apr 25, 2013 3:38 am
Location: Argentina

Re: Cambozola problem in the reproduction of events

Post 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 4370 times
particularly wanted to know if the link to the cgi-bin and temp folders are correct ...!?



Regards! ¡¡¡¡¡¡genius!!!
Antonio
User avatar
knight-of-ni
Posts: 2406
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Cambozola problem in the reproduction of events

Post by knight-of-ni »

If you have not previously changed them yourself then yes they are most likely correct.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
User avatar
aodiaz
Posts: 26
Joined: Thu Apr 25, 2013 3:38 am
Location: Argentina

Re: Cambozola problem in the reproduction of events

Post 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
User avatar
knight-of-ni
Posts: 2406
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Cambozola problem in the reproduction of events

Post 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
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
User avatar
aodiaz
Posts: 26
Joined: Thu Apr 25, 2013 3:38 am
Location: Argentina

Re: Cambozola problem in the reproduction of events

Post 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
Locked