1.17.2 Install feedback
Posted: Sat Feb 07, 2004 3:26 am
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.
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.