Just a little feedback while trying to install 1.17.2.
I tried to start from scratch so I deleted all the tables from MySql. I started with a blank database and added the priveleged and non-priveleged users.
All started out normal:
[root@gw zm-1.17.2]# perl zmconfig.pl
Loading config from DB
DBI connect('database=zm;host=localhost','',...) failed: Access denied for user: 'root@localhost' (Using password: NO) at zmconfig.pl line 1351
Warning: unable to load options from database. Ignore if database not created yet
.
.
.
Then I got to here:
----------------------------------------------------------------------------
The next few options control what happens when the WAP client is being
accessed over a mobile phone link. You should set these options for when
accessing the ZoneMinder WAP client over a mobile dialup or GPRS link. In
most cases the default values will be suitable as a starting point.
----------------------------------------------------------------------------
How often (in seconds) the main console window should refresh itself (integer) [300] :
How often (in seconds) the watched image is refreshed (integer) [30] :
Saving config to 'zmconfig.txt'
Saving config to DB
DBD::mysql::db do failed: Table 'zm.Config' doesn't exist at zmconfig.pl line 1270, <> line 90.
Can't do 'delete from Config': Table 'zm.Config' doesn't exist at zmconfig.pl line 1270, <> line 90.
This error is expected since I don't have any tables created, right?
To get past this, I created all the tables using the zmschema.sql.z script (I had to edit zschema.sql.z to use my database)
So now I'm able to save my config to the DB and move on. Next error up is:
[root@gw zm-1.17.2]# perl zmconfig.pl -noi
Loading config from 'zmconfig.txt'
Loading config from DB
Saving config to 'zmconfig.txt'
Saving config to DB
Generating 'src/zm_config_defines.h'
Processing 'src/zm_config.h'
Processing 'web/zm_config.php'
Processing 'scripts/zmdc.pl'
Processing 'scripts/zmwatch.pl'
Processing 'scripts/zmaudit.pl'
Processing 'scripts/zmfilter.pl'
Processing 'scripts/zmx10.pl'
Processing 'scripts/zmpkg.pl'
Processing 'scripts/zmupdate.pl'
Can't open 'scripts/zmupdate.pl.z' for reading at zmconfig.pl line 1432, <FILE> chunk 12.
I look in the tar file and can't find the file - I only see the non .z file.
[root@gw root]# tar -tvf zm-1.17.2.tar | grep zmupdate
-rw-rw-r-- 500/500 6865 2004-02-05 13:58:49 zm-1.17.2/scripts/zmupdate.pl
I did the best I could to create the .z file using zmupdate.pl and just doing some minor modifications like the other .z files and this part completed.
From here on, I was able to do a make and make install.
After starting it up, I immediately got a window box saying:
ZoneMinder - Version
An update to ZoneMinder is available.
The latest release is v, you have v1.17.2.
Well since this is the latest, I just ignored it and went on to configuring the rest.
1.17.2 Install feedback
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Re: 1.17.2 Install feedback
Hi,
Thanks for the report. You've caught the ill-effects of a typo in one of the Makefiles. I'd missed a '.z' off the end of the zmupdate.pl script int h distribution list. I've re-uploaded the tar file so that shouldn't happen from now on.
The other problems you are having with the configure script have foxed me a bit. The only way I can see that happening is if you untarred over an existing installation, forgot to run 'configure' and used an old zmconfig.pl. You don't mention running configure, I assume you did but can you confirm?
Cheers,
Phil,
Thanks for the report. You've caught the ill-effects of a typo in one of the Makefiles. I'd missed a '.z' off the end of the zmupdate.pl script int h distribution list. I've re-uploaded the tar file so that shouldn't happen from now on.
The other problems you are having with the configure script have foxed me a bit. The only way I can see that happening is if you untarred over an existing installation, forgot to run 'configure' and used an old zmconfig.pl. You don't mention running configure, I assume you did but can you confirm?
Cheers,
Phil,
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Re: 1.17.2 Install feedback
Actually the other scenario that would cause it is if you just deleted the tables from your old DB and not the DB itself. You mention "I deleted all the tables from MySql" so if you just did that and not a 'drop database' then the zmconfig.pl script would get confused.
Can you confirm?
Cheers,
Phil,
Can you confirm?
Cheers,
Phil,
Re: 1.17.2 Install feedback
That is correct. I didn't do a 'drop database' - I left it up as well as the users I created. I did a 'drop table' for all the tables. Next time, I will try to delete the db as well.
Thanks!
Pchan
PS. I ended up turning off the "automatically check for newer updates". The window kept popping (I assume it pops up each time the screen refreshed).
Thanks!
Pchan
PS. I ended up turning off the "automatically check for newer updates". The window kept popping (I assume it pops up each time the screen refreshed).