Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Do I have FTP running on my server 1

Status
Not open for further replies.

JCrou82

Programmer
Aug 23, 2002
265
US
I'm pretty new to Linux. I have RH 7.0 installed on my machine. I also have sendmail (which I didn't install) and apache (which i didn't install but know how to work with) and php and postgresql (also didn't install). I need to update the websites that are running on apache and as of now what i do is I code on a windows machine, save it to a floppy and then go to the server (which is right next to me) mount the floppy and load the files. I want to be able to FTP to the server so that I don't have to keep doing this idiotic process.

How do I know if FTP capabilities were installed on here or not? (I attempted to use WSFTP from the windows machine, but I couldn't connect)

Also I attempted to install Pure-FTPd but I don't know wether its running and if its not, how do I make it run? henceforth the previous question.

Any help would be appreciated.

THank You
 
Firstly verify if there's any running

# netstat -na | grep LISTEN

if it shows this line:

tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN
then it's running

if not, try this in order to check whether or not a ftp package is installed

# rpm -qa | grep ftp

if so, look for the initialization file at /etc/xinet.d/<ftp file>, edit it, there must be a variable like &quot;disable&quot; give it the value &quot;no&quot;.
The you must to restart the inet service

# /usr/sbin/xinetd restart

If is not installed, look in the Installation CD for the ftp<version>.rpm, do this executing:

# rpm -iv <ftp<version>.rpm>

EDC
 
thank you for the post. This is what I got...
when i typed in netstat -na | grep LISTEN the output was:

tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:515 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:5432 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:23 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:113 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:1024 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN

but none with 21 in it. Then when i type in the command rpm -qa | grep ftp, I got this output:

ftp-0.17-6
ncftp3.0.1-7
gftp-2.0.7b-2

and The installation disks I have, unfortunately Do not have any rpms for FTP. Where do I go from here?





 
Also I forgot to mention, there was no such file in the directory or anywhere else for that matter. (/etc/xinet.d/) this is probably due to the fact that I most likely don't have FTP running or installed properly. Please help.

Thank you
 
The 3 packages that you have installed are FTP clients. Most likely, you don't have FTP running, judging by the output of the netstat command, but thats not 100% of course. Someone could have compiled an FTP server from source (wouldn't show up in the rpm -qa output) and changed the default port of 21 to something else. Are you the only admin on the box?

I would recommend installing ProFTPd --> I would download the source file (*.tar.gz) from their website. Basic instructions would look something like this...

<change to the directory where the proftpd-x.x.x.tar.gz file is located>
tar zxvf proftpd-x.x.x.tar.gz -C /usr/local/src
cd /usr/local/src/proftpd-x.x.x
./configure --prefix=/usr/local/proftpd
make
make install

Next, you need to modify the /usr/local/proftpd/etc/proftpd.conf file. After you are done configuring the server, you can start the ProFTPd daemon by running &quot;/usr/local/proftpd/sbin/proftpd&quot;.

Post back if you have any problems or questions, or you can start a new thread if you decide to go with ProFTPd.


ChrisP
 
I will try proFTP. But before I do, how do I uninstall pure-FTP. I allegedly installed pure-ftp, but from your post and from the look of things, it didn't install. I want to get rid of it before I install a different program so that I if any issues arise, I could just target proFTP as the culprit instead of guessing wether my bad installation of pure-FTP was causing the problem.

Also is there a forum for ProFTP or should I just post in here?

Thanks to all....
 
As to the only admin, yes, I am the only admin. I took over the postion of the previous admin who has left the company and as far as I recall, he had not installed any FTP services on here besides the default FTP clients that you are talking about.

Thank You
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top