Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 9th July 2008, 20:52
hunter123 hunter123 is offline
Junior Member
 
Join Date: Jul 2008
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

falko, I've just done about everything i can be told to do... Had a linux system admin walk me through it today and after 4 hours still couldn't find the problem. when I do tftp -v localhost -c get test, I get

[root@localhost ~]# tftp -v localhost -c get test
Connected to localhost.localdomain (127.0.0.1), port 69
getting from localhost.localdomain:test to test [netascii]
Transfer timed out.
[root@localhost ~]#


And my system logs say

Jul 9 07:53:51 localhost xinetd[9350]: FAIL: tftp address from=127.0.0.1
Jul 9 07:53:51 localhost xinetd[9175]: START: tftp pid=9350 from=127.0.0.1
Jul 9 07:53:51 localhost xinetd[9175]: EXIT: tftp status=0 pid=9350 duration=0(sec)

So i've edited just about everything and anything I can do. BTW your message before didnt do anything and the system admin told me to change it back to udp. Here's what my tftp file looks like

service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot -vv
disable = no
per_source = 11
cps = 100 2
flags = IPv4
}

Any help?

Last edited by hunter123; 9th July 2008 at 20:57.
Reply With Quote
Sponsored Links
  #12  
Old 10th July 2008, 19:47
hunter123 hunter123 is offline
Junior Member
 
Join Date: Jul 2008
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

So Falko here's an update ive made a little but of progress. The Tftp server finally works but this time when i run si_mkbootserver instead of in the system logs saying that the connection was refused it now says

Code:
Jul 10 01:45:41 localhost xinetd[4672]: xinetd Version 2.3.14 started with libwrap loadavg labeled-networking options compiled in.
Jul 10 01:45:41 localhost xinetd[4672]: Started working: 1 available service
Jul 10 01:45:41 localhost in.tftpd[4682]: RRQ from 127.0.0.1 filename test9
Reply With Quote
  #13  
Old 10th July 2008, 21:13
hunter123 hunter123 is offline
Junior Member
 
Join Date: Jul 2008
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ok so falko heres probably my last post about this and it includes all the data ull probably need
Code:
[root@localhost ~]# /etc/init.d/iptables stop
[root@localhost ~]# setenforce 0
setenforce: SELinux is disabled
[root@localhost ~]# tftp -v localhost -c get test
Connected to localhost.localdomain (127.0.0.1), port 69
getting from localhost.localdomain:test to test [netascii]
^Z
[1]+  Stopped                 tftp -v localhost -c get test
[root@localhost ~]# nano /etc/xinetd.d/tftp
[root@localhost ~]# tftp -v localhost -c get test
Connected to localhost.localdomain (127.0.0.1), port 69
getting from localhost.localdomain:test to test [netascii]
^Z
[2]+  Stopped                 tftp -v localhost -c get test
[root@localhost ~]# /etc/init.d/xinetd reload
Reloading configuration:                                   [  OK  ]
[root@localhost ~]# /etc/init.d/xinetd restart
Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
[root@localhost ~]# tftp -v localhost -c get test
Connected to localhost.localdomain (127.0.0.1), port 69
getting from localhost.localdomain:test to test [netascii]
[root@localhost ~]# si_mkbootserver
WARNING: this script may modify the following files:
  --> /etc/services
  --> /etc/inetd.conf
  --> /etc/xinetd.d/tftp
And can restart inetd, xinetd or tftp servers.
Do you wish to continue (y/[n])? y
Ok, continuing...
/var/lib/tftpboot exists and is a symlink to /usr/share/systemimager/boot.
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... 4938.
Looking for update-inetd... not found.
Backing up /etc/xinetd.d/tftp...
Moving /etc/xinetd.d/tftp to /etc/xinetd.d/tftp.si_mkbootserver.bak11...done.
Restaring xinetd ...
Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
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
ERROR: tftp server test failed.
[root@localhost ~]# tftp -v localhost -c get test9
Connected to localhost.localdomain (127.0.0.1), port 69
getting from localhost.localdomain:test9 to test9 [netascii]
[root@localhost ~]# ls la .
ls: cannot access la: No such file or directory
.:
anaconda-ks.cfg                           perl-XML-Parser-2.34-8.i386.rpm
Desktop                                   perl-XML-Simple-2.18-3.fc9.noarch.rpm
Documents                                 Pictures
Download                                  Public
expat-2.0.1-2.i386.rpm                    systemimager
flamethrower-0.1.8-1.noarch.rpm           Templates
install.log                               test
install.log.syslog                        test9
Music                                     tftpboot
openssl-0.9.8b-12.fc7.i386.rpm            Videos
openssl-0.9.8b-17.fc8.i386.rpm            work
openssl-0.9.8b-17.fc8.i386.rpm.1          xchat-2.8.2-0.i686.rpm
perl-XML-Parser-2.34-1.1.fc3.rf.i386.rpm  xchat-2.8.4-0.i586.rpm
[root@localhost ~]#
Reply With Quote
  #14  
Old 11th July 2008, 16:31
hunter123 hunter123 is offline
Junior Member
 
Join Date: Jul 2008
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

for anyone who has this problem... I thought it's been solved however its the same thing again... the problem ive found out is that the script is making the file in tftpboot and tftping it to a local folder. Then its checking to see if the file it created is the same as the one in the local folder and its returning that its not.... maybe i should just remove the check, because i currently already know that the tftp works...

Last edited by hunter123; 14th July 2008 at 14:52.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't start apache Musty Server Operation 12 9th March 2008 13:58
The Perfect Setup - Debian Etch (Debian 4.0) some trouble daniel80 HOWTO-Related Questions 26 1st February 2008 16:30
Mail not working Roadracer Installation/Configuration 16 30th December 2005 23:40
The Perfect Setup Suse 9.3 - Postfix problems new_bee05 HOWTO-Related Questions 20 25th November 2005 02:30
Total Frustration-HELP palkat Installation/Configuration 17 3rd September 2005 17:28


All times are GMT +2. The time now is 19:06.


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