ndhanaraj Absent Member.
Absent Member.

eDir Database locked

I'm facing an issue with eDir when I was turned on eDir/IDM audit
mechanism. Suddenly my eDir was not responding ... I've tried
ndsrepair, stop and start of nds and restart of the server itself .. its
a single server eDir installation... find the logs below

rcndsd start
Executing customized settings before starting the Novell eDirectory
Starting Novell eDirectory server...
A previous instance of ndsd was not shutdown cleanly. Ignoring old pid
[ OK ]
Executing customized settings after starting the Novell eDirectory
Novell eDirectory LDAP Server is not listening on the TCP port.
Novell eDirectory LDAP Server is not listening on the TLS port.
You have mail in /var/spool/mail/root
[root@ip-l-00020-c5c ~]# ndsrepair -R

[1] Instance at /etc/opt/novell/eDirectory/conf/nds.conf:
Repair utility for Novell eDirectory 8.8 - 8.8 SP7 v20701.37
DS Version 20701.48 Tree name:
Server name:

Size of /var/opt/novell/eDirectory/log/ndsrepair.log = 8115 bytes.

Preparing Log File "/var/opt/novell/eDirectory/log/ndsrepair.log"
Please Wait...
Repairing Directory On Server ip-l-00020-c5c
Start: Sunday, May 31, 2015 02:40:00 PM Local Time
ERROR: Insufficient disk space or missing files, Error: -6007

Current transaction ID is 0 (0x0). Allowed limit of transaction is
4294959104 (0
NOTICE: Unable to update repair status. Error: -663

Repair process aborted
Unlocking local database files
Please Wait...
Could not open the Directory Services Database, the repair procedure was
not suc
cessful. Try running the repair again, or
uninstall this server from the Directo
ry Services tree
and re-install it.
Total errors: 0

Please help me in resolving this issue, early advise would be much

Nirmal Dhanaraj

ndhanaraj's Profile: https://forums.netiq.com/member.php?userid=497
View this thread: https://forums.netiq.com/showthread.php?t=53582

Labels (1)
2 Replies
hendersj Acclaimed Contributor.
Acclaimed Contributor.

Re: eDir Database locked

On Sun, 31 May 2015 18:54:01 +0000, ndhanaraj wrote:

> ERROR: Insufficient disk space or missing files, Error: -6007

This would seem to be your problem. It's entirely possible the DIB is
corrupted, but deal with the space issue first, then see if it opens.

BTW, if you're having problems with eDir, diagnose first, then run a
repair if necessary. Repair isn't a diagnostic tool (generally), it's a
tool to correct issues. Diagnose using passive tools like dstrace/
ndstrace and iMonitor first. Then, if the issue is something that repair
is likely to be able to handle, use repair with the specific options

If your car stops running, you don't start hitting the engine with a
sledgehammer. You diagnose first to see what's wrong, and if the
diagnostic information tells you that hitting it with a sledgehammer will
help, then you do it. Otherwise, you risk breaking the engine further.


Jim Henderson, CNA6, CDE, CNI, LPIC-1, CLA10, CLP10
Novell/SUSE/NetIQ Knowledge Partner
mjruane1 Absent Member.
Absent Member.

Re: eDir Database locked

It may be that the auditing you turned on has caused the disk space
issue. Not sure what eDir/IDM auditing you have turned on but if the
audited eDir/IDM
server is unable to forward events to an audit collector server it will
probably start caching and this will eat up disk space very quickly.
Auditing applications don’t like to drop events.

mjruane's Profile: https://forums.netiq.com/member.php?userid=784
View this thread: https://forums.netiq.com/showthread.php?t=53582

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.