can't start the video device
can't start the video device
I am running into the same problem repeated. when starting apache and view the console, my /dev/video0(0) is red and can not see any image.
zmu at first says can not see the device, and later does see the device. but console still has device in red.
ps aux shows that no zm* process is running, and there is no error in zmdc.log.
is there a sure proof way to start zm running?
zmu at first says can not see the device, and later does see the device. but console still has device in red.
ps aux shows that no zm* process is running, and there is no error in zmdc.log.
is there a sure proof way to start zm running?
ZM is programed upon redhat workstation so the script is programed for RH. Submitions of working scripts for other Distros are welcome. I don't work much with any of the other distros since I hate multiboot and have limited computers so I could not advise you how to construct a script for your distro. Hopefully some one else here could provide one asuming you searched the forum and one has not been provided already.
Regards,
Cordel
Regards,
Cordel
short of make zm work for Suse, I think the only way to get things started is by manually start the zmc process?
I know I have a strange file owner problem right now. I shall recompile and make things conform to standard. once I do that, should I run zmc as wwwrun? which is the user for apache2 on Suse.
I know I have a strange file owner problem right now. I shall recompile and make things conform to standard. once I do that, should I run zmc as wwwrun? which is the user for apache2 on Suse.
zm running with SuSE
Hi bhomass,
compile zm with
after compiling there is an init-script zm. You have to copy it to /etc/init.d.
Edit zm, change all echo_success/failure to echo success/failure. should start zoneminder.
regards,
Rainer
SuSE 9.3, zm-1.21.0
compile zm with
Code: Select all
--with-webuser=wwwrun --with-webgroup=www --with-webdir=/srv/www/htdocs/zoneminder --with-cgidir=/srv/www/cgi-bin ...
Edit zm, change all echo_success/failure to echo success/failure.
Code: Select all
# /etc/init.d/zm start
regards,
Rainer
SuSE 9.3, zm-1.21.0
thanks to rmo
I did exactly what you have with the config parameters.
as for the zm script. copying and running would still fail, because near the top of the script, there is a reference to /etc/rc.d/init.d/functions, which does not exist in Suse.
furthermore, does anyone have experience starting zm as a service which starts at boo?
I did exactly what you have with the config parameters.
as for the zm script. copying and running would still fail, because near the top of the script, there is a reference to /etc/rc.d/init.d/functions, which does not exist in Suse.
furthermore, does anyone have experience starting zm as a service which starts at boo?
functions
On SuSE systems /etc/rc.d/init.d/functions isn't available.
Edit zm init script.
Regards,
Rainer
Edit zm init script.
Code: Select all
# Source function library.
#. /etc/rc.d/init.d/functions
Regards,
Rainer