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
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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
you might need dhcpd as well!! :-)
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
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
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.
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
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
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.
You should have some messages in your log files, on the server side. They may help understanding the issue.
In the configuration file /etc/xinet.d/tftp you should have
Open in new window
RPMS to install:
Open in new window
Starting Service
Open in new window
Checking the service
Open in new window
You will see something like
udp 0 0 0.0.0.0:69 0.0.0.0:* 28979/xinetd