oracle for linux安裝報錯 file /home/oracle/.Xauthority does not exist
今天,一新手學oracle,安裝完oracle資料庫軟體後,執行dbca時報錯,核心錯誤是: file /home/oracle/.Xauthority does not exist
然後,使用oracle使用者登入資料庫後,執行ls -a發現報錯,bash:command not found
估計是環境變數配置錯了,然後使用root使用者登入,root執行ls命令正常,然後cd /home/oracle檢視.bash_profile
發現PATH環境變數設定是:export PATH=$ORACLE_HOME/bin:$path
而.bash_profile沒有path的設定,這就是為什麼執行資料庫相關命令sqlplus正常,但是執行操作命令報錯的原因了。
解決方法:
將export PATH=$ORACLE_HOME/bin:$path
改為:export PATH=$ORACLE_HOME/bin:$PATH
然後,oracle使用者退出系統重新登入即可,注意這裡oracle使用者必須重新登入,因為oracle已經不能再執行作業系統相關的命令了。
oracle重新登入系統後,netca、dbca可以正常執行,問題解決。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29357786/viewspace-2145881/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 靜默安裝Oracle建庫時報Template General Purpose does not existOracle
- streamlit run執行報錯,Invalid value: File does not exist: XXX.py
- 靜默安裝oracle時報錯Oracle
- Linux安裝oracleLinuxOracle
- 安裝kernel...src.rpm錯誤:warning: user mockbuild does not exist - using rootMockUI
- mac scrcpy 報錯 does not exist or is not a regular file,ERROR: Server connection failed(scrcpy mac與極空間衝突)MacErrorServerAI
- Oracle Linux 6.5 安裝Oracle 10gR2LinuxOracle 10g
- oracle12c安裝報錯[INS-32025]Oracle
- 11. Oracle for Linux安裝和配置—11.3. Oracle安裝和配置—11.3.1. Oracle軟體安裝OracleLinux
- oracle 匯入報錯:field in data file exceeds maximum lengthOracle
- Oracle Linux 7.1中安裝MariadbOracleLinux
- 11. Oracle for Linux安裝和配置—11.3. Oracle安裝和配置—11.3.3. Oracle net配置OracleLinux
- Windows Server 2012安裝Oracle 11204報錯INS-30131WindowsServerOracle
- Oracle Linux 7.1 靜默安裝Oracle 18c RACOracleLinux
- Oracle Linux 6.7 靜預設安裝Oracle 11gOracleLinux
- 【ASK_ORACLE】安裝Oracle RAC 12.2的GI軟體時報錯CLSRSC-614Oracle
- 【ASM】Oracle RAC css啟動報錯"Duplicate voting file found"ASMOracleCSS
- 【Oracle】Linux7安裝11g 86%報錯:Error in invoking target 'agent nmhs' of makefileOracleLinuxError
- Android解決The APK file app-debug.apk does not exist on disk.AndroidAPKAPP
- Oracle Linux 7.5下載和安裝OracleLinux
- 在Oracle Linux 7.1上安裝DockerOracleLinuxDocker
- 【ASK_ORACLE】Oracle 19c RAC使用opatchauto安裝補丁報錯OPATCHAUTO-72083Oracle
- Eclipse裡Tomcat報錯:Document base ……does not exist or is not a readable directory(圖文詳解)...EclipseTomcat
- Hadoop的mapreduce出現問題,報錯The auxService:mapreduce_shuffle does not existHadoopUX
- Oracle啟動報錯:ORA-03113: end-of-file on communication channelOracle
- Linux安裝virtualenvwrapper報錯LinuxAPP
- CDC linux安裝報錯Linux
- 「Oracle」Oracle 資料庫安裝Oracle資料庫
- oracle dg報錯Oracle
- linux簡易 Oracle客戶端安裝LinuxOracle客戶端
- Oracle安裝相關Linux引數(轉)OracleLinux
- Linux下Oracle 11.2.0.1 RAC安裝筆記LinuxOracle筆記
- LINUX ORACLE OGG12C安裝(一)LinuxOracle
- LINUX ORACLE OGG12C安裝(二)LinuxOracle
- Oracle Linux 7.1 靜默安裝Weblogic 12.2.1.3OracleLinuxWeb
- oracle linux 7 安裝圖形化介面OracleLinux
- oracle安裝配置Oracle
- Oracle RUR 安裝Oracle
- golang oracle 安裝GolangOracle