LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-15-2008, 10:45 AM   #1
raixun
LQ Newbie
 
Registered: Jun 2008
Location: Istanbul
Distribution: slackware
Posts: 22

Rep: Reputation: 15
mysqld cannot start


mysql@darkstar:/usr/local/mysql/libexec$ ./mysqld
080916 21:44:51 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
080916 21:44:51 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
080916 21:44:51 InnoDB: Started; log sequence number 0 43655
080916 21:44:51 [ERROR] Can't start server : Bind on unix socket: Permission denied
080916 21:44:51 [ERROR] Do you already have another mysqld server running on socket: /var/run/mysql/mysql.sock ?
080916 21:44:51 [ERROR] Aborting

080916 21:44:51 InnoDB: Starting shutdown...
080916 21:44:52 InnoDB: Shutdown completed; log sequence number 0 43655
080916 21:44:52 [Note] ./mysqld: Shutdown complete

mysql@darkstar:/usr/local/mysql/libexec$

??
 
Old 09-15-2008, 12:03 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Quote:
080916 21:44:51 [ERROR] Can't start server : Bind on unix socket: Permission denied
080916 21:44:51 [ERROR] Do you already have another mysqld server running on socket: /var/run/mysql/mysql.sock ?
080916 21:44:51 [ERROR] Aborting
Sure you don't have another instance of mysqld running? Do you have permission to create a file of that name for the UNIX socket?
 
Old 09-15-2008, 12:30 PM   #3
ShaqDiesel
Member
 
Registered: Jul 2005
Posts: 144

Rep: Reputation: 15
what does ps -ef | grep mysql give you? This lists your currently running processes, so look at that and see if you have two instances of mysql running.
 
Old 09-16-2008, 03:06 AM   #4
raixun
LQ Newbie
 
Registered: Jun 2008
Location: Istanbul
Distribution: slackware
Posts: 22

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Matir View Post
Do you have permission to create a file of that name for the UNIX socket?
how can i create it ? im new on linux

------------------------------------------------------------------
mysql@darkstar:/usr/local/mysql/libexec$ ps -ef |grep mysql
mysql 3740 3736 0 14:00 pts/3 00:00:00 sh
mysql 3744 3740 0 14:00 pts/3 00:00:00 ps -ef
mysql 3745 3740 0 14:00 pts/3 00:00:00 grep mysql
mysql@darkstar:/usr/local/mysql/libexec$
------------------------------------------------------------------
 
Old 09-16-2008, 06:54 AM   #5
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
What does ls -l /var/run/mysql/mysql.sock give you? Also, ls -ld /var/run/mysql. MySQL will create the socket for you, if the user starting MySQL has the necessary permissions.
 
  


Reply



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
MYsqld start problem rinos Linux - Server 1 06-23-2008 04:05 AM
mysqld does not start (FC6) prabhatsoni Linux - Software 2 01-10-2007 03:14 AM
How to start mysqld with the --old-passwords option ? alphaque Linux - Software 2 12-01-2004 07:54 PM
how can i start mysqld? yenonn Slackware 6 11-28-2003 09:32 PM
mysqld start linuxRules Linux - General 1 07-21-2002 03:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:22 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration