Support and queries relating to all previous versions of ZoneMinder
sick347
Posts: 85 Joined: Tue Mar 28, 2006 5:19 pm
Post
by sick347 » Wed Mar 29, 2006 4:57 pm
wmoore wrote: Cool.
Do you have root access on this box?
Cuz your right, that make install looks pritty bad.
-WAM
hope so...it's my box!
so YES!!! that worked too!!!
looks like it had a TON of output to the term window.
It seems to have put more stuff into these dirs
/srv/www/htdocs/
/usr/local/bin/
/home/frank/ZoneMinder-1.22.0/db
I didn't see any errors...
done?
thanks
-frank
got my eye on you!
wmoore
Posts: 43 Joined: Mon Mar 29, 2004 2:25 am
Post
by wmoore » Wed Mar 29, 2006 5:00 pm
Yep. time to try to log in via your web browser. Dont know your setup, but you should be ready to go.
BTW - Tons of output is expected. So thats good.
-WAM
sick347
Posts: 85 Joined: Tue Mar 28, 2006 5:19 pm
Post
by sick347 » Wed Mar 29, 2006 5:06 pm
dang...this is a total admin work-out for me...lol
Ive got this page working:
http://wdshss/~frank/info.php
however this is just blank....no error page.
http://wdshss/zm.php
I worked on this a few days ago for about 4 hours...I must have some sort of php/apache2 config issue.
ideas?
-frank
got my eye on you!
wmoore
Posts: 43 Joined: Mon Mar 29, 2004 2:25 am
Post
by wmoore » Wed Mar 29, 2006 5:15 pm
ummm....
I am thinking......
I would try poking arount the htdoc base and ensuring that everything looks good. permissions etc... You might want to link zm.php to an index.htm or index.html... Just for good measue.
You might also want to try curl from the command line. this **might** show you some aditional error or someting.
Still thinking....
-WAM
sick347
Posts: 85 Joined: Tue Mar 28, 2006 5:19 pm
Post
by sick347 » Wed Mar 29, 2006 5:25 pm
ok that's reasonable...
these permissions seem ok:
-rw-r--r-- 1 wwwrun www 4539 2006-03-29 08:53 zm.php
drwxr-xr-x 6 root root 2600 2006-09-18 00:06 zoneminder
both of these are under:
frank@wdshss:/srv/www/htdocs>
-frank
got my eye on you!
wmoore
Posts: 43 Joined: Mon Mar 29, 2004 2:25 am
Post
by wmoore » Wed Mar 29, 2006 5:48 pm
huh..
Mine is no shining example, but I have all of the php docs at the doc root.
you have a dir called zoneminder. Are all the the associated documents in there... If yes? then what does this do?:
http://wdshss/zoneminder/zm.php
Also, obvious, so I am sure you have already checked, but you have enabled php and cgi for this site...correct?
-WAM
sick347
Posts: 85 Joined: Tue Mar 28, 2006 5:19 pm
Post
by sick347 » Thu Mar 30, 2006 4:52 am
ok....so I tried the URL as you suggested and I got some very interesting results:
http://wdshss/zoneminder/zm.php
gives:
Could not select database: Access denied for user ''@'localhost' to database 'zm'
so it appears that I have a permissions issue with mysql...
I have no clue how to proceed here.
-frank
got my eye on you!
sick347
Posts: 85 Joined: Tue Mar 28, 2006 5:19 pm
Post
by sick347 » Thu Mar 30, 2006 2:54 pm
well, after some trial and error I got it to this point:
Could not select database: Unknown database 'zm'
so I'm trying to run the 'zm_create.sql' script again and having issues with it, at least when I try to run it from within mysql I get this error:
mysql> source < /home/frank/ZoneMinder-1.22.0/db/zm_create.sql;
ERROR:
Failed to open file '< /home/frank/ZoneMinder-1.22.0/db/zm_create.sql', error: 2
hmmmmm
ideas?
thanks
-frank
got my eye on you!
sick347
Posts: 85 Joined: Tue Mar 28, 2006 5:19 pm
Post
by sick347 » Thu Mar 30, 2006 3:59 pm
WAM buddy....
After going nutz on the system and documenting ALL my moves...
I GOT THIS FRIGGIN THING WORKING!!!!
NOW I'M TRYING TO ADD A CAMERA TO THE
http://wdshss/zoneminder/zm.php
page which is not too intuitive...
-frank
got my eye on you!
wmoore
Posts: 43 Joined: Mon Mar 29, 2004 2:25 am
Post
by wmoore » Thu Mar 30, 2006 9:19 pm
OK,
What's is the camera.... Is it a network camera or a local camera on a card?
If it is a network, then you need to enable the "network camera" capability from the options pages..
Options link (top right)
Network Tab (along the top)
Check te box for ZM_OPT_REMOTE_CAMERAS (first option)
Then try to add again..
-WAM
sick347
Posts: 85 Joined: Tue Mar 28, 2006 5:19 pm
Post
by sick347 » Thu Mar 30, 2006 9:28 pm
Ah....good point.
Not a network cam. (is a network cam defined as a cam connected via ethernet with an IP ?)
Using LMLBT44 video capture card. I know it works because I tested it with xawtv about a month ago and got great video from both cams.
thanks
-frank
got my eye on you!
zoneminder
Site Admin
Posts: 5215 Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:
Post
by zoneminder » Thu Mar 30, 2006 9:40 pm
sick347 wrote: well, after some trial and error I got it to this point:
Could not select database: Unknown database 'zm'
so I'm trying to run the 'zm_create.sql' script again and having issues with it, at least when I try to run it from within mysql I get this error:
mysql> source < /home/frank/ZoneMinder-1.22.0/db/zm_create.sql;
ERROR:
Failed to open file '< /home/frank/ZoneMinder-1.22.0/db/zm_create.sql', error: 2
hmmmmm
ideas?
thanks
-frank
If you have no database then you are not going to get anything to work. I haven't used this syntax before but to me it is saying it can't find a file called "< /home/..." in other words using the "<" as part of the path./ Are you sure this is correct?
Phil
sick347
Posts: 85 Joined: Tue Mar 28, 2006 5:19 pm
Post
by sick347 » Thu Mar 30, 2006 9:46 pm
PHIL!!!
You hit it on the head!
After closer inspection I realized that the "<" didn't belong and SHEZAAM! it created the DB....and off I went to my zm.php page...
Now I'm trying to setup my first "monitor" using my LMLBT44 card which is in my Linux box which is running ZM now.
I did get the video card working with xawtv so I know that much...but I guess that does not guarantee that my cams will work with the ZM stuff.
I'd still like to try, these are really nice NTSC cams.
thanks
-frank
got my eye on you!
zoneminder
Site Admin
Posts: 5215 Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:
Post
by zoneminder » Thu Mar 30, 2006 9:48 pm
Prepare for a bit of experimentation then
Phil
sick347
Posts: 85 Joined: Tue Mar 28, 2006 5:19 pm
Post
by sick347 » Thu Mar 30, 2006 10:10 pm
zoneminder wrote: Prepare for a bit of experimentation then
Are you saying that I should have a lower-end type cam to work with ZM?
These are just little shot-gun shell type cams that you can get for $60.
What are the steps I take to even start my experiment? I cannot seem to get any stills much less video.
thanks
-frank
got my eye on you!