LinuxQuestions.org
Review your favorite Linux distribution.
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 12-07-2010, 07:46 AM   #1
ilvista
Member
 
Registered: Nov 2010
Location: Ghazaouet
Distribution: Fedora OpenSuse
Posts: 150

Rep: Reputation: 21
fsp or ftp is running


hi
i just can't figure out how to configure my ftp server.

Code:
[root@d199 etc]# grep 21 /etc/services
# 21 is registered to ftp, but also used by fsp
ftp		21/tcp
ftp		21/udp		fsp fspd
here is my running services
Code:
[root@d199 etc]# /sbin/service --status-all|grep running
acpid (pid 2027) is running...
atd (pid 2595) is running...
automount (pid 2010) is running...
Avahi daemon is running
hcid (pid 2035) is running...
console-kit-daemon (pid 2539) is running...
couriertcpd (pid 2152 2143 2135 2125) is running...
crond (pid 2566) is running...
cupsd (pid 2667) is running...
gpm (pid 2183) is running...
hald (pid 2682) is running...
httpd (pid 21825 21707 21706 21702 21695 21692 21674 21662 21658 21482 21438 21402 21384 21379 21372 21371 21369 21347 21337 21336 21332 21331 21328 21325 21323 21322 21320 21319 21317 21312 21311 21218 21216 21215 21214 21212 21211 21210 21209 21207 21203 21200 21174 21171 21166 21157 21047 21036 20909 20896 20877 20798 20791 20687 20280 20258 19962 19949 19882 19848 19845 19785 19609 19471 19425 19424 19422 19421 19405 19404 19394 19363 19359 19156 19141 19134 19122 19050 19043 19037 19022 18855 18831 18827 18673 18634 18569 17819 17509 17169 16115 16106 15125 14716 14708 13487 2386) is running...
irqbalance (pid 1782) is running...
mailman (pid 2788) is running...
dbus-daemon (pid 1996) is running...
mysqld (pid 9455) is running...
xfers running: 0
server is up and running
named (pid  2223) is running...
rpc.statd (pid 1815) is running...
pcscd (pid 1970) is running...
httpsd (pid 30014 2465 2461) is running...
is running
qmail-send (pid 2164) is running...
restorecond (pid 1773) is running...
rpcbind (pid 1796) is running...
rpc.idmapd (pid 1852) is running...
rsyslogd (pid 1978) is running...
rklogd (pid 1983) is running...
rtvscand is running
sshd (pid 4828 2103) is running...
symcfgd is running
webmin (pid 2850) is running
xinetd (pid 2112) is running...
yum-updatesd (pid 3057) is running...
i guess that i'm using fsp instead of ftp ,but where is my FTP server deamon?
i can connect to my server using FTP command!

thx in advance
 
Old 12-07-2010, 07:55 AM   #2
ilvista
Member
 
Registered: Nov 2010
Location: Ghazaouet
Distribution: Fedora OpenSuse
Posts: 150

Original Poster
Rep: Reputation: 21
when i connect using ftp
Code:
[root@benchabane benchabane]# ftp XXX.XXX.XXX.XXX
Connected to XXX.XXX.XXX.XXX (XXX.XXX.XXX.XXX).
220 ProFTPD 1.3.1 Server (ProFTPD) [XXX.XXX.XXX.XXX]
Name (XXX.XXX.XXX.XXX:benchabane):
this shows that i'm runing proftpd but i can't find it in the
list of running services.
Code:
[root@d199 etc]# service proftpd restart
proftpd: unrecognized service
[root@benchabane etc]#
 
Old 12-07-2010, 07:56 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Why would you guess you're running fsp? I'd never even heard of it. http://en.wikipedia.org/wiki/File_Service_Protocol An obsolete early 1990's attempt to replace FTP , whcih was mostly used for porn and warez. You still thinking you're running that? ;-)

OK, so from that list of services, there is no ftp service listed. What have you actually done to make it work? Just looking at what you've provided, I'm inclined to think you've not installed any ftp server all and made no server side changes to make it work.
 
Old 12-07-2010, 07:56 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Why would you guess you're running fsp? I'd never even heard of it. http://en.wikipedia.org/wiki/File_Service_Protocol An obsolete early 1990's attempt to replace FTP , whcih was mostly used for porn and warez. You still thinking you're running that? ;-)

OK, so from that list of services, there is no ftp service listed. What have you actually done to make it work? Just looking at what you've provided, I'm inclined to think you've not installed any ftp server all and made no server side changes to make it work.
 
Old 12-07-2010, 08:17 AM   #5
ilvista
Member
 
Registered: Nov 2010
Location: Ghazaouet
Distribution: Fedora OpenSuse
Posts: 150

Original Poster
Rep: Reputation: 21
thx for your reply and the clarifications.
yes right but when i try to connect using ftp command ,here is what it givs me:

[root@benchabane benchabane]# ftp XXX.XXX.XXX.XXX
Connected to XXX.XXX.XXX.XXX (XXX.XXX.XXX.XXX).
220 ProFTPD 1.3.1 Server (ProFTPD) [XXX.XXX.XXX.XXX]
Name (XXX.XXX.XXX.XXX:benchabane):


that means that I'm running ProFTPD.
and what mage me think i'm using fsp is this

[root@d199 etc]# grep 21 /etc/services
# 21 is registered to ftp, but also used by fsp
ftp 21/tcp
ftp 21/udp fsp fspd


and I'm sure that an ftp server is running.because it(s a web hosting server on witch i've 60 website!!
and besides this line from ftp command "220 ProFTPD 1.3.1 Server (ProFTPD) " ,all my clients can upload and download files in and from my server.that means that means that i have definetly a running ftp server!
thx for the reply again
 
Old 12-07-2010, 08:21 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Well you've not said that the IP you're connecting to is your own, rather than a totally unrelated machine. let's see what's actually running on your tcp ports?

netstat -plnt
 
Old 12-07-2010, 08:31 AM   #7
ilvista
Member
 
Registered: Nov 2010
Location: Ghazaouet
Distribution: Fedora OpenSuse
Posts: 150

Original Poster
Rep: Reputation: 21
Code:
[root@d199 sbin]# netstat -plnt
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name   
tcp        0      0 0.0.0.0:993                 0.0.0.0:*                   LISTEN      2135/couriertcpd    
tcp        0      0 0.0.0.0:995                 0.0.0.0:*                   LISTEN      2152/couriertcpd    
tcp        0      0 0.0.0.0:3306                0.0.0.0:*                   LISTEN      9455/mysqld         
tcp        0      0 0.0.0.0:110                 0.0.0.0:*                   LISTEN      2143/couriertcpd    
tcp        0      0 0.0.0.0:143                 0.0.0.0:*                   LISTEN      2125/couriertcpd    
tcp        0      0 0.0.0.0:111                 0.0.0.0:*                   LISTEN      1796/rpcbind        
tcp        0      0 0.0.0.0:8880                0.0.0.0:*                   LISTEN      2461/httpsd         
tcp        0      0 0.0.0.0:9845                0.0.0.0:*                   LISTEN      2850/perl           
tcp        0      0 172.16.250.254:53           0.0.0.0:*                   LISTEN      2223/named          
tcp        0      0 80.86.200.143:53            0.0.0.0:*                   LISTEN      2223/named          
tcp        0      0 127.0.0.1:53                0.0.0.0:*                   LISTEN      2223/named          
tcp        0      0 0.0.0.0:4950                0.0.0.0:*                   LISTEN      2842/CCcam.x86      
tcp        0      0 0.0.0.0:4952                0.0.0.0:*                   LISTEN      2842/CCcam.x86      
tcp        0      0 127.0.0.1:953               0.0.0.0:*                   LISTEN      2223/named          
tcp        0      0 0.0.0.0:8443                0.0.0.0:*                   LISTEN      2461/httpsd         
tcp        0      0 0.0.0.0:51199               0.0.0.0:*                   LISTEN      1815/rpc.statd      
tcp        0      0 :::106                      :::*                        LISTEN      26243/xinetd        
tcp        0      0 :::587                      :::*                        LISTEN      26243/xinetd        
tcp        0      0 :::80                       :::*                        LISTEN      2386/httpd          
tcp        0      0 :::465                      :::*                        LISTEN      26243/xinetd        
tcp        0      0 :::21                       :::*                        LISTEN      26243/xinetd        
tcp        0      0 :::22                       :::*                        LISTEN      2103/sshd           
tcp        0      0 :::25                       :::*                        LISTEN      26243/xinetd        
tcp        0      0 :::443                      :::*                        LISTEN      2386/httpd          
[root@d199 sbin]#
 
Old 12-07-2010, 08:47 AM   #8
ilvista
Member
 
Registered: Nov 2010
Location: Ghazaouet
Distribution: Fedora OpenSuse
Posts: 150

Original Poster
Rep: Reputation: 21
I guess i get.

Xinetd is managing my ftp server.right?
 
Old 12-07-2010, 08:51 AM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
yep, that'll be it then. Personally I'd suggest whipping that out and having your ftp server of choice run as a proper service.
 
Old 12-07-2010, 08:58 AM   #10
ilvista
Member
 
Registered: Nov 2010
Location: Ghazaouet
Distribution: Fedora OpenSuse
Posts: 150

Original Poster
Rep: Reputation: 21
thx a lot for the help.
i'll use proftpd as a proper service.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Running programs through FTP? nathan plemons Linux - Software 1 08-26-2005 05:48 PM
FTP Server Up and running... how do I hide ftp users from local login screen? joe1031 Mandriva 2 03-18-2005 05:24 PM
How can I tell what ftp software I have running? mtn356 Linux - Newbie 9 10-28-2003 05:20 PM
wu-ftp not running bobster666 Linux - Newbie 0 01-12-2003 09:09 AM
still can't get ftp server running syphon00 Linux - Networking 10 09-04-2002 05:49 PM

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

All times are GMT -5. The time now is 12:17 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration