LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


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

Rep: Reputation: 0
Unhappy Why is inetd not creating telnet or ftp sessions on my redhat 6.2 box?


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-13-2004, 05:56 AM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
telnet is disabled by default even on Redhat 6.2, I believe. You should not enable it - use ssh instead. It provides the same functionality and more, plus it is leagues more secure than telnet. telnet is old, insecure and even dangerous. Don't use it.

As for why inetd doesn't call the FTP server - did you check the /etc/inetd.conf file to see if it has an entry for the FTP server?


Håkan
 
Old 01-13-2004, 07:37 PM   #3
bya
LQ Newbie
 
Registered: Jan 2004
Posts: 12

Original Poster
Rep: Reputation: 0
the telnet scenario was really just a test to see if inetd would work for another service, as it wouldn't work for ftp in my live environment. I took the server offline and networked up my laptop with the server, to see if i could establish a telnet session. Which i could not. Also the strange thing in this test is that i could ping the server from my laptop, but the server could not ping my laptop.

i checked ipchains but its just setup with the default accept everything rules. i cant see what was preventing it from pinging the laptop.

i checked the /etc/inetd.conf file and ftp is enabled and so was telnet for my test, but nothing doing.

there is an ftpaccess file that I think was being utilised as well through
in.ftpd -l -a and I changed it to just log incase there was something in the ftpaccess file that was causing the problem, but this didn't help.

hence i am not sure what is going on.

Last edited by bya; 01-13-2004 at 07:38 PM.
 
Old 01-13-2004, 08:02 PM   #4
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Did you check the logs (wherever they are configure to go - /var/log/syslog, /var/log/ftp.log, something like that). It's usually quite helpful in getting it working.

Also, does it work if you try to log in to the FTP server from the same machine that runs it?

Håkan
 
Old 01-13-2004, 09:52 PM   #5
bya
LQ Newbie
 
Registered: Jan 2004
Posts: 12

Original Poster
Rep: Reputation: 0
when i try to ftp to itself via its ip or loopback both connections are refused.

the logs /var/log/messages don't seem to be telling me anything useful. in fact they are not even logging my failed ftp attempts. though it has logged
others, unauthorised attempts from last week.

there is a lot of logged messages from last week for telnet and ftp as follows, "bind address is already in use" .

and with regard to restarting inetd a lot of "no such file or directory".
 
Old 01-13-2004, 11:56 PM   #6
bya
LQ Newbie
 
Registered: Jan 2004
Posts: 12

Original Poster
Rep: Reputation: 0
yeh the logs don't give me much.
 
Old 01-14-2004, 12:31 AM   #7
bya
LQ Newbie
 
Registered: Jan 2004
Posts: 12

Original Poster
Rep: Reputation: 0
help.....i am looking at having to rebuild this box if i can't get ftp up and running real soon.
 
  


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
Redhat 9.0 telnet & ftp problems mundfrom Linux - Newbie 27 06-23-2010 08:57 AM
Unable to create multiple telnet sessions with Redhat 9 lab123 Linux - Networking 1 08-22-2005 09:43 PM
Can ping but can not telnet/ftp/ssh my box fbarre Linux - Networking 10 04-20-2004 12:11 AM
Telnet/ftp problem in RedHat 7.3 rayche Linux - Networking 2 04-07-2003 05:03 PM
How can I telnet to a RedHat box? yuzuohong Linux - General 3 09-28-2002 11:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:39 AM.

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