Forum Stats

  • 3,769,299 Users
  • 2,252,946 Discussions
  • 7,874,982 Comments

Discussions

Error LOG_FILE_NOT_FOUND (OUD 11.1.2.3.0.180116)

Hi there,

if anyone could help me out I would be enormously grateful. I've been banging my head against the wall for days and days now. I use an OUD instance, release 11.1.2.3.0.180116. Suddenly the OUD instance started to malfunction. I went to check the access log file and found hundreds of these completely identical log messages: 


BIND RES conn=58 op=1 msgID=2 result=49 message="Database exception: (JE 6.2.14) Environment must be closed, caused by: com.sleepycat.je.EnvironmentFailureException: Invalid environment due to a previous exception: (JE 6.2.14) /Middleware/instance3/OUD/db/userRoot fetchLN of 0x5709c/0x2116b08 parent IN=3 IN class=com.sleepycat.je.tree.BIN lastFullVersion=0x57147/0x1ee357a lastLoggedVersion=0x57169/0x352cc80 parent.getDirty()=true state=0 LOG_FILE_NOT_FOUND: Log file missing, log is likely invalid. The environment is invalid and must be closed" etime=2


I also went to check the log error file and found three types of error messages that relate to this LOG_FILE_NOT_FOUND problem. The following messages arrived in this order:

category=BACKEND severity=FATAL_ERROR msgID=9765161 msg=The Database Environment corresponding to backend id userRoot is corrupt and will be disabled. Restart the Directory Server to reopen the Environment for recovery. The reported failure cause: (JE 6.2.14) Environment must be closed, caused by: com.sleepycat.je.EnvironmentFailureException: Environment invalid because of previous exception: (JE 6.2.14) /Middleware/instance3/OUD/db/userRoot fetchLN of 0x5709c/0x2116b08 parent IN=3 IN class=com.sleepycat.je.tree.BIN lastFullVersion=0x57147/0x1ee357a lastLoggedVersion=0x57169/0x352cc80 parent.getDirty()=true state=0 LOG_FILE_NOT_FOUND: Log file missing, log is likely invalid. Environment is invalid and must be closed. (EnvironmentFailureException.java:210 EnvironmentImpl.java:1626 Transaction.java:850 Transaction.java:204 EntryContainer.java:5710 EntryContainer.java:3315 BackendImpl.java:979 LocalBackendAddOperation.java:798 LocalBackendWorkflowElement.java:202 AddOperationBasis.java:692 LDAPReplicationDomain.java:3178 ReplayThread.java:113)


category=CORE severity=NOTICE msgID=458891 msg=The Directory Server has sent an alert notification generated by class org.opends.server.core.DirectoryServer (alert type org.opends.server.BackendRunRecovery, alert ID 9765161): The Database Environment corresponding to backend id userRoot is corrupt and will be disabled. Restart the Directory Server to reopen the Environment for recovery. The reported failure cause: (JE 6.2.14) Environment must be closed, caused by: com.sleepycat.je.EnvironmentFailureException: Environment invalid because of previous exception: (JE 6.2.14) /Middleware/instance3/OUD/db/userRoot fetchLN of 0x5709c/0x2116b08 parent IN=3 IN class=com.sleepycat.je.tree.BIN lastFullVersion=0x57147/0x1ee357a lastLoggedVersion=0x57169/0x352cc80 parent.getDirty()=true state=0 LOG_FILE_NOT_FOUND: Log file missing, log is likely invalid. Environment is invalid and must be closed. (EnvironmentFailureException.java:210 EnvironmentImpl.java:1626 Transaction.java:850 Transaction.java:204 EntryContainer.java:5710 EntryContainer.java:3315 BackendImpl.java:979 LocalBackendAddOperation.java:798 LocalBackendWorkflowElement.java:202 AddOperationBasis.java:692 LDAPReplicationDomain.java:3178 ReplayThread.java:113)


category=SYNC severity=MILD_ERROR msgID=14876739 msg=Could not replay operation AddOperation(connID=-1, opID=28217, DN) with ChangeNumber 0000017a0ae8af3610e506c20fa1 error Other Database exception: (JE 6.2.14) Environment must be closed, caused by: com.sleepycat.je.EnvironmentFailureException: Environment invalid because of previous exception: (JE 6.2.14) /Middleware/instance3/OUD/db/userRoot fetchLN of 0x5709c/0x2116b08 parent IN=3 IN class=com.sleepycat.je.tree.BIN lastFullVersion=0x57147/0x1ee357a lastLoggedVersion=0x57169/0x352cc80 parent.getDirty()=true state=0 LOG_FILE_NOT_FOUND: Log file missing, log is likely invalid. Environment is invalid and must be closed.


After these errors I have almost all "category=SYNC severity=MILD_ERROR..." errors and a few "category=CORE severity=NOTICE..." errors. I have tried various solutions, even looking at the various problems solved on support.Oracle but have not solved them. Thank you very much to anyone who can help me. 

Tagged:

Answers

  • EmpDebA-Oracle
    EmpDebA-Oracle Member Posts: 13 Employee

    It took a bit of searching, however here is the path taken:

    OUD11g - Instance Stopped Suddenly With Error: LOG_FILE_NOT_FOUND: Log File Missing, Environment Invalid (Doc ID 2258339.1)

    Which took me to this bug:

    BUG 25437857 - JE DATABASE APPLY BACKPORT

    Which has some backports, however not for your version (11.1.2.3.180116). A one-off backport fix was requested for your version and was completed in this bug / patch:

    29529966

    If you search the Patches and Updates tab in My Oracle Support you will find a patch for your version of OUD.

    I hope that helps.

    -Deb