Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
I was looking into this tool called ZoneMinder. It looks really cool but however it requires a MySQL database which I have never configured and or managed. I am sure installing MySQL is simple and in fact, ZoneMinder is available as a .deb package in the "unstable" repo which I have installed but now that it's installed, I really don't know where to go from here.
I checked their README.debian file and it says:
There is one manual step to get the web interface working.
You need to link /etc/zm/apache.conf to /etc/apache2/conf.d/zoneminder.conf,
then reload the apache config (i.e. /etc/init.d/apache2 reload)
When apache is started, it reads each file in /etc/apache2/conf.d/ and configures anything described in those files. Whats basically happening with zoneminder is they have shipped the apache config that you need, but they have put it in /etc/zm/apache.conf to keep all of the zoneminder stuff together. By linking /etc/zm/apache.conf to /etc/apache2/conf.d/zoneminder.conf using the above command, when apache loads, it'll read zoneminder's configuration and set up the interface for you. Clear as mud?
Carloswill wrote:I assume at this point, I just need to restart Apache service, correct?
I'd double check with "ls -l /etc/apache2/conf.d/" and make sure zoneminder.conf is there and pointing to /etc/zm/apache.conf. If it is, then just restart apache and you're good to go.
Yes - I was able to hit the web interface and now I assume I just need to manage my camera and all that good stuff.
I for some reason thought I had to create a MySQL database and do all this nasty stuff to get this working but I assume not since I got this far. That or the .deb package did this all for me...
Carloswill wrote:I for some reason thought I had to create a MySQL database and do all this nasty stuff to get this working but I assume not since I got this far. That or the .deb package did this all for me...
If the mediawiki .deb is anything to go by, you'll have to do it yourself. I hate installing mediawiki, my knowledge of SQL is very very limited. On the plus side, the mysql manual is amazing.
watcher:/home/cwilliams# ls -l /dev/video0
crw-rw---- 1 root video 81, 0 2007-05-06 09:59 /dev/video0
I asked on the ZoneMinder forums and it seems because I installed ZoneMinder via APT-GET and not the traditional way, I would be kind of on my own as they feel this is a Debian related issue.
Any ideas why ZoneMinder can't use /dev/video0? It appears that only root and video can read/write to this. Should I chmod 777 /dev/video0?
Carloswill wrote:I asked on the ZoneMinder forums and it seems because I installed ZoneMinder via APT-GET and not the traditional way, I would be kind of on my own as they feel this is a Debian related issue.
I'd agree on this one.
Carloswill wrote:Any ideas why ZoneMinder can't use /dev/video0? It appears that only root and video can read/write to this. Should I chmod 777 /dev/video0?
chmoding it should work, and if your not fussed about "everyone" (meaning people logged into your computer) being able to view the camera, then it's probably easier. The other alternative is to find out what user zoneminder is running under and add it to the video group. If you run "ps -AF", it will show you a list of every process and the user running it. Just dig it out from there, and use "gpasswd -a [username] video" and restart zoneminder. From what I can see, if you do "ps -AF | grep zm", it should give you the zoneminder-related info. If you have no luck, let me know and I'll install it at my end and give it a go myself.