Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

.bash_profile interference

scottjhnOct 2 2012 — edited Oct 3 2012
OS: SUSE Linux Server 11. To install Oracle 11g.

Preinstallation Tasks: .bash_profile

created a file named .bash_profile under the /home/oracle

First, without any line in the file, go to the terminal issue: su - oracle --> successfully switch to the oracle user environment
Now add, ORACLE_BASE=/u01/app/oracle export  ORACLE_BASE go back to the terminal: su - oracle --> error: -bash: export : command not found

Worse, if I put these lines in the file: DISPLAY=0.0 export DISPLAY I can not even log in to the oracle user account.

Similarly, if I put DISPLAY=0.0 export DISPLAY +xhost in the /root I will not be able to log in as root.


What could be the cause?


Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 31 2012
Added on Oct 2 2012
5 comments
1,049 views