HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=4)
-   -   tftp server test fail (http://www.howtoforge.com/forums/showthread.php?t=2439)

papunizer 8th February 2006 07:12

tftp server test fail
 
Hi,

I'm stuck at the tftp server test. I'm clueless on what to do to solve this. Can someone advise me on how to solve this?

[root@imageserver root]# cat /etc/xinetd.d/tftp
# default: off
# description: The tftp server serves files using the trivial file transfer
# protocol. The tftp protocol is often used to boot diskless
# workstations, download configuration files to network-aware printers,
# and to start the installation process for some operating systems.
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s y -r blksize
disable = no
}
[root@imageserver root]# tftp
tftp> connect
(to) localhost
tftp> status
Connected to localhost.localdomain.
Mode: netascii Verbose: off Tracing: off
Rexmt-interval: 5 seconds, Max-timeout: 25 seconds
tftp> quit
[root@imageserver root]# si_mkbootserver
This script may modify the following files:
/etc/services
/etc/inetd.conf
/etc/xinetd.d/tftp
You should already have a kernel and ramdisk to use.
Do you wish to continue (y/[n])? y
Ok, continuing...
Where should tftpd serve files from ([/tftpboot]? y
Checking for a tftp server... found.
Checking if tftp server is H. Peter Anvin's tftp server... yup - right on!
Checking for a running inetd... Not found.
Checking for a running xinetd... 3864.
Looking for update-inetd... not found.
/etc/xinetd.d/tftp does not already exist, so not backing it up.
Sending SIGUSR2 to xinetd...
done.
Looking for a tftp client... found.
Checking for loopback interface... up.
Does tftp server work... no.
I couldn't tftp a test file from localhost
tftp server test failed.
[root@imageserver root]#

falko 8th February 2006 10:35

Did you run this as root?
Please post the output of
Code:

ls -la /etc/xinetd.d/tftp

papunizer 9th February 2006 03:26

I tried creating a file in the /tftpboot directory to test a tftp transfer but it didnt work and now si_mkbootserver gives another output which also fails the test. By the way, i'm running on Red Hat 9. Please Advise.

[root@imageserver root]# ls -la /etc/xinetd.d/tftp
-rw-r--r-- 1 root root 606 Feb 9 10:19 /etc/xinetd.d/tftp

[root@imageserver root]# si_mkbootserver
This script may modify the following files:
/etc/services
/etc/inetd.conf
/etc/xinetd.d/tftp
You should already have a kernel and ramdisk to use.
Do you wish to continue (y/[n])? y
Ok, continuing...
Where should tftpd serve files from ([/tftpboot]? y
Checking for a tftp server... found.
Checking if tftp server is H. Peter Anvin's tftp server... yup - right on!
Checking for a running inetd... Not found.
Checking for a running xinetd... 3869.
Looking for update-inetd... not found.
/etc/xinetd.d/tftp does not already exist, so not backing it up.
Sending SIGUSR2 to xinetd...
done.
Looking for a tftp client... found.
Checking for loopback interface... up.
Does tftp server work... couldn't tell.
Unable to come up with an unused filename
tftp server test failed.

papunizer 13th February 2006 09:42

yup i ran it as root...

falko 13th February 2006 22:35

Please post the output of
Code:

netstat -tap

papunizer 14th February 2006 04:29

forgot to mention that i'm running on red hat 9


[root@imageserver root]# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
PID/Program name
tcp 0 0 *:32768 *:* LISTEN
3756/
tcp 0 0 localhost.localdo:32769 *:* LISTEN
3877/xinetd
tcp 0 0 *:rsync *:* LISTEN
3794/rsync
tcp 0 0 localhost.localdoma:783 *:* LISTEN
3927/spamd -d -c -a
tcp 0 0 *:sunrpc *:* LISTEN
3737/
tcp 0 0 *:x11 *:* LISTEN
4180/X
tcp 0 0 *:ssh *:* LISTEN
3862/sshd
tcp 0 0 localhost.localdoma:ipp *:* LISTEN
4535/cupsd
tcp 0 0 localhost.localdom:smtp *:* LISTEN
3903/
tcp 0 0 localhost.localdo:48970 localhost.localdoma:ipp TIME_WAIT
-
tcp 0 0 localhost.localdo:48971 localhost.localdoma:ipp TIME_WAIT
-
tcp 0 0 localhost.localdo:48968 localhost.localdoma:ipp TIME_WAIT
-
tcp 0 0 localhost.localdo:48969 localhost.localdoma:ipp TIME_WAIT
-
tcp 0 0 localhost.localdo:48962 localhost.localdoma:ipp TIME_WAIT
-
tcp 0 0 localhost.localdo:48963 localhost.localdoma:ipp TIME_WAIT
-
tcp 0 0 localhost.localdo:48960 localhost.localdoma:ipp TIME_WAIT
-
tcp 0 0 localhost.localdo:48961 localhost.localdoma:ipp TIME_WAIT
-
tcp 0 0 localhost.localdo:48966 localhost.localdoma:ipp TIME_WAIT
-
tcp 0 0 localhost.localdo:48967 localhost.localdoma:ipp TIME_WAIT
-
tcp 0 0 localhost.localdo:48964 localhost.localdoma:ipp TIME_WAIT
-
tcp 0 0 localhost.localdo:48965 localhost.localdoma:ipp TIME_WAIT
-
[root@imageserver root]#

falko 14th February 2006 09:08

I don't see FTP running. Maybe that causes your problem.

papunizer 15th February 2006 10:45

i started the ftp service but it still says the same thing.. anything else i could try? please advise...

falko 15th February 2006 20:45

What exactly did you do to start FTP?

crichell 2nd August 2006 21:14

I'm having the same problem:

Code:

sudo mkbootserver
This script may modify the following files:
/etc/services
/etc/inetd.conf
/etc/xinetd.d/tftp
You should already have a kernel and ramdisk to use.
Do you wish to continue (y/[n])? y
Ok, continuing...
Where should tftpd serve files from ([/tftpboot]?
Checking for a tftp server... found.
Checking if tftp server is H. Peter Anvin's tftp server... yup - right on!
Checking for a running inetd...  3687.
Checking for a running xinetd... Not found.
Looking for update-inetd... found.
Updating inetd.conf... done.
Sending a SIGHUP to inetd (pid  3687)... done.
Looking for a tftp client... found.
Checking for loopback interface... up.
Does tftp server work... no.
I couldn't tftp a test file from localhost
tftp server test failed.

Code:

sudo netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address          Foreign Address        State PID/Program name
tcp        0      0 *:rsync                *:*                    LISTEN    3719/rsync
tcp        0      0 *:ftp                  *:*                    LISTEN    3687/inetd
tcp6      0      0 *:rsync                *:*                    LISTEN    3719/rsync
tcp6      0      0 *:ssh                  *:*                    LISTEN    3713/sshd
tcp6      0      0 ::ffff:10.120.150.2:ssh ::ffff:10.120.150:39732 ESTABLISHED3839/sshd: imaging

Running Ubuntu Dapper 6.06
SystemImager 3.2.3-3

Any suggestions? Thanks


All times are GMT +2. The time now is 02:16.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.