.bash_profile" E212: Can't open file for writing
".bash_profile"
".bash_profile" E212: Can't open file for writing
".bash_profile"
".bash_profile" E212: Can't open file for writing
E138: Can't write viminfo file /oracle/.viminfo!
Press ENTER or type command to continue
".bash_profile"
".bash_profile" E212: Can't open file for writing
".bash_profile"
".bash_profile" E212: Can't open file for writing
E138: Can't write viminfo file /oracle/.viminfo!
Press ENTER or type command to continue
以上表明oracle用户没有对自己home目录的写入权限
采用如下方法处理:
chown -Rf oracle:oinstall /oracle
chmod 775 /oracle
-----以上/oracle为useradd的-d所指目录,也就是oracle用户的home目录