Logitech QuickCam E3500 Plus problem
Logitech QuickCam E3500 Plus problem
Hello All.
this is the first time i try to configure zoneminder. after i go through all the forum i can get my webcam working n successfull installed zoneminder but my problem is zoneminder cannot capture the video. then zoneminder can recognized. im using ubuntu 9.10 karmic koala.
and also able to stream using http://localhost:8080
but when i click on zoneminder its just come out like this...waiting half an hours still the same.
please assist and help me regarding this.. pleaseeeee!!
p/s: im newbie in linux...
this is the first time i try to configure zoneminder. after i go through all the forum i can get my webcam working n successfull installed zoneminder but my problem is zoneminder cannot capture the video. then zoneminder can recognized. im using ubuntu 9.10 karmic koala.
and also able to stream using http://localhost:8080
but when i click on zoneminder its just come out like this...waiting half an hours still the same.
please assist and help me regarding this.. pleaseeeee!!
p/s: im newbie in linux...
-
- Posts: 678
- Joined: Wed Dec 16, 2009 4:32 pm
- Location: Israel
Hi.
It seems your problem is not that you can't capture video, but can't view streams!
Does http://ZM-COMPUTER-IP/cgi-bin/nph-zms link work for you or does it give forbidden or error 404 (not found) ?
Try copying nph-zms and zms from your ZM's cgi-bin folder (/var/www/zm/cgi-bin probably) to your webserver's cgi-bin folder (/var/www/htdocs/cgi-bin probably) and then execute these commands:
It seems your problem is not that you can't capture video, but can't view streams!
Does http://ZM-COMPUTER-IP/cgi-bin/nph-zms link work for you or does it give forbidden or error 404 (not found) ?
Try copying nph-zms and zms from your ZM's cgi-bin folder (/var/www/zm/cgi-bin probably) to your webserver's cgi-bin folder (/var/www/htdocs/cgi-bin probably) and then execute these commands:
Code: Select all
chmod a+x /var/www/htdocs/cgi-bin/nph-zms
chmod a+x /var/www/htdocs/cgi-bin/zms
hello master.. its seems like the file that u mention does not exist in zm folder. its only hasmastertheknife wrote:Hi.
It seems your problem is not that you can't capture video, but can't view streams!
Does http://ZM-COMPUTER-IP/cgi-bin/nph-zms link work for you or does it give forbidden or error 404 (not found) ?
Try copying nph-zms and zms from your ZM's cgi-bin folder (/var/www/zm/cgi-bin probably) to your webserver's cgi-bin folder (/var/www/htdocs/cgi-bin probably) and then execute these commands:Code: Select all
chmod a+x /var/www/htdocs/cgi-bin/nph-zms chmod a+x /var/www/htdocs/cgi-bin/zms
Code: Select all
ajax css graphics includes js skins temp views
cambozola.jar events images index.php lang sounds tools
-
- Posts: 678
- Joined: Wed Dec 16, 2009 4:32 pm
- Location: Israel
It shouldnt be in the zm folder, but in the cgi-bin folder.
Does the link i posted above work for you? it probably does not, and its the reason you can't see streams.
And the paths of the commands are for my system, it may be different for your system. Need to copy nph-zms and zms so when you click on that link it wont say file not found or forbidden.
Does the link i posted above work for you? it probably does not, and its the reason you can't see streams.
And the paths of the commands are for my system, it may be different for your system. Need to copy nph-zms and zms so when you click on that link it wont say file not found or forbidden.
oic... first i try http://ip-zoneminder/cgi-bin/nph-zms and it did not come out anything, just a blank page then i try http://ip-zoneminder/zm/cgi-bin/nph-zms and its prompt me to donlod nph-zms file.mastertheknife wrote:It shouldnt be in the zm folder, but in the cgi-bin folder.
Does the link i posted above work for you? it probably does not, and its the reason you can't see streams.
And the paths of the commands are for my system, it may be different for your system. Need to copy nph-zms and zms so when you click on that link it wont say file not found or forbidden.
my zm folder inside here
Code: Select all
administrator@Editing:/var/www$ ls
index.html munin zm
Code: Select all
administrator@Editing:/usr/lib/cgi-bin$ ls
munin-cgi-graph nph-zms zms
-
- Posts: 12
- Joined: Tue Feb 16, 2010 7:38 pm
greetings
your cgi-bin directory being at:
/var/lib/cgi-bin
should be just fine. to make sure, go to
/etc/apache2/sites-enabled
look in there, more than likely there is only one file called 000-default
open it up and you should see this:
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory>
that means that anytime you go to your ((site))/cgi-bin/, it wraps that path to that place on your drive.
but i suspect, and am willing to bet we are experiencing the same problem that i have yet to find an answer for, ive been trying and trying but no luck so far.
first, go to your site a few times and try to watch the stream a few times (where it displays the broken image)
next, on go to
/var/log/apache2
and type
cat error.log
im willing to bet its going to look like something like this
[Mon Feb 22 22:43:18 2010] [error] [client 192.168.1.xxx] array (\n 0 => \n array (\n 'file' => '/var/www/ajax/stream.php',\n 'line' => 55,\n 'function' => 'ajaxError',\n 'args' => \n array (\n 0 => 'socket_sendto( /tmp/zms-241458s.sock ) failed: No such file or directory',\n ),\n ),\n 1 => \n array (\n 'file' => '/var/www/index.php',\n 'line' => 119,\n 'args' => \n array (\n 0 => '/var/www/ajax/stream.php',\n ),\n 'function' => 'require_once',\n ),\n), referer: http://192.168.1.xxx:8080/index.php?view=watch&mid=1
is that what you are seeing?
/var/lib/cgi-bin
should be just fine. to make sure, go to
/etc/apache2/sites-enabled
look in there, more than likely there is only one file called 000-default
open it up and you should see this:
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory>
that means that anytime you go to your ((site))/cgi-bin/, it wraps that path to that place on your drive.
but i suspect, and am willing to bet we are experiencing the same problem that i have yet to find an answer for, ive been trying and trying but no luck so far.
first, go to your site a few times and try to watch the stream a few times (where it displays the broken image)
next, on go to
/var/log/apache2
and type
cat error.log
im willing to bet its going to look like something like this
[Mon Feb 22 22:43:18 2010] [error] [client 192.168.1.xxx] array (\n 0 => \n array (\n 'file' => '/var/www/ajax/stream.php',\n 'line' => 55,\n 'function' => 'ajaxError',\n 'args' => \n array (\n 0 => 'socket_sendto( /tmp/zms-241458s.sock ) failed: No such file or directory',\n ),\n ),\n 1 => \n array (\n 'file' => '/var/www/index.php',\n 'line' => 119,\n 'args' => \n array (\n 0 => '/var/www/ajax/stream.php',\n ),\n 'function' => 'require_once',\n ),\n), referer: http://192.168.1.xxx:8080/index.php?view=watch&mid=1
is that what you are seeing?
Re: greetings
yups...you are right.... this is the error log..floppyraid wrote:your cgi-bin directory being at:
/var/lib/cgi-bin
should be just fine. to make sure, go to
/etc/apache2/sites-enabled
look in there, more than likely there is only one file called 000-default
open it up and you should see this:
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory>
that means that anytime you go to your ((site))/cgi-bin/, it wraps that path to that place on your drive.
but i suspect, and am willing to bet we are experiencing the same problem that i have yet to find an answer for, ive been trying and trying but no luck so far.
first, go to your site a few times and try to watch the stream a few times (where it displays the broken image)
next, on go to
/var/log/apache2
and type
cat error.log
im willing to bet its going to look like something like this
[Mon Feb 22 22:43:18 2010] [error] [client 192.168.1.xxx] array (\n 0 => \n array (\n 'file' => '/var/www/ajax/stream.php',\n 'line' => 55,\n 'function' => 'ajaxError',\n 'args' => \n array (\n 0 => 'socket_sendto( /tmp/zms-241458s.sock ) failed: No such file or directory',\n ),\n ),\n 1 => \n array (\n 'file' => '/var/www/index.php',\n 'line' => 119,\n 'args' => \n array (\n 0 => '/var/www/ajax/stream.php',\n ),\n 'function' => 'require_once',\n ),\n), referer: http://192.168.1.xxx:8080/index.php?view=watch&mid=1
is that what you are seeing?
Code: Select all
[Tue Feb 23 09:04:30 2010] [error] [client 129.X.X.X] array (\n 0 => \n array (\n 'file' => '/usr/share/zoneminder/ajax/stream.php',\n 'line' => 51,\n 'function' => 'ajaxError',\n 'args' => \n array (\n 0 => 'socket_sendto( /tmp/zms-695077s.sock ) failed: No such file or directory',\n ),\n ),\n 1 => \n array (\n 'file' => '/usr/share/zoneminder/index.php',\n 'line' => 116,\n 'args' => \n array (\n 0 => '/usr/share/zoneminder/ajax/stream.php',\n ),\n 'function' => 'require_once',\n ),\n), referer: http://129.x.x.x/zm/index.php?view=watch&mid=1
-
- Posts: 678
- Joined: Wed Dec 16, 2009 4:32 pm
- Location: Israel