mysql silently failing to start - suggestions?

Greg Larkin glarkin at FreeBSD.org
Mon Feb 1 14:43:15 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John wrote:
> If this isn't the right list - if I should try another let me know -
> but since this is the mysql-server-5.4.2 package, and since you
> folks have been so helpful, I thought I'd give it a go.
> 
> Anyway, the system is 8.0-RELEASE and that package is installed,
> and I can't start the server.  Not only can I not start the server,
> but it's not giving me a clue.  I can't find anything anywhere.
> Not in /var/log/messages, not anywhere.  When I run
>     /usr/local/etc/rc.d/mysqlserver start
> it says "Starting mysql.", pauses for several seconds (I don't see
> anything go by in "top") and then the script exits.  At that point,
> one would expect, there's no /tmp/mysql.sock, there's nothing
> in messages or anywhere else.  With nothing to go on, well, I don't
> know where to start.  Any suggestions?

Hi John,

If I'm having problems with an rc.d script, I'll invoke it with shell
verbosity turned on so I can see exactly what commands are executing.
You might try that if the other posted suggestions don't fix the problem.

Invoke the script like this:

sh -x /usr/local/etc/rc.d/mysqlserver start

Hope that helps,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/           - The Power To Serve
http://www.sourcehosting.net/     - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFLZuh80sRouByUApARAvx3AKDBf2N7AL6bdGwB7xstpcLmrAE2dwCgmWkD
o2I1yIPXWEaOx4zFl5sl3bM=
=P/dg
-----END PGP SIGNATURE-----



More information about the freebsd-questions mailing list