Bug #39194 Falcon fails on recognizing datadir

Submitted: 2 Sep 2008 16:43 Modified: 8 Sep 2008 21:05
Reporter: Ingo Strüwing Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: Falcon storage engine Severity:S2 (Serious)
Version:6.0.7 OS:Any
Assigned to: Assigned Account CPU Architecture:Any
Tags: regression

[2 Sep 2008 16:43] Ingo Strüwing
Description:
To avoid use of a system-supplied my.cnf I use to install with

    mysql_install_db --no-defaults

This works with BASEDIR and DATADIR in the environment:

env | egrep 'BASEDIR|DATADIR'
BASEDIR=/home2/mydev/bzrinst/install-6.0-amain
DATADIR=/home2/mydev/bzrinst/install-6.0-amain/var

The directories exist:

ls -ld "$DATADIR"
drwxr-xr-x 4 istruewing istruewing 4096  2. Sep 18:14 /home2/mydev/bzrinst/install-6.0-amain/var

I did run "make install".
But Falcon claims the directory does not exist:

$BASEDIR/bin/mysql_install_db --no-defaults
Installing MySQL system tables...
Falcon: The specified serial log directory, "/home2/mydev/bzrinst/install-6.0-amain/var/", does not exist.
Falcon: The serial log directory must be created by the user before initializing Falcon.
080902 18:14:13 [ERROR] Falcon: Exception 'Invalid serial log directory path "/home2/mydev/bzrinst/install-6.0-amain/var/"' during initialization
080902 18:14:13 [ERROR] Plugin 'Falcon' init function returned error.
080902 18:14:13 [ERROR] Plugin 'Falcon' registration as a STORAGE ENGINE failed.
OK
Filling help tables...
Falcon: The specified serial log directory, "/home2/mydev/bzrinst/install-6.0-amain/var/", does not exist.
Falcon: The serial log directory must be created by the user before initializing Falcon.
080902 18:14:13 [ERROR] Falcon: Exception 'Invalid serial log directory path "/home2/mydev/bzrinst/install-6.0-amain/var/"' during initialization
080902 18:14:13 [ERROR] Plugin 'Falcon' init function returned error.
080902 18:14:13 [ERROR] Plugin 'Falcon' registration as a STORAGE ENGINE failed.
OK

To start mysqld at boot time you have to copy
...

This happens on 6.0.7, including the fix for Bug#38843 (Falcon does not start if datadir is located on home directory on Solaris). (/home2/mydev is the home directory of istruewing.)

Tested on
OS: Debian GNU/Linux/x86_64
OS: Debian Sid kernel 2.6.26  SMP PREEMPT
gcc (Debian 4.3.1-8) 4.3.1

How to repeat:
See description.
[2 Sep 2008 19:55] Sveta Smirnova
Thank you for the report.

Verified as described with any specified --datadir located in the home directory on 32-bit Linux.
[4 Sep 2008 18:05] Sveta Smirnova
Probably duplicate of bug #39098
[4 Sep 2008 18:07] Sveta Smirnova
Bug #39098 was marked as duplicate of this one.
[8 Sep 2008 21:05] Hakan Küçükyılmaz
Duplicate of Bug #39098.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.059 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.