Can't View Events, odd entry in /var/log/httpd/error_log

Support and queries relating to all previous versions of ZoneMinder
Locked
pathway
Posts: 64
Joined: Wed Nov 29, 2006 6:29 pm

Can't View Events, odd entry in /var/log/httpd/error_log

Post by pathway »

Odd problem:

I can't view events. I can view my live streams, but not anything saved. Also, I have the following error(s) in my var/log/httpd/error_log...

Code: Select all

[Wed Jul 11 07:40:46 2007] [error] [client 10.0.1.38] File does not exist: /var/www/html/var, referer: http://10.10.0.19/zm/index.php?view=frame&eid=60921&fid=4
I can't find this in my config anywhere...

Any help would be appreciated.

--Matt
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Okay, so what do you have set in options under the path tab?
What do you have set in zm.conf ZM_PATH_WEB?
pathway
Posts: 64
Joined: Wed Nov 29, 2006 6:29 pm

Post by pathway »

zm.conf: ZM_PATH_WEB=/var/www/html/zm

In the Path Tab, I have all the defauls except I put the explicit path for ZM_DIR_EVENTS as my events are being stored on a different partition:

ZM_DIR_EVENTS = /var/www/html/zm/events

I can't find (I've grepped everywhere) this /var/www/html/var anywhere. All the other logs look fine. I'm thinking of turning on debugging (I just saw that option) and seeing what it says.

It appears to be recording video correctly in the mean time.

--Pathway
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

You have a link from /var/www/html/zm/events -> your partition?
If so you can just have events for your path. That field assumes that it is always under the web root and not the drive root (ie /ver/www/html and not / ). It tends to get cranky at times with a full path. But yeah you should turn up debug and see if you get a more detail error.
Might check the db for error also.
pathway
Posts: 64
Joined: Wed Nov 29, 2006 6:29 pm

Post by pathway »

Fixed. The explicit path did in fact cause the problem.

Setting it back to just 'events' fixed it completely.

I did the change because of an earlier problem, and I thought it might help. I also read somewhere on this forum that it can help sometimes. Can't remember where I read that. Can't recommend it anymore either. Sm:)e.

Thanks a ton.

--Pathway
Locked