OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: mysql won't start with service, but starts with mysqld_safe

From: Frédéric Descamps (lefredpercona.com)
Date: Mon Feb 06 2012 - 14:57:03 CST


Hi,

check your audit.log if you have selinux enabled

On Sat, 2012-02-04 at 17:57 -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 could be going on here?
>
> -larry
>

--
Frédéric Descamps, Consultant, Percona Inc.
Mob: +32 495698668 (CET)
Skype: lefred.descamps
Jabber: lefred.descampsgmail.com

24/7 Emergency Line +1 888 401 3401 ext 911

Our Services: http://www.percona.com/services.html
Our Blog: http://www.mysqlperformanceblog.com/

Percona Training Workshops: http://www.percona.com/training/

Percona Live MySQL Conference April 10-12 Santa Clara
http://www.percona.com/live/mysql-conference-2012/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEcBAABAgAGBQJPMD6fAAoJEASSqLQ+QBSHlEwH+wQuoJbRm8eNniuD6sCa54ba
v9qrds+GL0R5D9BocnnYBtZPmuQQ6rgvsJ16vKXBBcPnbNQICkXzsAoOQKiJfwMJ
kS738oQRxJ3hdWapNqIuOAdNz4AhotIWLQnoQ+grshU/d2HQ4JDJvhUCMcRRA4I3
jfHdbKjRMj3cnP3LSQWEcR6uTNX9QOYpnjN41KYQAw8OxqX9P3CKOgAV+YZ7g5fO
WANHPtTcFLwrdxV2UF2cyPKOvUhlSdhW+lpk3SyW+ZoD9DbmsYAXHyQQMoxMeDev
Z0/Kt8KcGvUIXrdT5PPOi+/n7Diq7T3xCRYNhRr9Zifi5G3R01VYpcNOcjwpLKM=
=dinV
-----END PGP SIGNATURE-----