LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-14-2004, 12:39 AM   #1
bya
LQ Newbie
 
Registered: Jan 2004
Posts: 12

Rep: Reputation: 0
ftp session cannot be generated on redhat 6.2 xox


Hi, I have a redhat 6.2 box running as an external webserver and i want to establish an ftp session to upload some documents from my internal network and i cant get a session through inetd. I upgraded inetd-0.16-4 to inetd-0.16-7 but it made no difference.
I can't see any reason why these sessions aren't being established
 
Old 01-14-2004, 07:04 AM   #2
ac1980
Member
 
Registered: Aug 2003
Location: Trento, Italy
Distribution: Debian testing
Posts: 394

Rep: Reputation: 30
If there's a firewall between you and the webserveer, be sure to switch your ftp client to passive mode.
You can try using command-line ftp (available both in unix and win), this might givve you a clue on what's going wrong
 
Old 01-14-2004, 02:32 PM   #3
bya
LQ Newbie
 
Registered: Jan 2004
Posts: 12

Original Poster
Rep: Reputation: 0
i am using ftp from the command line of an win98 box but it doesn't seem to give me a passive mode option. how do i set this. i use the debug option but it doesn't give me any info except for the below.

ftp : connect : 10061
ftp>

and then i type ls and it says not connected.
 
Old 01-14-2004, 02:51 PM   #4
bya
LQ Newbie
 
Registered: Jan 2004
Posts: 12

Original Poster
Rep: Reputation: 0
not sure about the firewall. the rh box has ipchains but this has just been set to default options of accept everything.
 
Old 01-14-2004, 03:23 PM   #5
bya
LQ Newbie
 
Registered: Jan 2004
Posts: 12

Original Poster
Rep: Reputation: 0
i guess my ftp debug output is indicating that something is not happening on my rh box with regard to the ftp server as it gets no response, as i can ping the box from my win98 machine.

so im thinking either inetd or tcpd or ftp is not working properly. perhaps the fact that my telnet sessions aren't working either point to tcpd or inetd.

any ideas..would be appreciated. my logs aren't telling me anything.

i have inetd-0.16-7 and ftp-0.16-4 on the box. i tried ftping the box from itself and i get connection refused. with telnet i get a connection but no login option just a blank screen.

i have checked inetd.conf and ftp and telnet are both enabled. there is an ftpaccess file, which i have disabled to see if that was the problem, but no difference. but even if it was telnet should still work.
 
Old 01-14-2004, 05:28 PM   #6
bya
LQ Newbie
 
Registered: Jan 2004
Posts: 12

Original Poster
Rep: Reputation: 0
OK, i just checked to make sure the box had the ftp server installed and it didn't. i just installed wu-ftp and tried to restart inetd, by kill -SIGHUP pid. the pid i got from /var/run/inetd.pid. when i do this theres an error in my loggs saying "inetd: no such file or directory. Does this mean inetd is not installed correctly??
i checked if it has the telnet server and it does. but telnet is still not working. so perhaps my problem lies somewhere within inetd.
i have already upgraded inetd to inet-0.16-7 and this went fine. i only have the inetd.conf file on my system for inetd. should there be something else.
i check my services --status-all and it says inetd is running. i am not sure what else i should be looking at.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
moving out home directory during ftp session saeed_zarea Linux - Networking 8 07-12-2011 07:07 AM
Recieving a blank file during ftp session mrobertson Programming 4 07-06-2005 01:31 PM
Redhat 9: Where find errors generated from rc.local ? speedgelb Linux - General 4 01-30-2004 07:49 PM
how do i find the FTP session time??? letmein Linux - General 1 08-26-2003 10:25 PM
wu-ftp session timeout howto? heatlill Linux - General 3 04-02-2003 05:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration