[oracle@sh01020165 o32g2]$ ftp -i 172.25.14.9
Connected to 172.25.14.9.
220 (vsFTPd 2.2.2)
530 Please login with USER and PASS.
530 Please login with USER and PASS.
KERBEROS_V4 rejected as an authentication type
Name (172.25.14.9:oracle): oracle2
331 Please specify the password.
Password:
500 OOPS: cannot change directory:/home/oracle2
Login failed.
ftp>
2. 怀疑为SELINUX打开的原因
查看目标服务器的确是打开的
[root@svr14-9 oradata]# getenforce
Enforcing
强制关闭SELINUX
[root@svr14-9 oradata]# setenforce 0
查看是否生效
[root@svr14-9 oradata]# getenforce
Permissive
别忘记修改selinux配置文件,使重启后有效,修改后的文件如下
[root@svr14-9 oradata]# vi /etc/selinux/config
SELINUX=disabled
SELINUXTYPE=targeted
3.重试后问题解决,没有再报错
oracle@sh01020165 o32g2]$ ftp -i 172.25.14.9
Connected to 172.25.14.9.
220 (vsFTPd 2.2.2)
530 Please login with USER and PASS.
530 Please login with USER and PASS.
KERBEROS_V4 rejected as an authentication type
Name (172.25.14.9:oracle): oracle2
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>