zm-1.21 RPM Problems
zm-1.21 RPM Problems
Hi,
I just installed the latest Fedora rpm via the yum repo and it doesn't work.
I only recently installed the previous version (1.20.1) and it worked fine.
It downloads fine, but once I try and run:
/usr/lib/zm/bin/zminit
I get:
# /usr/lib/zm/bin/zminit
Enter MySQL Administrator username: root
Enter password:
ERROR 1062 at line 377: Duplicate entry 'admin' for key 3 <--- (I can fix this by dropping the 'zm' database)
This is the main error:
Global symbol "$first_run" requires explicit package name at /usr/lib/zm/init/zmoptions line 1396.
Execution of /usr/lib/zm/init/zmoptions aborted due to compilation errors.
Can't seem to work out why this might be.
Any ideas?
I just installed the latest Fedora rpm via the yum repo and it doesn't work.
I only recently installed the previous version (1.20.1) and it worked fine.
It downloads fine, but once I try and run:
/usr/lib/zm/bin/zminit
I get:
# /usr/lib/zm/bin/zminit
Enter MySQL Administrator username: root
Enter password:
ERROR 1062 at line 377: Duplicate entry 'admin' for key 3 <--- (I can fix this by dropping the 'zm' database)
This is the main error:
Global symbol "$first_run" requires explicit package name at /usr/lib/zm/init/zmoptions line 1396.
Execution of /usr/lib/zm/init/zmoptions aborted due to compilation errors.
Can't seem to work out why this might be.
Any ideas?
I uninstalled 1.21.0 and re-installed 1.20.1-7, as expected, works fine.
I then tried an upgrade:
rpm -Uvh zm-1.21.0-0.FC3.CTU.i386.rpm
then tried service zm start and get the same error:
Upgrade ZoneMinder database: Global symbol "$first_run" requires explicit package name at zmoptions line 1396.
Execution of zmoptions aborted due to compilation errors.
[FAILED]
It's when it's updating the zm database for the first time.
I then tried an upgrade:
rpm -Uvh zm-1.21.0-0.FC3.CTU.i386.rpm
then tried service zm start and get the same error:
Upgrade ZoneMinder database: Global symbol "$first_run" requires explicit package name at zmoptions line 1396.
Execution of zmoptions aborted due to compilation errors.
[FAILED]
It's when it's updating the zm database for the first time.
-
- Posts: 5
- Joined: Thu May 19, 2005 10:56 am
same problem
I are also now recieving the same code
acrisp
Hi,
I just installed the latest Fedora rpm via the yum repo and it doesn't work.
I only recently installed the previous version (1.20.1) and it worked fine.
It downloads fine, but once I try and run:
/usr/lib/zm/bin/zminit
I get:
# /usr/lib/zm/bin/zminit
Enter MySQL Administrator username: root
Enter password:
ERROR 1062 at line 377: Duplicate entry 'admin' for key 3 <--- (I can fix this by dropping the 'zm' database)
This is the main error:
Global symbol "$first_run" requires explicit package name at /usr/lib/zm/init/zmoptions line 1396.
Execution of /usr/lib/zm/init/zmoptions aborted due to compilation errors.
Can't seem to work out why this might be.
Any ideas?
where download rpm
where can download the pakage rpm of zonminder
for Fedora core 3
Thank you
for Fedora core 3
Thank you
Downloads section of
http://www.ctuweb.com
http://www.ctuweb.com
-
- Posts: 5
- Joined: Thu May 19, 2005 10:56 am
Fault on mysql
when i look at the mysql it is saying that the same id keys are having a primary key set and indexing on the same column. creating a error. do not now how to fix.
also Mysql does not like having the same user adding twice namely user "admin" password "admin" into the database has users 1 has to be Admin with capital A and user 2 has to be admin all in lowercase or change user 2 to zoneminder password zoneminder in the to be the resticted user to read the binary part of the database. This happens in your rpm and installing from the tar file the mysql schema needs changinig for both.
This happens in manual instaliton of mysql and /usr/lib/zm/init/zmoptions
Also stops your starting up the service rm.
this is happenig on fedora core 3.
also Mysql does not like having the same user adding twice namely user "admin" password "admin" into the database has users 1 has to be Admin with capital A and user 2 has to be admin all in lowercase or change user 2 to zoneminder password zoneminder in the to be the resticted user to read the binary part of the database. This happens in your rpm and installing from the tar file the mysql schema needs changinig for both.
This happens in manual instaliton of mysql and /usr/lib/zm/init/zmoptions
Also stops your starting up the service rm.
this is happenig on fedora core 3.
-
- Posts: 5
- Joined: Thu May 19, 2005 10:56 am
Cordel
I have done a small hack at my machine that is remove the indexing off the files that have
the 2 keys set on the same column name.
zm then started up as a service automaticaly no errors.
i know this is not the correct way but trying to help.
I use phpmyadmin to create mysql databases it allow me to see the fault clearly
stiperstones
I have done a small hack at my machine that is remove the indexing off the files that have
the 2 keys set on the same column name.
zm then started up as a service automaticaly no errors.
i know this is not the correct way but trying to help.
I use phpmyadmin to create mysql databases it allow me to see the fault clearly
stiperstones
I cannot enter
when I go away to http://localhost/zm requests username and password to me entrance the one that forms in /etc/zm.conf and click login, and it does not pass anything, it does not enter any screen
thanks....
thanks....
Try the admin/admin for the username/password.
I still can't get this RPM working. I've deleting the database, started from scratch, upgraded, downgraded, re-installed, etc etc.. The error is what I've posted above:
Global symbol "$first_run" requires explicit package name at zmoptions line 1396.
Execution of zmoptions aborted due to compilation errors.
Does anyone have any instructions on how to fix it?
I still can't get this RPM working. I've deleting the database, started from scratch, upgraded, downgraded, re-installed, etc etc.. The error is what I've posted above:
Global symbol "$first_run" requires explicit package name at zmoptions line 1396.
Execution of zmoptions aborted due to compilation errors.
Does anyone have any instructions on how to fix it?
I am really new to this great product and am having the same problems listed here. When I try to start the zm service on my machine I get the following error:
I then tried to run the zminit script and get the following (same) errors:
I am running a fresh install of Fedora core 3 with the standard workstation install. I installed the zm-1.21.0-0.FC3.CTU package through yum and all the dependencies that came with it.
I installed mysql-server-3.23.58-16.FC3.1 through fedora updates-released repo.
Looks like a wonderful product, I can't wait to get it up and running.
Code: Select all
[root@dvr ~]# service zm start
Initialize ZonMinder database: ERROR 1062 at line 377: Duplicate entry 'admin' for key 3
[FAILED]
Code: Select all
[root@dvr ~]# /usr/lib/zm/bin/zminit
Enter MySQL Administrator username: root
Enter password:
ERROR 1062 at line 377: Duplicate entry 'admin' for key 3
Global symbol "$first_run" requires explicit package name at /usr/lib/zm/init/zmoptions line 1396.
Execution of /usr/lib/zm/init/zmoptions aborted due to compilation errors.
I installed mysql-server-3.23.58-16.FC3.1 through fedora updates-released repo.
Looks like a wonderful product, I can't wait to get it up and running.
I think this should work. Give it a go and let me know.
ftp://www.ctu-web.com/pub/linux/zonemin ... /testing/3
Regards,
Cordel
ftp://www.ctu-web.com/pub/linux/zonemin ... /testing/3
Regards,
Cordel
# rpm -Uvh zm-1.21.0-10.FC3.SEL.CTU.i386.rpm
Preparing... ########################################### [100%]
1:zm ########################################### [100%]
# service zm start
Upgrade ZoneMinder database: Loading config from 'zmconfig.txt'
Loading config from '/etc/zm.conf'
Loading config from DB
Saving config to DB
[ OK ]
Starting ZoneMinder: [ OK ]
It works!!
Well done, and thank you. Very happy about this.
Preparing... ########################################### [100%]
1:zm ########################################### [100%]
# service zm start
Upgrade ZoneMinder database: Loading config from 'zmconfig.txt'
Loading config from '/etc/zm.conf'
Loading config from DB
Saving config to DB
[ OK ]
Starting ZoneMinder: [ OK ]
It works!!
Well done, and thank you. Very happy about this.