Unable to get any http requests:Unable to retreive netstg2.img file
Mukarram Syed
muksyed at stanford.edu
Wed May 16 17:04:46 UTC 2007
I did what Kennedy suggested. Thanks much.
Connected the KVM and did the Alt-F commands.
What I found is this:
"
...
...
getting kickstart file
looking for first netDev with link
eth0 has link, using it
doing kickstart...setting it up
waiting for link...
4 seconds
no DNS servers, can't look up hostname
ks location: http://171.67.39.130/ENT_LINUX_64/Enterprise/ks.cfg
transferring http://171.67.39.130//./ENT_LINUX_64/Enterprise/ks.cfg
<http://171.67.39.130/ENT_LINUX_64/Enterprise/ks.cfg> to a fd
failed to retrieve http://171.67.39.130///ENT_LINUX_64/Enterprise/ks.cfg
<http://171.67.39.130/ENT_LINUX_64/Enterprise/ks.cfg>
trying to mount CD device hda
"
As I said before, I could retrieve all the above http links from another
system on the same subnet as my kickstart install server and the client.
After which I modified my default file to the following:
label 1
kernel ENT_LINUX_64/vmlinuz
append nofb initrd=ENT_LINUX_64/initrd.img ramdisk_size=10000 lang=
devfs=nomount ramdisk_size=9216 ksdevice=link ip=171.67.39.139
netmask=255.255.255.224 gateway=171.67.39.129 dns=171.64.7.77
ks=http://171.67.39.130/ENT_LINUX_64/Enterprise/ks.cfg
I put the dns= entry in there.
The I get the following:
"
...
Adding 171.64.7.77
dnsserver is 171.64.7.77
doing kickstart...setting it up
waiting for link
4 seconds
reverse name lookup failed
ks location: http://171.67.39.130/ENT_LINUX_64/Enterprise/ks.cfg
transferring http://171.67.39.130//./ENT_LINUX_64/Enterprise/ks.cfg to a fd
failed to retrieve http://171.67.39.130///ENT_LINUX_64/Enterprise/ks.cfg
trying to mount CD device had
"
Here is the network information from my ks.cfg file:
#Network information
network --device=eth0 --bootproto=static --ip=171.67.39.130
--netmask=255.255.255.224 --gateway=171.67.39.129 --nameserver=171.64.7.77
--hostname=as-kickball.stanford.edu
The hostname is invalid. Its a bogus name. Ill try to make it a valid
name and check it out.
Should there be a hostname in the default file as well since I am using
static IP?
I think I am getting close here. Something else is missing for the reverse
lookup to work.
Suggestions would be helpful at this point.
Thanks
-Mukarram.
-----Original Message-----
From: Mukarram Syed [mailto:muksyed at stanford.edu]
Sent: Wednesday, May 16, 2007 8:00 AM
To: 'Discussion list about Kickstart'
Subject: RE: Unable to get any http requests:Unable toretreive
netstg2.imgfile
I tried Alt+f1, Alt+f2 etc. no effect.
I am doing all this from the cyclades console.
I might have to go in front of the box and try it out, which I should be
doing in a few hours.
Thanks for the suggestion.
-Mukarram.
-----Original Message-----
From: kickstart-list-bounces at redhat.com
[mailto:kickstart-list-bounces at redhat.com] On Behalf Of KENNEDY VAN DAM Eric
Sent: Wednesday, May 16, 2007 1:46 AM
To: Discussion list about Kickstart
Subject: RE: Unable to get any http requests:Unable toretreive
netstg2.imgfile
> -----Message d'origine-----
> De : kickstart-list-bounces at redhat.com
> [mailto:kickstart-list-bounces at redhat.com] De la part de Mukarram Syed
> Envoyé : mercredi 16 mai 2007 10:39
> À : 'Discussion list about Kickstart'
> Objet : RE: Unable to get any http requests:Unable to
> retreive netstg2.imgfile
>
> Nope. Nothing in the error logs.
>
> In my troubleshooting, this is what I've found...
>
> When I remove the ks=http://<ServerIP>/<PATH>/ks.cfg from my
> "default" file
> Client PXE boots, shows menu and loads vmlinuz/initrd.
> Then it shows up the Language selection. No luck.
> However, when I change my default file to read: ks=/<PATH>/ks.cfg,
> Client PXE boots, shows menu and loads vmlinuz/initrd.
> Then it gives the error "Error opening kickstart file (null):
> Bad address"
> I do some more research (see link below)
> http://linux.derkeiler.com/Mailing-Lists/Fedora/2004-06/5939.html
> and modified the ks.cfg file...add more network parameters like so:
> network --device=eth0 --bootproto=static --ip=171.67.39.139
> --netmask=255.255.255.224 --gateway=171.67.39.129
> --nameserver=171.64.7.77
> --hostname=as-test.stanford.edu
> Still no luck.
> I then changed my --device=eth0 to --device=link and then to
> --device=eth1...still no luck. Then put it back to --device=eth0.
> Then I change my PATH from:
> url --url http://171.67.39.130/ENT_LINUX_64/Enterprise
> to
> url --url http://171.67.39.130/ENT_LINUX_64
> Still no luck.
> Again nothing in the http logs.
>
> It looks like the installer is reading the ks.cfg file
> silently since it
> complained that it couldn't find it from the default file
> when I didn't
> specify the http://<servername>.
> Can I figure out what is reading and stopping. Is there a
> way to look at
> the kickstart logs (If there is any...I haven't seen one).
>
> I tried to create logging as well in my ks.cfg file...no
> luck...no output:
> %pre --log=/tmp/my-pre-log
> echo 'Hello, World!'
Sorry if the suggestion has already been made.
Did you try to go to the other consoles ? There is a lot of information
there which can help to debu your problem.
_______________________________________________
Kickstart-list mailing list
Kickstart-list at redhat.com
https://www.redhat.com/mailman/listinfo/kickstart-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/kickstart-list/attachments/20070516/9b598271/attachment.htm>
More information about the Kickstart-list
mailing list