Current time: 04-19-2024, 01:41 PM Hello There, Guest! (LoginRegister)


Post Reply 
[SOLVED] Cannot login to ftp
Author Message
krzd Offline
Junior Member
*

Posts: 26
Joined: Jul 2009
Reputation: 0
Post: #11
RE: Cannot login to ftp
1-bash3.2 [14:40:30][root@krzd:~]$ nc -l -p21
-bash: nc: command not found
and i don't have any firewall or nat, and it worked before on syscp
10-26-2009 11:41 PM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #12
RE: Cannot login to ftp
Quote:bash3.2 [14:40:30][root@krzd:~]$ nc -l -p21
-bash: nc: command not found
apt-get install netcat

Quote:and i don't have any firewall or nat, and it worked before on syscp
Did you try to connect to the server while capturing the debug output?
(This post was last modified: 10-26-2009 11:44 PM by kilburn.)
10-26-2009 11:44 PM
Visit this user's website Find all posts by this user Quote this message in a reply
krzd Offline
Junior Member
*

Posts: 26
Joined: Jul 2009
Reputation: 0
Post: #13
RE: Cannot login to ftp
Even before I can connect:
Can't grab 0.0.0.0:21 with bind
10-26-2009 11:58 PM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #14
RE: Cannot login to ftp
Sorry, can you rewrite your last message? I haven't understood it.... :S
10-27-2009 12:34 AM
Visit this user's website Find all posts by this user Quote this message in a reply
krzd Offline
Junior Member
*

Posts: 26
Joined: Jul 2009
Reputation: 0
Post: #15
RE: Cannot login to ftp
The output of nc -l -p21 after starting is immediatly:
Can't grab 0.0.0.0:21 with bind.

//edit: oh, it's because i had proftpd running, ok nc stops without any output, while the ftp client stops with:
Status: Verbinde mit 84.23.64.192:21...
Status: Verbindung hergestellt, warte auf Willkommensnachricht...
Fehler: Zeitüberschreitung der Verbindung
Fehler: Herstellen der Verbindung zum Server fehlgeschlagen
Translation: connecting with 84.23.64.192:21; connection established, waiting for welcome message; connection time-out; establishing connection to the server failed
(This post was last modified: 10-27-2009 12:48 AM by krzd.)
10-27-2009 12:41 AM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #16
RE: Cannot login to ftp
So there's no connection issue (I've previously missed that in the ftp procotol the server "speaks first"). I think that we must be missing something in the proftpd log. Could I connect to your vserver through ssh to see if I catch something else? We can use "screen" if you want to follow what I'm doing
10-27-2009 01:30 AM
Visit this user's website Find all posts by this user Quote this message in a reply
krzd Offline
Junior Member
*

Posts: 26
Joined: Jul 2009
Reputation: 0
Post: #17
RE: Cannot login to ftp
OK, do you have got an IM? So it would be very useful to use that.
ICQ: 363604590
MSN: ahs@ahs94.eu
Jabber: krzd@krzd.net

Thanks

//edit: Problem found, MySQL password is not correct (by regenerating config files i copied this from the old config). Also PMA says, that the PMA controluser can't connect.
//edit2: I set new passwords for both and now it works. Seems to be an error in auto-generating passwords.
(This post was last modified: 10-27-2009 08:17 PM by krzd.)
10-27-2009 03:44 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)