Joerg, thanks again for the help. I disagree with you.
> > I doubt many more users try to create a clean test installation of > > MySQL, in a specific directory, on a machine that already has MySQL > > installed. > > Correct - but if really the occurrence in "mysql_install_db" were the > issue, then it would also occur with a single install. True, for a single install in a non-standard directory (try using a --prefix, --basedir, --datadir, all the flags I've shown), not for a single install that installs in /var and /usr/bin and uses /etc/mysql/my.cnf. mysql_install_db does not work as expected for 5.1 (probably previous versions, too), and I will show this next. The problem is that mysql_install_db, "somehow" always reads /etc/mysql/my.cnf. That's wrong. It should read @sysconfdir@/my.cnf. > You didn't exactly specify your platform, I can just tell it is some > Unix. I propose you check for all existing "my.cnf" and do a "ls -lu" on > them, then start your new server, then do that "ls -lu" again. I suspect > one (or more) of them will be read by the new server upon startup. It's Debian 5.0. $ uname -a Linux syd.mkgnu.net 2.6.18-6-686 #1 SMP Sat Dec 27 09:31:05 UTC 2008 i686 GNU/Linux I've just run: # find / | grep -i my.cnf And deleted every single my.cnf file, except from: /tmp/msource/etc/my.cnf /etc/mysql/my.cnf I still get the same error, because /etc/mysql/my.cnf is still there. > > This is just wrong. I should be able to build a clean MySQL and start it > > independently, even if I already have a previous, pre-packaged MySQL > > instance on the test machine. > > > > I believe the problem is in the MySQL tools. I shouldn't have to remove > > my existing MySQL installation just to build and test some other MySQL > > installation. That's exactly the whole rationale behind having a > > --prefix in ./configure, a --basedir, and so forth. > > It is a question of policies and preferences. > MySQL traditionally supports both global, system-wide configuration > files and local ones, by instance. > Changing that might affect existing installations, so it can't be done > lightly and needs decent design and announcement. If this was a PATH issue, meaning I'm calling different mysql (5.0) binaries, I should be able to: export PATH=/tmp/msource/bin:$PATH ... then run: /tmp/msource/bin/mysql_install_db --basedir=/tmp/msource --datadir=/tmp/msource/data ... and get the tables installed. I still get the same error though. I suspect that there are hardcoded paths in mysql that ALWAYS call the mysql tools from /usr/bin, or ALWAYS use /etc/mysql/my.cnf. It does not appear to me to be a question of policies, but a bug. I am attaching the output of: $ strace /tmp/msource/bin/mysql_install_db --basedir=/tmp/msource --datadir=/tmp/msource/data > /tmp/trace 2>&1 The output observes: # mysql_install_db is opened on fd 3 open("/tmp/msource/bin/mysql_install_db", O_RDONLY|O_LARGEFILE) = 3 # From fd 3 one uses parameters that don't make sense. I did not specify --user=mysql. And I did not specify the pid file to be in /var/run. read(3, "--user=mysql\n--pid-file=/var/run/"..., 128) = 128 # Further down, I did not install mysql in /var/lib, but in /tmp/msource read(3, "/var/lib/mysql\n"..., 128) = 15 It seems that mysql first consults hard-coded defaults that are *different* from the paths one specifies in the ./configure line. To me this seems wrong. To verify this, after I remove /etc/mysql/my.cnf, installing the tables works: +++++++++++++++++++= $ /tmp/msource/bin/mysql_install_db --basedir=/tmp/msource --datadir=/tmp/msource/data Installing MySQL system tables... OK Filling help tables... OK To start mysqld at boot time you have to copy support-files/mysql.server to the right place for your system PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER ! To do so, start the server, then issue the following commands: /tmp/msource/bin/mysqladmin -u root password 'new-password' /tmp/msource/bin/mysqladmin -u root -h syd.mkgnu.net password 'new-password' Alternatively you can run: /tmp/msource/bin/mysql_secure_installation which will also give you the option of removing the test databases and anonymous user created by default. This is strongly recommended for production servers. See the manual for more instructions. You can start the MySQL daemon with: cd /tmp/msource ; /tmp/msource/bin/mysqld_safe & You can test the MySQL daemon with mysql-test-run.pl cd /tmp/msource/mysql-test ; perl mysql-test-run.pl Please report any problems with the /tmp/msource/scripts/mysqlbug script! +++++++++++++++++++++ Restoring /etc/mysql/my.cnf results in mysql_install_db to fail again. This suggests that any mysql test build will ALWAYS consult /etc/mysql/my.cnf, even if one already specified a different sysconfdir to ./configure. To me, this seems like a bug.
execve("/tmp/msource/bin/mysql_install_db", ["/tmp/msource/bin/mysql_install_d"..., "--basedir=/tmp/msource", "--datadir=/tmp/msource/data"], [/* 51 vars */]) = 0 brk(0) = 0x80f8000 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f05000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/tmp/msource/lib/mysql/tls/i686/sse2/cmov/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/tmp/msource/lib/mysql/tls/i686/sse2/cmov", 0xbfc24574) = -1 ENOENT (No such file or directory) open("/tmp/msource/lib/mysql/tls/i686/sse2/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/tmp/msource/lib/mysql/tls/i686/sse2", 0xbfc24574) = -1 ENOENT (No such file or directory) open("/tmp/msource/lib/mysql/tls/i686/cmov/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/tmp/msource/lib/mysql/tls/i686/cmov", 0xbfc24574) = -1 ENOENT (No such file or directory) open("/tmp/msource/lib/mysql/tls/i686/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/tmp/msource/lib/mysql/tls/i686", 0xbfc24574) = -1 ENOENT (No such file or directory) open("/tmp/msource/lib/mysql/tls/sse2/cmov/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/tmp/msource/lib/mysql/tls/sse2/cmov", 0xbfc24574) = -1 ENOENT (No such file or directory) open("/tmp/msource/lib/mysql/tls/sse2/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/tmp/msource/lib/mysql/tls/sse2", 0xbfc24574) = -1 ENOENT (No such file or directory) open("/tmp/msource/lib/mysql/tls/cmov/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/tmp/msource/lib/mysql/tls/cmov", 0xbfc24574) = -1 ENOENT (No such file or directory) open("/tmp/msource/lib/mysql/tls/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/tmp/msource/lib/mysql/tls", 0xbfc24574) = -1 ENOENT (No such file or directory) open("/tmp/msource/lib/mysql/i686/sse2/cmov/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/tmp/msource/lib/mysql/i686/sse2/cmov", 0xbfc24574) = -1 ENOENT (No such file or directory) open("/tmp/msource/lib/mysql/i686/sse2/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/tmp/msource/lib/mysql/i686/sse2", 0xbfc24574) = -1 ENOENT (No such file or directory) open("/tmp/msource/lib/mysql/i686/cmov/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/tmp/msource/lib/mysql/i686/cmov", 0xbfc24574) = -1 ENOENT (No such file or directory) open("/tmp/msource/lib/mysql/i686/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/tmp/msource/lib/mysql/i686", 0xbfc24574) = -1 ENOENT (No such file or directory) open("/tmp/msource/lib/mysql/sse2/cmov/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/tmp/msource/lib/mysql/sse2/cmov", 0xbfc24574) = -1 ENOENT (No such file or directory) open("/tmp/msource/lib/mysql/sse2/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/tmp/msource/lib/mysql/sse2", 0xbfc24574) = -1 ENOENT (No such file or directory) open("/tmp/msource/lib/mysql/cmov/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/tmp/msource/lib/mysql/cmov", 0xbfc24574) = -1 ENOENT (No such file or directory) open("/tmp/msource/lib/mysql/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/tmp/msource/lib/mysql", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=94938, ...}) = 0 mmap2(NULL, 94938, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7eed000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/libncurses.so.5", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\243\0\0004\0\0\0\344"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0644, st_size=202188, ...}) = 0 mmap2(NULL, 202004, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7ebb000 mmap2(0xb7eea000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2f) = 0xb7eea000 close(3) = 0 open("/tmp/msource/lib/mysql/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/i686/cmov/libdl.so.2", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\n\0\0004\0\0\0H"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0644, st_size=9680, ...}) = 0 mmap2(NULL, 12412, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7eb7000 mmap2(0xb7eb9000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7eb9000 close(3) = 0 open("/tmp/msource/lib/mysql/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/i686/cmov/libc.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260e\1\0004\0\0\0\4"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=1413540, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7eb6000 mmap2(NULL, 1418864, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7d5b000 mmap2(0xb7eb0000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x155) = 0xb7eb0000 mmap2(0xb7eb3000, 9840, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7eb3000 close(3) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d5a000 set_thread_area({entry_number:-1 -> 6, base_addr:0xb7d5a6b0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 mprotect(0xb7eb0000, 4096, PROT_READ) = 0 munmap(0xb7eed000, 94938) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 open("/dev/tty", O_RDWR|O_NONBLOCK|O_LARGEFILE) = 3 close(3) = 0 brk(0) = 0x80f8000 brk(0x80f9000) = 0x80f9000 brk(0x80fa000) = 0x80fa000 getuid32() = 1000 getgid32() = 1000 geteuid32() = 1000 getegid32() = 1000 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 time(NULL) = 1273862116 brk(0x80fb000) = 0x80fb000 brk(0x80fc000) = 0x80fc000 open("/proc/meminfo", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f04000 read(3, "MemTotal: 767732 kB\nMemFree"..., 1024) = 676 close(3) = 0 munmap(0xb7f04000, 4096) = 0 brk(0x80fd000) = 0x80fd000 rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0 uname({sys="Linux", node="syd.mkgnu.net", ...}) = 0 brk(0x80fe000) = 0x80fe000 brk(0x80ff000) = 0x80ff000 stat64("/tmp/chdb/system/src/tests/build/source/mysql-5.1.45-source", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat64(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 getpid() = 25968 getppid() = 25967 brk(0x8100000) = 0x8100000 getpgrp() = 25967 rt_sigaction(SIGCHLD, {0x807e320, [], 0}, {SIG_DFL}, 8) = 0 getrlimit(RLIMIT_NPROC, {rlim_cur=6074, rlim_max=6074}) = 0 brk(0x8101000) = 0x8101000 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 open("/tmp/msource/bin/mysql_install_db", O_RDONLY|O_LARGEFILE) = 3 ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfc24b48) = -1 ENOTTY (Inappropriate ioctl for device) _llseek(3, 0, [0], SEEK_CUR) = 0 read(3, "#!/bin/sh\n# Copyright (C) 2002-20"..., 80) = 80 _llseek(3, 0, [0], SEEK_SET) = 0 getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0 dup2(3, 255) = 255 close(3) = 0 fcntl64(255, F_SETFD, FD_CLOEXEC) = 0 fcntl64(255, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE) fstat64(255, {st_mode=S_IFREG|0755, st_size=14333, ...}) = 0 _llseek(255, 0, [0], SEEK_CUR) = 0 brk(0x8103000) = 0x8103000 brk(0x8104000) = 0x8104000 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 read(255, "#!/bin/sh\n# Copyright (C) 2002-20"..., 8176) = 8176 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 brk(0x8105000) = 0x8105000 brk(0x8106000) = 0x8106000 brk(0x8107000) = 0x8107000 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 brk(0x8108000) = 0x8108000 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 brk(0x8109000) = 0x8109000 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 brk(0x810a000) = 0x810a000 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 brk(0x810b000) = 0x810b000 brk(0x810c000) = 0x810c000 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 brk(0x810d000) = 0x810d000 pipe([3, 4]) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 _llseek(255, -1781, [6395], SEEK_CUR) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7d5a6f8) = 25969 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigaction(SIGCHLD, {0x807e320, [], 0}, {0x807e320, [], 0}, 8) = 0 close(4) = 0 read(3, "/tmp/msource\n"..., 128) = 13 read(3, ""..., 128) = 0 --- SIGCHLD (Child exited) @ 0 (0) --- waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 25969 waitpid(-1, 0xbfc23f38, WNOHANG) = -1 ECHILD (No child processes) sigreturn() = ? (mask now []) close(3) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigaction(SIGINT, {0x807ef30, [], 0}, {SIG_DFL}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigaction(SIGINT, {SIG_DFL}, {0x807ef30, [], 0}, 8) = 0 pipe([3, 4]) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7d5a6f8) = 25972 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 --- SIGCHLD (Child exited) @ 0 (0) --- waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 25972 waitpid(-1, 0xbfc23d98, WNOHANG) = -1 ECHILD (No child processes) sigreturn() = ? (mask now []) rt_sigaction(SIGCHLD, {0x807e320, [], 0}, {0x807e320, [], 0}, 8) = 0 close(4) = 0 read(3, "/tmp/msource/data\n"..., 128) = 18 read(3, ""..., 128) = 0 close(3) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigaction(SIGINT, {0x807ef30, [], 0}, {SIG_DFL}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigaction(SIGINT, {SIG_DFL}, {0x807ef30, [], 0}, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 read(255, "\n#\n# We can now find my_print_def"..., 8176) = 7938 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 pipe([3, 4]) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 _llseek(255, -7184, [7149], SEEK_CUR) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7d5a6f8) = 25975 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 --- SIGCHLD (Child exited) @ 0 (0) --- waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 25975 waitpid(-1, 0xbfc23f98, WNOHANG) = -1 ECHILD (No child processes) sigreturn() = ? (mask now []) rt_sigaction(SIGCHLD, {0x807e320, [], 0}, {0x807e320, [], 0}, 8) = 0 close(4) = 0 read(3, "/tmp/msource/bin/my_print_default"..., 128) = 35 read(3, ""..., 128) = 0 close(3) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigaction(SIGINT, {0x807ef30, [], 0}, {SIG_DFL}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigaction(SIGINT, {SIG_DFL}, {0x807ef30, [], 0}, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 read(255, "\nif test ! -x \"$print_defaults\"\nt"..., 8176) = 7184 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 stat64("/tmp/msource/bin/my_print_defaults", {st_mode=S_IFREG|0755, st_size=1244526, ...}) = 0 geteuid32() = 1000 getegid32() = 1000 getuid32() = 1000 getgid32() = 1000 access("/tmp/msource/bin/my_print_defaults", X_OK) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 pipe([3, 4]) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 _llseek(255, -6882, [7451], SEEK_CUR) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7d5a6f8) = 25976 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigaction(SIGCHLD, {0x807e320, [], 0}, {0x807e320, [], 0}, 8) = 0 close(4) = 0 read(3, "--user=mysql\n--pid-file=/var/run/"..., 128) = 128 --- SIGCHLD (Child exited) @ 0 (0) --- waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 25976 waitpid(-1, 0xbfc245e8, WNOHANG) = -1 ECHILD (No child processes) sigreturn() = ? (mask now []) read(3, "r/lib/mysql\n--tmpdir=/tmp\n--langu"..., 128) = 128 read(3, "--max_allowed_packet=16M\n--thread"..., 128) = 128 brk(0x810e000) = 0x810e000 read(3, "size=16M\n--expire_logs_days=10\n--"..., 128) = 65 read(3, ""..., 128) = 0 close(3) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigaction(SIGINT, {0x807ef30, [], 0}, {SIG_DFL}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigaction(SIGINT, {SIG_DFL}, {0x807ef30, [], 0}, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 brk(0x810f000) = 0x810f000 pipe([3, 4]) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7d5a6f8) = 25978 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigaction(SIGCHLD, {0x807e320, [], 0}, {0x807e320, [], 0}, 8) = 0 close(4) = 0 read(3, "mysql\n"..., 128) = 6 read(3, ""..., 128) = 0 --- SIGCHLD (Child exited) @ 0 (0) --- waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 25978 waitpid(-1, 0xbfc23f38, WNOHANG) = -1 ECHILD (No child processes) sigreturn() = ? (mask now []) close(3) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigaction(SIGINT, {0x807ef30, [], 0}, {SIG_DFL}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigaction(SIGINT, {SIG_DFL}, {0x807ef30, [], 0}, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 pipe([3, 4]) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7d5a6f8) = 25981 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 --- SIGCHLD (Child exited) @ 0 (0) --- waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 25981 waitpid(-1, 0xbfc23d98, WNOHANG) = -1 ECHILD (No child processes) sigreturn() = ? (mask now []) rt_sigaction(SIGCHLD, {0x807e320, [], 0}, {0x807e320, [], 0}, 8) = 0 close(4) = 0 read(3, "/usr\n"..., 128) = 5 read(3, ""..., 128) = 0 close(3) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigaction(SIGINT, {0x807ef30, [], 0}, {SIG_DFL}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigaction(SIGINT, {SIG_DFL}, {0x807ef30, [], 0}, 8) = 0 pipe([3, 4]) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7d5a6f8) = 25984 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigaction(SIGCHLD, {0x807e320, [], 0}, {0x807e320, [], 0}, 8) = 0 close(4) = 0 read(3, "/var/lib/mysql\n"..., 128) = 15 read(3, ""..., 128) = 0 --- SIGCHLD (Child exited) @ 0 (0) --- waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 25984 waitpid(-1, 0xbfc23f38, WNOHANG) = -1 ECHILD (No child processes) sigreturn() = ? (mask now []) close(3) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigaction(SIGINT, {0x807ef30, [], 0}, {SIG_DFL}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigaction(SIGINT, {SIG_DFL}, {0x807ef30, [], 0}, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 read(255, "parse_arguments PICK-ARGS-FROM-AR"..., 8176) = 6882 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 pipe([3, 4]) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 _llseek(255, -6841, [7492], SEEK_CUR) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7d5a6f8) = 25987 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigaction(SIGCHLD, {0x807e320, [], 0}, {0x807e320, [], 0}, 8) = 0 close(4) = 0 read(3, "/tmp/msource\n"..., 128) = 13 read(3, ""..., 128) = 0 --- SIGCHLD (Child exited) @ 0 (0) --- waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 25987 waitpid(-1, 0xbfc23f38, WNOHANG) = -1 ECHILD (No child processes) sigreturn() = ? (mask now []) close(3) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigaction(SIGINT, {0x807ef30, [], 0}, {SIG_DFL}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigaction(SIGINT, {SIG_DFL}, {0x807ef30, [], 0}, 8) = 0 pipe([3, 4]) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7d5a6f8) = 25990 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigaction(SIGCHLD, {0x807e320, [], 0}, {0x807e320, [], 0}, 8) = 0 close(4) = 0 read(3, "/tmp/msource/data\n"..., 128) = 18 read(3, ""..., 128) = 0 --- SIGCHLD (Child exited) @ 0 (0) --- waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 25990 waitpid(-1, 0xbfc23f38, WNOHANG) = -1 ECHILD (No child processes) sigreturn() = ? (mask now []) close(3) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigaction(SIGINT, {0x807ef30, [], 0}, {SIG_DFL}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigaction(SIGINT, {SIG_DFL}, {0x807ef30, [], 0}, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 read(255, "\n# Configure paths to support fil"..., 8176) = 6841 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 pipe([3, 4]) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 _llseek(255, -5680, [8653], SEEK_CUR) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7d5a6f8) = 25993 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigaction(SIGCHLD, {0x807e320, [], 0}, {0x807e320, [], 0}, 8) = 0 close(4) = 0 read(3, "/tmp/msource/libexec/mysqld\n"..., 128) = 28 read(3, ""..., 128) = 0 --- SIGCHLD (Child exited) @ 0 (0) --- waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 25993 waitpid(-1, 0xbfc234a8, WNOHANG) = -1 ECHILD (No child processes) sigreturn() = ? (mask now []) close(3) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigaction(SIGINT, {0x807ef30, [], 0}, {SIG_DFL}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigaction(SIGINT, {SIG_DFL}, {0x807ef30, [], 0}, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 pipe([3, 4]) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7d5a6f8) = 25994 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigaction(SIGCHLD, {0x807e320, [], 0}, {0x807e320, [], 0}, 8) = 0 close(4) = 0 read(3, "/tmp/msource/share/mysql/english\n"..., 128) = 33 read(3, ""..., 128) = 0 --- SIGCHLD (Child exited) @ 0 (0) --- waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 25994 waitpid(-1, 0xbfc238e8, WNOHANG) = -1 ECHILD (No child processes) sigreturn() = ? (mask now []) close(3) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigaction(SIGINT, {0x807ef30, [], 0}, {SIG_DFL}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigaction(SIGINT, {SIG_DFL}, {0x807ef30, [], 0}, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 pipe([3, 4]) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7d5a6f8) = 25995 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 --- SIGCHLD (Child exited) @ 0 (0) --- waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 25995 waitpid(-1, 0xbfc23b88, WNOHANG) = -1 ECHILD (No child processes) sigreturn() = ? (mask now []) rt_sigaction(SIGCHLD, {0x807e320, [], 0}, {0x807e320, [], 0}, 8) = 0 close(4) = 0 read(3, "/tmp/msource/share/mysql\n"..., 128) = 25 read(3, ""..., 128) = 0 close(3) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigaction(SIGINT, {0x807ef30, [], 0}, {SIG_DFL}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigaction(SIGINT, {SIG_DFL}, {0x807ef30, [], 0}, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 read(255, "\n# Set up paths to SQL scripts re"..., 8176) = 5680 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 stat64("/tmp/msource/share/mysql/fill_help_tables.sql", {st_mode=S_IFREG|0644, st_size=594749, ...}) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 stat64("/tmp/msource/share/mysql/mysql_system_tables.sql", {st_mode=S_IFREG|0644, st_size=16527, ...}) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 stat64("/tmp/msource/share/mysql/mysql_system_tables_data.sql", {st_mode=S_IFREG|0644, st_size=1878, ...}) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 stat64("/tmp/msource/libexec/mysqld", {st_mode=S_IFREG|0755, st_size=7798545, ...}) = 0 geteuid32() = 1000 getegid32() = 1000 getuid32() = 1000 getgid32() = 1000 access("/tmp/msource/libexec/mysqld", X_OK) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 stat64("/tmp/msource/share/mysql/english/errmsg.sys", {st_mode=S_IFREG|0644, st_size=36480, ...}) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 pipe([3, 4]) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 _llseek(255, -5009, [9324], SEEK_CUR) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7d5a6f8) = 25996 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigaction(SIGCHLD, {0x807e320, [], 0}, {0x807e320, [], 0}, 8) = 0 close(4) = 0 read(3, "syd.mkgnu.net\n"..., 128) = 14 read(3, ""..., 128) = 0 --- SIGCHLD (Child exited) @ 0 (0) --- waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 25996 waitpid(-1, 0xbfc244f8, WNOHANG) = -1 ECHILD (No child processes) sigreturn() = ? (mask now []) close(3) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigaction(SIGINT, {0x807ef30, [], 0}, {SIG_DFL}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigaction(SIGINT, {SIG_DFL}, {0x807ef30, [], 0}, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 read(255, "\n# Check if hostname is valid\nif "..., 8176) = 5009 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 pipe([3, 4]) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 _llseek(255, -3946, [10387], SEEK_CUR) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7d5a6f8) = 25997 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigaction(SIGCHLD, {0x807e320, [], 0}, {0x807e320, [], 0}, 8) = 0 close(4) = 0 read(3, "IP address of syd.mkgnu.net is 12"..., 128) = 41 read(3, ""..., 128) = 0 --- SIGCHLD (Child exited) @ 0 (0) --- waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 25997 waitpid(-1, 0xbfc24208, WNOHANG) = -1 ECHILD (No child processes) sigreturn() = ? (mask now []) close(3) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigaction(SIGINT, {0x807ef30, [], 0}, {SIG_DFL}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigaction(SIGINT, {SIG_DFL}, {0x807ef30, [], 0}, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 read(255, "\nif test \"$ip_only\" -eq 1\nthen\n "..., 8176) = 3946 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 stat64("/tmp/msource/data", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 stat64("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 geteuid32() = 1000 getegid32() = 1000 getuid32() = 1000 getgid32() = 1000 access("/", W_OK) = -1 EACCES (Permission denied) rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 stat64("/tmp/msource/data/mysql", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 stat64("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 geteuid32() = 1000 getegid32() = 1000 getuid32() = 1000 getgid32() = 1000 access("/", W_OK) = -1 EACCES (Permission denied) rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 stat64("/tmp/msource/data/test", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 stat64("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 geteuid32() = 1000 getegid32() = 1000 getuid32() = 1000 getgid32() = 1000 access("/", W_OK) = -1 EACCES (Permission denied) rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 brk(0x8110000) = 0x8110000 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 write(1, "Installing MySQL system tables..."..., 34Installing MySQL system tables... ) = 34 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 pipe([3, 4]) = 0 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [CHLD], 8) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [INT CHLD], 8) = 0 rt_sigprocmask(SIG_SETMASK, [INT CHLD], NULL, 8) = 0 _llseek(255, -1622, [12711], SEEK_CUR) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7d5a6f8) = 26000 rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 close(4) = 0 close(4) = -1 EBADF (Bad file descriptor) pipe([4, 5]) = 0 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [CHLD], 8) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7d5a6f8) = 26002 rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 close(3) = 0 close(5) = 0 close(3) = -1 EBADF (Bad file descriptor) close(5) = -1 EBADF (Bad file descriptor) rt_sigprocmask(SIG_BLOCK, [INT CHLD], [CHLD], 8) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7d5a6f8) = 26004 rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 close(4) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0 rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0 rt_sigaction(SIGINT, {0x807ef30, [], 0}, {SIG_DFL}, 8) = 0 waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 26000 waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 26002 waitpid(-1, 100514 11:35:18 [ERROR] /tmp/msource/libexec/mysqld: unknown option '--skip-bdb' 100514 11:35:18 [ERROR] Aborting 100514 11:35:18 [Note] /tmp/msource/libexec/mysqld: Shutdown complete [{WIFEXITED(s) && WEXITSTATUS(s) == 2}], 0) = 26004 rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 rt_sigaction(SIGINT, {SIG_DFL}, {0x807ef30, [], 0}, 8) = 0 close(4) = -1 EBADF (Bad file descriptor) rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 --- SIGCHLD (Child exited) @ 0 (0) --- waitpid(-1, 0xbfc245f8, WNOHANG) = -1 ECHILD (No child processes) sigreturn() = ? (mask now []) write(1, "\n"..., 1 ) = 1 write(1, "Installation of system tables fai"..., 59Installation of system tables failed! Examine the logs in ) = 59 write(1, "/tmp/msource/data for more inform"..., 40/tmp/msource/data for more information. ) = 40 write(1, "\n"..., 1 ) = 1 write(1, "You can try to start the mysqld d"..., 45You can try to start the mysqld daemon with: ) = 45 write(1, "\n"..., 1 ) = 1 write(1, " shell> /tmp/msource/libexec/m"..., 54 shell> /tmp/msource/libexec/mysqld --skip-grant & ) = 54 write(1, "\n"..., 1 ) = 1 write(1, "and use the command line tool /tm"..., 53and use the command line tool /tmp/msource/bin/mysql ) = 53 write(1, "to connect to the mysql database "..., 63to connect to the mysql database and look at the grant tables: ) = 63 write(1, "\n"..., 1 ) = 1 write(1, " shell> /tmp/msource/bin/mysql"..., 48 shell> /tmp/msource/bin/mysql -u root mysql ) = 48 write(1, " mysql> show tables\n"..., 23 mysql> show tables ) = 23 write(1, "\n"..., 1 ) = 1 write(1, "Try 'mysqld --help' if you have p"..., 66Try 'mysqld --help' if you have problems with paths. Using --log ) = 66 write(1, "gives you a log in /tmp/msource/d"..., 58gives you a log in /tmp/msource/data that may be helpful. ) = 58 write(1, "\n"..., 1 ) = 1 write(1, "Please consult the MySQL manual s"..., 40Please consult the MySQL manual section ) = 40 write(1, "'Problems running mysql_install_d"..., 65'Problems running mysql_install_db', and the manual section that ) = 65 write(1, "describes problems on your OS. A"..., 67describes problems on your OS. Another information source are the ) = 67 write(1, "MySQL email archives available at"..., 59MySQL email archives available at http://lists.mysql.com/. ) = 59 write(1, "\n"..., 1 ) = 1 write(1, "Please check all of the above bef"..., 67Please check all of the above before mailing us! And remember, if ) = 67 write(1, "you do mail us, you MUST use the "..., 71you do mail us, you MUST use the /tmp/msource/scripts/mysqlbug script! ) = 71 write(1, "\n"..., 1 ) = 1 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 exit_group(1) = ?
-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/mysql?unsub=arch...@jab.org