Discussion:
tftp respawning
Barry R Cisna
2012-02-09 23:39:15 UTC
Permalink
Hello All,

I just done a new install of Centos 6 server then done the client build
as per the instructions here.

https://fedorahosted.org/k12linux/wiki/InstallGuide

The only thing different is I am using VirtualBox to launch the virtual
pxeclient as I done an 32-bit build.
I didn't realize that libvirt and virt-manager only runs on 64-bit
Centos now? These items install on 32-bit but never actually will run?
I need to read more on this subject.

When I start the virtual pxeclient it gets an ip address and stalls out
at loading pxe.
When running 'tail -f /var/log/messages ' I continually see "Starting
tftp" followed by "tftp exiting" (with another pid #,incremented up)
about every 10 secs. This will continue until I power down the virtual
pxeclient,then the message quits.
Anyone have any ideas?

Thank You,
Barry
Josh Malone
2012-02-10 14:12:10 UTC
Permalink
Post by Barry R Cisna
When I start the virtual pxeclient it gets an ip address and stalls out
at loading pxe.
When running 'tail -f /var/log/messages ' I continually see "Starting
tftp" followed by "tftp exiting" (with another pid #,incremented up)
about every 10 secs. This will continue until I power down the
virtual
pxeclient,then the message quits.
Anyone have any ideas?
I think that what you are seeing in the logs is the normal result of
tftp being spawned by xinetd each time the virtual pxe-client attempts
to download its files. You may need to increase the verbosity of your
logs (add '-v' to server_args in xinetd's tftp config) to find out what
it's trying to download and why it's not succeeding.

Trying from a hardware (non-virtual) PXE client may yield better
results.

-Josh
--
---------------------------------------------------------
Joshua Malone Systems Administrator
(***@nrao.edu) NRAO Charlottesville
434-296-0263 www.nrao.edu
434-249-5699 (mobile)

BOFH excuse #364: Sand fleas eating the Internet cables
---------------------------------------------------------
Barry R Cisna
2012-02-11 12:48:03 UTC
Permalink
*SOLVED*

Just for completeness I wanted to post that the tftp what appeared to be
respawning with client hanged at loading ,,,pxelinux line.
I had to hand edit the xinetd/tfpt config file to /var/lib/tftpboot dir.
In the server_args line I had the -s switch which was in the older
centos 5 config.
After removing the -s switch ,the virtual pxeclient booted up as
expected.
Also adding, in VirtualBox the only nic I could find that would emulate
pxe boot was the PCIfast II card. This work as expected for pxe booting.

Take Care,
Barry

Loading...