LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-05-2006, 02:22 PM   #1
robin.w
LQ Newbie
 
Registered: Mar 2006
Location: Czech Republic
Distribution: Kubuntu 6.06
Posts: 10

Rep: Reputation: 0
mysqld - /var/log/mysql/mysql-bin.index not found


Hello,

I've tried to start MySQL server on my Kubuntu 6.06 but I was unsuccesful. Does anybody know how to install missing files???
--------------------------------------------------------------
robin@ubuntu:/var/log/mysql$ mysqld
mysqld: File '/var/log/mysql/mysql-bin.index' not found (Errcode: 13)
060905 21:21:41 [ERROR] Aborting

060905 21:21:41 [Note] mysqld: Shutdown complete
 
Old 09-07-2006, 01:41 AM   #2
keyF
Member
 
Registered: Jan 2006
Location: Moscow
Distribution: Debian, RHEL, FreeBSD, CentOS
Posts: 38

Rep: Reputation: 15
how did you installed mysql? what is it's version?
does "robin" user have root rights?
try to start mysql under the "root" user. i guess it may help.
 
Old 05-07-2007, 12:16 PM   #3
gatoso
LQ Newbie
 
Registered: Apr 2006
Posts: 4

Rep: Reputation: 8
chown those files to mysql

If you get this error File '/var/log/mysql/mysql-bin.index' not found (Errcode: 13) you might want to try and chown -R mysql:mysql /var/log/mysql

Cheers
 
1 members found this post helpful.
Old 05-31-2007, 07:08 AM   #4
cvachac
LQ Newbie
 
Registered: May 2007
Posts: 1

Rep: Reputation: 0
Wink Re

I have FreeBSD 6.1 and i think it doesn't matter if it is Kubuntu or FreeBSD 6.1.
Probably you will have the same problem as I have. It is mysql_install_db.
I edit mysql_install_db. Then i run it(mysql_install_db).
Then you have to correct rights in /var/db/mysql/.
Unfortunately i didn't save
my edited mysql_install_db but i think i edit it ->>
------------------------------
user="" //line 13 user="mysql"
pkgdatadir=/usr/local/share/mysql //line 94 to /var/db/mysql //but i didn't it sure
--------------------------------------------
maybe somebody it save and help you.
The main problem is that mysql-bin.index is searched in different "directory" and it will error in *.err(it is not exist here) than you have to edit mysql_install_db and correct this problem.



Quote:
Originally Posted by robin.w
Hello,

I've tried to start MySQL server on my Kubuntu 6.06 but I was unsuccesful. Does anybody know how to install missing files???
--------------------------------------------------------------
robin@ubuntu:/var/log/mysql$ mysqld
mysqld: File '/var/log/mysql/mysql-bin.index' not found (Errcode: 13)
060905 21:21:41 [ERROR] Aborting

060905 21:21:41 [Note] mysqld: Shutdown complete
 
Old 05-04-2009, 08:50 AM   #5
guroo
LQ Newbie
 
Registered: May 2009
Posts: 1

Rep: Reputation: 0
solution:' mysql-bin.index' not found (error code :13)

dear

i had face same problem in Linux-4 with Mysql 5.0.
solution=1:
put "mysql-bin.index" in "/usr/local/mysql/bin/" directory.

or /usr/local/mysql/bin/mysql-bin.index

after this start mysql: /etc/init.d/mysql start

it will be work.

----------------
solution =2:
if you dont have this file then create one new file named as:>
"mysql-bin.index" and paste below content into this file.

./mysql-bin.000001
./mysql-bin.000002
./mysql-bin.000003
./mysql-bin.000004
./mysql-bin.000005
./mysql-bin.000006
./mysql-bin.000008
./mysql-bin.000001
./mysql-bin.000002
./mysql-bin.000003
./mysql-bin.000004
./mysql-bin.000005
./mysql-bin.000006
./mysql-bin.000007
./mysql-bin.000008
./mysql-bin.000009
./mysql-bin.000016

after this :
put "mysql-bin.index" in "/usr/local/mysql/bin/" directory.

or /usr/local/mysql/bin/mysql-bin.index

after this start mysql: /etc/init.d/mysql start

it will be work.
 
Old 02-10-2011, 01:00 AM   #6
cbtshare
Member
 
Registered: Jul 2009
Posts: 561

Rep: Reputation: 42
Quote:
Originally Posted by gatoso View Post
If you get this error File '/var/log/mysql/mysql-bin.index' not found (Errcode: 13) you might want to try and chown -R mysql:mysql /var/log/mysql

Cheers
Thanks alot, I had to sign in to tell you thanks...lol I was getting frustrated.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock welery Linux - Software 19 03-06-2014 07:19 AM
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. NoviceW Linux - Networking 16 12-10-2012 02:34 AM
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. suziecorbett Linux - Software 8 10-09-2008 01:52 AM
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 08:44 AM
MYSQL on Slackware9.0 ./mysqld: Can't change dir to '/var/lib/mysql/' (Errcode: 13) Litn Linux - Software 2 09-02-2003 09:00 PM


All times are GMT -5. The time now is 10:06 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration