LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-23-2017, 05:00 AM   #1
ram_euhr
LQ Newbie
 
Registered: Nov 2017
Posts: 2

Rep: Reputation: Disabled
Linux PXE build unable to download kickstart file over http


Hello,

I am working on setting up a PXE based build system in our environment.

Short description on how it will work is, server will boot into network, get an IP address and PXE server details from DHCP server and then we select the rebuild option in the PXE menu. Then, it should download the kickstart file over http. Here is the problem, I noticed that in my couple of test servers this step is failing as it cannot download the Kickstart file.

Few additional points:

There is no problem with the HTTP server as there is another server which is getting rebuilt successfully (in the same setup). And even the problematic servers used to work fine before and it stopped working all of a sudden. I am able to download the kickstart file using wget.

I tried looking around but couldn't find anything amiss. Out of my three test servers, two of them are Dell PowerEdge R710 and the third one is a desktop. All three used to work fine but since last few days, one Dell PowerEdge server and the desktop started having this issue. Attached a screenshot on how its trying to download the kickstart file. For troubleshooting, I tried changing 'inst.ks' to 'inst.repo' in the PXE menu file and it still fails.

Let me know if something isn't clear. Any pointers will be helpful. Thanks.
 
Old 11-23-2017, 01:26 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,289

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
I thought the internet service in use on PXE was TFTP, not http. TFTP is basically using dhcp extensions and ftp extensions which were not supported by every ftp/dhcp program last time I checked. There's a helpful section with documentation in Slackware install dvds, a usb-and-pxe-installers/ directory. You can grok them on any Slackware mirror or the main site.
 
Old 12-05-2017, 06:38 AM   #3
ram_euhr
LQ Newbie
 
Registered: Nov 2017
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks for the response.. I am still debugging this.. The problem is that this issue isn't consistently reproducible which is making it difficult to troubleshoot.
 
Old 12-05-2017, 09:46 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,289

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
All slackware install cds have a usb-and-pxe-installers/ directory. Useful reading.
 
Old 12-05-2017, 12:51 PM   #5
voleg
Member
 
Registered: Oct 2013
Distribution: RedHat CentOS Fedora SuSE
Posts: 354

Rep: Reputation: 51
Add "linksleep=30" to APPEND line in pxelinux.cfg/default
 
Old 12-05-2017, 02:36 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,978

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
Did it ever work correctly on this exact system?
Do other systems work as expected.



I think I'd use ipxe/gpxe and see if it works.

What I think you are saying is that you get some preboot enviroment from tftp and then it looks to some resource like nfs or http or ftp to then get more.

Last edited by jefro; 12-05-2017 at 02:38 PM.
 
  


Reply



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
Error Unable to download kickstart file!!! newtolinux2014 Linux - Newbie 2 03-03-2014 05:54 AM
[SOLVED] RHL 6.0 Unable to download the Kickstart file/ Error downloading kickstart file AnApproach2DigestLinux Linux - Newbie 3 11-23-2012 05:50 PM
Unable to download Kickstart file for RHEL 6 KillaSmooth Linux - Software 13 12-05-2011 04:35 AM
pxe booting is not reading kickstart file surajpd Linux - Networking 5 07-01-2010 02:33 PM
Kickstart Centos 5.4 x86_64 missing files. DHCP/PXE/TFTP/HTTP. tdo896 Linux - Networking 3 12-20-2009 04:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:34 AM.

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