RE: Unable to get any http requests:Unable toretrieve netstg2.imgfile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I feel your pain.
I'll let you know if I find anything.
Thanks

-Mukarram.

-----Original Message-----
From: kickstart-list-bounces@xxxxxxxxxx
[mailto:kickstart-list-bounces@xxxxxxxxxx] On Behalf Of
SSTinsley@xxxxxxxxxxxxxx
Sent: Wednesday, May 16, 2007 6:00 AM
To: Discussion list about Kickstart
Subject: RE: Unable to get any http requests:Unable toretrieve
netstg2.imgfile


I have been fighting almost the identical problem. See the thread entitled 

"Re: Kickstart via PXE/NFS" 

After the kernel is loaded via configuration set up in the pxelinux config
file, the 
network will not come up and the ks.cfg file can then not be loaded. I get
the 
network config screen asking to use DHCP or to enter static info for setup
of eth0. It 
has really bee frustrating. I finally just placed my ks.cfg on CDROM and was
able 
to get the rest of the PXE auto install to complete. 

If you get a resolution, I will be very interested. I have had a case open
with 
RedHat for 2 days waiting for a response. 

kickstart-list-bounces@xxxxxxxxxx wrote on 05/16/2007 04:38:30 AM:

> 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!'
> 
> Here is my directory/file setup:
> 
> TFTP:
> 
> /tftpboot/linux-install/pxelinux.cfg
> [root@as-kickball pxelinux.cfg]# ls
> default  pxeos.xml
> 
> [root@as-kickball linux-install]# ls -lR
> .:
> total 32
> drwxr-xr-x  2 root root  4096 May 14 00:31 ENT_LINUX_32
> drwxr-xr-x  2 root root  4096 May 16 00:30 ENT_LINUX_64
> drwxr-xr-x  2 root root  4096 May 14 21:09 msgs
> -rwxr-xr-x  1 root root 12952 Oct 24  2006 pxelinux.0
> drwxr-xr-x  2 root root  4096 May 16 00:25 pxelinux.cfg
> 
> ./ENT_LINUX_32:
> total 0
> 
> ./ENT_LINUX_64:
> total 5984
> -rwxr-xr-x  1 root root 4310479 May 14 15:29 initrd.img
> -rwxr-xr-x  1 root root      85 May 16 00:30 ks.cfg
> -rwxr-xr-x  1 root root 1792835 May 14 15:29 vmlinuz
> 
> ./msgs:
> total 24
> -rwxr-xr-x  1 root root 534 May 14 21:00 boot.msg
> -rwxr-xr-x  1 root root 668 Oct 24  2006 expert.msg
> -rwxr-xr-x  1 root root 871 Oct 24  2006 general.msg
> -rwxr-xr-x  1 root root 860 Oct 24  2006 param.msg
> -rwxr-xr-x  1 root root 530 Oct 24  2006 rescue.msg
> -rwxr-xr-x  1 root root 545 Oct 24  2006 snake.msg
> 
> ./pxelinux.cfg:
> total 20
> -rwxr-xr-x  1 root root 511 May 16 00:25 default
> -rwxr-xr-x  1 root root 511 May 15 23:34 default.bak
> -rwxr-xr-x  1 root root 461 May 15 14:44 default.dhcp
> -rwxr-xr-x  1 root root 573 May 15 13:30 default.staticIP
> -rwxr-xr-x  1 root root  42 May 14 16:28 pxeos.xml
> 
> My HTTP directory:
> 
> [root@as-kickball /]# ls -lart /var/www/html
> total 24
> drwxr-xr-x  8 root root 4096 Mar 21 19:17 ..
> drwxr-xr-x  4 root root 4096 May 14 00:35 .
> drwxr-xr-x  3 root root 4096 May 14 00:40 ENT_LINUX_32
> drwxr-xr-x  3 root root 4096 May 15 15:49 ENT_LINUX_64
> 
> [root@as-kickball /]# ls -lart /var/www/html/ENT_LINUX_64/Enterprise/
> total 136
> drwxr-xr-x  2 root root 114688 Feb 24 13:15 RPMS
> drwxr-xr-x  2 root root   4096 May 14 15:53 base
> -rwxr-xr-x  1 root root   1386 May 15 15:05 ks_ent_linux_64.cfg
> drwxr-xr-x  3 root root   4096 May 15 15:49 ..
> -rw-r--r--  1 root root   1242 May 16 01:08 ks.cfg
> drwxr-xr-x  4 root root   4096 May 16 01:08 .
> 
> I am at a loss now.  I am sure it's something simple as it mostly is.
> Help is appreciated.
> 
> Tomorrow, I'll tell my networking guy to enable "spanning tree" so I could
> use dhcp and get the static crap out of my way.
> Will let you know more.
> 
> -Mukarram.
> 
> 
> -----Original Message-----
> From: kickstart-list-bounces@xxxxxxxxxx
> [mailto:kickstart-list-bounces@xxxxxxxxxx] On Behalf Of Mike Jennings
> Sent: Tuesday, May 15, 2007 8:47 PM
> To: Discussion list about Kickstart
> Subject: Re: Unable to get any http requests:Unable to retreive
> netstg2.imgfile
> 
> Is the apache log showing any 404 errors? My stupid screwups  are  
> always shown in the error log when I typo something.
> 
> Mike
> 
> 
> 
> On May 15, 2007, at 10:39 PM, Mukarram Syed wrote:
> 
> >
> > Colin,
> > I changed it from ksdevice=eth0 to ksdevice=link
> >
> > Sorry, that didn't help.
> >
> > Wonder what else could it be, why is it not connecting to the http  
> > server?
> > I don't see any traffic in tcpdump after pxeboot.
> >
> > -Mukarram.
> >
> > -----Original Message-----
> > From: kickstart-list-bounces@xxxxxxxxxx
> > [mailto:kickstart-list-bounces@xxxxxxxxxx] On Behalf Of Coe, Colin  
> > C. (Unix
> > Engineer)
> > Sent: Tuesday, May 15, 2007 5:56 PM
> > To: Discussion list about Kickstart
> > Subject: RE: Unable to get any http requests:Unabletoretreive
> > netstg2.imgfile
> >
> >
> > Try changing 'ksdevice=eth0' to 'ksdevice=link'.  With 2.6 kernels,  
> > the
> > kernel's idea of what eth0 and eth1 are often differs from the BIOS/ 
> > PXE
> > stack.
> >
> > CC
> >
> >> -----Original Message-----
> >> From: kickstart-list-bounces@xxxxxxxxxx
> >> [mailto:kickstart-list-bounces@xxxxxxxxxx] On Behalf Of Mukarram Syed
> >> Sent: Wednesday, 16 May 2007 8:42 AM
> >> To: 'Discussion list about Kickstart'
> >> Subject: RE: Unable to get any http requests:
> >> Unabletoretreive netstg2.imgfile
> >>
> >> John,
> >> Sorry...just to make things clear.
> >> eth0 works to get the dhcp/tftp request and eth1 does not.
> >> However, I tried using both is what I meant.
> >>
> >> We have a problem with dhcp, the networking folks here did
> >> not enable "spanning tree" on the switch ports, until that
> >> happens I am using static
> >> ip.   I double checked the syntax etc.
> >>
> >> Thanks
> >> -Mukarram.
> >>
> >> -----Original Message-----
> >> From: kickstart-list-bounces@xxxxxxxxxx
> >> [mailto:kickstart-list-bounces@xxxxxxxxxx] On Behalf Of John
> >> Summerfield
> >> Sent: Tuesday, May 15, 2007 5:32 PM
> >> To: Discussion list about Kickstart
> >> Subject: Re: Unable to get any http requests: Unable
> >> toretreive netstg2.imgfile
> >>
> >> Mukarram Syed wrote:
> >>> Thanks Colin for the quick response
> >>>
> >>>
> >>>
> >>> Yes.  It does have.  It's a Dell PE2950.
> >>>
> >>>
> >>>
> >>> I have already tried that option as well.
> >>>
> >>> I tried both ksdevice=eth0 and ksdevice=eth1 and they don't work.
> >>>
> >>
> >> If you can connect all network interfaces, that might help,
> >> because it then doesn't matter whether either one or both is used.
> >>
> >> If you run arpwatch that will report on which interfaces are
> >> used (by mac address and IP).
> >>
> >> More below...
> >>
> >>>
> >>>
> >>> -Mukarram.
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>   _____
> >>>
> >>> From: kickstart-list-bounces@xxxxxxxxxx
> >>> [mailto:kickstart-list-bounces@xxxxxxxxxx] On Behalf Of
> >> Coe, Colin C.
> >> (Unix
> >>> Engineer)
> >>> Sent: Tuesday, May 15, 2007 4:52 PM
> >>> To: Discussion list about Kickstart
> >>> Subject: RE: Unable to get any http requests: Unable to retreive
> >>> netstg2.imgfile
> >>>
> >>>
> >>>
> >>> Does the machine you're on have multiple Ethernet
> >> interfaces?  If so,
> >>> what you may find is adding 'ksdevice=link' will assist.
> >>>
> >>>
> >>>
> >>> CC
> >>>
> >>>
> >>>
> >>>
> >>>   _____
> >>>
> >>>
> >>> From: kickstart-list-bounces@xxxxxxxxxx
> >>> [mailto:kickstart-list-bounces@xxxxxxxxxx] On Behalf Of
> >> Mukarram Syed
> >>> Sent: Wednesday, 16 May 2007 7:50 AM
> >>> To: kickstart-list@xxxxxxxxxx
> >>> Subject: Unable to get any http requests: Unable to retreive
> >>> netstg2.img file
> >>>
> >>> Hi
> >>>
> >>> I am sure there is some information regarding my request, but I am
> >>> unable
> >> to
> >>> find it, hence the post.
> >>>
> >>>
> >>>
> >>> I configured my kickstart server using http.
> >>>
> >>> I am able to pxeboot the client, but my client is not able
> >> to get the
> >>> netstg2.img file from the server.
> >>>
> >>> I am able to http into my netstg2.img directory from a web browser
> >>> from another server in the same subnet successfully.
> >>>
> >>>
> >>>
> >>> Also I tried to put in a boot cdrom and run the following:
> >>>
> >>> Linux ks=http://<ServerIP>/ENT_LINUX_64/Enterprise/ks.cfg
> >>> ip=<ClientIP>
> >>> netmask=255.255.255.224 gateway=<GatewayIP>
> >>
> >>
> >> I have never used static IP for ks, I alway configure
> >> everything I can with dhcp. However, I do know that that's
> >> not the format the kernel expects for the ip parameter. Check
> >> your documentation, if I were writing a script tp parse ip=
> >> then I'd conform to the existing standards (that is, the way
> >> the kernel expects it), and that's what works with Ubuntu.
> >>
> >>
> >>
> >>>
> >>>
> >>>
> >>> Still no luck. It goes straight to the cd installer.
> >>>
> >>>
> >>>
> >>> I tried to tcpdump the traffic on the MAC address of the client, it
> >> outputs
> >>> the tftp information and after that it stops.
> >>>
> >>> I don't see any http traffic coming from the client.
> >>
> >> That's fairly consistent with you specifying ip= incorrectly.
> >>
> >> btw, if you're using PXE, the why are you trying to spectify
> >> static IP info?
> >>
> >> btw, as I recall, pxelinux has an option to pass on the IP
> >> address info it gets in the proper format for the kernel to parse.
> >>
> >>
> >>>
> >>>
> >>>
> >>> I'd appreciate some help in this regard.
> >>>
> >>> I've spent all day trying to troubleshoot this but no luck.
> >>>
> >>>
> >>>
> >>> Thanks Much
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> Mukarram Syed
> >>>
> >>> Unix Systems Administrator,
> >>>
> >>> Stanford University.
> >>>
> >>>
> >>>
> >>>
> >>> NOTICE: This email and any attachments are confidential.
> >>> They may contain legally privileged information or
> >>> copyright material. You must not read, copy, use or
> >>> disclose them without authorisation. If you are not an
> >>> intended recipient, please contact us at once by return
> >>> email and then delete both messages and all attachments.
> >>>
> >>>
> >>>
> >>>
> >> --------------------------------------------------------------
> >> ----------
> >>>
> >>> _______________________________________________
> >>> Kickstart-list mailing list
> >>> Kickstart-list@xxxxxxxxxx
> >>> https://www.redhat.com/mailman/listinfo/kickstart-list
> >>
> >>
> >> -- 
> >>
> >> Cheers
> >> John
> >>
> >> -- spambait
> >> 1aaaaaaa@xxxxxxxxxxxxxxxx  Z1aaaaaaa@xxxxxxxxxxxxxxxx
> >>
> >> Please do not reply off-list
> >>
> >> _______________________________________________
> >> Kickstart-list mailing list
> >> Kickstart-list@xxxxxxxxxx
> >> https://www.redhat.com/mailman/listinfo/kickstart-list
> >>
> >> _______________________________________________
> >> Kickstart-list mailing list
> >> Kickstart-list@xxxxxxxxxx
> >> https://www.redhat.com/mailman/listinfo/kickstart-list
> >>
> >
> > NOTICE: This email and any attachments are confidential.
> > They may contain legally privileged information or
> > copyright material. You must not read, copy, use or
> > disclose them without authorisation. If you are not an
> > intended recipient, please contact us at once by return
> > email and then delete both messages and all attachments.
> >
> > _______________________________________________
> > Kickstart-list mailing list
> > Kickstart-list@xxxxxxxxxx
> > https://www.redhat.com/mailman/listinfo/kickstart-list
> >
> > _______________________________________________
> > Kickstart-list mailing list
> > Kickstart-list@xxxxxxxxxx
> > https://www.redhat.com/mailman/listinfo/kickstart-list
> 
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/kickstart-list
> 
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/kickstart-list

NOTE: THIS DOCUMENT MAY CONTAIN CONFIDENTIAL AND NONPUBLIC INFORMATION. IT
IS INTENDED ONLY FOR THE USE OF THE INDIVIDUAL(S) OR ENTITY(IES) NAMED
ABOVE, AND OTHERS SPECIFICALLY AUTHORIZED TO RECEIVE IT. If you are not the
intended recipient of this document, you are notified that any review,
dissemination, distribution or copying of this communication is prohibited.
If you have received this communication in error, please notify me
immediately by return email, delete the electronic message and destroy any
printed copies. Thank you for your cooperation.



[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux