Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 24th April 2007, 11:26
gavino gavino is offline
Junior Member
 
Join Date: Apr 2007
Location: Brisbane Australia
Posts: 8
Thanks: 1
Thanked 0 Times in 0 Posts
Default LAMP System Fedora Core 6 MySQL start error

Hi
I was following the tutorial by Falko A LAMP System With Fedora Core 6 and I get to paragraph 9 MySQL (5.0) and try to start mysqld as follows:

[root@aimsafe ~]# /etc/init.d/mysqld start
Timeout error occurred trying to start MySQL Daemon.
Starting MySQL: [FAILED]

I have google for days but still don't know what to do. I am newbie. I think
I am root, I only have root user as far as I know. I don't know where to
find the <hostname>.err log. or the sqld data directory. I used locate command ie locate / -name mysql*.err but nothing.

Any suggestions appreciated.
Thanks..gavino
Reply With Quote
Sponsored Links
  #2  
Old 25th April 2007, 13:24
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

What's the output of
Code:
netstat -tap
? Do you find any MySQL errors in the logs in /var/log/?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 26th April 2007, 08:14
gavino gavino is offline
Junior Member
 
Join Date: Apr 2007
Location: Brisbane Australia
Posts: 8
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hi there

What's the output of netstat -tap
Typed up as follows:

[root@aimsafe ~]# netstat -tap

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address Stat
e PID/Program name
tcp 0 0 *:sunrpc *:* List
EN 1594/portmap
tcp 0 0 *:946 *:* List
EN 1612/rpc.statd
tcp 0 0 localhost.localdomai:domain *:* List
EN 1572/named
tcp 0 0 localhost.localdomain:ipp *:* List
EN 1769/cupsd
tcp 0 0 localhost.localdomain:smtp *:* List
EN 2040/sendmail: acce
tcp 0 0 localhost.localdomain:rndc *:* List
EN 1572/named
tcp 0 0 aimsafe.programs.com:domain *:* List
EN 1572/named
tcp 0 0 *:ssh *:* List
EN 1777sshd
tcp 0 0 aimsafe.programs.com:ipp *:* List
EN 1769/cupsd
tcp 0 0 aimsafe.programs.com:rndc *:* List
EN 1572/named

---------------------------------------------------
Do you find any MySQL errors in the logs in /var/log/?
Yes. I have typed log out as follows:

070427 01:55:50 mysqld started
^G/usr/libexec/mysqld: Can't read dir of '/tmp/' (Errcode: 13)
^G/usr/libexec/mysqld: Can't create/write to file '/tmp/ib2AsGQr' (Errcode: 13)
070427 1:55:51 InnoDB: Error: unable to create temporary file; errno: 13
070427 1:55:51 [ERROR] bdb: /var/lib/mysql: Permission denied
070427 1:55:51 [ERROR] bdb: /var/lib/mysql/log.0000000001: Permission denied
070427 1:55:51 [ERROR] bdb: PANIC: Permission denied
070427 1:55:51 [ERROR] bdb: PANIC: DB_RUNRECOVERY: Fatal error, run database recovery
070427 1:55:51 [ERROR] bdb: fatal region error detected; run recovery
070427 1:55:51 [ERROR] bdb: /var/lib/mysql: Permission denied
070427 1:55:51 [ERROR] Can't start server : Bind on unix socket: Permission denied
070427 1:55:51 [ERROR] Do you already have another mysqld server running on socket: /var/lib/mysql/mysql.sock ?
070427 1:55:51 [ERROR] Aborting

070427 1:55:51 [Note] /usr/libexec/mysqld: Shutdown complete

070427 01:55:51 mysqld ended

Regards..Gavino
Reply With Quote
  #4  
Old 26th April 2007, 10:29
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,202
Thanks: 829
Thanked 5,420 Times in 4,262 Posts
Default

Your /tmp directory seems to be not writable or full. Please post the output of:

df -h

and

ls -la /tmp
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 27th April 2007, 05:14
gavino gavino is offline
Junior Member
 
Join Date: Apr 2007
Location: Brisbane Australia
Posts: 8
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Thanks Till, Here are output of [df -h] & [ls -la /tmp]:

# df -h
-------
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
72G 2.3G 66G 4% /
/dev/hda1 99M 11M 84M 12% /boot
tmpfs 125M 0 125M 0% /dev/shm

# ls -la /tmp
----------
total 32
drwxrwxrwt 4 root root 4096 Apr 27 19:33 .
d-w-------23 root root 4096 Apr 27 19:32 ..
drwxrwxrwt 2 root root 4096 Apr 27 19:33 .font-unix
drwxrwxrwt 2 root root 4096 Apr 27 19:32 .ICE-unix
d-w------- 1 root root 1024 Apr 27 19:30 .rnd


[off topic..I can't use the tab key to line up columns, so its jumbled, how to do it?]
Regards..gavino

Last edited by gavino; 27th April 2007 at 05:30.
Reply With Quote
  #6  
Old 27th April 2007, 14:21
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

What's the output of
Code:
ls -la /
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
configuring IPTABLES firewall adityavpratap HOWTO-Related Questions 9 27th May 2006 21:42
Frustrated with ISPConfig install! woozyerdaddee Installation/Configuration 4 19th May 2006 03:38
Installation Fails... :( cyberstorm Installation/Configuration 1 15th January 2006 18:07
Could not make OpenSSL yontengyatso Installation/Configuration 3 3rd November 2005 10:50
Install stop at uuwish, UUDeview SeaWolf Installation/Configuration 6 4th October 2005 23:53


All times are GMT +2. The time now is 23:27.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.