Directory Server 5.2 does not start after crash, error:"ERROR<5133> - Resource Limit - conn=-1 op=-1 msgId=-1 - Memory allocation error cannot calloc 0 bytes; trying to allocate 0 or a negative ...." (Doc ID 1352384.1)

Last updated on SEPTEMBER 09, 2014

Applies to:

Oracle Directory Server Enterprise Edition - Version 5.2 and later
Information in this document applies to any platform.
***Checked for relevance on 04-08-2013***

Symptoms


A 5.2 directory server suffered an unplanned outage as a result of a power outage. The directory server will not start now, and the following log entries are being dumped to the error log.

[25/Aug/2011:12:18:57 +0200] - ERROR<5133> - Resource Limit - conn=-1 op=-1 msgId=-1 - Memory allocation error cannot calloc 0 bytes; trying to allocate 0 or a negative number of bytes is not portable and gives different results on different platforms. Please check the code and change it to avoid the attempt to allocate 0 bytes.
[25/Aug/2011:14:04:41 +0200] - Sun-ONE-Directory/5.2 B2003.143.0143 (32-bit) starting up
[25/Aug/2011:14:04:41 +0200] - WARNING<20488> - Backend Database - conn=-1 op=-1 msgId=-1 - Detected Disorderly Shutdown last time Directory Server was running, recovering database.
[25/Aug/2011:14:04:42 +0200] - ERROR<5133> - Resource Limit - conn=-1 op=-1 msgId=-1 - Memory allocation error cannot calloc 0 bytes; trying to allocate 0 or a negative number of bytes is not portable and gives different results on different platforms. Please check the code and change it to avoid the attempt to allocate 0 bytes.
[25/Aug/2011:14:04:44 +0200] - Sun-ONE-Directory/5.2 B2003.143.0143 (32-bit) starting up
[25/Aug/2011:14:04:44 +0200] - WARNING<20488> - Backend Database - conn=-1 op=-1 msgId=-1 - Detected Disorderly Shutdown last time Directory Server was running, recovering database.
[25/Aug/2011:14:04:44 +0200] - ERROR<5133> - Resource Limit - conn=-1 op=-1 msgId=-1 - Memory allocation error cannot calloc 0 bytes; trying to allocate 0 or a negative number of bytes is not portable and gives different results on different platforms. Please check the code and change it to avoid the attempt to allocate 0 bytes.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms