Page 1 of 1
Can't View Events, odd entry in /var/log/httpd/error_log
Posted: Wed Jul 11, 2007 4:13 pm
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
Posted: Wed Jul 11, 2007 4:50 pm
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?
Posted: Wed Jul 11, 2007 6:03 pm
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
Posted: Wed Jul 11, 2007 6:47 pm
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.
Posted: Fri Jul 13, 2007 3:50 pm
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