安裝oracle發現/etc/profile和.bashrc環境變量設置有沖突,oracle用戶的$ORACLE_HOME沒生效

Question: After increasing by "processes" parameter (processes 3000), I got the following ORA-00838 error at database startup time. Note that I am on 12c and I have not set my sga_target or pga_aggregate_target parameter. After re-setting processes=1000 the ORA-00838 error disappeared. Why?
ORA-00838: Specified value of MEMORY_TARGET is too small, needs to be at least 3072M
ORA-01078: failure in processing system parameters
How do I correct the ORA-00838 error?
Answer: The oerr utility shows the cause and action for the ORA-02097:
ORA-00838: Specified value of MEMORY_TARGET is too small, needs to be at least string
Cause: The specified value of MEMORY_TARGET was less than the sum of the specified values for SGA_TARGET and PGA_AGGREGATE_TARGET.
Action: Set MEMORY_TARGET to at least the recommended value.
In this case the increase of your processes parameter was the root cause of the ORA-00838 error. As we my know the processes parameter determines the sessions parameter that this must, in turn, indicate to Oracle that additional RAM is required to support the extra sessions.
As a workaround, of course, you can increase your memory_target parameter value.
由於安裝過程中將進程數量由初始值300調到5000導致所需內存增加,保持初始值不變即可順利安裝