hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Ftp Prob
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

Ftp Prob

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 04-17-2003, 10:27 PM
JackMitchell JackMitchell is offline
Disabled
 
Join Date: Apr 2003
Location: Australia
Posts: 765
Arrow

Ftp Prob


Hey all

I'm a little confused to whats going on here

Quote:
Resolving host name 64.69.65.57...
Connecting to (64.69.65.57).
Connected to (64.69.65.57) -> IP: 64.69.65.57 PORT: 21.
Socket connected waiting for login sequence.
Cannot login waiting to retry (30s)...
Can some enlighten me what im doing wrong?

Thanks

Reply With Quote


Sponsored Links
  #2  
Old 04-18-2003, 05:24 AM
Slidey Slidey is offline
Web Hosting Master
 
Join Date: Apr 2003
Location: UK
Posts: 2,560
what ftpd are you using ?

surely you dont think we can help you out with that little information ?

sayign that, my guess is you havent installed it properly..

Reply With Quote
  #3  
Old 04-18-2003, 08:58 PM
JackMitchell JackMitchell is offline
Disabled
 
Join Date: Apr 2003
Location: Australia
Posts: 765


Sorry for the lack of info

I'm running proftpd 1.2.8

And its only stopped working since the ns were put up, any ideas? I'm running RedHat 8.0 with apache 2.x

Thanks

Reply With Quote
Sponsored Links
  #4  
Old 04-18-2003, 09:13 PM
teck teck is offline
Retired Moderator
 
Join Date: Sep 2000
Location: New York/USA
Posts: 1,642
Looks like ftpd isn't running. Try restarting proftpd.

Just to make sure it's not your connection, ssh into your server and:

ftp 127.1

Then see if you get a login prompt.

Reply With Quote
  #5  
Old 04-18-2003, 09:18 PM
JackMitchell JackMitchell is offline
Disabled
 
Join Date: Apr 2003
Location: Australia
Posts: 765


Here are my results:

Quote:
[root@vds005 root]# ftp 127.0.0.1
ftp: connect: Connection refused
So, does this mean proftpd isnt running? I tried starting it, and it doesnt seem to work still

Reply With Quote
  #6  
Old 04-18-2003, 11:25 PM
teck teck is offline
Retired Moderator
 
Join Date: Sep 2000
Location: New York/USA
Posts: 1,642
Yeah, it looks like ftpd is not running. What does your error_log say after you restart ftpd.

Reply With Quote
  #7  
Old 04-18-2003, 11:31 PM
JackMitchell JackMitchell is offline
Disabled
 
Join Date: Apr 2003
Location: Australia
Posts: 765
Sorry if i seem a bit dumb but im still learning.. where is the error_log? the command: service proftpd start doesnt work so i start it with: /usr/local/sbin/proftpd

Thanks

Reply With Quote
  #8  
Old 04-19-2003, 12:00 AM
teck teck is offline
Retired Moderator
 
Join Date: Sep 2000
Location: New York/USA
Posts: 1,642
Thats not going to work..

Check in /etc/rc.d/init.d

Look for anything ftp related..

Reply With Quote
  #9  
Old 04-19-2003, 12:07 AM
JackMitchell JackMitchell is offline
Disabled
 
Join Date: Apr 2003
Location: Australia
Posts: 765
Nothing to do with proftpd, ftpd or the word ftp

Reply With Quote
  #10  
Old 07-09-2003, 03:06 AM
dreamspsx dreamspsx is offline
Junior Guru Wannabe
 
Join Date: Feb 2003
Posts: 51
use netstat -ln to see if any service on port 21!

Reply With Quote
  #11  
Old 07-09-2003, 03:54 AM
Slidey Slidey is offline
Web Hosting Master
 
Join Date: Apr 2003
Location: UK
Posts: 2,560
ok a few things to check with proftpd

1 you need to actually define if you're starting it with inetd or starting it standalone. this is defined in teh config file
(possible /usr/local/etc/proftpd.conf but this can change). set it to standalone, then run proftpd -d9 -n which will increase logging and run it without forking (eg it will run it in the foreground). if it doesnt quit straight away (it'll return an error if it does, and return you to the command prompt. paste the error here if it does that), try connecting to it and see what it does. paste any errors etc if you get them

Reply With Quote
  #12  
Old 07-09-2003, 02:27 PM
dreamspsx dreamspsx is offline
Junior Guru Wannabe
 
Join Date: Feb 2003
Posts: 51
This is the err I got when I run proftpd -d9 -n, any clue?
Attached Images
File Type: jpg error.jpg (39.2 KB, 51 views)

Reply With Quote
  #13  
Old 07-09-2003, 02:43 PM
Slidey Slidey is offline
Web Hosting Master
 
Join Date: Apr 2003
Location: UK
Posts: 2,560
that looks as though either proftpd or another ftp daemon is already running

netstat -tlnp|grep :21 should show you whats doing it

Reply With Quote
  #14  
Old 07-09-2003, 04:09 PM
dreamspsx dreamspsx is offline
Junior Guru Wannabe
 
Join Date: Feb 2003
Posts: 51
hello, slidey, I am sure proftpd is running! Just configuration wasn't correct! I can't login to it! Every time I try to login, it shows up 530 pwd error!
This is my conf file:
------------------------
</Global>

RequireValidShell on
UserAlias ftp rain2002
DefaultRoot /var/ftp/rain2002
DefaultRoot /var/ftp/rain2002
Group ftp
User ftp
userPassword ftp movie123
AllowRetrieveRestart on
DefaultServer on
---------------------
so from above, should I be login as ftp:movie123?
thank you!

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?