Re: Problem with system tables

2005-02-28 Thread Gleb Paharenko
Hello.



 /usr/sbin/mysqld: File '/var/mysql-bin.03' not found (Errcode: 13)



[EMAIL PROTECTED] mysql-debug-4.1.10-pc-linux-gnu-i686]$ perror 13

Error code  13:  Permission denied



I suggest you to check the permissions on your directories.







Leo [EMAIL PROTECTED] wrote:

 [-- text/plain, encoding 7bit, charset: us-ascii, 38 lines --]

 

 Hi, I'm working on a Linux Red Hat 7 (core 2.4.2-2), with Apache 2.0.53, PHP 
 5.0.3 and I'm trying to upgrade MySQL to version 4.1.10 with the rpms (I 
 downloaded all of them). When i try to install, it reports a couple of errors 
 here is screen shot

 

 sudo rpm --install -vv --force MySQL*.rpm

 

 [...]

 

 + mysql_install_db --rpm --user=mysql

 050226 12:28:01 [Warning] Asked for 196608 thread stack, but got 126976

 /usr/sbin/mysqld: File '/var/mysql-bin.03' not found (Errcode: 13)

 050226 12:28:01 [ERROR] Could not use /var/mysql-bin for logging (error 13). 
 Turning logging off for the whole duration of the MySQL server process. To 
 turn it on again: fix the cause, shutdown the MySQL server and restart it.

 050226 12:28:01 [ERROR] Aborting

 050226 12:28:01 [Note] /usr/sbin/mysqld: Shutdown complete

 Installation of system tables failed!

 Examine the logs in /var/lib/mysql for more information.

 You can also try to start the mysqld daemon with:

 /usr/sbin/mysqld --skip-grant 

 You can use the command line tool

 /usr/bin/mysql to connect to the mysql

 database and look at the grant tables:

 shell /usr/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/lib/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/bin/mysqlbug script!

 + chown -R mysql /var/lib/mysql

 + chmod -R og-rw /var/lib/mysql/mysql

 + /etc/init.d/mysql start

 



 -

 Do you Yahoo!?

 Yahoo! Mail - Easier than ever with enhanced search. Learn more.



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.NET http://www.ensita.net/
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /Gleb Paharenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.NET
   ___/   www.mysql.com




-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Problem with system tables

2005-02-26 Thread Leo
Hi, I'm working on a Linux Red Hat 7 (core 2.4.2-2), with Apache 2.0.53, PHP 
5.0.3 and I'm trying to upgrade MySQL to version 4.1.10 with the rpms (I 
downloaded all of them). When i try to install, it reports a couple of errors 
here is screen shot
 
sudo rpm --install -vv --force MySQL*.rpm
 
[...]

+ mysql_install_db --rpm --user=mysql
050226 12:28:01 [Warning] Asked for 196608 thread stack, but got 126976
/usr/sbin/mysqld: File '/var/mysql-bin.03' not found (Errcode: 13)
050226 12:28:01 [ERROR] Could not use /var/mysql-bin for logging (error 13). 
Turning logging off for the whole duration of the MySQL server process. To turn 
it on again: fix the cause, shutdown the MySQL server and restart it.
050226 12:28:01 [ERROR] Aborting
050226 12:28:01 [Note] /usr/sbin/mysqld: Shutdown complete
Installation of system tables failed!
Examine the logs in /var/lib/mysql for more information.
You can also try to start the mysqld daemon with:
/usr/sbin/mysqld --skip-grant 
You can use the command line tool
/usr/bin/mysql to connect to the mysql
database and look at the grant tables:
shell /usr/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/lib/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/bin/mysqlbug script!
+ chown -R mysql /var/lib/mysql
+ chmod -R og-rw /var/lib/mysql/mysql
+ /etc/init.d/mysql start


-
Do you Yahoo!?
 Yahoo! Mail - Easier than ever with enhanced search. Learn more.