MySQL Forums
Forum List  »  Install & Repo

Re: not starting after install
Posted by: Lenz Grimmer
Date: December 01, 2005 05:42AM

Hi,

Mike Rappe wrote:

> cd /etc/init.d
> # bash mysql start
>
> I get this message.
>
> Starting MySQLmysql: line 276: log_failure_msg:
> command not found
>
> this is line 276 in vim:
>
> log_failure_msg "Couldn't find MySQL manager or
> server"
>
> what is missing?

Interesting, log_failure_msg() is a shell function that should be defined somewhere on top of this init script:

[SNIP]
lsb_functions="/lib/lsb/init-functions"
if test -f $lsb_functions ; then
source $lsb_functions
else
log_success_msg()
{
echo " SUCCESS! $@"
}
log_failure_msg()
{
echo " ERROR! $@"
}
fi
[SNIP]

This may be a bug. Does that part exist in your script? Could you run "bash -x /etc/init.d/mysql start" to get a debug trace of what's going on? I assume /lib/lsb/init-functions does not exist or is incomplete.

Bye,
LenZ

Lenz Grimmer - MySQL Community Relations Manager - http://de.sun.com/
Sun Microsystems GmbH, Sonnenallee 1, 85551 Kirchheim-Heimstetten, DE
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels
Vorsitz d. Aufsichtsrates: Martin Haering AG Muenchen: HRB161028

Options: ReplyQuote


Subject
Written By
Posted
November 29, 2005 05:54PM
Re: not starting after install
December 01, 2005 05:42AM
December 01, 2005 11:52AM
December 01, 2005 04:00PM
December 01, 2005 08:49PM
December 02, 2005 05:50AM
December 02, 2005 05:32AM
December 02, 2005 01:07PM
December 05, 2005 03:10AM
December 05, 2005 05:01PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.