Current time: 11-16-2024, 08:56 AM Hello There, Guest! (LoginRegister)


Post Reply 
[SOLVED] fresh install - cant login with ftp
Author Message
psygarden Offline
Junior Member
*

Posts: 84
Joined: Jan 2008
Reputation: 0
Post: #1
[SOLVED] fresh install - cant login with ftp
I've just completed a fresh install and wanted to login using an ftp account to transfer the data from my old server, now i'm running into an issue here...

I had an admin account from the installation procedure. Logged in and created a reseller account. There i created my first user and when logged in as this user i added an ftp account.

Now whenever i try to connect to my server i get this error:

Quote:C:\Users\rhelsen>ftp
ftp> open psygarden.eu
Connected to psygarden.eu.
Connection closed by remote host.
ftp>

Quote:NcFTP 3.2.1 (Jul 29, 2007) by Mike Gleason (http://www.NcFTP.com/contact/).
Could not connect to 85.10.xxx.xxx: Connection refused.
Sleeping 20 seconds...

I tried various ftp clients from my local windows machine as well as a second remote linux box, without success...

it doesn't matter if proftpd is running or not, i keep getting this very same error...

/var/log/proftpd/controls.log is empty
/var/log/proftpd/ftp_traff.log is empty
/var/log/proftpd/proftpd.log contains a few lines relevant to my reboots of the server, and a failed login count for an "administrator" user that i never created myself ( probably a system account related ispcp)

All help is very much appreciated!
greetings,
Rik
(This post was last modified: 01-23-2008 09:25 AM by psygarden.)
01-23-2008 04:56 AM
Visit this user's website Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #2
RE: fresh install - cant login with ftp
How does you Login???

The username for login is: <user>@<domain>.<tld>
01-23-2008 05:02 AM
Visit this user's website Find all posts by this user Quote this message in a reply
psygarden Offline
Junior Member
*

Posts: 84
Joined: Jan 2008
Reputation: 0
Post: #3
RE: fresh install - cant login with ftp
gOOvER Wrote:How does you Login???

The username for login is: <user>@<domain>.<tld>

I don't even get the login prompt, i get denied access to the port straight away :/
01-23-2008 05:32 AM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #4
RE: fresh install - cant login with ftp
Please run your proftpd in debug mode and post the output here:
Code:
# proftpd -n -d5

Greez BeNe
01-23-2008 05:56 AM
Visit this user's website Find all posts by this user Quote this message in a reply
psygarden Offline
Junior Member
*

Posts: 84
Joined: Jan 2008
Reputation: 0
Post: #5
RE: fresh install - cant login with ftp
BeNe Wrote:Please run your proftpd in debug mode and post the output here:
Code:
# proftpd -n -d5

Greez BeNe

No problem Smile

You guys don't happen to have an IRc channel for support?

Quote:psygarden:~# proftpd -n -d5 > proftpdebugoutput
- mod_ctrls/0.9.4: binding ctrls socket to '/var/run/proftpd/proftpd.sock'
- parsing '/etc/proftpd/proftpd.conf' configuration
- parsing '/etc/proftpd/modules.conf' configuration
- mod_tls/2.1.1: using OpenSSL 0.9.8c 05 Sep 2006
- DenyFilter: compiling deny regex '\*.*/'
- <Directory /*>: deferring resolution of path
- PathDenyFilter: compiling deny regex '.quota$'
- <IfModule>: using 'mod_delay.c' section at line 83
- IPv6 getaddrinfo 'psygarden.eu' error: Name or service not known
psygarden.eu -
psygarden.eu - Config for psygarden.eu:
psygarden.eu - Limit
psygarden.eu - IgnoreHidden
psygarden.eu - /*
psygarden.eu - Umask
psygarden.eu - DirUmask
psygarden.eu - AllowOverwrite
psygarden.eu - HideNoAccess
psygarden.eu - ShowSymlinks
psygarden.eu - AllowStoreRestart
psygarden.eu - AllowForeignAddress
psygarden.eu - DisplayLogin
psygarden.eu - DisplayFirstChdir
psygarden.eu - DenyFilter
psygarden.eu - SQLAuthTypes
psygarden.eu - SQLAuthenticate
psygarden.eu - SQLConnectInfo
psygarden.eu - SQLMinID
psygarden.eu - SQLNamedQuery_get-quota-limit
psygarden.eu - SQLNamedQuery_get-quota-tally
psygarden.eu - SQLNamedQuery_update-quota-tally
psygarden.eu - SQLNamedQuery_insert-quota-tally
psygarden.eu - RootLogin
psygarden.eu - TransferLog
psygarden.eu - PathDenyFilter
psygarden.eu - DeferWelcome
psygarden.eu - ShowSymlinks
psygarden.eu - DefaultServer
psygarden.eu - ShowSymlinks
psygarden.eu - AllowOverwrite
psygarden.eu - IdentLookups
psygarden.eu - AllowStoreRestart
psygarden.eu - AllowForeignAddress
psygarden.eu - TimeoutNoTransfer
psygarden.eu - TimeoutStalled
psygarden.eu - TimeoutIdle
psygarden.eu - DisplayLogin
psygarden.eu - DisplayFirstChdir
psygarden.eu - DenyFilter
psygarden.eu - DefaultRoot
psygarden.eu - UserID
psygarden.eu - UserName
psygarden.eu - GroupID
psygarden.eu - GroupName
psygarden.eu - DelayEngine
psygarden.eu - SQLBackend
psygarden.eu - SQLAuthTypes
psygarden.eu - SQLAuthenticate
psygarden.eu - SQLConnectInfo
psygarden.eu - SQLUserTable
psygarden.eu - SQLUsernameField
psygarden.eu - SQLPasswordField
psygarden.eu - SQLUidField
psygarden.eu - SQLGidField
psygarden.eu - SQLHomedirField
psygarden.eu - SQLShellField
psygarden.eu - SQLGroupTable
psygarden.eu - SQLGroupnameField
psygarden.eu - SQLGroupGIDField
psygarden.eu - SQLGroupMembersField
psygarden.eu - SQLMinID
psygarden.eu - QuotaEngine
psygarden.eu - QuotaShowQuotas
psygarden.eu - QuotaDisplayUnits
psygarden.eu - SQLNamedQuery_get-quota-limit
psygarden.eu - SQLNamedQuery_get-quota-tally
psygarden.eu - SQLNamedQuery_update-quota-tally
psygarden.eu - SQLNamedQuery_insert-quota-tally
psygarden.eu - QuotaLock
psygarden.eu - QuotaLimitTable
psygarden.eu - QuotaTallyTable
psygarden.eu - RootLogin
psygarden.eu - TransferLog
psygarden.eu - ExtendedLog
psygarden.eu - PathDenyFilter
psygarden.eu - mod_ctrls/0.9.4: binding ctrls socket to '/var/run/proftpd/proftpd.sock'
psygarden.eu - deleting existing scoreboard '/var/run/proftpd/proftpd.scoreboard'
psygarden.eu - error setting IPV6_V6ONLY: Protocol not available
psygarden.eu - Failed binding to ::, port 21: Address already in use
psygarden.eu - Check the ServerType directive to ensure you are configured correctly.
01-23-2008 06:54 AM
Visit this user's website Find all posts by this user Quote this message in a reply
psygarden Offline
Junior Member
*

Posts: 84
Joined: Jan 2008
Reputation: 0
Post: #6
RE: fresh install - cant login with ftp
I seem to be able to conclude that port 21 is already in use when i try to start proftpd.

When for testing I change the port to 210 i can get the debug mode running. but i still get this issue when i try to login:

Quote:psygarden.eu (::ffff:84.193.226.141[::ffff:84.193.226.141]) - FTP session requested from unknown class
psygarden.eu (::ffff:84.193.226.141[::ffff:84.193.226.141]) - FTP session closed.

This error appears in the debug console for each time i try to login with a remote client. is it possible that there is still an exclusion filter ?

greetings,
Rik
01-23-2008 06:59 AM
Visit this user's website Find all posts by this user Quote this message in a reply
psygarden Offline
Junior Member
*

Posts: 84
Joined: Jan 2008
Reputation: 0
Post: #7
RE: fresh install - cant login with ftp
I keep getting this problem and can't seem to fix it... i checkd the proftpd.conf file for valid configuration to access the database and this all seems in order, still i can't ever connect to the proftpd server...

I find this in my daemon.log file for each conntect attempt:
Quote:Jan 22 23:28:15 psygarden proftpd[2955]: psygarden.eu (::ffff:84.193.226.141[::ffff:84.193.226.141]) - FTP session closed.
Jan 22 23:28:20 psygarden proftpd[2956]: psygarden.eu (::ffff:84.193.226.141[::ffff:84.193.226.141]) - FTP session closed.
Jan 22 23:28:25 psygarden proftpd[2957]: psygarden.eu (::ffff:84.193.226.141[::ffff:84.193.226.141]) - FTP session closed.
Jan 22 23:28:30 psygarden proftpd[2958]: psygarden.eu (::ffff:84.193.226.141[::ffff:84.193.226.141]) - FTP session closed.
Jan 22 23:28:44 psygarden proftpd[2959]: psygarden.eu (::ffff:84.193.226.141[::ffff:84.193.226.141]) - FTP session closed.

Also i notice that the /var/log/proftpd/proftpd.log file isn't growing at all... not a single new line has been added since i installed ispcp easerlier today..
(This post was last modified: 01-23-2008 08:36 AM by psygarden.)
01-23-2008 08:33 AM
Visit this user's website Find all posts by this user Quote this message in a reply
psygarden Offline
Junior Member
*

Posts: 84
Joined: Jan 2008
Reputation: 0
Post: #8
RE: [SOLVED] fresh install - cant login with ftp
The issue has been solved, it turned out to be proftpd that couldn't access the mysql database, changing the mysql connection settings in proftpd and verifiying these settings in phpmyadmin now allows me to login with the created ftp accounts!

greetings,
Rik
01-23-2008 09:26 AM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #9
RE: [SOLVED] fresh install - cant login with ftp
Fine, a self helper Wink
Have fun with ispCP Omega!

Greez BeNe
01-23-2008 04:46 PM
Visit this user's website Find all posts by this user Quote this message in a reply
psygarden Offline
Junior Member
*

Posts: 84
Joined: Jan 2008
Reputation: 0
Post: #10
RE: [SOLVED] fresh install - cant login with ftp
BeNe Wrote:Fine, a self helper Wink
Have fun with ispCP Omega!

Greez BeNe

This is forum is only one of the places i go for help Wink but i post my experiences here anyway so maybe other users can find it usefull for them (and the makers of the software to improve it Tongue )
01-24-2008 02:31 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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