Oracle Database Error Code ORA-4940 Description :
unsupported optimization of Oracle binary, check alert log for more info
Error Cause:
ORACLE binary has been optimized with unsupported options or a required option has not been used.
How to Solve :
Check the documentation for a list of supported and required flags for the optimizing utility that you used to optimize ORACLE. Shutdown the instance, optimize ORACLE again with supported combination of options and restart the instance.