I've chowned the lock and server folder to the ldap user, and even tried as nobody and I still got the same warning. After changing several other permissions ./start-admin still doesn't remain running but when I run startconsole, while continually running start-admin (as su) I eventually got the following error dump: [user at node fedora-ds]$ ./startconsole 20-Jul-2005 12:40:39 java.util.prefs.FileSystemPreferences$2 run WARNING: java.io.IOException: Permission denied java.lang.SecurityException: Could not lock User prefs. Lock file access denied. at java.util.prefs.FileSystemPreferences.checkLockFile0ErrorCode(FileSystemPreferences.java:937) at java.util.prefs.FileSystemPreferences.lockFile(FileSystemPreferences.java:926) at java.util.prefs.FileSystemPreferences.sync(FileSystemPreferences.java:732) at java.util.prefs.FileSystemPreferences.flush(FileSystemPreferences.java:825) at java.util.prefs.FileSystemPreferences.syncWorld(FileSystemPreferences.java:469) at java.util.prefs.FileSystemPreferences.access$1200(FileSystemPreferences.java:51) at java.util.prefs.FileSystemPreferences$4.run(FileSystemPreferences.java:437) at java.util.TimerThread.mainLoop(Timer.java:447) at java.util.TimerThread.run(Timer.java:397) java.lang.SecurityException: Could not lock User prefs. Lock file access denied. at java.util.prefs.FileSystemPreferences.checkLockFile0ErrorCode(FileSystemPreferences.java:937) at java.util.prefs.FileSystemPreferences.lockFile(FileSystemPreferences.java:926) at java.util.prefs.FileSystemPreferences.sync(FileSystemPreferences.java:732) at java.util.prefs.FileSystemPreferences.flush(FileSystemPreferences.java:825) at java.util.prefs.FileSystemPreferences.syncWorld(FileSystemPreferences.java:469) at java.util.prefs.FileSystemPreferences.access$1200(FileSystemPreferences.java:51) at java.util.prefs.FileSystemPreferences$6.run(FileSystemPreferences.java:447) Trying to run start-admin as non-root doesn't do anything at all, checking the log files reveals that they weren't even written to meaning the admin server didn't even attempt to start. I've checked all the permissions and I can't see any problems. Any help would be appreciated. ------------------------------------------------------------------------------------------------------ >From: Rich Megginson <rmeggins at redhat.com> ------------------------------------------------------------------------------------------------------ >Reply-To: "General discussion list for the Fedora Directory server >project." <fedora-directory-users at redhat.com> >To: "General discussion list for the Fedora Directory server project." ><fedora-directory-users at redhat.com> >Subject: Re: Centos 4.1 - FDS Problems >Date: Tue, 19 Jul 2005 07:49:53 -0600 > >Vik Lionheart wrote: > >>Yes I have x11 installed, it is required for nomachine to run correctly, >>which has been installed correctly. >> >>I tried running start-slapd as a non-root and, after fixing several >>permission errors I got the following message: >> >>[user at node slapd-node]$ ./start-slapd >>Server failed to start !!! Please check errors log for problems >> >>Viewing the error log revealed the following: >> >>[19/Jul/2005:11:56:12 +0100] - Warning - couldn't set the ownership for >>/opt/fedora-ds/slapd-node/locks/server/4346 > >Make sure you chown locks and locks/server to the uid of the slapd process >(e.g. ldap). Make sure those directories are writable by the uid of the >slapd process. > >>[19/Jul/2005:11:56:12 +0100] - Fedora-Directory/7.1 B2005.146.2010 >>starting up >>[19/Jul/2005:11:56:12 +0100] createprlistensocket - PR_Bind() on All >>Interfaces port 389 failed: Netscape Portable Runtime error -5966 (Access >>Denied.) >> >>This may be the reason why admin server kept randomly stopping. I've made >>sure that no other services are trying to run on port 389 but I still have >>this error. >> >> >> _________________________________________________________________ Use MSN Messenger to send music and pics to your friends http://messenger.msn.co.uk