LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 10-07-2003, 11:16 AM   #1
mehesque
Member
 
Registered: Oct 2003
Location: TX
Distribution: RH 8.0
Posts: 97

Rep: Reputation: 15
how would I check to see if vsftpd is running?


I'm quite the newbie here, but I thought I could figure this out.

I did the ps -A and it isn't listed. It seems that vsftpd doesn't have a restart command. I did do the "ftpwho" command and it gave "standalone FTP daemon [2999]: no users connected"

So, i did ps -p 2999 and it just returned the standard line "PID TTY TIME CMD"

I'm doing this because I think my ftpd is down as I can't ftp in. How would I check this and better yet, how would I fix this?


Thanks
 
Old 10-07-2003, 11:30 AM   #2
ocularbob
Member
 
Registered: Nov 2002
Location: brooklyn NYC
Distribution: gentoo
Posts: 212

Rep: Reputation: 30
couple of things

# pidof vsftpd (assuming that is the process name)

or you can use "top" which you probably have

# top

there are of course other ways...
 
Old 10-07-2003, 11:56 AM   #3
mehesque
Member
 
Registered: Oct 2003
Location: TX
Distribution: RH 8.0
Posts: 97

Original Poster
Rep: Reputation: 15
I still don't see it

It doesn't show with "top" and with the other command it gives me a blank line underneath it.

I am running rh8.0 with a GNOME desktop.
 
Old 10-07-2003, 01:13 PM   #4
ocularbob
Member
 
Registered: Nov 2002
Location: brooklyn NYC
Distribution: gentoo
Posts: 212

Rep: Reputation: 30
but top works?

if so then it is not running.
try running it.

# vsftpd (im not sure if it needs to be run with options to go daemon or not, try vsftpd --help to find out how to run it properly)

if you get no errors, then

# pidof vsftpd

if you get a response from pidof then it is running.
you can stop it by doing

#kill 1234 2345 (replace with whatever pidof said)
 
Old 10-07-2003, 01:19 PM   #5
ocularbob
Member
 
Registered: Nov 2002
Location: brooklyn NYC
Distribution: gentoo
Posts: 212

Rep: Reputation: 30
you should also look through the redhat docs to find out how to start and stop services. this is how you will normally want to start vsftpd.
it will also want to be started at boot so you will need to configure your boot scripts. it's all very simple i promise.
but i'm not too sure how redhat has all that stuff setup. check the docs
 
Old 10-07-2003, 08:49 PM   #6
ntloser
Member
 
Registered: Oct 2003
Posts: 56

Rep: Reputation: 15
I am running vsftpd and I am logged in and downloading right now but when I do top, it is not listed?
 
Old 10-07-2003, 09:12 PM   #7
ocularbob
Member
 
Registered: Nov 2002
Location: brooklyn NYC
Distribution: gentoo
Posts: 212

Rep: Reputation: 30
sometimes there are more are more processes than top can show in one window, try sorting the list to make sure. also use pidof to double check. if still nothing. then perhaps vsftpd's process is not called vsftpd.

another good way to check on your services is to nmap yourself.

nmap 122.234.456.7 (replace with your server's IP)

nmap is a port scanner that will show what ports are open on your machine.
you may have to download and install nmap.

Last edited by ocularbob; 10-07-2003 at 09:23 PM.
 
  


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
Can't get vsftpd up and running on SuSE 9.2 AQG Linux - Security 3 06-29-2005 10:58 AM
I need help running VSFTPd under Ubuntu.. DmD Linux - Newbie 1 04-29-2005 05:52 AM
httpd and vsftpd problems running maximyus Linux - Networking 3 01-24-2005 12:24 AM
Running VSFTPD under RH 9.0 - how to? ivj Linux - Networking 1 09-12-2004 07:44 AM
vsftpd not running on redhat es 3.0 akhalaf Linux - Newbie 0 07-26-2004 05:17 AM

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

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