(CATOOL) Re: CATool installation problem

Bon sy bon at bunny.cs.qc.edu
Fri Mar 5 16:34:15 CST 2004


Mike,
	Here is the additional information. We intentionally shutdown the
mysql and re-start it again, the log file did capture the
"normal" shutdown/re-start process. 

	I further confirm with my staff and the one you refer to about
shutdown/restart within 6 seconds is the one occured during the mysql
installation, _not_ by CATool installor or us.

	We will do more test. But we are almost certain that mysql was
alive during the CAtool installation since there is no log of
shutdown/re-start. Having said, it is reasonable to believe that mysql was
alive during CAtool installation, but somehow CAtool installor thought
that mysql was not alive. 

	Any suggestion where to go from here?

	Thanks in advance!

Bon




On Fri, 5 Mar 2004, Bon sy wrote:

> On Fri, 5 Mar 2004, Mike McCauley wrote:
> 
> > Hello Bon,
> > 
> > This log shows the database started and shut down again within 6 seconds. Then 
> > it started again 2 seconds later. Did you shut it down? Or did this occur 
> > during the catool installation?
> 
> We didn't shutdown mysql.  If it does, it gets shutdown by catool.
> 
> 
> 
> 
> > 
> > Cheers.
> > 
> > On Fri, 5 Mar 2004 03:31 pm, Bon sy wrote:
> > > On Fri, 5 Mar 2004, Mike McCauley wrote:
> > > > > 	During our installation, we have the following problem. Can you
> > > > > shed some light on it? Weh have double checked our mysql and DBD:mysql
> > > > > installation. We did not find anything usual. Thanks in advance.  Below
> > > > > is the dump:
> > > >
> > > > It looks to me like the MySQL server has stopped/died/disconnected. Did
> > > > you get any error messages in the mysql logs?
> > >
> > > Nothing unusual as I can tell below:
> > >
> > > 040303 18:36:34  mysqld started
> > > InnoDB: The first specified data file ./ibdata1 did not exist:
> > > InnoDB: a new database to be created!
> > > 040303 18:36:34  InnoDB: Setting file ./ibdata1 size to 10 MB
> > > InnoDB: Database physically writes the file full: wait...
> > > 040303 18:36:35  InnoDB: Log file ./ib_logfile0 did not exist: new to be
> > > created
> > > InnoDB: Setting log file ./ib_logfile0 size to 5 MB
> > > InnoDB: Database physically writes the file full: wait...
> > > 040303 18:36:35  InnoDB: Log file ./ib_logfile1 did not exist: new to be
> > > created
> > > InnoDB: Setting log file ./ib_logfile1 size to 5 MB
> > > InnoDB: Database physically writes the file full: wait...
> > > InnoDB: Doublewrite buffer not found: creating new
> > > InnoDB: Doublewrite buffer created
> > > InnoDB: Creating foreign key constraint system tables
> > > InnoDB: Foreign key constraint system tables created
> > > 040303 18:36:39  InnoDB: Started
> > > /usr/sbin/mysqld: ready for connections.
> > > Version: '4.0.18-standard'  socket: '/var/lib/mysql/mysql.sock'
> > > port: 3306
> > > 040303 18:36:40  /usr/sbin/mysqld: Normal shutdown
> > >
> > > 040303 18:36:40  InnoDB: Starting shutdown...
> > > 040303 18:36:42  InnoDB: Shutdown completed
> > > 040303 18:36:42  /usr/sbin/mysqld: Shutdown Complete
> > >
> > > 040303 18:36:42  mysqld ended
> > >
> > > 040303 18:36:44  mysqld started
> > > 040303 18:36:45  InnoDB: Started
> > > /usr/sbin/mysqld-max: ready for connections.
> > > Version: '4.0.18-Max'  socket: '/var/lib/mysql/mysql.sock'  port: 3306
> > >
> > > > What versions of mysql and DBD:mysql are you using?
> > >
> > > MySQL 4.0.18
> > > perl-DBD-MySQL 2.1021-3
> > > perl-DBI 1.32-5
> > >
> > > > > [root at bonnet17 catool-1.2.6]# su root -c "sh Install"
> > > > > Preserving existing "catool" user account ...
> > > > > Creating "/usr/local/catool" directory ...
> > > > > + install --directory --mode=755 /usr/local/catool
> > > > > + install --directory --mode=755 /usr/local/catool/etc
> > > > > /usr/local/catool/var
> > > > > + install --directory --mode=770 --group=catool
> > > > > /usr/local/catool/var/tmp + install --directory --mode=775
> > > > > --group=catool /usr/local/catool/var/crl Extracting files from
> > > > > "_DISTRIBUTION_FILES.dat" archive ...
> > > > > Fixing up file and directory permissions ...
> > > > > Verifying perl environment ...
> > > > > v-string in use/require non-portable at bin/check_perl_mods line 11.
> > > > > OK!  All required perl modules found.
> > > > >
> > > > > Commencing install ...
> > > > > Saving local configuration settings to "etc/catool.cf" ...
> > > > > Saving license key to "etc/catoolpriv.cf" ...
> > > > > Saving installation settings to "etc/.installdefs" ...
> > > > > Setting up "catool" database user ...
> > > > > Setting up "catool" database tables ...
> > > > > Generating Root CA certificate and loading into database ...
> > > > > Generating a strong Root CA passphrase ...
> > > > > Generating Root CA certificate and key ...
> > > > > Using configuration from /tmp/catool-cacert-cf.5302
> > > > > Generating a 2048 bit RSA private key
> > > > > ........+++
> > > > > ...+++
> > > > > writing new private key to '/tmp/cakey-pem.5302'
> > > > > -----
> > > > > DBD::mysql::db do failed: MySQL server has gone away at
> > > > > /usr/local/catool/lib/perl/Catool/Database.pm line 36.
> > > > > Catool::Database::InsertRow: operation failed (table="ca"): MySQL
> > > > > server has gone away at bin/load_ca_cert line 69
> > >
> > > --
> > > Archive at http://www.open.com.au/archives/catool/
> > > Announcements on catool-announce at open.com.au
> > > To unsubscribe, email 'majordomo at open.com.au' with
> > > 'unsubscribe catool' in the body of the message.
> > 
> > -- 
> > Mike McCauley                               mikem at open.com.au
> > Open System Consultants Pty. Ltd            Unix, Perl, Motif, C++, WWW
> > 9 Bulbul Place Currumbin Waters QLD 4223 Australia   http://www.open.com.au
> > Phone +61 7 5598-7474                       Fax   +61 7 5598-7070
> > 
> > Radiator: the most portable, flexible and configurable RADIUS server 
> > anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
> > Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, 
> > TTLS, PEAP etc on Unix, Windows, MacOS etc.
> > 
> > --
> > Archive at http://www.open.com.au/archives/catool/
> > Announcements on catool-announce at open.com.au
> > To unsubscribe, email 'majordomo at open.com.au' with
> > 'unsubscribe catool' in the body of the message.
> > 
> 
> --
> Archive at http://www.open.com.au/archives/catool/
> Announcements on catool-announce at open.com.au
> To unsubscribe, email 'majordomo at open.com.au' with
> 'unsubscribe catool' in the body of the message.
> 

--
Archive at http://www.open.com.au/archives/catool/
Announcements on catool-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe catool' in the body of the message.


More information about the catool mailing list