Code: Select all
xawtv -c /dev/video0
Where do I start? No errors in any of the relevant logs.
Code: Select all
xawtv -c /dev/video0
Got frustrated, so did the ol' reboot.cordel wrote:If there are no errors then try switching zms<->nph-zms.
Code: Select all
# /etc/init.d/zoneminder start
* Starting zoneminder ... [ !! ]
#
Code: Select all
# ls /dev
lrwxrwxrwx 1 root root 10 Feb 3 17:05 video0 -> v4l/video0
Code: Select all
# ls /dev/l4v
crw-rw-r-x 1 root video 81, 0 Feb 3 17:05 video0
/var/log/zoneminder/zmdc.log wrote:02/04/07 13:05:06.297177 zmdc[18321].INF ['zmc -d /dev/video0' starting at 07/02/04 13:05:06, pid = 1442]
02/04/07 13:05:06.396373 zmdc[18321].ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
02/04/07 13:05:16.720694 zmdc[18321].INF ['zmc -d /dev/video0' starting at 07/02/04 13:05:16, pid = 1446]
02/04/07 13:05:16.733324 zmdc[18321].ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
02/04/07 13:05:27.080770 zmdc[18321].INF ['zmc -d /dev/video0' starting at 07/02/04 13:05:27, pid = 1450]
02/04/07 13:05:27.104106 zmdc[18321].ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
02/04/07 13:05:37.397918 zmdc[18321].INF ['zmc -d /dev/video0' starting at 07/02/04 13:05:37, pid = 1455]
02/04/07 13:05:37.422525 zmdc[18321].ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
That seems to be about it. Sorry if this has been covered before, I really don't know what to search for. Camera works perfectly fine in kopete and xawtv. No, I don't try to run them simultaneously.../var/log/zoneminder/zmwatch.log wrote:02/04/07 13:07:10.500678 zmwatch[18359].INF [Restarting capture daemon for QuickCam, shared memory not valid]
02/04/07 13:07:10.903844 zmwatch[18359].INF ['zmc -d /dev/video0' starting at 07/02/04 13:07:10, pid = 1493]
02/04/07 13:07:20.917517 zmwatch[18359].INF [Restarting capture daemon for QuickCam, shared memory not valid]
02/04/07 13:07:21.289840 zmwatch[18359].INF ['zmc -d /dev/video0' starting at 07/02/04 13:07:21, pid = 1497]
02/04/07 13:07:31.301021 zmwatch[18359].INF [Restarting capture daemon for QuickCam, shared memory not valid]
02/04/07 13:07:31.711743 zmwatch[18359].INF ['zmc -d /dev/video0' starting at 07/02/04 13:07:31, pid = 1501]
02/04/07 13:07:41.720139 zmwatch[18359].INF [Restarting capture daemon for QuickCam, shared memory not valid]
02/04/07 13:07:42.108566 zmwatch[18359].INF ['zmc -d /dev/video0' starting at 07/02/04 13:07:42, pid = 1506]
02/04/07 13:07:52.121169 zmwatch[18359].INF [Restarting capture daemon for QuickCam, shared memory not valid]
02/04/07 13:07:52.495934 zmwatch[18359].INF ['zmc -d /dev/video0' starting at 07/02/04 13:07:52, pid = 1511]
02/04/07 13:08:02.500614 zmwatch[18359].INF [Restarting capture daemon for QuickCam, shared memory not valid]
02/04/07 13:08:02.894973 zmwatch[18359].INF ['zmc -d /dev/video0' starting at 07/02/04 13:08:02, pid = 1516]
cordel wrote:Is there any errors showing in messages?
Revelation: user is apache./var/log/messages wrote: # cat /var/log/messages
Feb 4 18:05:54 nx7010 zmpkg[11136]: INF [Command: start]
Feb 4 18:05:54 nx7010 sudo: root : TTY=pts/4 ; PWD=/var/www/localhost/htdocs/zoneminder ; USER=apache ; COMMAND=/bin/true
Feb 4 18:05:54 nx7010 sudo: root : TTY=pts/4 ; PWD=/var/www/localhost/htdocs/zoneminder ; USER=apache ; COMMAND=/usr/bin/zmdc.pl check
Feb 4 18:05:54 nx7010 sudo: root : TTY=pts/4 ; PWD=/var/www/localhost/htdocs/zoneminder ; USER=apache ; COMMAND=/usr/bin/zmfix
Feb 4 18:05:54 nx7010 zmfix[11146]: ERR [Can't chmod /dev/video0 to 20666: Operation not permitted]
Feb 4 18:05:54 nx7010 sudo: root : TTY=pts/4 ; PWD=/var/www/localhost/htdocs/zoneminder ; USER=apache ; COMMAND=/usr/bin/zmdc.pl startup
Feb 4 18:05:54 nx7010 zmdc[11150]: INF [Server starting at 07/02/04 18:05:54]
Feb 4 18:05:57 nx7010 sudo: root : TTY=pts/4 ; PWD=/var/www/localhost/htdocs/zoneminder ; USER=apache ; COMMAND=/usr/bin/zmdc.pl start zmc -d /dev/video0
Feb 4 18:05:57 nx7010 zmdc[11150]: INF ['zmc -d /dev/video0' starting at 07/02/04 18:05:57, pid = 12464]
Feb 4 18:05:57 nx7010 zmdc[12464]: INF ['zmc -d /dev/video0' started at 07/02/04 18:05:57]
Feb 4 18:05:57 nx7010 zmc_dvideo0[12464]: INF [Debug Level = 0, Debug Log = <none>]
Feb 4 18:05:57 nx7010 sudo: root : TTY=pts/4 ; PWD=/var/www/localhost/htdocs/zoneminder ; USER=apache ; COMMAND=/usr/bin/zmdc.pl start zmfilter.pl
Feb 4 18:05:57 nx7010 zmc_dvideo0[12464]: INF [Starting Capture]
Feb 4 18:05:58 nx7010 zmdc[11150]: INF ['zmfilter.pl' starting at 07/02/04 18:05:58, pid = 12482]
Feb 4 18:05:58 nx7010 zmdc[12482]: INF ['zmfilter.pl' started at 07/02/04 18:05:58]
Gentoocordel wrote:What Distro are you using?
I tried it upon your first suggestion, with no effect. I have changed it back and forth 4 times, restarting the zoneminder daemons after each change. No effect.cordel wrote:So now try changing zms<-->nph-zms (apache runs cgi that start with nph so that it will not parse the headers). This whould be the only situation where you might not see any errors in the apahe or other ogs.