Friday 7 September 2018

Unlock super User orcladmin in OID

To unlock the OID superuser i.e. cn=orcladmin follow the below steps,

export the ORACLE_HOME, ORACLE_INSTANCE if your OID in stand alone mode then export the DOMAIN_HOME also, then go to ORACLE_HOME/ldap/bin and execute the command.

./oidpasswd connect=OIDDB unlock_su_acct=true

It will ask for password, enter the ODS schema password. 

Wednesday 20 June 2018

.appmergegen" Directories Being Created And Taking Up Disk Space

In the "tmp" directory, many ".appmergegen" directories are getting generated and it takes up lot of disk space.  This appears to happen when applications are monitored via the Administration Console. Can these directories be deleted?

When deploying applications or monitoring complex applications via the Administration Console, those directories are created. Those can (and should) be removed every time there is a re-deployment or a new deployment
Example:
rm -rf .appmergegen*

These files/directories are created during application deployment and can safely be removed.
Also, an alternative, use the parameter: "-Djava.io.tmpdir= <path>" to generate the files at a different location and then delete them safely.