Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 11-16-2008, 03:04 PM   #1
LQ Newbie
Registered: Nov 2008
Posts: 2

Rep: Reputation: 0
Unhappy MySQL 5.0.27 + Fedora 6, Cannot Start Service

Hi! I've been trying to start MySQL server service that comes with Fedora 6 without any success.

I'm getting the following error:

Timeout error occurred trying to start MySQL Daemon.

This is the log file:

081116 17:54:42 mysqld started
/usr/libexec/mysqld: Can't read dir of '/tmp/' (Errcode: 13)
/usr/libexec/mysqld: Can't create/write to file '/tmp/ibe21uGt' (Errcode: 13)
081116 17:54:42 InnoDB: Error: unable to create temporary file; errno: 13
081116 17:54:42 [ERROR] bdb: /var/lib/mysql: Permission denied
081116 17:54:42 [ERROR] bdb: /var/lib/mysql/log.0000000001: Permission denied
081116 17:54:42 [ERROR] bdb: PANIC: Permission denied
081116 17:54:42 [ERROR] bdb: PANIC: DB_RUNRECOVERY: Fatal error, run database recovery
081116 17:54:42 [ERROR] bdb: fatal region error detected; run recovery
081116 17:54:42 [ERROR] bdb: /var/lib/mysql: Permission denied
081116 17:54:42 [ERROR] Can't start server : Bind on unix socket: Permission denied
081116 17:54:42 [ERROR] Do you already have another mysqld server running on socket: /var/lib/mysql/mysql.sock ?
081116 17:54:42 [ERROR] Aborting
081116 17:54:42 [Note] /usr/libexec/mysqld: Shutdown complete
081116 17:54:42 mysqld ended

I've granted all access to tmp directory by chmod 777 and I'm still getting an error...

Any help would be much appreciated!!!
Old 11-17-2008, 03:31 AM   #2
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
From the error there may be a hung mysql process as the socket is in use. check the ownership of /var/lib/mysql, are u using the init script to do this ?
Old 11-17-2008, 12:56 PM   #3
LQ Newbie
Registered: Nov 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Hi.. I granted all premisions to the folder /var/lib/mysql and I'm still getting the same error
drwxrwxrwx 5 mysql mysql 4096 nov 16 17:54 mysql

I do not have a /var/lib/mysql/mysql.sock file in my filesystem
Regarding your other question I'm using this script to start the service:

/etc/init.d/mysqld start

I don't know what else to do


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
Fedora 9:No mysql.sock file found. Cannot start mysql smilingbuddha Linux - Software 3 03-21-2009 04:06 AM
fedora 8: service ldap start OK.. or is it? srarcade Linux - General 4 05-02-2008 08:11 AM
Problem with httpd service start with Fedora 8 man0v Linux - Server 3 04-03-2008 08:40 AM
service can not start mysql dfw123 Linux - Server 0 04-25-2007 05:05 PM
Making a program/service ( MySQL ) start up on boot ( FC3 ) karmazilla Fedora 6 06-27-2005 11:19 AM > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 08:59 PM.

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