hppa-linux gcc-3.0.3:
Hi Dave,
I read your mail :http://lists.parisc-linux.org/pipermail/parisc-linux/2002-February/015456.html
So I try to figure out how to get sources but even on
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/ (no more chance on the ftp site) I do not find 3.1 branch.
Can you explain me how to get those sources.
Hmm... If I also read well 'http://www.parisc-linux.org/toolchain/index.html', I would also need corresponding binutils and glibc sources?
Which release do I have do use to rebuild gcc-3.1 and how to get their src (if requested)?
Thanks in advance for help,
Joel
**********************************************************************
This e-mail and any attachments to it may contain confidential information which is strictly intended for the use of the authorised recipient. If you have received this e-mail in error, please delete it and notify the sender by replying to this e-mail. Thank you for your co-operation.
**********************************************************************
[parisc-linux] MySQL
Hi,
I've got a problem running MySQL.
After a complete new installation of Debian HPPA 0.9.3 I installed=20 Mysql-server with apt-get an it works fine.
After an update to libc6_2.2.5-3 and an mysql-sever upgrade the=20 configuration of mysql hangs.
I downgraded to libc6_2.2.4-7 an then the installation passed but I can't=20 start mysql server
I get the following log files:
beta:/var/lib/mysql# vim beta.err
020218 11:57:49 mysqld started
Cannot initialize InnoDB as 'innodb_data_file_path' is not set. If you do not want to use transactional InnoDB tables, add a line skip-innodb
to the [mysqld] section of init parameters in your my.cnf
or my.ini. If you want to use InnoDB tables, add for example, innodb_data_file_path =3D ibdata1:30M
But to get good performance you should adjust for your hardware the InnoDB startup options listed in section 2 at
http://www.innodb.com/ibman.html
020218 11:57:51 /usr/sbin/mysqld: Can't find file: './mysql/host.frm'=20 (errno: 13)
020218 11:57:51 mysqld ended
and:
beta:/var/log# vim mysql.err
Preparing db table
Preparing host table
Preparing user table
Preparing func table
Preparing tables_priv table
Preparing columns_priv table
Installing all prepared tables
020218 11:57:41 /usr/sbin/mysqld: Shutdown Complete
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER ! This is done with:/usr/bin/mysqladmin -u root -p password 'new-password' /usr/bin/mysqladmin -u root -h beta -p password 'new-password' See the manual for more instructions.
Please report any problems with the /usr/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
ERROR: 1017 Can't find file: './mysql/user.frm' (errno: 13) 020218 11:57:42 /usr/sbin/mysqld: Shutdown Complete
ERROR: 1017 Can't find file: './mysql/db.frm' (errno: 13)
ERROR: 1017 Can't find file: './mysql/db.frm' (errno: 13) 020218 11:57:44 /usr/sbin/mysqld: Shutdown Complete
But these files (db.frm and user.frm) exists in /var/lib/mysql.
Does anyone have an idea how to get mysql work?
cya,
Tilo
Student of Computer Science at Chemnitz University of Technology
|[ Tilo Jandt, Vetterstra=DFe 70, Zi. 330, D-09126 Chemnitz ]| |[ mailto:[email protected] ] [ ICQ: 73832493 ]| |[ Phone: +49 179 5333 255 ] [ Fax: +49 89 2443 25531 ]|
Re: [parisc-linux] MySQL
Quoth Tilo Jandt:
Quoted 5 lines
020218 11:57:49 mysqld started
Cannot initialize InnoDB as 'innodb_data_file_path' is not set. If you do not want to use transactional InnoDB tables, add a line skip-innodb
to the [mysqld] section of init parameters in your my.cnf
Quoted 8 lines
or my.ini. If you want to use InnoDB tables, add for example,
innodb_data_file_path= ibdata1:30M
But to get good performance you should adjust for your hardware the InnoDB startup options listed in section 2 at
http://www.innodb.com/ibman.html
020218 11:57:51/usr/sbin/mysqld: Can't find file: './mysql/host.frm' (errno: 13)
020218 11:57:51 mysqld ended
The innodb warning you can easily fix by adding the 'skip-innodb' line as the text there suggests.
Quoted 25 lines
Preparing db table
Preparing host table
Preparing user table
Preparing func table
Preparingtables_privtable
Preparingcolumns_privtable
Installing all prepared tables
020218 11:57:41/usr/sbin/mysqld: Shutdown CompletePLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER ! This is done with:
/usr/bin/mysqladmin-u root -p password 'new-password'/usr/bin/mysqladmin-u root -h beta -p password 'new-password' See the manual for more instructions.Please report any problems with the
/usr/bin/mysqlbugscript!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.comERROR: 1017 Can't find file: './mysql/user.frm' (errno: 13) 020218 11:57:42
/usr/sbin/mysqld: Shutdown Complete
Quoted 7 lines
ERROR: 1017 Can't find file: './mysql/db.frm' (errno: 13)
ERROR: 1017 Can't find file: './mysql/db.frm' (errno: 13) 020218 11:57:44/usr/sbin/mysqld: Shutdown CompleteBut these files (db.frm and user.frm) exists in
/var/lib/mysql.Does anyone have an idea how to get mysql work?
This probably isn't a linux-hppa problem. Check:
- does /etc/mysql/my.cnf have the line "datadir = /var/lib/mysql"?
- are /var/lib/mysql and /var/lib/mysql/mysql owned by "mysql.mysql"?
- are the files in /var/lib/mysql/mysql mode 0660? (-rw-rw----)
If your mysqld is telling us the truth, then it's just having trouble getting to the files, either because it doesn't know where they are, it doesn't have permission to read them, or because on of the directories higher up the tree (eg /var/lib or /var/lib/mysql) is not accessable for the mysql user (+x).
Try this if you have sudo installed:
beta# sudo -u mysql ls -laR /var/lib/mysql
If the output all looks kosher then it's not an access and permissions problem, and you'll have to think of something else ...
Andrew.
Signature · 4 lines
Andrew Shugg <[email protected]> http://www.neep.com.au/ "Just remember, Mr Fawlty, there's always someone worse off than yourself." "Is there? Well I'd like to meet him. I could do with a good laugh."
Quoted 7 lines
Hi Dave,
Can you explain me how to get those sources. 'http://www.parisc-linux.org/toolchain/index.html', I would also need corresponding binutils and glibc sources?
Which release do I have do use to rebuild gcc-3.1 and how to get their src (if requested)?
J,
[Re: Numbers]
I think you might mean rebuilding gcc-3.0.1?
[Re: How to build]
You can take a look at:
http://www.parisc-linux.org/toolchain/PARISC-Linux-XC-HOWTO.html
Which has the detail for building binutils, gcc, glibc as a XC, but in general it's pretty much the same for most situations.
[Re: Locations]
binutils, glibc, gcc:
ftp://ftp.debian.org/debian/pool/main/b/binutils/
ftp://ftp.debian.org/debian/pool/main/g/glibc/
ftp://ftp.debian.org/debian/pool/main/g/gcc-3.0/ (New) ftp://ftp.debian.org/debian/pool/main/g/gcc-snapshot/ (VERY New)
You can change ftp.debian.org to match the closest mirror.
Get the latest source for everything and start compiling!
/me smiles
c.
Quoted 3 lines
So I try to figure out how to get sources but even on
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/ (no more chance on the ftp site) I do not find 3.1 branch.
There isn't a 3.1 branch yet. Just follow the instructions to checkout the main branch and you will get the latest approved code.
Dave
Signature · 2 lines
J. David Anglin [email protected] National Research Council of Canada (613) 990-0752 (FAX: 952-6605)