Current time: 12-24-2024, 04:06 AM Hello There, Guest! (LoginRegister)


Post Reply 
Ftp login problems
Author Message
dirckx Offline
Junior Member
*

Posts: 11
Joined: Mar 2009
Reputation: 0
Post: #1
Ftp login problems
Hi all

i have a problem with loging in to my ftp.
the only accounts that works in the ftpd server are the accounts that are made in the Unbuntu 8.10 account managament, the accounts that i make with the admin/reseller/domain controll ispcp system are not working and give a 530 error.


[R] Connected to serverdomain.123
[R] 220 ProFTPD 1.3.1 Server (Debian) [::ffff:192.168.0.2]
[R] USER fd@serverdomain.123
[R] 331 Password required for fd@serverdomain.123
[R] PASS (hidden)
[R] 530 Login incorrect.
[R] Connection failed
[R] Delaying for 120 seconds before reconnect attempt #1

i checked all only find 1 topic that is maybe the same but im not sure
http://www.isp-control.net/forum/thread-6212.html

thanks
03-31-2009 01:34 AM
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: #2
RE: Ftp login problems
So please try to debug the Proftpd.
There are some topics around here in the Board how to do this.

Greez BeNe
03-31-2009 01:38 AM
Visit this user's website Find all posts by this user Quote this message in a reply
dirckx Offline
Junior Member
*

Posts: 11
Joined: Mar 2009
Reputation: 0
Post: #3
RE: Ftp login problems
proftpd -nd5

Code:
- mod_tls/2.1.2: using OpenSSL 0.9.8g 19 Oct 2007
- DenyFilter: compiling deny regex '\*.*/'
- <IfModule>: using 'mod_dynmasq.c' section at line 54
- <IfModule>: using 'mod_quotatab.c' section at line 100
- <IfModule>: skipping 'mod_ratio.c' section at line 104
- <IfModule>: using 'mod_delay.c' section at line 112
- <IfModule>: using 'mod_ctrls.c' section at line 116
- <IfModule>: using 'mod_ctrls_admin.c' section at line 124
nemesis.*.nl -
nemesis.*.nl - Config for Debian:
nemesis.*.nl - IdentLookups
nemesis.*.nl - DeferWelcome
nemesis.*.nl - DefaultServer
nemesis.*.nl - ShowSymlinks
nemesis.*.nl - TimeoutNoTransfer
nemesis.*.nl - TimeoutStalled
nemesis.*.nl - TimeoutIdle
nemesis.*.nl - DisplayLogin
nemesis.*.nl - DisplayChdir
nemesis.*.nl - ListOptions
nemesis.*.nl - DenyFilter
nemesis.*.nl - UserID
nemesis.*.nl - UserName
nemesis.*.nl - GroupID
nemesis.*.nl - GroupName
nemesis.*.nl - Umask
nemesis.*.nl - DirUmask
nemesis.*.nl - AllowOverwrite
nemesis.*.nl - TransferLog
nemesis.*.nl - QuotaEngine
nemesis.*.nl - DelayEngine
nemesis.*.nl - deleting existing scoreboard '/var/run/proftpd/proftpd.score                                              board'
nemesis.*.nl - Failed binding to ::, port 21: Address already in use
nemesis.*.nl - Check the ServerType directive to ensure you are configured                                               correctly.

this is the list.

Ubuntu 8.10 server is taking over the Proftpd
(This post was last modified: 03-31-2009 03:53 AM by dirckx.)
03-31-2009 03:53 AM
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: Ftp login problems
Code:
Failed binding to ::, port 21: Address already in use
Please stop your proftpd before you start it in debug modus.

Greez BeNe
03-31-2009 04:47 AM
Visit this user's website Find all posts by this user Quote this message in a reply
server801 Offline
Moderator
*****
Moderators

Posts: 349
Joined: Mar 2009
Reputation: 1
Post: #5
RE: Ftp login problems
that said "ftp localhost"? and add in proftpd config
Code:
DefaultAddress  xxx.xxx.x.x
(This post was last modified: 03-31-2009 04:57 AM by server801.)
03-31-2009 04:57 AM
Visit this user's website Find all posts by this user Quote this message in a reply
dirckx Offline
Junior Member
*

Posts: 11
Joined: Mar 2009
Reputation: 0
Post: #6
RE: Ftp login problems
Code:
- mod_tls/2.1.2: using OpenSSL 0.9.8g 19 Oct 2007
- DenyFilter: compiling deny regex '\*.*/'
- <IfModule>: using 'mod_dynmasq.c' section at line 54
- <IfModule>: using 'mod_quotatab.c' section at line 100
- <IfModule>: skipping 'mod_ratio.c' section at line 104
- <IfModule>: using 'mod_delay.c' section at line 112
- <IfModule>: using 'mod_ctrls.c' section at line 116
- <IfModule>: using 'mod_ctrls_admin.c' section at line 124
- processing configuration directory '/etc/proftpd/ispcp'
- <Directory ~/backups>: deferring resolution of path
- <Directory ~/backups/*>: deferring resolution of path
- <Directory ~/cgi-bin>: deferring resolution of path
- <Directory ~/cgi-bin/*>: deferring resolution of path
- <Directory ~/htdocs>: deferring resolution of path
- <Directory ~/htdocs/*>: deferring resolution of path
- <Directory ~/errors>: deferring resolution of path
- <Directory ~/errors/*>: deferring resolution of path
- <Directory ~/logs>: deferring resolution of path
- <Directory ~/logs/*>: deferring resolution of path
- <Directory ~/phptmp>: deferring resolution of path
- <Directory ~/phptmp/*>: deferring resolution of path
- <Directory ~/statistics>: deferring resolution of path
- <Directory ~/statistics/*>: deferring resolution of path
nemesis.****.nl -
nemesis.****.nl - Config for Debian:
nemesis.****.nl - ~/statistics/*
nemesis.****.nl -  Limit
nemesis.****.nl -   AllowAll
nemesis.****.nl -  ShowSymlinks
nemesis.****.nl -  DisplayLogin
nemesis.****.nl -  DisplayChdir
nemesis.****.nl -  ListOptions
nemesis.****.nl -  DenyFilter
nemesis.****.nl -  Umask
nemesis.****.nl -  DirUmask
nemesis.****.nl -  AllowOverwrite
nemesis.****.nl -  TransferLog
nemesis.****.nl - ~/statistics
nemesis.****.nl -  Limit
nemesis.****.nl -   DenyAll
nemesis.****.nl -  ShowSymlinks
nemesis.****.nl -  DisplayLogin
nemesis.****.nl -  DisplayChdir
nemesis.****.nl -  ListOptions
nemesis.****.nl -  DenyFilter
nemesis.****.nl -  Umask
nemesis.****.nl -  DirUmask
nemesis.****.nl -  AllowOverwrite
nemesis.****.nl -  TransferLog
nemesis.****.nl - ~/phptmp/*
nemesis.****.nl -  Limit
nemesis.****.nl -   AllowAll
nemesis.****.nl -  ShowSymlinks
nemesis.****.nl -  DisplayLogin
nemesis.****.nl -  DisplayChdir
nemesis.****.nl -  ListOptions
nemesis.****.nl -  DenyFilter
nemesis.****.nl -  Umask
nemesis.****.nl -  DirUmask
nemesis.****.nl -  AllowOverwrite
nemesis.****.nl -  TransferLog
nemesis.****.nl - ~/phptmp
nemesis.****.nl -  Limit
nemesis.****.nl -   DenyAll
nemesis.****.nl -  ShowSymlinks
nemesis.****.nl -  DisplayLogin
nemesis.****.nl -  DisplayChdir
nemesis.****.nl -  ListOptions
nemesis.****.nl -  DenyFilter
nemesis.****.nl -  Umask
nemesis.****.nl -  DirUmask
nemesis.****.nl -  AllowOverwrite
nemesis.****.nl -  TransferLog
nemesis.****.nl - ~/logs/*
nemesis.****.nl -  Limit
nemesis.****.nl -   AllowAll
nemesis.****.nl -  ShowSymlinks
nemesis.****.nl -  DisplayLogin
nemesis.****.nl -  DisplayChdir
nemesis.****.nl -  ListOptions
nemesis.****.nl -  DenyFilter
nemesis.****.nl -  Umask
nemesis.****.nl -  DirUmask
nemesis.****.nl -  AllowOverwrite
nemesis.****.nl -  TransferLog
nemesis.****.nl - ~/logs
nemesis.****.nl -  Limit
nemesis.****.nl -   DenyAll
nemesis.****.nl -  ShowSymlinks
nemesis.****.nl -  DisplayLogin
nemesis.****.nl -  DisplayChdir
nemesis.****.nl -  ListOptions
nemesis.****.nl -  DenyFilter
nemesis.****.nl -  Umask
nemesis.****.nl -  DirUmask
nemesis.****.nl -  AllowOverwrite
nemesis.****.nl -  TransferLog
nemesis.****.nl - ~/errors/*
nemesis.****.nl -  Limit
nemesis.****.nl -   AllowAll
nemesis.****.nl -  ShowSymlinks
nemesis.****.nl -  DisplayLogin
nemesis.****.nl -  DisplayChdir
nemesis.****.nl -  ListOptions
nemesis.****.nl -  DenyFilter
nemesis.****.nl -  Umask
nemesis.****.nl -  DirUmask
nemesis.****.nl -  AllowOverwrite
nemesis.****.nl -  TransferLog
nemesis.****.nl - ~/errors
nemesis.****.nl -  Limit
nemesis.****.nl -   DenyAll
nemesis.****.nl -  ShowSymlinks
nemesis.****.nl -  DisplayLogin
nemesis.****.nl -  DisplayChdir
nemesis.****.nl -  ListOptions
nemesis.****.nl -  DenyFilter
nemesis.****.nl -  Umask
nemesis.****.nl -  DirUmask
nemesis.****.nl -  AllowOverwrite
nemesis.****.nl -  TransferLog
nemesis.****.nl - ~/htdocs/*
nemesis.****.nl -  Limit
nemesis.****.nl -   AllowAll
nemesis.****.nl -  ShowSymlinks
nemesis.****.nl -  DisplayLogin
nemesis.****.nl -  DisplayChdir
nemesis.****.nl -  ListOptions
nemesis.****.nl -  DenyFilter
nemesis.****.nl -  Umask
nemesis.****.nl -  DirUmask
nemesis.****.nl -  AllowOverwrite
nemesis.****.nl -  TransferLog
nemesis.****.nl - ~/htdocs
nemesis.****.nl -  Limit
nemesis.****.nl -   DenyAll
nemesis.****.nl -  ShowSymlinks
nemesis.****.nl -  DisplayLogin
nemesis.****.nl -  DisplayChdir
nemesis.****.nl -  ListOptions
nemesis.****.nl -  DenyFilter
nemesis.****.nl -  Umask
nemesis.****.nl -  DirUmask
nemesis.****.nl -  AllowOverwrite
nemesis.****.nl -  TransferLog
nemesis.****.nl - ~/cgi-bin/*
nemesis.****.nl -  Limit
nemesis.****.nl -   AllowAll
nemesis.****.nl -  ShowSymlinks
nemesis.****.nl -  DisplayLogin
nemesis.****.nl -  DisplayChdir
nemesis.****.nl -  ListOptions
nemesis.****.nl -  DenyFilter
nemesis.****.nl -  Umask
nemesis.****.nl -  DirUmask
nemesis.****.nl -  AllowOverwrite
nemesis.****.nl -  TransferLog
nemesis.****.nl - ~/cgi-bin
nemesis.****.nl -  Limit
nemesis.****.nl -   DenyAll
nemesis.****.nl -  ShowSymlinks
nemesis.****.nl -  DisplayLogin
nemesis.****.nl -  DisplayChdir
nemesis.****.nl -  ListOptions
nemesis.****.nl -  DenyFilter
nemesis.****.nl -  Umask
nemesis.****.nl -  DirUmask
nemesis.****.nl -  AllowOverwrite
nemesis.****.nl -  TransferLog
nemesis.****.nl - ~/backups/*
nemesis.****.nl -  Limit
nemesis.****.nl -   AllowAll
nemesis.****.nl -  ShowSymlinks
nemesis.****.nl -  DisplayLogin
nemesis.****.nl -  DisplayChdir
nemesis.****.nl -  ListOptions
nemesis.****.nl -  DenyFilter
nemesis.****.nl -  Umask
nemesis.****.nl -  DirUmask
nemesis.****.nl -  AllowOverwrite
nemesis.****.nl -  TransferLog
nemesis.****.nl - ~/backups
nemesis.****.nl -  Limit
nemesis.****.nl -   DenyAll
nemesis.****.nl -  ShowSymlinks
nemesis.****.nl -  DisplayLogin
nemesis.****.nl -  DisplayChdir
nemesis.****.nl -  ListOptions
nemesis.****.nl -  DenyFilter
nemesis.****.nl -  Umask
nemesis.****.nl -  DirUmask
nemesis.****.nl -  AllowOverwrite
nemesis.****.nl -  TransferLog
nemesis.****.nl - IdentLookups
nemesis.****.nl - DeferWelcome
nemesis.****.nl - DefaultServer
nemesis.****.nl - ShowSymlinks
nemesis.****.nl - TimeoutNoTransfer
nemesis.****.nl - TimeoutStalled
nemesis.****.nl - TimeoutIdle
nemesis.****.nl - DisplayLogin
nemesis.****.nl - DisplayChdir
nemesis.****.nl - ListOptions
nemesis.****.nl - DenyFilter
nemesis.****.nl - UserID
nemesis.****.nl - UserName
nemesis.****.nl - GroupID
nemesis.****.nl - GroupName
nemesis.****.nl - Umask
nemesis.****.nl - DirUmask
nemesis.****.nl - AllowOverwrite
nemesis.****.nl - TransferLog
nemesis.****.nl - QuotaEngine
nemesis.****.nl - DelayEngine
nemesis.****.nl - ProFTPD 1.3.1 (stable) (built Sat Aug 16 06:12:55 UTC 2008) standalone mode STARTUP

proftpd.conf
Code:
#
# /etc/proftpd/proftpd.conf -- This is a basic ProFTPD configuration file.
# To really apply changes reload proftpd after modifications.
#

# Includes DSO modules
Include /etc/proftpd/modules.conf

# Set off to disable IPv6 support which is annoying on IPv4 only boxes.
UseIPv6                on
# If set on you can experience a longer connection delay in many cases.
IdentLookups            off

ServerName            "Debian"
ServerType            standalone
DeferWelcome            off

MultilineRFC2228        on
DefaultServer            on
ShowSymlinks            on

TimeoutNoTransfer        600
TimeoutStalled            600
TimeoutIdle            1200

DisplayLogin                    welcome.msg
DisplayChdir                   .message true
ListOptions                    "-l"

DenyFilter            \*.*/

# Use this to jail all users in their homes
# DefaultRoot            ~

# Users require a valid shell listed in /etc/shells to login.
# Use this directive to release that constrain.
# RequireValidShell        off

# Port 21 is the standard FTP port.
Port                21

# In some cases you have to specify passive ports range to by-pass
# firewall limitations. Ephemeral ports can be used for that, but
# feel free to use a more narrow range.
# PassivePorts                  49152 65534

# If your host was NATted, this option is useful in order to
# allow passive tranfers to work. You have to use your public
# address and opening the passive ports used on your firewall as well.
# MasqueradeAddress        1.2.3.4

# This is useful for masquerading address with dynamic IPs:
# refresh any configured MasqueradeAddress directives every 8 hours
<IfModule mod_dynmasq.c>
# DynMasqRefresh 28800
</IfModule>

# To prevent DoS attacks, set the maximum number of child processes
# to 30.  If you need to allow more than 30 concurrent connections
# at once, simply increase this value.  Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
MaxInstances            30

# Set the user and group that the server normally runs at.
User                proftpd
Group                nogroup

# Umask 022 is a good standard umask to prevent new files and dirs
# (second parm) from being group and world writable.
Umask                022  022
# Normally, we want files to be overwriteable.
AllowOverwrite            on

# Uncomment this if you are using NIS or LDAP via NSS to retrieve passwords:
# PersistentPasswd        off

# This is required to use both PAM-based authentication and local passwords
# AuthOrder            *mod_auth_pam.c mod_auth_unix.c

# Be warned: use of this directive impacts CPU average load!
# Uncomment this if you like to see progress and transfer rate with ftpwho
# in downloads. That is not needed for uploads rates.
#
# UseSendFile            off

# Choose a SQL backend among MySQL or PostgreSQL.
# Both modules are loaded in default configuration, so you have to specify the backend
# or comment out the unused module in /etc/proftpd/modules.conf.
# Use 'mysql' or 'postgres' as possible values.
#
#<IfModule mod_sql.c>
# SQLBackend            mysql
#</IfModule>

TransferLog /var/log/proftpd/xferlog
SystemLog   /var/log/proftpd/proftpd.log

<IfModule mod_quotatab.c>
QuotaEngine off
</IfModule>

<IfModule mod_ratio.c>
Ratios off
</IfModule>


# Delay engine reduces impact of the so-called Timing Attack described in
# http://security.lss.hr/index.php?page=details&ID=LSS-2004-10-02
# It is on by default.
<IfModule mod_delay.c>
DelayEngine on
</IfModule>

<IfModule mod_ctrls.c>
ControlsEngine        off
ControlsMaxClients    2
ControlsLog           /var/log/proftpd/controls.log
ControlsInterval      5
ControlsSocket        /var/run/proftpd/proftpd.sock
</IfModule>

<IfModule mod_ctrls_admin.c>
AdminControlsEngine off
</IfModule>

#
# Alternative authentication frameworks
#
#Include /etc/proftpd/ldap.conf
#Include /etc/proftpd/sql.conf

#
# This is used for FTPS connections
#
#Include /etc/proftpd/tls.conf

# A basic anonymous configuration, no upload directories.

# <Anonymous ~ftp>
#   User                ftp
#   Group                nogroup
#   # We want clients to be able to login with "anonymous" as well as "ftp"
#   UserAlias            anonymous ftp
#   # Cosmetic changes, all files belongs to ftp user
#   DirFakeUser    on ftp
#   DirFakeGroup on ftp
#
#   RequireValidShell        off
#
#   # Limit the maximum number of anonymous logins
#   MaxClients            10
#
#   # We want 'welcome.msg' displayed at login, and '.message' displayed
#   # in each newly chdired directory.
#   DisplayLogin            welcome.msg
#   DisplayFirstChdir        .message
#
#   # Limit WRITE everywhere in the anonymous chroot
#   <Directory *>
#     <Limit WRITE>
#       DenyAll
#     </Limit>
#   </Directory>
#
#   # Uncomment this if you're brave.
#   # <Directory incoming>
#   #   # Umask 022 is a good standard umask to prevent new files and dirs
#   #   # (second parm) from being group and world writable.
#   #   Umask                022  022
#   #            <Limit READ WRITE>
#   #            DenyAll
#   #            </Limit>
#   #            <Limit STOR>
#   #            AllowAll
#   #            </Limit>
#   # </Directory>
#
# </Anonymous>
this fore is not edited by me think its in there
(This post was last modified: 03-31-2009 05:26 AM by dirckx.)
03-31-2009 05:12 AM
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: #7
RE: Ftp login problems
This is NO ispCP Proftpd.conf !
Did you upgrade proftpd and overwrite the ispcp proftpd.conf ?

Greez BeNe
03-31-2009 05:29 AM
Visit this user's website Find all posts by this user Quote this message in a reply
dirckx Offline
Junior Member
*

Posts: 11
Joined: Mar 2009
Reputation: 0
Post: #8
RE: Ftp login problems
did not realy upgrade the system installed from scrap but did not install the ftpd it did install via ispcp

is there a posible way to get the good file some place?
found the file

http://www.isp-control.net/ispcp/browser...oftpd.conf

i only get now a error when i want to start proftpd in debug
Code:
proftpd -nd5
- disabling runtime support for IPv6 connections
- warning: the DisplayFirstChdir directive is deprecated and will be removed in a future release.  Please use the DisplayChdir directive.
- DenyFilter: compiling deny regex '\*.*/'
- <Directory /*>: deferring resolution of path
- PathDenyFilter: compiling deny regex '.quota$'
- <IfModule>: skipping 'mod_quotatab.c' section at line 124
- <IfModule>: skipping 'mod_ratio.c' section at line 139
- <IfModule>: using 'mod_delay.c' section at line 146
- <IfModule>: using 'mod_ctrls.c' section at line 150
- <IfModule>: skipping 'mod_ctrls_admin.c' section at line 158
- Fatal: unknown configuration directive 'SQLAuthTypes' on line 165 of '/etc/proftpd/proftpd.conf'

Code:
part of the conf file


<IfModule mod_ctrls_admin.c>
  AdminControlsEngine      on
</IfModule>

# ispCP SQL Managment
# Activate for proftpd >= 1.3
#SQLBackend                 mysql
SQLAuthTypes               Crypt
SQLAuthenticate            on
SQLConnectInfo             ispcp@localhost vftp password
SQLUserInfo                ftp_users userid passwd uid gid homedir shell
SQLGroupInfo               ftp_group groupname gid members
SQLMinUserUID              2000
SQLMinUserGID              2000

# A basic anonymous configuration, no upload directories.

did i make a whrong edit in there yes i did edit password to mine
(This post was last modified: 03-31-2009 06:42 AM by dirckx.)
03-31-2009 05:33 AM
Find all posts by this user Quote this message in a reply
dirckx Offline
Junior Member
*

Posts: 11
Joined: Mar 2009
Reputation: 0
Post: #9
Question RE: Ftp login problems
is it the best way to complete reinstall the ispcp software pack to get it working?

im realy giving up on the proftpd thing
04-01-2009 01:00 AM
Find all posts by this user Quote this message in a reply
dirckx Offline
Junior Member
*

Posts: 11
Joined: Mar 2009
Reputation: 0
Post: #10
Exclamation RE: Ftp login problems
ok i did a full reinstall on my server

but the install of ispcp is not installing or changing the proftpd files
and no i did not update after it it is some thing with the install files that is wrong
04-01-2009 05:21 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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