Could Not Block User Prefs. Unix Error Code 2
Contents |
Cloud apps, the contents of this warning could not lock user prefs. unix error code 2 article cannot be applied to Atlassian Cloud applications. couldn't flush user prefs java.util.prefs.backingstoreexception couldn't get file lock Problem The following appears in theatlassian-confluence.log about every 2 milliseconds: 2014-09-28 13:24:33,960 could not lock user prefs. unix error code 24. WARN [Timer-10] [java.util.prefs] syncWorld Couldn't flush user prefs: java.util.prefs.BackingStoreException: Couldn't get file lock. -- referer: https://my.site.com | url: /display/SPACE/my+wiki | userName:
Could Not Lock System Prefs. Unix Error Code 0
username 2014-09-28 13:25:03,958 WARN [Timer-10] [java.util.prefs] checkLockFile0ErrorCode Could not lock User prefs. Unix error code 2. -- referer: https://my.site.com | url: /display/SPACE/my+wiki | userName: username 2014-09-28 13:25:03,960 WARN [Timer-10] [java.util.prefs] syncWorld Couldn't flush user prefs: java.util.prefs.BackingStoreException: Couldn't get file lock. -- warning: could not lock system prefs. unix error code 7. referer: https://my.site.com | url: /display/SPACE/my+wiki | userName: username 2014-09-28 13:25:33,958 WARN [Timer-10] [java.util.prefs] checkLockFile0ErrorCode Could not lock User prefs. Unix error code 2. -- referer: https://my.site.com | url: /display/SPACE/my+wiki | userName: username 2014-09-28 13:25:33,960 WARN [Timer-10] [java.util.prefs] syncWorld Couldn't flush user prefs: java.util.prefs.BackingStoreException: Couldn't get file lock. -- referer: https://my.site.com | url: /display/SPACE/my+wiki | userName: username 2014-09-28 13:26:03,958 WARN [Timer-10] [java.util.prefs] checkLockFile0ErrorCode Could not lock User prefs. Unix error code 2. -- referer: https://my.site.com | url: /display/SPACE/my+wiki | userName: username Cause This occurs when the user being used to run Confluence does not have a writeable home directory (for example: /home/confluenceor~confluencedidn't exist). It is possible for a plugin to use the preferences module, which defaults to write to ~/.confluence/ Resolution
here for a quick overview of the site Help Center Detailed answers to any warning: could not create system preferences directory. system preferences are unusable. questions you might have Meta Discuss the workings and policies
Warning: Couldn't Create User Preferences Directory. User Preferences Are Unusable.
of this site About Us Learn more about Stack Overflow the company Business Learn more
Checklockfile0errorcode
about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack https://confluence.atlassian.com/confkb/could-not-lock-user-prefs-unix-error-code-2-670958391.html Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up java system preferences under different users in linux up vote 6 down vote favorite 3 I'm trying to run multiple jvms (including tomcat) under different users on one linux http://stackoverflow.com/questions/23960451/java-system-preferences-under-different-users-in-linux box. I'm not seeing too many issues, but in catalina.out I keep seeing this: May 30, 2014 1:16:16 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 7626 ms May 30, 2014 1:16:37 PM java.util.prefs.FileSystemPreferences$2 run WARNING: Could not create system preferences directory. System preferences are unusable. May 30, 2014 1:16:55 PM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode WARNING: Could not lock System prefs. Unix error code -158097957. May 30, 2014 1:16:55 PM java.util.prefs.FileSystemPreferences syncWorld WARNING: Couldn't flush system prefs: java.util.prefs.BackingStoreException: Couldn't get file lock. I did some digging/reading and deduced the following: An administrator with root access must create the system preferences directory /etc/.java/.systemPrefs with drwxr-xr-x access. Java's looking for /etc/.java/.systemPrefs/.system.lock and /etc/.java/.systemPrefs/.systemRootModFile Manually creating the above files (use "touch" to create empty files) and their containing directories should fix. Rights to the files should be 544, rights to their directories should be 755, owner and group are root for all. But I am not root, getting s
the Top Bookmark Subscribe Printer Friendly Page « Message Listing « Previous Topic Next Topic » conorlynch Visitor Posts: 1 Registered: 06-12-2014 https://community.appdynamics.com/t5/AppDynamics-Discussions/controller-Installer-system-prefs-unix-error/td-p/9885 controller Installer system prefs.unix error Hi, I've been installing appdynamics on a VM to test without difficulty. I'm just after starting an install on a dedicated machine and get the below just after agreeing to the license: setup sofar - centos 6.5, 64 bit, groupadd appd useradd appdyn -g appd su - appdyn unpack could not the 64bit controller & start the install Enter AppDynamics Controller database root user's passwordThe database root user is the superuser account that has all the privilegesnecessary to administer the AppDynamics Controller database. Onlyadministrators of the AppDynamics Controller are expected to know thedatabase root user's password. Contact your administrator in case you don'thave this passwordPasswordAug 14, 2014 prefs. unix error 12:35:28 PM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCodeWARNING: Could not lock System prefs.Unix error code 0.Aug 14, 2014 12:35:28 PM java.util.prefs.FileSystemPreferences syncWorldWARNING: Couldn't flush system prefs: java.util.prefs.BackingStoreException: Couldn't get file lock.Aug 14, 2014 12:35:58 PM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode Any ideas? Obviously enough I'm not installing as root - home directory for appdyn is writable, is this looking for access to /etc/.java/.systemprefs to write files? Cheers, controller Installer system prefs.unix error Options Mark as New Bookmark Subscribe Subscribe to RSS Feed Highlight Print Email to a Friend Report Inappropriate Content 08-14-2014 04:51 AM Hi, I've been installing appdynamics on a VM to test without difficulty. I'm just after starting an install on a dedicated machine and get the below just after agreeing to the license: setup sofar - centos 6.5, 64 bit, groupadd appd useradd appdyn -g appd su - appdyn unpack the 64bit controller & start the install Enter AppDynamics Controller database root user's passwordThe database root user is the superuser account that has all the privilege