ftp Error: 530 login incorrect

Discussion in 'General' started by fer0an, Dec 28, 2007.

  1. fer0an

    fer0an New Member

    I installed ispconfig and create a client and site and select ftp but when I want to use this account for login I recived 530: login incorrect.
    username : web18_ehsan
    pass: ehsan

    and ispconfig panel
    username: ebookzi
    pass: ehsan

    I can login from ispconfig control panel with web18_ehsan into the ftp and I can't access to webmail.
    can u help me to resolve the problem?
    Last edited: Dec 28, 2007
  2. fer0an

    fer0an New Member

    result of this command ls -la /root/ispconfig

    ls -la /root/ispconfig
    total 152
    drwxr-xr-x 9 root root 4096 2007-12-26 09:28 .
    drwxr-x--- 6 root root 4096 2007-12-27 19:25 ..
    -rwxr-xr-x 1 root root 33004 2007-12-24 14:58 cronolog
    -rwxr-xr-x 1 root root 9673 2007-12-24 14:58 cronosplit
    drwxr-xr-x 12 root root 4096 2007-12-24 14:44 httpd
    drwxr-xr-x 15 root root 4096 2007-12-24 14:58 isp
    -rw-r--r-- 1 root root 8 2007-12-26 09:28 .old_path_httpd_root
    drwxr-xr-x 6 root root 4096 2007-12-24 14:38 openssl
    drwxr-xr-x 6 root root 4096 2007-12-24 14:49 php
    drwxr-xr-x 4 root root 4096 2007-12-24 14:58 scripts
    drwxr-xr-x 4 root root 4096 2007-12-24 14:58 standard_cgis
    drwxr-xr-x 2 root root 4096 2007-12-24 14:58 sv
    -rwx------ 1 root root 9389 2007-12-24 14:58 uninstall
  3. fer0an

    fer0an New Member

    result of /etc/passwd

    ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin
    vcsa:x:69:69:virtual console memory owner:/dev:/sbin/nologin
    nscd:x:28:28:NSCD Daemon:/:/sbin/nologin
    dbus:x:81:81:System message bus:/:/sbin/nologin
    avahi:x:70:70:Avahi daemon:/:/sbin/nologin
    sshd:x:74:74:privilege-separated SSH:/var/empty/sshd:/sbin/nologin
    rpcuser:x:29:29:RPC Service User:/var/lib/nfs:/sbin/nologin
    nfsnobody:x:65534:65534:Anonymous NFS User:/var/lib/nfs:/sbin/nologin
    torrent:x:497:496:BitTorrent Seed/Tracker:/var/spool/bittorrent:/sbin/nologin
    haldaemon:x:68:68:HAL daemon:/:/sbin/nologin
    rpc:x:32:32:Rpcbind Daemon:/var/lib/rpcbind:/sbin/nologin
    mysql:x:27:27:MySQL Server:/var/lib/mysql:/bin/bash
    xfs:x:43:43:X Font Server:/etc/X11/fs:/sbin/nologin
    admispconfig:x:500:500:Administrator ISPConfig:/home/admispconfig:/bin/bash
  4. fer0an

    fer0an New Member

    resault of /etc/proftpd.conf

    # This is the ProFTPD configuration file

    ServerName "ProFTPD server"
    ServerIdent on "FTP Server ready."
    ServerAdmin [email protected]
    ServerType standalone
    #ServerType inetd
    DefaultServer on
    AccessGrantMsg "User %u logged in."
    #DisplayConnect /etc/ftpissue
    #DisplayLogin /etc/ftpmotd
    #DisplayGoAway /etc/ftpgoaway
    DeferWelcome off

    # Use this to excude users from the chroot
    DefaultRoot ~ !adm

    # Use pam to authenticate (default) and be authoritative
    AuthPAMConfig proftpd
    AuthOrder mod_auth_pam.c* mod_auth_unix.c

    # Do not perform ident nor DNS lookups (hangs when the port is filtered)
    IdentLookups off
    UseReverseDNS off

    # Port 21 is the standard FTP port.
    Port 21

    # Umask 022 is a good standard umask to prevent new dirs and files
    # from being group and world writable.
    Umask 022

    # Default to show dot files in directory listings
    ListOptions "-a"

    # See Configuration.html for these (here are the default values)
    #MultilineRFC2228 off
    #RootLogin off
    #LoginPasswordPrompt on
    #MaxLoginAttempts 3
    #MaxClientsPerHost none
    #AllowForeignAddress off # For FXP

    # Allow to resume not only the downloads but the uploads too
    AllowRetrieveRestart on
    AllowStoreRestart on
    # 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 20

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

    # Disable sendfile by default since it breaks displaying the download speeds in
    # ftptop and ftpwho
    UseSendfile no

    # This is where we want to put the pid file
    ScoreboardFile /var/run/proftpd.score

    # Normally, we want users to do a few things.
    AllowOverwrite yes
    <Limit ALL SITE_CHMOD>

    # Define the log formats
    LogFormat default "%h %l %u %t \"%r\" %s %b"
    LogFormat auth "%v [%P] %h %t \"%r\" %s"

    # TLS
    # Explained at http://www.castaglia.org/proftpd/modules/mod_tls.html
    #TLSEngine on
    #TLSRequired on
    #TLSRSACertificateFile /etc/pki/tls/certs/proftpd.pem
    #TLSRSACertificateKeyFile /etc/pki/tls/certs/proftpd.pem
    #TLSCipherSuite ALL:!ADH:!DES
    #TLSOptions NoCertRequest
    #TLSVerifyClient off
    ##TLSRenegotiate ctrl 3600 data 512000 required off timeout 300
    #TLSLog /var/log/proftpd/tls.log

    # SQL authentication Dynamic Shared Object (DSO) loading
    # See README.DSO and howto/DSO.html for more details.
    #<IfModule mod_dso.c>
    # LoadModule mod_sql.c
    # LoadModule mod_sql_mysql.c
    # LoadModule mod_sql_postgres.c

    # A basic anonymous configuration, with an upload directory.
    #<Anonymous ~ftp>
    # User ftp
    # Group ftp
    # AccessGrantMsg "Anonymous login ok, restrictions apply."
    # # We want clients to be able to login with "anonymous" as well as "ftp"
    # UserAlias anonymous ftp
    # # Limit the maximum number of anonymous logins
    # MaxClients 10 "Sorry, max %m users -- try again later"
    # # Put the user into /pub right after login
    # #DefaultChdir /pub
    # # We want 'welcome.msg' displayed at login, '.message' displayed in
    # # each newly chdired directory and tell users to read README* files.
    # DisplayLogin /welcome.msg
    # DisplayFirstChdir .message
    # DisplayReadme README*
    # # Some more cosmetic and not vital stuff
    # DirFakeUser on ftp
    # DirFakeGroup on ftp
    # # Limit WRITE everywhere in the anonymous chroot
    # <Limit WRITE SITE_CHMOD>
    # DenyAll
    # </Limit>
    # # An upload directory that allows storing files but not retrieving
    # # or creating directories.
    # <Directory uploads/*>
    # AllowOverwrite no
    # <Limit READ>
    # DenyAll
    # </Limit>
    # <Limit STOR>
    # AllowAll
    # </Limit>
    # </Directory>
    # # Don't write anonymous accesses to the system wtmp file (good idea!)
    # WtmpLog off
    # # Logging for the anonymous transfers
    # ExtendedLog /var/log/proftpd/access.log WRITE,READ default
    # ExtendedLog /var/log/proftpd/auth.log AUTH auth

    DefaultRoot ~
  5. falko

    falko Super Moderator ISPConfig Developer

    Are you sure that the password is correct? If so, are there any errors in your logs?
  6. fer0an

    fer0an New Member

    yes.I'm sure.
    log file in /var/log/proftpd?if yes this folder is empty.
    where is log file?
    I create another account but all of them have this problem.
    how I can resolve it?
    Last edited: Dec 29, 2007
  7. falko

    falko Super Moderator ISPConfig Developer

    Which distribution are you using?
    Please check all logs inside /var/log.
  8. fer0an

    fer0an New Member

    I'm using fedora and I didn't have any log in /var/log/proftpd.
    I have this folder and file in /var/log
    anaconda.log dmesg messages secure
    anaconda.syslog faillog mysqld.log spooler
    bittorrent httpd pm-suspend.log tallylog
    boot.log ispconfig_install.log prelink wtmp
    btmp lastlog proftpd xferlog
    cron mail rpmpkgs xferlog.ispconfigsave
    cups maillog samba yum.log
  9. fer0an

    fer0an New Member

    please help me to resolve my problem.

    thank you
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    Please have a look in the xferlog for the error message.
  11. jmdday

    jmdday New Member

    530 Login incorrect

    I am having the same problem. I have installed the Suse 10.3 with the Perfect_server_Suse10.3 procedure and I cannot ftp to the site I created. I get the 530 Login incorrect.

    Under ISPManager, I created a client and a site. I checked the FTP access button and saved it. I have created user accounts. Any help would be greatly appreciated.

    I am a newbie, please help.

  12. falko

    falko Super Moderator ISPConfig Developer

    Did you disable AppArmor?
    What username did you use? Something like web1_someuser?
    What's the user's entry from /etc/passwd?
  13. Phil-Orlando

    Phil-Orlando New Member

    FTP 530 Login Error Solution Found

    I was having the same problems with the 530 Login error. I could login with all users from ISPconfig however I would get errors when using a remote FTP application. I searched the web and have found the solution for my case - Using Fedora 8 Perfect Install. All the proper boxes were checked, etc. but I could not login remotely without an error.

    This is a link to another website that someone else had posted. You have to remove ProFTP and re-install it. After that - Everything works perfect. Remote FTP and ISPconfig's online web based FTP. ISPConfig is a great program by the way - Installation guides worked great - minor issues only.

    Here's the link.

    After 6 hours - I can stop pulling what little hair I have left out of my head :eek:)


Share This Page