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 


     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


P4-3679GHz: {49} ldd /usr/pkg/libexec/mysqld
        -lc.12 => /usr/lib/
        -lrt.0 => /usr/lib/
        -lz.1 => /usr/lib/
        -lwrap.0 => /usr/lib/
        -lcrypt.0 => /usr/lib/
        -lcrypto.4 => /usr/lib/
        -lssl.6 => /usr/lib/
        -lpthread.0 => /usr/lib/
        -lstdc++.6 => /usr/lib/
        -lm.0 => /usr/lib/
        -lm.0 => /usr/lib/
        -lgcc_s.1 => /usr/lib/


     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.

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
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