I went the folder where the weblogic resides and i run the startWeblogic.sh
while running weblogic from the unix server i got the error "Exception raised: 'weblogic.server.ServiceFailureException: Could not obtain an exclusive lock to the embedded LDAP data files directory: ./adminserver/ldap/ldapfiles because another WebLogic Server is already using this directory. Ensure that the first WebLogic Server is completely shutdown and restart the server.' Reason: weblogic.server.ServiceFailureException: Could not obtain an exclusive lock to the embedded LDAP data files directory: ./adminserver/ldap/ldapfiles because another WebLogic Server is already using this directory. Ensure that the first WebLogic Server is completely shutdown and restart the server.
try the command ps | grep java or maybe ps -e | grep java.
There is another instance of weblogic running which you need to kill before being able to run your of weblogic.
Uma Mahi
Ranch Hand
Joined: Jan 11, 2006
Posts: 34
posted
0
how to kill the weblogic instance which is already running?
Manhar Puri
Ranch Hand
Joined: Aug 23, 2005
Posts: 41
posted
0
The ps command should give you the process id and then use the kill command.
If you gerp for java it should give all java processes, if there are more than one then i am not sure how you will determine which one is the weblogic instance you want to kill
kill -9 should kill the process, but please look up kill's manual for details.