Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

databases bombing



     I have a running -current that I built on Sunday...

-----

P4-3679GHz: {50} uname -a
NetBSD P4-3679GHz 5.99.5 NetBSD 5.99.5 (GENERIC) #0: Sun Jan  4 22:07:48 PST 
2009  
jnemeth@P4-3679GHz:/usr/local/NetBSD-current/i386-objdir/sys/arch/i386/compile/GENERIC
 i386

-----

     I am trying to run MySQL 5 on it, but it fails initialisation.  I
also tried PostgreSQL last week and it failed in a similar way, so I
don't think the problem is with MySQL.  mysqld only links against
system libraries so that rules out other packages as being the
problem...

-----

P4-3679GHz: {49} ldd /usr/pkg/libexec/mysqld
/usr/pkg/libexec/mysqld:
        -lc.12 => /usr/lib/libc.so.12
        -lrt.0 => /usr/lib/librt.so.0
        -lz.1 => /usr/lib/libz.so.1
        -lwrap.0 => /usr/lib/libwrap.so.0
        -lcrypt.0 => /usr/lib/libcrypt.so.0
        -lcrypto.4 => /usr/lib/libcrypto.so.4
        -lssl.6 => /usr/lib/libssl.so.6
        -lpthread.0 => /usr/lib/libpthread.so.0
        -lstdc++.6 => /usr/lib/libstdc++.so.6
        -lm.0 => /usr/lib/libm387.so.0
        -lm.0 => /usr/lib/libm.so.0
        -lgcc_s.1 => /usr/lib/libgcc_s.so.1

-----

     Note that in the below output, that signal 4 is Illegal
Instruction.  Does anybody have any idea where the problem is?

-----

P4-3679GHz: {43} /etc/rc.d/mysqld start
Initializing MySQL database system tables.
Installing MySQL system tables...
090105 22:20:32 [Warning] option 'max_join_size': unsigned value 
18446744073709551615 adjusted to 4294967295
090105 22:20:32 [Warning] option 'max_join_size': unsigned value 
18446744073709551615 adjusted to 4294967295
090105 22:20:32 - mysqld got signal 4 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help diagnose
the problem, but since we have already crashed, something is definitely wrong
and this may fail.

key_buffer_size=8384512
read_buffer_size=131072
max_used_connections=0
max_connections=100
threads_connected=0
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 
225787 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Installation of system tables failed!

Examine the logs in /var/mysql for more information.
You can try to start the mysqld daemon with:
/usr/pkg/libexec/mysqld --skip-grant &
and use the command line tool
/usr/pkg/bin/mysql to connect to the mysql
database and look at the grant tables:

shell> /usr/pkg/bin/mysql -u root mysql
mysql> show tables

Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in /var/mysql that may be helpful.

The latest information about MySQL is available on the web at
http://www.mysql.com
Please consult the MySQL manual section: 'Problems running mysql_install_db',
and the manual section that describes problems on your OS.
Another information source is the MySQL email archive.
Please check all of the above before mailing us!
And if you do mail us, you MUST use the /usr/pkg/bin/mysqlbug script!

-----


Home | Main Index | Thread Index | Old Index