oracle for linux安装报错 file /home/oracle/.Xauthority does not exist
来源:互联网 发布:苹果8plus数据参数 编辑:程序博客网 时间:2024/06/07 12:01
今天,一新手学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可以正常执行,问题解决。
阅读全文
0 0
- oracle for linux安装报错 file /home/oracle/.Xauthority does not exist
- 在oracle linux下使用yum安装报错:[Errno -1] Metadata file does not match checksum
- oracle报“shared memory realm does not exist”
- ORACLE DBCA 静默安装数据库报"template does not exist" 错误
- 解决Android Studio编译后安装apk报错:The APK file does not exist on
- Android Studio编译后安装apk报错:The APK file does not exist on disk
- Android Studio编译后安装apk报错:The APK file does not exist on
- Android Studio编译后安装apk报错:The APK file does not exist on disk
- Oracle 报错 ORA-27101 Shared memory realm does not exist
- /usr/X11R6/bin/xauth: timeout in locking authority file /home/oracle/.Xauthority
- table or view does not exist -- oracle
- 解决Android Studio编译后安装apk报错:The APK file does not exist on disk
- 解决Android Studio编译后安装apk报错:The APK file does not exist on disk
- 解决Android Studio编译后安装apk报错:The APK file does not exist on disk
- 解决Android Studio编译后安装apk报错:The APK file does not exist on disk
- 解决Android Studio编译后安装apk报错:The APK file does not exist on disk
- yii2框架刚安装上报The file or directory to be published does not exist: /home/wwwroot/advanced/vendor/bower
- Linux下Oracle11G RAC报错:在安装oracle软件时报file not found一例
- [ZJOI2008]树的统计Count
- 操作票功能
- java的动态代理机制详解
- C#DynamicObject和ExpandoObject用法
- Linux Platform总线+SPI总线分析
- oracle for linux安装报错 file /home/oracle/.Xauthority does not exist
- python下的单例模式
- IO流简介及方法
- 给定俩个字符串一个S(母串),一个T(子串),有多少种方法从母串中移除字符得到子字符串
- springboot第二天 junit单元测试
- 【比特币】BIP-0009 软叉标准
- SVM之线性不可分
- mysql使用between and处理时间区间不包括右边界问题
- c++ 中vector用法