Subject: mysql4 error
To: port-alpha@netbsd.org <port-alpha@netbsd.org>
From: sp4rc <sammyshome@gmx.net>
List: port-alpha
Date: 08/22/2005 17:34:23
Hello list,

i am not sure if this is the right place for this question...

i have installed mysql4-server from pkgsrc using the newest
pkgsrc.tar.gz. The whole compilation process and installing process
works fine. (make install). While trying to execute "mysql_install_db
--user=mysql" the following errors occur:

proteus ~ # mysql_install_db --user=mysql
Installing all prepared tables
pid 507 (mysqld): unaligned access: va=0x12053fda3 pc=0x12035c6d0
ra=0x12035c7f8 sp=0x1fffff450 op=ldl

[...]

a lot more of them 

[...]

pid 507 (mysqld): unaligned access: va=0x12053fda6 pc=0x12035b870
ra=0x12035bb88 sp=0x1fffff470 op=stl
Fill help tables
pid 620 (mysqld): unaligned access: va=0x12053fda3 pc=0x12035c6d0
ra=0x12035c7f8 sp=0x1fffff450 op=ldl

[...]

pid 620 (mysqld): unaligned access: va=0x12053fda6 pc=0x12035b870
ra=0x12035bb88 sp=0x1fffff470 op=stl
050822 19:11:43 [ERROR] /usr/pkg/libexec/mysqld: Can't find file:
'./mysql/help_topic.frm' (errno: 13)
050822 19:11:43 [ERROR] /usr/pkg/libexec/mysqld: Can't find file:
'./mysql/help_topic.frm' (errno: 13)
ERROR: 1017  Can't find file: './mysql/help_topic.frm' (errno: 13)
050822 19:11:43 [ERROR] /usr/pkg/libexec/mysqld: Can't find file:
'./mysql/help_category.frm' (errno: 13)
050822 19:11:43 [ERROR] /usr/pkg/libexec/mysqld: Can't find file:
'./mysql/help_category.frm' (errno: 13)
ERROR: 1017  Can't find file: './mysql/help_category.frm' (errno: 13)
050822 19:11:43 [ERROR] /usr/pkg/libexec/mysqld: Can't find file:
'./mysql/help_keyword.frm' (errno: 13)
050822 19:11:43 [ERROR] /usr/pkg/libexec/mysqld: Can't find file:
'./mysql/help_keyword.frm' (errno: 13)

[...]

050822 19:11:43 [ERROR] /usr/pkg/libexec/mysqld: Can't find file:
'./mysql/help_relation.frm' (errno: 13)
ERROR: 1017  Can't find file: './mysql/help_relation.frm' (errno: 13)

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:
/usr/pkg/bin/mysqladmin -u root password 'new-password'
/usr/pkg/bin/mysqladmin -u root -h proteus.pentacon.gov password
'new-password'
See the manual for more instructions.

NOTE:  If you are upgrading from a MySQL <= 3.22.10 you should run
the /usr/pkg/bin/mysql_fix_privilege_tables. Otherwise you will not be
able to use the new GRANT command!

You can start the MySQL daemon with:
cd /usr/pkg ; /usr/pkg/bin/mysqld_safe &

You can test the MySQL daemon with the benchmarks in the 'sql-bench'
directory:
cd sql-bench ; perl run-all-tests

Please report any problems with the /usr/pkg/bin/mysqlbug script!

The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at https://order.mysql.com
proteus ~ # 

ps uax shows me, that there is no mysqld running. If i try to execute
only mysqld_safe the following happens:

pid 636 (mysqld): unaligned access: va=0x12054338a pc=0x12035c6dc
ra=0x12035c7f8 sp=0x1fffff4d0 op=stl

[...] and again a lot more of this errors

proteus mysql-server # mysql --version
pid 694 (mysql): unaligned access: va=0x1200260d3 pc=0x160094230
ra=0x160094358 sp=0x1fffff518 op=ldl
[...]

mysql  Ver 14.7 Distrib 4.1.13, for -netbsd (alpha) using  EditLine
wrapper

Any hints on this? I just don't know what to do to solve this...


-- 
Regards
	/sp4rc