Re: Starting NDBD at linux startup, how ?
to make it running in RHEL4. Its required to add some commented lines that are read by chkconfig for the linking of the run level and start/stop priority like:
# Comments to support chkconfig on RedHat Linux
# chkconfig: 2345 64 36
# description: ndbd startup
my ndbd file in the /etc/rc.d/init.d/ now looks like:
#!/bin/bash
# ndbd startup script
# Comments to support chkconfig on RedHat Linux
# chkconfig: 2345 64 36
# description: ndbd startup
export PATH=/usr/local/mysql/bin/:$PATH
echo "Starting ndb ..."
"ndbd"
#echo "Let ndb some time to get ready ..."
#sleep 5
#/etc/rc.d/init.d/mysql.server start
if you let mysql.server still start automaticly you should change the "# chkconfig: 2345 64 36" to # "chkconfig: 2345 63 37" so ndbd is started before mysql
Edited 1 time(s). Last edit at 02/22/2006 04:45PM by marcel haldemann.
Subject
Views
Written By
Posted
2841
February 22, 2006 04:07AM
Re: Starting NDBD at linux startup, how ?
2747
February 22, 2006 04:43PM
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.