Bizarre problem involving a refusal to write images/events
Posted: Sun Jun 28, 2009 3:00 am
Folks,
After much wailing and gnashing of teeth, I gave up on compiling my own setup and switched to the Bluecherry Livecd 2.0 beta. This is an XUbuntu-based livecd with ZM 1.24.
Everything is working a hell of a lot better - I can see video from the cameras at least. But it's refusing to write any data.
I'm booting and loading apps from a 250gig Ext3 partition and I have a 500gig ReiserFS partition for data, automounting correctly at /media/disk
Permissions are set to allow everybody to write to it. On that disk I have /events and /images directories, also with universal-write permissions. This system is just being used for Zoneminder, so that's fine.
At /media/disk/events ZM or "something" has created directories titled "4" and "Cam1". But there's nothing in them (and yeah, I tried turning hidden file view "on"). Zoneminder itself says there's hundreds of "events" but with no data in them.
OK...so I check the Apache event log, and I get:
I see nothing at /var/log/messages or /var/log/dmesg worth noting.
Obviously, under Zoneminder's "Options>Paths>ZM_DIR_EVENTS" I have "media/disk/events", similar for "images".
What the heck is going on here? It can't be a permissions problem, can it? Is ZM 1.24 problematic with ReiserFS? Is it possible I need to switch my mount-point and paths? Right now fstab looks like:
...for the disk in question, and I can go manually put files at /media/disk/events and /images with no errors.
Heeeelp! Please...
Jim
After much wailing and gnashing of teeth, I gave up on compiling my own setup and switched to the Bluecherry Livecd 2.0 beta. This is an XUbuntu-based livecd with ZM 1.24.
Everything is working a hell of a lot better - I can see video from the cameras at least. But it's refusing to write any data.
I'm booting and loading apps from a 250gig Ext3 partition and I have a 500gig ReiserFS partition for data, automounting correctly at /media/disk
Permissions are set to allow everybody to write to it. On that disk I have /events and /images directories, also with universal-write permissions. This system is just being used for Zoneminder, so that's fine.
At /media/disk/events ZM or "something" has created directories titled "4" and "Cam1". But there's nothing in them (and yeah, I tried turning hidden file view "on"). Zoneminder itself says there's hundreds of "events" but with no data in them.
OK...so I check the Apache event log, and I get:
Obvious problem is in bold.[Sat Jun 27 19:05:26 2009] [notice] Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4.2 with Suhosin-Patch configured -- resuming normal operations
df: `media/disk/events': No such file or directory
df: no file systems processed
[Sat Jun 27 19:08:22 2009] [error] [client 127.0.0.1] Codec for stream 0 does not use global headers but container format requires global headers, referer: http://localhost/?view=watch&mid=1
[Sat Jun 27 19:08:22 2009] [error] [client 127.0.0.1] Codec for stream 0 does not use global headers but container format requires global headers, referer: http://localhost/?view=watch&mid=1
[Sat Jun 27 19:08:23 2009] [error] [client 127.0.0.1] socket_sendto() failed: Connection refused, referer: http://localhost/?view=watch&mid=1
[Sat Jun 27 19:08:23 2009] [error] [client 127.0.0.1] Codec for stream 0 does not use global headers but container format requires global headers
df: `media/disk/events': No such file or directory
df: no file systems processed
[Sat Jun 27 19:12:11 2009] [error] [client 127.0.0.1] socket_sendto() failed: No such file or directory, referer: http://localhost/index.php?view=watch&mid=1
[Sat Jun 27 19:12:12 2009] [error] [client 127.0.0.1] socket_bind() failed: Address already in use, referer: http://localhost/index.php?view=watch&mid=1
[Sat Jun 27 19:12:12 2009] [error] [client 127.0.0.1] socket_bind() failed: Address already in use, referer: http://localhost/index.php?view=watch&mid=1
df: `media/disk/events': No such file or directory
df: no file systems processed
[Sat Jun 27 19:17:28 2009] [error] [client 127.0.0.1] socket_sendto() failed: No such file or directory, referer: http://localhost/index.php?view=watch&mid=1
df: `media/disk/events': No such file or directory
df: no file systems processed
df: `media/disk/events': No such file or directory
df: no file systems processed
df: `media/disk/events': No such file or directory
df: no file systems processed
[Sat Jun 27 19:28:55 2009] [error] [client 127.0.0.1] socket_sendto() failed: No such file or directory, referer: http://localhost/?view=event&eid=12&fil ... c=1&page=1
I see nothing at /var/log/messages or /var/log/dmesg worth noting.
Obviously, under Zoneminder's "Options>Paths>ZM_DIR_EVENTS" I have "media/disk/events", similar for "images".
What the heck is going on here? It can't be a permissions problem, can it? Is ZM 1.24 problematic with ReiserFS? Is it possible I need to switch my mount-point and paths? Right now fstab looks like:
Code: Select all
/dev/sdb1 /media/disk reiserfs auto,user,exec,rw 0 2
Heeeelp! Please...
Jim