Can't start instance correctly

Technote (troubleshooting)


Problem(Abstract)

When trying to start the instance, the madconfig start_instance output shows the instance started successfully, however there's following error message in the .mlg log:

The Directory Server could not acquire an exclusive lock on file
<Your instance home directory>/inst/mpinet_<instance name>/ldap/./locks/server.lock: The attempt to obtain an exclusive lock on file
<Your instance home directory>/inst/mpinet_<instance name>/ldap/./locks/server.lock was rejected because the attempt to open the lock file failed:
FileNotFoundException(<Your instance home directory>/inst/mpinet_<instance name>/ldap/./locks/server.lock (Permission denied)). This generally means that another instance of this server is already running.

Resolving the problem

First, please make sure you use the userid which created the instance to start the instance.

Check if the file <Your instance home directory>/inst/mpinet_<instance name>/ldap/./locks/server.lock exists.

a> If the file is already there, check if the file is currently opened by another process by running the following command with root user:

lsof <Your instance home directory>/inst/mpinet_<instance name>/ldap/./locks/server.lock

If there's any record comes back, check the information about that PID and stop the process correctly, then try to start the instance again and check the log file.

If there's nothing returned for the lsof command, or the problem persists after you stopped the process which holds the server.lock, check the file permission, it should at least be :

rw-rw-r--

Or, you can find a working instance and compare the file permission with it make sure there's no permission issue of your files.

b> If there's no such file, make sure the userid have the permission to create file under the directory.


Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Initiate Master Data Service

Software version:

All Versions

Operating system(s):

AIX, Linux, Solaris

Reference #:

1627130

Modified date:

2013-03-29

Translate my page

Machine Translation

Content navigation