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