From: Eje Gustafsson (macahan_at_fament.com)
Date: Mon 07 Jul 2003 - 02:22:06 BST
I had similar problems before with mysql on my Redhat 8 machine turned
out the mysql server on the redhat machine was busted reinstall of
mysql fixed it I think..
Check the archives my original posts should be in there from 3-4
months ago.
Best regards,
Eje Gustafsson mailto:MacAhan_at_fament.com
The Family Entertainment Network http://www.fament.com
Phone : 620-231-7777 Fax : 620-231-4066
- Your Full Time Professionals -
Mikrotik OEM dealer - Online Store http://www.fament.com/catalog/
-- dgd> hi Herbert,dgd> i tried it with --socket but then it tells me:
dgd> mysqld: File '/var/log/mysql/mysql.log' not found (Errcode: 13) dgd> 030203 5:20:08 Could not use /var/log/mysql/mysql.log for logging (error dgd> 13) dgd> 030203 5:20:08 mysqld: Can't create/write to file dgd> '/var/run/mysqld/mysqld.pid' (Errcode: 13) dgd> 030203 5:20:08 mysqld: Can't find file: './mysql/host.frm' (errno: 13) dgd> 030203 5:20:08 mysqld: Error on delete of '/var/run/mysqld/mysqld.pid' dgd> (Errcode: 2)
dgd> all this files exist. And they are accessible by the user ( also tried with dgd> root )
dgd> With CAPS i mean the vserver specific CAPS in vserver config files.
dgd> But normaly mysql is workable on vserver kernel 2.4.21 with ctx 17 and dgd> vquota patch or ?
dgd> Greetings
dgd> Oliver
dgd> -----Original Message----- dgd> From: Herbert Poetzl [mailto:herbert_at_13thfloor.at] dgd> Sent: Sonntag, 6. Juli 2003 21:40 dgd> To: vserver_at_solucorp.qc.ca dgd> Subject: Re: [vserver] mysql startup error
dgd> On Sun, Jul 06, 2003 at 07:36:39PM +0200, desman_at_gmx.de wrote: >> hi,
dgd> Hi Oliver!
>> 030203 2:57:23 Can't start server : Bind on unix socket: Permission dgd> denied >> 030203 2:57:23 Do you already have another mysqld server running on >> socket: /var/run/mysqld/mysqld.sock ? >> 030203 2:57:23 Aborting >> >> 030203 2:57:23 mysqld: Shutdown Complete >> >> i`m using bind-address directive in my.cnf on Debian 3.0R1 >> >> mysqld Ver 3.23.49 for pc-linux-gnu on i686 >> >> >> How to solve this ?
dgd> probably it is what mysql tries to tell you dgd> 'Bind on unix socket: Permission denied'
dgd> try to start it in the following way (just for a test)
dgd> # su - mysql (or whatever user mysql is run as) dgd> # /path/to/mysqld --socket=/tmp/x
dgd> if it reports something about cannot bind to port dgd> then there is another mysql daemon (or something at dgd> its port) running, if it works, check the path to dgd> /var/run/mysqld/mysqld.sock as this user ...
>> I think it`s anything with the CAPS but i haven`t found any list of >> available CAPS
dgd> /usr/include/linux/capability.h
dgd> HTH, dgd> Herbert
>> Greetings >> >> Oliver >>
-- [This E-mail scanned for viruses by Declude Virus]