Package: mysql-server-5.0
Version: 5.0.11beta-3
Kernel version: 2.6.8-2-686
libc6 version: 2.3.5-6
Debian etch up to date (2005-09-05)
The MySql ndbd engine script (/etc/init.d/mysql-ndb) doesn't work right
out the box. I detected 2 problems.
1. Starting transcript:
node2:~# /etc/init.d/mysql-ndb start
tarting MySQL NDB cluster server: ndbd/etc/init.d/mysql-ndb: line 38:
start-stop-daemon: command not found
...failed.
Please take a look at the syslog.
I solved this updating the path from "export PATH=/bin:/usr/bin" to
"export PATH=/bin:/usr/bin:/sbin:/usr/sbin", as start-stop-daemon lives
in the /sbin folder.
2. Stopping transcript:
node2:/# /etc/init.d/mysql-ndb stop
Stopping MySQL NDB cluster management server: ndbdNo /usr/sbin/ndbd
found running; none killed.
...failed.
but ndbd engine is running:
node2:/# ps aux | grep ndbd
root 2669 0.0 0.1 7460 280 ? Ss 17:20
0:00 /usr/sbin/ndbd
root 2670 1.9 76.6 1271592 196848 ? Sl 17:20
0:30 /usr/sbin/ndbd
The failed command that the script tries to execute is:
"start-stop-daemon --stop --exec /usr/sbin/ndbd
--pidfile /var/run/ndbd.pid"
It works removing manually the pidfile tag:
"start-stop-daemon --stop --exec /usr/sbin/ndbd"
I checked if "/var/run/ndbd.pid" was there while the engine was running
and it was there... and it is removed when ndbd is stopped, so it seems
ok...
Thank you!
Quim Calpe
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]