Total Pageviews

Thursday, August 21, 2014

oops started weblogic and OIM under root user now getting error. Error EmbeddedLDAP BEA-000000 Error opening the Transaction Log Critical WebLogicServer BEA-000362 Server failed

this error happened when you started weblogic and OIM( before entering username and password) you realize it that you have started these server under root. you quckly stop all the servers and start again under user that own these server, now you are getting following error.
 

<Error> <EmbeddedLDAP> <BEA-000000> <Error opening the Transaction Log: /middleware/user_projects/domains/dev_domain/servers/AdminServer/data/ldap/ldapfiles/EmbeddedLDAP.tran (Permission denied)>

<Aug 21, 2014 12:56:30 PM PDT> <Error> <EmbeddedLDAP> <BEA-000000> <Error Instan                    tiating 'dc=dev_domain': null>


<Critical> <WebLogicServer> <BEA-000362> <Server  failed


Solution.
many times is realize deleting everthing under /ldap and restarting under correct user helped but if you don't want to do that. change ownership of following files.

quick solution is change ownership of all managed server folder to your desired user.

chown idmadm:idmadm oim_server1.status

 chown idmadm:idmadm EmbeddedLDAP.tran

chown idmadm:idmadm DefaultAuthenticatormyrealmInit.initialized
/ldap
chown idmadm:idmadm oim_server1.ldif



<MW_HOME>/user_projects/domains/dev_domain/config/fmwconfig/servers

chown -R idmadm:idmadm soa_server1

 

change permission for folder and subfolder using –R option


now start weblogic server. it should start and re-initialize admin server setting.

next time make sure exit out of root as soon as you are done working with root user : )

 

No comments:

Post a Comment