Well after 2 days of work on it, i have installed on a fresh FC4 server.
By the way i a rookie in linux so.....
But a i have a problem. i cant get zm to run... i can´te find in the service list.
Can anyone help me???
FC4
-
- Posts: 15
- Joined: Wed Feb 01, 2006 12:53 pm
Hi,
I'm a FC4 user, too, and my zm works upto 98% functions.
Please follow the zm manual and my simple note.
MySQL devel packages, for the header files are needed.
Some perl-xxx modules.
yum install ffmpeg*
vi zm.conf, change the username and password for mysql database.
mysql knowledge, www.mysql.org ch-5
mysql -h localhost -u user [-p password]
root <- super user for MySql
mysqladmin -u root password "yourpassword" <- setting passwork for user root for security.
use data_base_name;
show tables;
describe tables_field;
select * from tables_field;
mysql -u root -p < db/zm_create.sql
give new user privilages, follow the zm manual
mysqladmin -u root -p reload
camera driver:
spca5xx, INSTALL
spcaview work!!
zmu -d /dev/video -q -v, with root for testing the cowork between zm and camera driver
zm database will be at /var/lib/mysql/
/var/log/httpd/error_log loading lib error: permission denied.
execstack -c xxx.so
and disable SElinux for httpd will solve this problem.
.asf for mozilla need mplayer-plugin(from mozilla update website), and mplayer.
zm log files are at /tmp
Regards,
blacksmith
I'm a FC4 user, too, and my zm works upto 98% functions.
Please follow the zm manual and my simple note.
MySQL devel packages, for the header files are needed.
Some perl-xxx modules.
yum install ffmpeg*
vi zm.conf, change the username and password for mysql database.
mysql knowledge, www.mysql.org ch-5
mysql -h localhost -u user [-p password]
root <- super user for MySql
mysqladmin -u root password "yourpassword" <- setting passwork for user root for security.
use data_base_name;
show tables;
describe tables_field;
select * from tables_field;
mysql -u root -p < db/zm_create.sql
give new user privilages, follow the zm manual
mysqladmin -u root -p reload
camera driver:
spca5xx, INSTALL
spcaview work!!
zmu -d /dev/video -q -v, with root for testing the cowork between zm and camera driver
zm database will be at /var/lib/mysql/
/var/log/httpd/error_log loading lib error: permission denied.
execstack -c xxx.so
and disable SElinux for httpd will solve this problem.
.asf for mozilla need mplayer-plugin(from mozilla update website), and mplayer.
zm log files are at /tmp
Regards,
blacksmith
Well
I looking at the logs and i get this error...
zmwatch.log:
08-02-2006 09:47:45.998628 zmwatch[2617].ERR [Can't get shared memory id '7a6d2001', 1: No such file or directory]
08-02-2006 09:47:45.998922 zmwatch[2617].INF [Restarting capture daemon for Expedicao, shared memory not valid]
08-02-2006 09:47:46.198963 zmwatch[2617].INF ['zmc -d' started at 06/02/08 09:47:46] at /usr/local/bin/zmwatch.pl line 118
zmdc.log:
Use of uninitialized value in concatenation (.) or string at /usr/local/bin/zmwatch.pl line 112.
08-02-2006 09:48:37.225658 zmdc[19678].INF ['zmc -d' started at 06/02/08 09:48:37]
08-02-2006 09:48:37.226768 zmdc[2574].INF ['zmc -d' starting at 06/02/08 09:48:37, pid = 19678]
/usr/local/bin/zmc: option requires an argument -- d
zmc -d <device_path> or -H <host> -P <port> -p <path> or -f <file_path> or -m <monitor_id>
Options:
-d, --device <device_path> : For local cameras, device to access. E.g /dev/video0 etc
-H <host> -P <port> -p <path> : For remote cameras
-f, --file <file_path> : For local images, jpg file to access.
-m, --monitor <monitor_id> : For sources associated with a single monitor
-h, --help : This screen
08-02-2006 09:48:37.244036 zmdc[2574].INF ['zmc -d' died]
zmwatch.log:
08-02-2006 09:47:45.998628 zmwatch[2617].ERR [Can't get shared memory id '7a6d2001', 1: No such file or directory]
08-02-2006 09:47:45.998922 zmwatch[2617].INF [Restarting capture daemon for Expedicao, shared memory not valid]
08-02-2006 09:47:46.198963 zmwatch[2617].INF ['zmc -d' started at 06/02/08 09:47:46] at /usr/local/bin/zmwatch.pl line 118
zmdc.log:
Use of uninitialized value in concatenation (.) or string at /usr/local/bin/zmwatch.pl line 112.
08-02-2006 09:48:37.225658 zmdc[19678].INF ['zmc -d' started at 06/02/08 09:48:37]
08-02-2006 09:48:37.226768 zmdc[2574].INF ['zmc -d' starting at 06/02/08 09:48:37, pid = 19678]
/usr/local/bin/zmc: option requires an argument -- d
zmc -d <device_path> or -H <host> -P <port> -p <path> or -f <file_path> or -m <monitor_id>
Options:
-d, --device <device_path> : For local cameras, device to access. E.g /dev/video0 etc
-H <host> -P <port> -p <path> : For remote cameras
-f, --file <file_path> : For local images, jpg file to access.
-m, --monitor <monitor_id> : For sources associated with a single monitor
-h, --help : This screen
08-02-2006 09:48:37.244036 zmdc[2574].INF ['zmc -d' died]
- tech_fixer
- Posts: 132
- Joined: Tue Jul 29, 2003 3:07 pm
Hi,
For the zm service you copy the script called "zm" from the "scripts" directory, located wherever you uncompressed the ZoneMinder directory.
For me it is: /root/ZoneMinder-1.22.0/scripts/zm
So to copy I would do:
And then, change the permissions on the "zm" script to allow execution. For that, I would do:
About the shared memory, I'll let someone more knowledgeable handle that.
Regards,
Jose.
For the zm service you copy the script called "zm" from the "scripts" directory, located wherever you uncompressed the ZoneMinder directory.
For me it is: /root/ZoneMinder-1.22.0/scripts/zm
So to copy I would do:
Code: Select all
cp /root/ZoneMinder-1.22.0/scripts/zm /etc/init.d/
Code: Select all
chmod 755 /etc/init.d/zm
Regards,
Jose.
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact: