LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-07-2014, 05:11 PM   #1
Ribo01
Member
 
Registered: Aug 2010
Posts: 103

Rep: Reputation: 5
finding FTP service


hello y'all. hope you had a great day. am having troublr running "ftp" on my system, when i type in,
Quote:
ftp
, get into the,
Quote:
ftp prompt
when i try to use,
Quote:
open 192.168.168.*.*
(note ofcourse i typed in the full right ip addy, this is jst an example), its tells me,
Quote:
connection refused
i obviously have connection to the same ip through,
Quote:
ssh
so am wondering why i cant connnect to the ip through,
Quote:
ftp
. i go to my,
Quote:
/etc/init.d/ directory
but cant seem to find the ftp service amongst the services running.found,
Quote:
vsftpd
on the list but no ftp. so am wondering why???

Also i would like to be corrected if am wrong or better still enlighthened,
Quote:
every service running on my linux system should or would be in the '/etc/init.d/ directory' right?
i also thought maybe i didnt have the,
Quote:
ftp
installed, when i queried my,
Quote:
rpm
using
Quote:
rpm -qa | grep -i ftp
, ftp was listed as being installed. so now am so puzzled would love a quick response please

My distro is
Quote:
Oracle Linux Server release 5.6
 
Old 02-07-2014, 11:06 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
You're not clear when you're talking about cmds on the server and cmds on the client.
Also, please actually copy/paste the cmds/output directly rather than describing them.

Having said that, vsftpd is an ftp server and should be only on the server end, not the client.
You will also have to check that it is up and running
Code:
netstat -tanp
then check server firewall is open
Code:
iptables -nvL
This has nothing to do with ssh (although if ssh works, you could use scp or sftp to copy stuff instead).

Also, post the Linux distro for both systems.

HTH
 
Old 02-08-2014, 11:35 PM   #3
Ribo01
Member
 
Registered: Aug 2010
Posts: 103

Original Poster
Rep: Reputation: 5
hello all, Thanks chrism01 for your reply. All my questioned were not answered, i also asked if all services, and i mean,
Quote:
all
running in a Linux system are always in the,
Quote:
/etc/init.d/directory
would like that to be confirmed. Then is there also a particular command to check if a
Quote:
specific port
is opened instead of listing the whole ports through
Quote:
iptables -nvL
or through
Quote:
netstat
. looking forward to reading soon.

kind regards
 
Old 02-09-2014, 02:27 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Quoting random words makes your posts rather hard to read.

The vsftod program is an FTP server implementation. You can start it with "/etc/init.d/vsftpd start". However, if you have a firewall running (check "iptables -L") then it is likely set up to block FTP traffic. If you Google around a bit, you can easily find instructions for how to make iptables pass FTP traffic.

However, if you have ssh working to the server, there's a much easier and more secure way to transferring files! Simply use the "sftp" command, which runs over ssh, instead of ftp.
 
1 members found this post helpful.
Old 02-10-2014, 11:29 AM   #5
Ribo01
Member
 
Registered: Aug 2010
Posts: 103

Original Poster
Rep: Reputation: 5
hello y'all. A big thanks to btmiller, i think have been able to figure it out, and i would learn to do less quoting of my word when i post. As i always say, the forum rocksssss!!!

cheers
 
  


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
ftp is not finding services file snf Linux - Networking 4 10-02-2005 04:37 PM
SuSE 9.2 - FTP Port open with no FTP service?!?! don_wombat Linux - Security 12 12-01-2004 03:14 PM
ftp server not finding my ip address fideli Linux - Software 7 02-18-2004 11:47 AM
FTP Service Aldyn Linux - Newbie 4 05-31-2003 01:31 PM
ftp service alwayslearning Linux - Software 14 05-15-2003 06:39 AM

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

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