-   Linux - Newbie (
-   -   Please Help, Linux mysql nfs : Bind on unix socket: Function not implemented (

nmotte 10-28-2005 10:32 AM

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 !

foo_bar_foo 10-29-2005 12:52 PM

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
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)

[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.

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