LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   ftp session cannot be generated on redhat 6.2 xox (https://www.linuxquestions.org/questions/linux-networking-3/ftp-session-cannot-be-generated-on-redhat-6-2-xox-134610/)

bya 01-14-2004 12:39 AM

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:(

ac1980 01-14-2004 07:04 AM

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

bya 01-14-2004 02:32 PM

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.

bya 01-14-2004 02:51 PM

not sure about the firewall. the rh box has ipchains but this has just been set to default options of accept everything.

bya 01-14-2004 03:23 PM

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.

bya 01-14-2004 05:28 PM

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.


All times are GMT -5. The time now is 09:06 AM.