500 OOPS: cannot change directory問題
1.在CentOS下面使用ftp時報一個錯500 OOPS
[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>
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/21605631/viewspace-741038/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 500 OOPS: cannot change directory:/home/OOP
- RedHat ES5 500 OOPS: cannot change directory:/home/oracleRedhatOOPOracle
- vsftpd中遇到500 OOPS: cannot change directory的解決方案FTPOOP
- redhat vsftpd及vsftpd 500 OOPS: cannot change directory錯誤解決RedhatFTPOOP
- 切換使用者時提示:cannot change directory to /home/oracle: Permission deniedOracle
- (問題解決)Cannot set LC_CTYPE to default locale: No such file or directory
- Oracle ASM Active Change DirectoryOracleASM
- VSFTPD錯誤的解決 500 OOPS: vsftpd: cannot locate user specified in ftp_usernaFTPOOP
- vsftp出現500 OOPS錯誤FTPOOP
- 問題1.libXp.so.6: cannot open shared object file: No such file or directoryObject
- git遇到問題safe.directoryGit
- Mac Iterm2 連結伺服器報:LC_CTYPE: cannot change locale (UTF-8): No such file or directory 解決方案Mac伺服器
- Cannot change version of project facet Dynamic Web Module to 3.0ProjectWeb
- You cannot change a partition into an extended one or vice versa Delete it firstdelete
- tar (child): bzip2: Cannot exec: No such file or directory 報錯
- Error: Cannot find configuration directory: /etc/hadoopErrorHadoop
- 【scala】問題cannot resolve symbol sparkSymbolSpark
- virt-manager cannot open display問題
- Jquery DataTables解決 Cannot reinitialise DataTable 問題jQuery
- Cannot access a disposed object.問題根源所在.....Object
- Docker啟動故障問題 no such file or directory解決方法Docker
- mac下/usr/local/bin No such file or directory問題解決Mac
- libmysqlclient.so.16: cannot open shared object file: No such file or directoryIBMMySqlclientObject
- libcap.so.1:cannot open shared object file: No such file or directoryObject
- libXext.so.6: cannot open shared object file: No such file or directoryObject
- libz.so.1: cannot open shared object file: No such file or directoryObject
- TypeError: Descriptors cannot not be created directly問題的解決Error
- 模板問題:Knapsack (LeetCode: Coin Change)[揹包問題九講筆記]LeetCode筆記
- ImportError: libffi.so.7: cannot open shared object file: No such file or directoryImportErrorObject
- MogDB 安裝解壓錯誤:cannot run bzip2: No such file or directory
- cannot read prpperty ‘start‘ of undefined(問題記錄)Undefined
- Cannot connect on socket(25)_NetBackup 問題解決
- android studio Cannot reload AVD list問題Android
- OkHttp框架的一個Http500問題解決HTTP框架
- 記錄 libldap-2.4.so.2: cannot open shared object file: No such file or directoryLDAObject
- Oracle 18C,19C standby CHECKPOINT_CHANGE# 不更新問題Oracle
- 更新larabbs到7.x 遇到HTTP Error 500 的問題HTTPError
- zeppelin spark SparkContext問題 Cannot call methods on a stopped SparkContextSparkContext