Avatar of langdj
langdj

asked on 

Running a Linux PXE Administrating TFTPBoot Question

So folks how do you administer TFTPBoot on a PXE? This is probably a basic question but I cannot find the binary. It does not show up as a service in the /etc/rc.d dirctory

Also I cannot find a tftpdboot binary using the find. Also I do not see in binarys in the /tftpdboot directory nor is anything running with that name when I do ps -ef |grep ftp

Any thoughts, thanks in advance
LinuxIT AdministrationNetwork Operations

Avatar of undefined
Last Comment
vivigatt
Avatar of farzanj
farzanj
Flag of Canada image

It is usually part of xinetd.

In the configuration file /etc/xinet.d/tftp you should have
disable         = no

Open in new window


RPMS to install:
tftp-server-0.49-7.el6.x86_64
tftp-0.49-7.el6.x86_64

Open in new window


Starting Service
service xinetd start

Open in new window


Checking the service
netstat -nulp | grep 69

Open in new window


You will see something like
udp        0      0 0.0.0.0:69                  0.0.0.0:*                               28979/xinetd
Avatar of langdj
langdj

ASKER

Thanks for the suggestion that configuration file is configured that way already. Is there a way to manually kick xinet.d in the but to makes sure tftpdboot is started?
ASKER CERTIFIED SOLUTION
Avatar of farzanj
farzanj
Flag of Canada image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Julian Parker
Julian Parker
Flag of United Kingdom of Great Britain and Northern Ireland image

you might need dhcpd as well!! :-)
Avatar of langdj
langdj

ASKER

Thanks guys port 69 is open.


udp        0      0 0.0.0.0:69                  0.0.0.0:*                               2564/xinetd  

Also the port of NFS is open

tcp        0      0 *:nfs                       *:*                         LISTEN    

And disable is configured as well


[root@pxeserver xinetd.d]# cat tftp

      disable      = no
Avatar of langdj
langdj

ASKER

Here is a screen shot to show where it getting hung up on. It hangs out at "Booting the Kernel" for a while than boots back up with no new OS on it.
Avatar of langdj
langdj

ASKER

Actually here is some new data that may help. I telneted to the serial console on a client that was trying to load the PXE image. It looks like there is an error message that is missing a file. This happens on all the images on the box (there are three of them) so I am not sure which file it could be referring too

                         Legacy CLI Application

system>console 1



ls          
mount: RPC: Timed out
+ echo Creating tmpfs
Creating tmpfs
+ mount -n -t tmpfs -o size=250M tmpfs /mnt2
+ echo Tmpfs Created
Tmpfs Created
+ df -h
Filesystem                Size      Used Available Use% Mounted on
+ sleep 10
+ ls -l /mnt
+ ls -l /mnt2
+ cp -ra /mnt/* /mnt2
cp: cannot stat '/mnt/*': No such file or directory
+ rm -rf /mnt2/initrd
+ umount /mnt
umount: cannot umount /mnt: Invalid argument
+ insmod /compass/plendk.ko
insmod: can't open '/compass/plendk.ko': No such file or directory
+ echo
+ grep -q l3,
+ test 1 -eq 0
+ reinst=1
+ test 1 -eq 1
+ echo re-installing
re-installing
+ chroot /mnt2 /re-install
chroot: cannot execute /re-install: No such file or directory
+ umount /mnt2
+ echo Time to Reboot
Time to Reboot
+ sleep 20
+ reboot -f
Restarting system.
.
machine restart
Avatar of vivigatt
vivigatt
Flag of France image

What Linux distro are you using?

You should have some messages in your log files, on the server side. They may help understanding the issue.
Linux
Linux

Linux is a UNIX-like open source operating system with hundreds of distinct distributions, including: Fedora, openSUSE, Ubuntu, Debian, Slackware, Gentoo, CentOS, and Arch Linux. Linux is generally associated with web and database servers, but has become popular in many niche industries and applications.

71K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo