vsftpd中遇到500 OOPS: cannot change directory的解決方案
vsftpd是linux/unix下常見的ftp服務軟體,如果在使用中遇到下列錯誤資訊:
500 OOPS: cannot change directory ..........
表怕,解決起來很簡單,只需要在啟動vsftpd服務前,執行:setsebool ftpd_disable_trans 1,然後再重啟服務即可,例如:
C:\Documents and Settings\Administrator>ftp 192.168.10.100
Connected to 192.168.10.100.
220 (vsFTPd 2.0.5)
User (192.168.10.100:(none)): oracle
331 Please specify the password.
Password:
500 OOPS: cannot change directory:/home/oracle
Login failed.切換至伺服器端執行:
- [root@jssln1 ~]# setsebool ftpd_disable_trans 1
注:如果希望設定永久有效,在執行setsebool時附加 -p引數即可。
然後重新啟動ftp服務:
[root@jssln1 ~]# service vsftpd restart
Shutting down vsftpd: [ OK ]
Starting vsftpd for vsftpd: [ OK ]客戶端再次嘗試通過ftp登陸:
C:\Documents and Settings\Administrator>ftp 192.168.10.100
Connected to 192.168.10.100.
220 (vsFTPd 2.0.5)
User (192.168.10.100:(none)): oracle
331 Please specify the password.
Password:
230 Login successful.來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7607759/viewspace-614436/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- redhat vsftpd及vsftpd 500 OOPS: cannot change directory錯誤解決RedhatFTPOOP
- 500 OOPS: cannot change directory:/home/OOP
- 500 OOPS: cannot change directory問題OOP
- RedHat ES5 500 OOPS: cannot change directory:/home/oracleRedhatOOPOracle
- VSFTPD錯誤的解決 500 OOPS: vsftpd: cannot locate user specified in ftp_usernaFTPOOP
- Mac Iterm2 連結伺服器報:LC_CTYPE: cannot change locale (UTF-8): No such file or directory 解決方案Mac伺服器
- vsftpd 錯誤:530 and 500 錯誤解決方法FTP
- 切換使用者時提示: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
- vsftp出現500 OOPS錯誤FTPOOP
- Ubuntu Cannot allocate memory 錯誤解決方案Ubuntu
- 玩Deno遇到問題的解決方案
- 關於React Native報Cannot access ‘serviceOf‘的解決方案React Native
- SVN 遇到的一些錯誤解決方案
- CKEditor使用中遇到的問題解決
- 使用Docker網路解決方案weave遇到的那些坑Docker
- 【Laravel】Laravel5遇到的問題以及解決方案Laravel
- gem install mysql遇到問題。解決方案MySql
- Composer 使用過程中遇到的問題和解決方案
- linux輸入yum後提示: -bash: /usr/bin/yum: No such file or directory的解決方案Linux
- VMware下安裝Ubuntu遇到的問題及解決方案Ubuntu
- MogDB 安裝解壓錯誤:cannot run bzip2: No such file or directory
- Error: The directory named as part of the path ./log/supervisord.log does not exist解決方案Error
- gitbook no such file or directory 怎麼解決Git
- opencv遇到NULL pointer(NULL array pointer is passed) 解決方案OpenCVNull
- Cannot change version of project facet Dynamic Web Module to 3.0ProjectWeb
- JS中的非同步解決方案JS非同步
- 使用ruby過程中遇到安裝gem失敗的一些通用解決方案
- cannot allocate new log 的解決方法
- libcudart.so.8.0: cannot open shared object file解決方案DartObject
- 關於Cannot resolve scoped service from root provider解決方案IDE
- 解決 Cannot find OpenSSL's
- 【面試】工作中遇到的難點及解決方案——人臉解鎖相機衝突問題面試
- Go構建遇到cgo動態庫時解決方案Go
- windows安裝tomcat遇到問題及解決方案WindowsTomcat
- 解決IDEA Error:Output directory is not specifiedIdeaError
- You cannot change a partition into an extended one or vice versa Delete it firstdelete