runInstaller Error: "WARNING: Could not lock User prefs. Unix error code 2" (Doc ID 727368.1)

Last updated on OCTOBER 27, 2011

Applies to:

Oracle Universal Installer - Version: 10.2.0.1 and later   [Release: 10.2 and later ]
Oracle Solaris on SPARC (64-bit)

Symptoms

You try to start the Oracle Universal Installer (OUI), but receive a java error similar to the following...
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2008-06-10_08-23-14AM. Please wait ...$ Jun 10, 2008 8:23:45 AM java.util.prefs.FileSystemPreferences$2 run
WARNING: Couldn't create user preferences directory. User preferences are unusable.
Jun 10, 2008 8:23:45 AM java.util.prefs.FileSystemPreferences$2 run
WARNING: java.io.IOException: A file or directory in the path name does not exist.
Jun 10, 2008 8:24:09 AM java.util.prefs.FileSystemPreferences$3 run
INFO: Created system preferences directory in java.home.
Jun 10, 2008 8:24:16 AM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode
WARNING: Could not lock User prefs. Unix error code 2.
Jun 10, 2008 8:24:46 AM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode
WARNING: Could not lock User prefs. Unix error code 2.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms