Page 1 of 1

Creating 'zones' has missing image

Posted: Thu Feb 12, 2004 8:09 pm
by kevin1ab
Hello

I have setup my camera outside my home and I'm excluding the areas where
the wind makes things move around etc.
On the 'zone' page where I setup the areas to be excluded,
I don't see any image there, just a frame with at broken link icon.
I was expecting to see a screen like:
http://www.zoneminder.com/typo3temp/2c8f442bed.jpg
but there is nothing. I can edit and it works but it's hard to make
precise adjustments without the red/green/white colors showing the zones.
Camera name is 'BW'.
Apache error log shows the .jpg is missing.
Apache runs as user and group 'apache.apache.'

[root@athlon html]# ls -ld images
drwxr-xr-x 2 apache apache 4096 Jan 26 20:41 images

[Thu Feb 12 12:01:50 2004] [error] [client 127.0.0.1] File does not exist: /var/www/html/images/BW-Zones.jpg, referer: http://localhost/index.php?view=zones&mid=1

Any ideas??
Thanks

Kevin

Re: Creating 'zones' has missing image

Posted: Thu Feb 12, 2004 8:55 pm
by zoneminder
Hi Kevin,

I suspect this may be a permissions problem. Check that your apache user is able to create and write to files in the images directory. I think there will be an error in the /var/log/messages file confirming if this is the case but I'm not 100% sure.

Cheers,

Phil,

Re: Creating 'zones' has missing image

Posted: Fri Feb 13, 2004 1:45 am
by kevin1ab
I verified apache user can write. I ended up creating the missing file with 'touch' and rec;d a different
error message.

Can't connect to server: Access denied for user: 'kevin@localhost' (Using password: YES)

'kevin' is my linux user that is logged in, running Mozilla and looking at the ZM webpage [logged in
as 'admin']

I tried to set everything 777 to test but still no success.

Thanks

Kevin

Re: Creating 'zones' has missing image

Posted: Sat Feb 14, 2004 4:09 am
by kevin1ab
Hi

I've installed 1.17.2 on a different machine [same camera/bttv card] and I had the same
problem. I figured out that when it's asking for 'kevin@localhost', that wanted the unpriv'd mysql user
I had added during the ZM install. I reset his password to what I had set when installing ZM and
it's working now.

Kevin B