
|
[mylvmbackup]
||
[Date Prev]
[02-2008 Date Index]
[Date Next]
||
[Thread Prev]
[02-2008 Thread Index]
[Thread Next]
[mylvmbackup] innodb_recover bug, related to pid (0.6 release)
- From: Guillaume Boddaert <gboddaer.ext@xxxxxxxxxx>
- To: mylvmbackup@xxxxxxxxxxxxx
- Date: Fri, 29 Feb 2008 09:24:20 +0100
I'd like to submit a but report concerning mylvmbackup. On CentOS 5.1, I
stubbled on this error :
If you activate the innodb_recover option, the mysql_safe thread that
intend to run the innodb restoration use the --pidfile option which is
not valid. Hence the server starts with default pid file, which is
already in use.
> A mysqld process already exists
To correct this, you'd need to correct the mylvmbackup script at line 497
> if ( system("echo 'select 1;' | $mysqld_safe --pidfile=$pidfile
--datadir=$mountdir --skip-networking --skip-grant --bootstrap
--skip-ndbcluster --skip-slave-start") != 0 )
for :
> if ( system("echo 'select 1;' | $mysqld_safe --pid-file=$pidfile
--datadir=$mountdir --skip-networking --skip-grant --bootstrap
--skip-ndbcluster --skip-slave-start") != 0 )
the correct pidfile flag for mysqld (on my CentOS box at least) is
--pid-file not --pidfile.
Thanks for this useful tool !
--
Guillaume Boddaert
|

|