LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 10-28-2005, 11:32 AM   #1
nmotte
LQ Newbie
 
Registered: Jul 2005
Posts: 4

Rep: Reputation: 0
Please Help, Linux mysql nfs : Bind on unix socket: Function not implemented


Hi everybody

Thanks to read this thread and help me if you can

I have installed Mysql on red hat ES release 3 and i was working great.

For my applications, I decided to to put the data directory on another machine. The other machine is a big disk of storage (Adaptec snap server 1 terabyte)
It working great for all applications except Mysql

In fact, i put /var/lib/mysql on another machine and I made a nfs mount

When i try to start mysql i have this :

/etc/rc.d/init.d/mysqld start
Timeout error occurred trying to start MySQL Daemon.
Starting MySQL: [FAILED]

in the error message i have this

051028 11:12:33 mysqld started
051028 11:12:33 Can't start server : Bind on unix socket: Function not implemented
051028 11:12:33 Do you already have another mysqld server running on socket: /var/lib/mysql/mysql.sock ?
051028 11:12:33 Aborting

051028 11:12:33 /usr/libexec/mysqld: Shutdown Complete

051028 11:12:33 mysqld ended

I have verified the permission and everything seems to be ok

I can not find what it is wrong so suggestions are welcome !
 
Old 10-29-2005, 01:52 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 51
while i can't follow exactly what you said local UNIX-domain sockets are different than remote Internet-domain ones
local sockets are sun_family AF_LOCAL/AF_UNIX and since they are local they only require a file path like
/var/lib/mysql/mysql.sock
only processes running on the same machine can compunicate with a local namespace socket.

sockets connecting proceses over a network connection of any kind would have to be family PF_INET
and require aditional features like network transmition protocols machine names port numbers and junk like that.

this is from the bind() api description (BSD)
Code:
[ENOSYS] 	Function not implemented.

This error code is only returned on sockets that use the AF_UNIX or AF_UNIX_CCSID or AF_UNIX_CCSID address family.
not that that is alot of help but it does point to the fact that the function call is trying to implement a local not network socket.

Last edited by foo_bar_foo; 10-29-2005 at 03:38 PM.
 
  


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
QM_MODULES function not implemented pike Linux - General 4 12-22-2005 07:03 AM
Please Help, Linux mysql nfs : Bind on unix socket: Function not implemented nmotte Linux - Networking 1 10-29-2005 08:58 AM
lockdsvc: Function not implemented Yalla-One Slackware 4 10-05-2005 01:48 PM
2.6.3 swapon - function not implemented Sammy2ooo Linux - General 3 03-10-2004 08:08 AM
nfssvc: Function not implemented SiliconBadger Linux - Networking 5 05-14-2002 02:20 PM


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

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration