About this list Date view Thread view Subject view Author view Attachment view

From: Arjen (arjen_at_renegade.demon.nl)
Date: Sun 15 May 2005 - 23:05:31 BST


On 15/5/05 23:44, "Werner Schalk" <werner_schalk_at_gmx.de> wrote:

> Hi,
>
> I am trying to set up a vserver with MySQL etc. However when I try to start
> MySQL inside the vserver I get the following error message:
>
> / # /etc/init.d/mysql stop
> * Stopping mysqld... [ !! ]
>
> / # /etc/init.d/mysql start
> * Starting mysqld... [ ok ]
>
> / # mysql
> ERROR 2002: Can't connect to local MySQL server through socket
> '/var/run/mysqld/mysqld.sock' (2)
>
> In the logfiles I get the following error message:
>
> 050526 02:39:24 mysqld started
> 050526 2:39:24 Can't start server : Bind on unix socket: Permission denied
> 050526 2:39:24 Do you already have another mysqld server running on
> socket: /var/run/mysqld/mysqld.sock ?
> 050526 2:39:24 Aborting

You'll have to bind it to the ip you gave your vserver instead of localhost,
it should be somewhere in the configfiles, googling for it might help too ;)

Cheers!
-Arjen
 
> I am using util-vserver 0.30.205-r1 on kernel 2.6.11.6-grsec-vs1.9.5 (Gentoo).
> What permissions do I have to grant to the vserver in order to make MySQL
> start successfully? Where do I have to set them?
>
> All the best & thanks,
> Werner.
> _______________________________________________
> Vserver mailing list
> Vserver_at_list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver

_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sun 15 May 2005 - 23:05:55 BST by hypermail 2.1.3