FTP: 500 OOPS: cannot change directory
连接Linux服务器,报下面的错误:ftp> user root331 Please specify the password.密码:500 OOPS: cannot change directory:/root500 OOPS: priv_sock_get_cmd远程主机关闭连接。用户(192.168.150.128:(none)): oracle
·
连接Linux服务器,报下面的错误:
ftp> user root
331 Please specify the password.密码:
500 OOPS: cannot change directory:/root
500 OOPS: priv_sock_get_cmd
远程主机关闭连接。
用户(192.168.150.128:(none)): oracle
31 Please specify the password.
密码:
00 OOPS: cannot change directory:/home/oracle
00 OOPS: priv_sock_get_cmd
上述问题是由于服务开启了防火墙或selinux,简单的做法就是将其关闭。
关闭selinux
vi /etc/selinux/config
修改为:
SELINUX=disabled
关闭防火墙:
#service iptables stop
#chkconfig iptables off
再重启Linux服务器。
更多推荐
已为社区贡献2条内容
所有评论(0)