LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 11-20-2006, 10:23 AM   #1
gene.taylor
LQ Newbie
 
Registered: Nov 2006
Posts: 2

Rep: Reputation: 0
FTP sevice doesn't work


I have a new server that I'm trying to use. I can ping it from another system but when I try to connect via FTP, it fails with the following message:
> ftp: connect :Unknown error number
I'm not sure that the fpt daemon is running. I started it but it doesn't show in ps -ef | grep ftp so maybe it isn't really running.
Any help would be appreciated.
 
Old 11-20-2006, 12:30 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Usually the ftp service is started through xinetd, so you cannot see it running using ps. You can run:
Code:
netstat -at |grep ftp
to see if the ftp port (21) is listening. Or you can just:
Code:
ftp localhost
If it's working, then there is something that blocks your connection to it, so you must look for a misconfigured firewall at your server.
 
Old 12-06-2006, 11:58 PM   #3
vimalkumar_k
LQ Newbie
 
Registered: Nov 2006
Posts: 14

Rep: Reputation: 0
I assume u r using RedHat, right??

use

service vsftpd restart ; chkconfig vsftpd on

to start the ftp server...

In case of any blocking... u shud check for policies written in...

i , /etc/hosts.deny
ii , /etc/hosts.allow
iii, iptables

Check if policy is written in iptables using,

iptables -L
 
  


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
Can I delete sevice pack 2 with linux bar1313 Linux - General 3 11-02-2006 10:20 AM
Does my ftp work? evildreamer Linux - Networking 3 09-19-2006 07:00 AM
Running a .pl script as a sevice JonathonReinhart Linux - Software 2 11-21-2005 08:03 PM
problem getting ftp to work s0ggyfish Linux - Networking 1 04-12-2003 11:39 PM
FTP nor Telnet work Fruitbat Linux - Networking 1 08-12-2001 07:23 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 06:47 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