Christian Hammers wrote:
Hello Blair

On 2005-08-14 Blair Zajac wrote:

Stopping MySQL database server: mysqld.

WARNING: /etc/mysql/ndb_mgmd.cnf cannot be read. See README.Debian.
Starting MySQL NDB cluster management server: 
ndb_mgmd/etc/init.d/mysql-ndb-mgm: line 34: start-stop-daemon: command not found
...failed.
       Please take a look at the syslog.
invoke-rc.d: initscript mysql-ndb-mgm, action "start" failed.


Strange, there should be a test -f /etc/mysql/ndb_mgmd.conf || exit 0
at the top of /etc/init.d/mysql-ndb-mgm. Can you check if that is the
case? The script is supposed to be called at startup but immediately exit
without doing anything if the config is not there.

Hello Christian,

There is this code, but it doesn't call exit in the test, so it continues

case "${1:-''}" in
  'start')
        # check for config file
        if [ ! -r $CONF ]; then
          /bin/echo -e "\nWARNING: $CONF cannot be read. See README.Debian."
        fi

Another thing. start-stop-daemon is located in /sbin/start-stop-daemon, but there is this line in the script

export PATH=/bin:/usr/bin

so start-stop-daemon cannot be found.

Finally, the file README.Debian doesn't mention ndb at all, so there's no information on what this new daemon is or what it does. Is there a file somewhere that people can look at?

Regards,
Blair


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to