Rocks Cluster : Bad FTP response

When you are trying to install a compute node (its already pass the Kickstart process), if suddenly your compute node returning "Bad FTP Response". Please, don't try too hard trying to figure out where the heck is the ftp daemon in your server (like I do). I spend the entire day to figure out why it is still got the statement. Please do like this (please, don't go look at Rocks Cluster mailing list. Sometimes, they give you lots of things to do before you can solve it. Follow my simple and easier step.

Please see the access.log and error.log in your /var/log/httpd/ directory. Look into the recent ones. Use tail will do.

192.168.0.254 - - [15/Aug/2007:14:17:58 +0800] "GET /install/rocks-dist/lan/i386/RedHat/base/updates.img HTTP/1.0" 403 330 "-" "-"
192.168.0.254 - - [15/Aug/2007:14:17:59 +0800] "GET /install/rocks-dist/lan/i386/RedHat/base/updates.img HTTP/1.0" 403 330 "-" "-"
192.168.0.254 - - [15/Aug/2007:14:18:00 +0800] "GET /install/rocks-dist/lan/i386/RedHat/base/updates.img HTTP/1.0" 403 330 "-" "-"
192.168.0.254 - - [15/Aug/2007:14:18:01 +0800] "GET /install/rocks-dist/lan/i386/RedHat/base/updates.img HTTP/1.0" 403 330 "-" "-"
192.168.0.254 - - [15/Aug/2007:14:18:02 +0800] "GET /install/rocks-dist/lan/i386/RedHat/base/updates.img HTTP/1.0" 403 330 "-" "-"
192.168.0.254 - - [15/Aug/2007:14:18:03 +0800] "GET /install/rocks-dist/lan/i386/RedHat/base/updates.img HTTP/1.0" 403 330 "-" "-"
192.168.0.254 - - [15/Aug/2007:14:18:04 +0800] "GET /install/rocks-dist/lan/i386/RedHat/base/updates.img HTTP/1.0" 403 330 "-" "-"
192.168.0.254 - - [15/Aug/2007:14:18:05 +0800] "GET /install/rocks-dist/lan/i386/RedHat/base/updates.img HTTP/1.0" 403 330 "-" "-"
192.168.0.254 - - [15/Aug/2007:14:18:06 +0800] "GET /install/rocks-dist/lan/i386/RedHat/base/updates.img HTTP/1.0" 403 330 "-" "-"
192.168.0.254 - - [15/Aug/2007:14:18:16 +0800] "GET /install/rocks-dist/lan/i386/RedHat/base/updates.img HTTP/1.0" 403 330 "-" "-"
192.168.0.254 - - [15/Aug/2007:14:18:17 +0800] "GET /install/rocks-dist/lan/i386/RedHat/base/updates.img HTTP/1.0" 403 330 "-" "-"
192.168.0.254 - - [15/Aug/2007:14:18:18 +0800] "GET /install/rocks-dist/lan/i386/RedHat/base/updates.img HTTP/1.0" 403 330 "-" "-"
192.168.0.254 - - [15/Aug/2007:14:18:19 +0800] "GET /install/rocks-dist/lan/i386/RedHat/base/updates.img HTTP/1.0" 403 330 "-" "-"
192.168.0.254 - - [15/Aug/2007:14:18:20 +0800] "GET /install/rocks-dist/lan/i386/RedHat/base/updates.img HTTP/1.0" 403 330 "-" "-"
192.168.0.254 - - [15/Aug/2007:14:18:21 +0800] "GET /install/rocks-dist/lan/i386/RedHat/base/updates.img HTTP/1.0" 403 330 "-" "-"
192.168.0.254 - - [15/Aug/2007:14:18:22 +0800] "GET /install/rocks-dist/lan/i386/RedHat/base/updates.img HTTP/1.0" 403 330 "-" "-"
192.168.0.254 - - [15/Aug/2007:14:18:23 +0800] "GET /install/rocks-dist/lan/i386/RedHat/base/updates.img HTTP/1.0" 403 330 "-" "-"
192.168.0.254 - - [15/Aug/2007:14:18:24 +0800] "GET /install/rocks-dist/lan/i386/RedHat/base/updates.img HTTP/1.0" 403 330 "-" "-"


In the access.log you will see that your node already get the file. But do it? Let's see the error.log.

[Wed Aug 15 14:17:58 2007] [error] [client 192.168.0.254] client denied by server configuration: /var/www/html/install/rocks-dist/lan/i386/RedHat/base/updates.img
[Wed Aug 15 14:17:59 2007] [error] [client 192.168.0.254] client denied by server configuration: /var/www/html/install/rocks-dist/lan/i386/RedHat/base/updates.img
[Wed Aug 15 14:18:00 2007] [error] [client 192.168.0.254] client denied by server configuration: /var/www/html/install/rocks-dist/lan/i386/RedHat/base/updates.img
[Wed Aug 15 14:18:01 2007] [error] [client 192.168.0.254] client denied by server configuration: /var/www/html/install/rocks-dist/lan/i386/RedHat/base/updates.img
[Wed Aug 15 14:18:02 2007] [error] [client 192.168.0.254] client denied by server configuration: /var/www/html/install/rocks-dist/lan/i386/RedHat/base/updates.img
[Wed Aug 15 14:18:03 2007] [error] [client 192.168.0.254] client denied by server configuration: /var/www/html/install/rocks-dist/lan/i386/RedHat/base/updates.img
[Wed Aug 15 14:18:04 2007] [error] [client 192.168.0.254] client denied by server configuration: /var/www/html/install/rocks-dist/lan/i386/RedHat/base/updates.img
[Wed Aug 15 14:18:05 2007] [error] [client 192.168.0.254] client denied by server configuration: /var/www/html/install/rocks-dist/lan/i386/RedHat/base/updates.img
[Wed Aug 15 14:18:06 2007] [error] [client 192.168.0.254] client denied by server configuration: /var/www/html/install/rocks-dist/lan/i386/RedHat/base/updates.img
[Wed Aug 15 14:18:16 2007] [error] [client 192.168.0.254] client denied by server configuration: /var/www/html/install/rocks-dist/lan/i386/RedHat/base/updates.img
[Wed Aug 15 14:18:17 2007] [error] [client 192.168.0.254] client denied by server configuration: /var/www/html/install/rocks-dist/lan/i386/RedHat/base/updates.img
[Wed Aug 15 14:18:18 2007] [error] [client 192.168.0.254] client denied by server configuration: /var/www/html/install/rocks-dist/lan/i386/RedHat/base/updates.img
[Wed Aug 15 14:18:19 2007] [error] [client 192.168.0.254] client denied by server configuration: /var/www/html/install/rocks-dist/lan/i386/RedHat/base/updates.img
[Wed Aug 15 14:18:20 2007] [error] [client 192.168.0.254] client denied by server configuration: /var/www/html/install/rocks-dist/lan/i386/RedHat/base/updates.img
[Wed Aug 15 14:18:21 2007] [error] [client 192.168.0.254] client denied by server configuration: /var/www/html/install/rocks-dist/lan/i386/RedHat/base/updates.img
[Wed Aug 15 14:18:22 2007] [error] [client 192.168.0.254] client denied by server configuration: /var/www/html/install/rocks-dist/lan/i386/RedHat/base/updates.img
[Wed Aug 15 14:18:23 2007] [error] [client 192.168.0.254] client denied by server configuration: /var/www/html/install/rocks-dist/lan/i386/RedHat/base/updates.img
[Wed Aug 15 14:18:24 2007] [error] [client 192.168.0.254] client denied by server configuration: /var/www/html/install/rocks-dist/lan/i386/RedHat/base/updates.img


The same date and time. See that the client is denied by the server. What's the heck is the configuration you may ask. Afraid not my young padawan. It is the httpd configuration. But is it? I spend 10 minutes reading httpd.conf until I read the last line.

include conf.d/rocks.conf

So, the httpd get another set of configuration from conf.d. So, lets see what are the files in conf.d.

-r--r--r-- 1 root root 361 Aug 15 21:51 411.conf
-r--r--r-- 1 root root 1417 Aug 15 21:52 central.conf
-r--r--r-- 1 root root 446 Aug 15 21:52 myadmin.conf
-rw-r--r-- 1 root root 448 Sep 21 2006 php.conf
drwxr-xr-x 2 root root 4096 Jun 27 09:07 RCS
-rw-r--r-- 1 root root 392 Aug 13 2006 README
-r--r--r-- 1 root root 774 Aug 15 21:50 rocks.conf
-r--r--r-- 1 root root 268 Jun 27 09:06 rocks-wordpress.conf
-rw-r--r-- 1 root root 10919 Aug 13 2006 ssl.conf
-rw-r--r-- 1 root root 299 Aug 13 2006 welcome.conf
-rw-r--r-- 1 root root 138 Sep 25 2006 wordpress.conf


You need to change central.conf, myadmin.conf and rocks.conf. Compare your private IP with the configuration file. Make sure the IP in the files is your private IP not your public IP. Try to retrieve the image again. I'm sure you will successfully retrieve the image.

Try it my young padawan. May the force be with you!

No comments: