View Full Version : ftp Error: 530 login incorrect
fer0an
28th December 2007, 18:20
hello
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.
ftp://download.ebookz.ir
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?
fer0an
29th December 2007, 10:28
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
fer0an
29th December 2007, 10:31
root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
adm:x:3:4:adm:/var/adm:/sbin/nologin
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
sync:x:5:0:sync:/sbin:/bin/sync
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
halt:x:7:0:halt:/sbin:/sbin/halt
mail:x:8:12:mail:/var/spool/mail:/sbin/nologin
news:x:9:13:news:/etc/news:
uucp:x:10:14:uucp:/var/spool/uucp:/sbin/nologin
operator:x:11:0:operator:/root:/sbin/nologin
games:x:12:100:games:/usr/games:/sbin/nologin
gopher:x:13:30:gopher:/var/gopher:/sbin/nologin
ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin
nobody:x:99:99:Nobody:/:/sbin/nologin
vcsa:x:69:69:virtual console memory owner:/dev:/sbin/nologin
apache:x:48:48:Apache:/var/www:/sbin/nologin
mailnull:x:47:47::/var/spool/mqueue:/sbin/nologin
smmsp:x:51:51::/var/spool/mqueue:/sbin/nologin
openvpn:x:499:499:OpenVPN:/etc/openvpn:/sbin/nologin
nscd:x:28:28:NSCD Daemon:/:/sbin/nologin
backuppc:x:498:498::/var/lib/BackupPC:/sbin/nologin
ntp:x:38:38::/etc/ntp:/sbin/nologin
tcpdump:x:72:72::/:/sbin/nologin
rpm:x:37:37::/var/lib/rpm:/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
named:x:25:25:Named:/var/named:/sbin/nologin
mysql:x:27:27:MySQL Server:/var/lib/mysql:/bin/bash
dovecot:x:97:97:dovecot:/usr/libexec/dovecot:/sbin/nologin
postfix:x:89:89::/var/spool/postfix:/sbin/nologin
xfs:x:43:43:X Font Server:/etc/X11/fs:/sbin/nologin
webalizer:x:67:67:Webalizer:/var/www/usage:/sbin/nologin
admispconfig:x:500:500:Administrator ISPConfig:/home/admispconfig:/bin/bash
web17_anonftp:x:12017:12017::/var/www/web17/ftp:/bin/false
web18_ehsan:x:10017:10018:ehsan:/var/www/web18:/bin/false
fer0an
29th December 2007, 10:40
# This is the ProFTPD configuration file
ServerName "ProFTPD server"
ServerIdent on "FTP Server ready."
ServerAdmin root@localhost
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.
<Global>
AllowOverwrite yes
<Limit ALL SITE_CHMOD>
</Global>
# 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
#</IfModule>
# 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
#
#</Anonymous>
DefaultRoot ~
falko
29th December 2007, 15:17
Are you sure that the password is correct? If so, are there any errors in your logs?
fer0an
29th December 2007, 16:04
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?
falko
29th December 2007, 16:58
Which distribution are you using?
Please check all logs inside /var/log.
fer0an
29th December 2007, 18:05
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
fer0an
30th December 2007, 07:15
please help me to resolve my problem.
thank you
till
30th December 2007, 17:09
Please have a look in the xferlog for the error message.
jmdday
3rd February 2008, 02:29
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.
Thanks,
JD
falko
3rd February 2008, 20:38
Did you disable AppArmor?
What username did you use? Something like web1_someuser?
What's the user's entry from /etc/passwd?
Phil-Orlando
13th February 2008, 22:57
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.
http://www.wallpaperama.com/forums/ispconfig-ftp-login-problem-cannot-log-in-ftp-error-530-login-incorrect-t5680.html
After 6 hours - I can stop pulling what little hair I have left out of my head :o)
Phil
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.