Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-22-2012, 12:05 PM   #1
LQ Newbie
Registered: Nov 2012
Posts: 6

Rep: Reputation: Disabled
Angry RHL 6.0 Unable to download the Kickstart file/ Error downloading kickstart file

I am trying to install Redhat over the network via http as it has mentioned in the book.
I did following steps:
1.service httpd start [o.k]
2.chkconfig httpd on
3.mkdir /var/www/pub
4.mount /dev/cdrom /mnt
5.cp -vR /mnt/* /var/www/pub/
6.mkdir /var/www/pub/kickstart
7. I do not have tree command so I can't see the directory structure
8. touch /var/www/pub/kickstart/abc.cfg

This is my abc.cfg
lang en_US.UTF-8
keyboard us
key --skip
url --url
network --device eth0 --hostname Client01 --bootproto static --ip
--netmask --gateway --nameserver
rootpw --iscrypted <encrypt_password>
firewall --enabled --port=22:tcp
timezone --utc America/New_york
bootloader --location=mbr --driveorder=sda
clearpart --drives=sda --all --initlabel
part /boot --fstype ext3 --size=100
part / --fstype ext3 --size=5000
part swap --size=1000
part /home --fstype ext3 --size=100 --grow

My 1ST iptables:
A INPUT -p tcp m state --state NEW m tcp --dport 22 j ACCEPT
A INPUT -p tcp m state --state NEW m tcp --dport 80 j ACCEPT

A Forward -m physdev --physdev-is-bridged j ACCEPT
A INPUT -j REJECT --reject-with icmp-host-prohibited
A Forward -j REJECT --reject-with icmp-host- prohibited
I also tried some other iptables as someone suggested me, but kickstart is not working.

on boot prompt I am passing this command:

boot: linux ks= append ip= netmask=

I am getting this error:
" Unable to download the kickstart file. Please modify the kickstart parameter below or press cancel to proceed as an interactive instalation"

My home network setup:
I have internet modem/router:
default gateway:
I have conected one 24 port switch with internet router/modem. All other pcs are connected with switch.
they are getting ip address in the range of -

I have one physical machine with windows 7. Vmware 9 workstation is running in this pc. I have installed 4 Redhat linux enterprize edition servers on vmware.ALL 4 VM machines can ping and send data to each other. Network setup looks ok for these machines.

I am trying to install another linux on vmware via network using kickstart. I am using one of virtyal server RHL0SM001 for kickstart setup and want to install virtual client machine RHL0CM001 through network via kickstart file. But I am getting errorunable to download kickstart file.

AT the boot prompt new client machine (RHL0CM001)can ping server machine i.e RHL0SM001.

What I don't have:
I do not have ftp package in my machine. so I can not try with ftp either. I dont know if I can install ftp package from internet somewhere. I tried everything with yum or every possible option for ftp but no luck.

I spend 16 hrs yester day doing this lab but no luck. Please help me to get through this lab.
Old 11-23-2012, 11:03 AM   #2
Senior Member
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
There maybe any number of issues that is going on. But the first thing that stood out to me is this...

Usually, the default Doc Root path for apache is

So try moving your dir there

Also SELinux may be in the "way" make sure you check the contexts on the directories.


Last edited by custangro; 11-23-2012 at 11:13 AM.
1 members found this post helpful.
Old 11-23-2012, 11:07 AM   #3
Senior Member
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 3,966

Rep: Reputation: 1210Reputation: 1210Reputation: 1210Reputation: 1210Reputation: 1210Reputation: 1210Reputation: 1210Reputation: 1210Reputation: 1210
Check /var/log/httpd/error.log and see why Apache is not returning the file. Have you configured Apache to support cgi in the directory where your kickstart file is located?
1 members found this post helpful.
Old 11-23-2012, 05:50 PM   #4
LQ Newbie
Registered: Nov 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
Problem is solved

I am very thankful to castagro and smallpond. Both have directed me in a right direction.
I did what you guys advised and problem was right there. Now Kickstart file can be located and read by installer. I am getting some other kind of active network problem.

I am trying to figure out by myself otherwise I will ask help from linux forum.

Thank you very much for you time and help.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with nfs instalation: "Error downloading kickstart file" carlino Red Hat 16 02-09-2012 04:14 AM
Error downloading kickstart file habtamu Linux - Desktop 6 12-09-2011 09:36 AM
Unable to download Kickstart file for RHEL 6 KillaSmooth Linux - Software 13 12-05-2011 04:35 AM
Error Downloading KickStart File koolbarabo79 Linux - Software 3 03-02-2010 07:46 AM
Kickstart Error Error opening kickstart file (null): bad address Latitude Linux - Networking 0 06-03-2009 11:20 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:31 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration