Troubleshooting: Message "couldn't set locale correctly"
The database migration on a Solaris system reports a locale specific error.
Problem
When you run the database tier migration, you receive the following message: couldn't set locale correctly.
Solution
Complete the following steps to ensure that the locale is set correctly:
- Ensure that the LANG environment variable was set correctly.
- Ensure your locale is installed. For example, if you select English locale(50) when installing the Solaris operating environment, there should be an en_US directory under /usr/lib/locale.
- Check that the system has all the required packages to support the locale. There could be missing packages that are needed for the locale, or the packages could be loaded and corrupted, or only partially installed.
This is a problem that is specific to the Solaris Operating Environment. Contact Solaris Technical Support for further assistance.