文档解释
ORA-06310: IPA: Environment variable(s) not set
Cause: Environment variable(s) not set correctly.
Action: Check and correct.
ORA-06310 is an Oracle error indicating that one or more environment variables are not set. This error message is typically encountered when the Oracle client or server tools are being run, and is usually due to one of the following scenarios:
• An environment variable has not been set on the Oracle server or client, or
• An environment variable has been set incorrectly, such as with an incorrect value.
The official documentation for ORA-06310 states that the following environment variables should be set on the Oracle server or client:
• ORACLE_HOME
• ORACLE_BASE
• TNS_ADMIN
• LD_LIBRARY_PATH
• NLS_LANG
• PATH
The usual resolution for this problem is to set the missing or incorrect environment variables to the proper values. If the problem persists, then it is recommended to check and make sure that the Oracle software packages have been installed correctly, that all Oracle configuration files have been updated, and that the user has the appropriate privileges to run the Oracle procedure.