Can't start server : Bind on unix socket: Permission denied

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Can't start server : Bind on unix socket: Permission denied

Postby nat101sql » 24. January 2006 18:59

I happily and succesfully installed XAMPP 1.5.1 on Fedora Core 4, and it worked great.
I copied my mysql 4.x data(myisam) over to /opt/var/lampp/mysql and great! Aok. nice. I was able to browse the data, both with the mysql gui client and with the phpmysql admin console. Again very nice!
1. I added users to mysql.
2. Deleted the anonymous user from mysql.
3. Ran the security script.
4. chown to mysql. chgrp to adm. (all required users are part of the adm group.)
5. chmod to give ALL rights to owner and group.
When I started XAMPP, mysql complained about some rights. So, I gave ALL rights also to other. (Very safe!<g>) Mysql then DID come up, but it informed me that ignored my.cnf because it was not secure. So, I removed rwx from o and now:
1) mysql.sock does not exist.
2) I get the following in the log:

Code: Select all
060124 12:29:29  mysqld started
060124 12:29:30 [ERROR] Can't start server : Bind on unix socket: Permission denied
060124 12:29:30 [ERROR] Do you already have another mysqld server running on socket: /opt/lampp/var/mysql/mysql.sock ?
060124 12:29:30 [ERROR] Aborting

060124 12:29:30 [Note] /opt/lampp/sbin/mysqld: Shutdown complete

060124 12:29:30  mysqld ended

Also, quuerly enought the log file is created by user nobody. Oh, and I did go into the mysql script, and changed the user to mysql
Posts: 1
Joined: 24. January 2006 18:35

Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 4 guests