[CentOS] mysql won't start with service, but starts with mysqld_safe
Duncan Hutty
dhutty at allgoodbits.org
Mon Feb 6 15:02:02 UTC 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 2/5/12 4:22 PM, Larry Martell wrote:
> On Sun, Feb 5, 2012 at 11:58 AM, Larry Martell
> <larry.martell at gmail.com> wrote:
>> On Sun, Feb 5, 2012 at 10:31 AM, Tait Clarridge <tait at taiter.com>
>> wrote:
>>>
>>>
>>> On Sat, 2012-02-04 at 17:15 -0700, Larry Martell wrote:
>>>> Just installed mysql on centos 6.2. When I try to start it
>>>> with service I get:
>>>>
>>>> #service mysqld start MySQL Daemon failed to start. Starting
>>>> mysqld: [FAILED]
>>>>
>>>> Nothing at all is written to the error log.
>>>>
>>>> But if I start it with mysqld_safe it comes up and works
>>>> fine.
>>>>
>>>> Anyone know what's going on here?
>>>
>>> Did it hang while trying to start? Or was it an immediate
>>> failure.
>>
>> Immediate - the 'MySQL Daemon failed to start' message comes out
>> right away.
>>
>> I was curious as to exactle what 'service mysqld start' did (as
>> opposed to mysqld_safe, which works) so I traced it. Really
>> didn't glean anything useful from it - perhaps someone will see
>> something meaningful:
I think you want strace -f to Follow the process's children.
- --
Duncan Hutty
http://www.allgoodbits.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk8v62oACgkQCFuTFybf1wo+2wCaA7nPOXV2aK6K+j4cCL0wmbhh
DiwAni+uPuwS8WK6VmXSzwu+VkVNpae3
=T966
-----END PGP SIGNATURE-----
More information about the CentOS
mailing list