當前位置:首頁 » 文件傳輸 » Linux查看ftp返回530
擴展閱讀
webinf下怎麼引入js 2023-08-31 21:54:13
堡壘機怎麼打開web 2023-08-31 21:54:11

Linux查看ftp返回530

發布時間: 2022-12-06 11:19:03

㈠ ftp錯誤代碼530,這是什麼意思要怎麼解決

Win32 error: The user name or password is incorrect.用戶名或密碼不正確

㈡ FTP連接過程中,各種信息的含義(例如「530」)

FTP連接過程中,提示530 Login authentication failed錯誤是因為填寫錯了ftp密碼。
解決方法:
登陸客戶中心,客戶中心 > 會員中心 > 產品與服務(不同的主機提供商可能不同僅供參考)進入購買的那個套餐,下面有個登陸詳情然後輸入新密碼就行了,這樣ftp就可以用了。

FTP登錄常見提示錯誤:
1.connected. waiting for response. 220 serv-u ftp server v4.0 for winsock ready...
user anonymous 530 sorry, no anonymous access allowed. quit
不允許匿名登錄
2.connected. waiting for response. 220 serv-u ftp server v4.0 for winsock ready...
user test 331 user name okay, need password. pass xxxxxx 530 not logged in. quit 一般是密碼輸入錯誤時出現的信息。
3.connecting to xxx.xxx.xxx.xxx, port 21 error: connection timed out
這個表明對方未開機,也可能是對方不在能訪問的范圍內。可能小區的伺服器檢修中。
4.connecting to xxx.xxx.xxx.xxx port 21 error: connection refused
這個一般表明對方已開機,但未開啟ftp服務(沒有開serv-u),也可能為對方不提供在這個埠上的服務
5.connecting to xxx.xxx.xxx.xxx, port 21 connected. waiting for response. disconnected from server. connection attempt failed. waiting for retry...
出現極有可能是重試時間定的太短被伺服器封了。
6.connecting to xxx.xxx.xxx.xxx, port 21 connected. waiting for response. user xxx
331 user name okay, need password pass xxxxxx 530 not logged in, unauthorized ip address. quit
沒有登記ip,或者登記的ip和現在的不一樣,重新登記即可。
7.227 entering passive mode (218,3,87,224,10,232) retr hfdx-tsoaf.sub.rar 550 sorry, insufficient credit for download - upload first.
傳輸已失敗.傳輸隊列已完成但流量不夠了,重新購買。

㈢ Linux啟動ftp伺服器530 Permission denied解決方法

新在虛擬機下安裝了linux。現在我想啟動linux自帶的ftp伺服器:#service  vsftpd  start 。如果想linux啟動是自動啟動ftp伺服器:#chkconfig  vsftpd  on  。

運行putty,以root身份進入,出現了報錯  530 Permission denied  ,感覺很奇怪,因以普通用戶是可以進入的。

原因是我們 /etc/vsftpd/ftpusers  和  /etc/vsftpd/user_list  禁掉了root這個用戶。這時我們需要修改這兩個文件。

(1)/etc/vsftpd.user_list的默認文件(則是表示具體用戶)

# vsftpd userlist

# If userlist_deny=NO, only allow users in this file

# If userlist_deny=YES (default), never allow users in this file, and

# do not even prompt for a password.

# Note that the default vsftpd pam config also checks /etc/vsftpd.ftpusers

# for users that are denied.

root

bin

daemon

adm

lp

sync

shutdown

halt

mail

news

uucp

operator

games

nobody

這時我們要在 root 前加上 # 。

(2)/etc/vsftpd.ftpusers  的默認文件(所有可以登錄該FTP的用戶屬性)

# Users that are not allowed to login via ftp

root

bin

daemon

adm

lp

sync

shutdown

halt

mail

news

uucp

operator

games

nobody

這時我們要在 root 前加上 # 

擬機裝好RedHat後,准備使用filezilla連接,輸入IP地址,root用戶,密碼,快速連接,報錯:

530 Permission denied。

故障排除:

1.首先檢查系統是否開啟了vsftp服務,如果沒有開啟,先開啟該服務。

方法1.setup--系統服務--自啟動服務

方法2.界面設置,service vsftpd restart

2.查看配置

vsftpd的配置,配置文件中限定了vsftpd用戶連接控制配置。

vsftpd.ftpusers:位於/etc目錄下。它指定了哪些用戶賬戶不能訪問FTP伺服器,例如root等。

vsftpd.user_list:位於/etc目錄下。該文件里的用戶賬戶在默認情況下也不能訪問FTP伺服器,僅當vsftpd .conf配置文件里啟用userlist_enable=NO選項時才允許訪問。

vsftpd.conf:位於/etc/vsftpd目錄下。來自定義用戶登錄控制、用戶許可權控制、超時設置、伺服器功能選項、伺服器性能選項、伺服器響應消息等FTP伺服器的配置。

3.配置修改完成後,執行service vsftpd restart重啟vsftpd服務。

㈣ java調用FTP介面登陸Linux普通用戶出現異常 530 Permission denied.

應該是沒有登錄的許可權,或者就是用戶名密碼不對

㈤ Linux下設置vsftpd虛擬賬號輸入密碼出現530錯誤

方法一:

登錄出現 vsftpd 530 login incorrect 報錯。

解決方法:

cp Path/RedHat/vsftpd.pam /etc/pam.d/ftp

path為vsftp解壓縮源文件目錄

這是因為我們RHEL啟用了PAM,所在用到vsftp時需要用到 /etc/pam.d/ftp這個文件(默認源碼安裝的不會有這個文件),因此除了匿名用戶外本地用戶無法登錄。

方法二:

在測試Checkpoint的VPN1 R6x的時候,遇到了這個錯誤。這說明client端跟server端的連接性是沒問題。但是就是想不出為什麼,還以為是用戶名和口令錯誤呢。後來才google了一下,發現是server端的配置有問題。

檢查/etc/vsftpd/user_list和/etc/ftpusers,是這個文件/etc/vsftpd/vsftpd.conf少了一行:

復制代碼
代碼如下:

pam_service_name=vsftpd
$ echo 『pam_service_name=vsftpd』 >>/etc/vsftpd/vsftpd.conf
$ service vsftpd restart

530 error就消除了!
下面是更詳細的方法:
[root@atr-3-server1 admin]# cat /etc/vsftpd/vsftpd.conf
# Example config file /etc/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This sample file
# loosens things up a bit, to make the ftp daemon more usable.
# Please see vsftpd.conf.5 for all compiled in defaults.
#
# READ THIS: This example file is NOT an exhaustive list of vsftpd options.
# Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's
# capabilities.
#
# Allow anonymous FTP? (Beware - allowed by default if you comment this out).
anonymous_enable=no
#
# Uncomment this to allow local users to log in.
local_enable=YES
#
# Uncomment this to enable any form of FTP write command.
write_enable=YES
#
# Default umask for local users is 077. You may wish to change this to 022,
# if your users expect that (022 is used by most other ftpd's)
local_umask=022
#
# Uncomment this to allow the anonymous FTP user to upload files. This only
# has an effect if the above global write enable is activated. Also, you will
# obviously need to create a directory writable by the FTP user.
#anon_upload_enable=YES
#
# Uncomment this if you want the anonymous FTP user to be able to create
# new directories.
#anon_mkdir_write_enable=YES
#
# Activate directory messages - messages given to remote users when they
# go into a certain directory.
dirmessage_enable=YES
#
# Activate logging of uploads/downloads.
xferlog_enable=YES
#
# Make sure PORT transfer connections originate from port 20 (ftp-data).
connect_from_port_20=YES
#
# If you want, you can arrange for uploaded anonymous files to be owned by
# a different user. Note! Using "root" for uploaded files is not
# recommended!
#chown_uploads=YES
#chown_username=whoever
#
# You may override where the log file goes if you like. The default is shown
# below.
#xferlog_file=/var/log/vsftpd.log
#
# If you want, you can have your log file in standard ftpd xferlog format
xferlog_std_format=YES
#
# You may change the default value for timing out an idle session.
#idle_session_timeout=600
#
# You may change the default value for timing out a data connection.
#data_connection_timeout=120
#
# It is recommended that you define on your system a unique user which the
# ftp server can use as a totally isolated and unprivileged user.
#nopriv_user=ftpsecure
#
# Enable this and the server will recognise asynchronous ABOR requests. Not
# recommended for security (the code is non-trivial). Not enabling it,
# however, may confuse older FTP clients.
#async_abor_enable=YES
#
# By default the server will pretend to allow ASCII mode but in fact ignore
# the request. Turn on the below options to have the server actually do ASCII
# mangling on files when in ASCII mode.
# Beware that turning on ascii_download_enable enables malicious remote parties
# to consume your I/O resources, by issuing the command "SIZE /big/file" in
# ASCII mode.
# These ASCII options are split into upload and download because you may wish
# to enable ASCII uploads (to prevent uploaded scripts etc. from breaking),
# without the DoS risk of SIZE and ASCII downloads. ASCII mangling should be
# on the client anyway..
#ascii_upload_enable=YES
#ascii_download_enable=YES
#
# You may fully customise the login banner string:
#ftpd_banner=Welcome to blah FTP service.
#
# You may specify a file of disallowed anonymous e-mail addresses. Apparently
# useful for combatting certain DoS attacks.
#deny_email_enable=YES
# (default follows)
#banned_email_file=/etc/vsftpd.banned_emails
#
# You may specify an explicit list of local users to chroot() to their home
# directory. If chroot_local_user is YES, then this list becomes a list of
# users to NOT chroot().
#chroot_list_enable=YES
# (default follows)
#chroot_list_file=/etc/vsftpd.chroot_list
#
# You may activate the "-R" option to the builtin ls. This is disabled by
# default to avoid remote users being able to cause excessive I/O on large
# sites. However, some broken FTP clients such as "ncftp" and "mirror" assume
# the presence of the "-R" option, so there is a strong case for enabling it.
#ls_recurse_enable=YES
pam_service_name=vsftpd
userlist_enable=YES
#enable for standalone mode
listen=YES
tcp_wrappers=YES
具體你也可以去看下http://www.linuxprobe.com/chapter-11.html這里有更詳細的操作方法希望可以幫到你啊

㈥ Linux中ftp連接530錯誤的解決方法

首先,如果正在使用vsftpd,可以先把其停掉,命令:service vsftpd stop,接下來需要編輯/etc/xinetd.d/下的`gssftp配置文件,文件內容如下:

# default: off

# description: The kerberized FTP server accepts FTP connections

# that can be authenticated with Kerberos 5.

service ftp

{

disable = yes

flags = REUSE

socket_type = stream

wait = no

user = root

server = /usr/kerberos/sbin/ftpd

server_args = -l -a

log_on_failure += USERID

}

在文件中,我們要修改的內容有:

1、disable = yes 改為 disable =no ,系統默認ftp功能是無效的,修改使ftp功能生效。

2、server_args = -l -a 改為 server_args = -l。

without -a means : *enable weak authentication*

其中表示使用Kerberos 5驗證機制,而一般的ftp是不支持該驗證機制的。

修改完畢後,將其保存。

3、重啟啟動xinetd服務。請執行一下的命令(/etc/xinetd.d/):

service xinetd restart

service vsftpd restart

㈦ ftp錯誤代碼530,這是什麼意思要怎麼解決

您好!FTP報錯530一般會出現三種情況。
1、530 Login incorrect:這種情況,一般都是您的賬號的信息有誤,比如您的ftp地址,ftp賬號,ftp密碼以及您的埠方面有問題導致的報錯這個,那麼解決的方案也是非常的簡單,找到您正確的信息鏈接,即可正常的登錄。
2、530 Sorry, the maximum number of clients (3) from your host are already connected:這種情況從報錯的意思是說:對不起,最大客戶數(3)從你的主機已經連接,那麼出現的這個原因就是您本地的ftp工具的問題,或者是您本地的連接質量不好導致的,解決的方案更換ftp工具從新鏈接或者是暫停關閉ftp工具 從新登陸鏈接即可解決。
3、530 Not logged in, home directory does not exist:出現這樣的情況一般是伺服器的硬碟掛掉了,或者是該用戶目錄不存在導致的,具體的解決方案聯系空間商即可。
一般出現最多的就是以上幾種情況。

㈧ FTP 登陸提示 530 Please login with USER and PASS

1.查看ftp埠21是否開放

2.開放21埠

3.查看ftp狀態
service vsftpd status

4.允許root用戶通過ftp訪問

注釋掉root用戶

5.重啟ftp服務

㈨ 在win7下建立FTP,用linux機器普通用戶通過區域網訪問win7的FTP,返回信息530 user can not log in

你的那個普通用戶是不是名為administrator?