LDAP import failed

Hello,

We are using Directory Server server in version 5.0 on HP UX Box.

On that box we have set replication from the main LDAP server.

Right we want to initialize database from the ldif file created on main LDAP.

But unfortunately its failing with the following messages in errors log:

...

[22/Jun/2007:11:29:55 +0200] - Bringing userRoot offline...

[22/Jun/2007:11:30:22 +0200] - cos_cache_getref: no cos cache created

[22/Jun/2007:11:30:22 +0200] - import userRoot: Index buffering enabled with bucket size 31

[22/Jun/2007:11:30:22 +0200] - import userRoot: Beginning import job...

[22/Jun/2007:11:30:22 +0200] - import userRoot: Starting threads failed: -1

[22/Jun/2007:11:30:22 +0200] - import userRoot: Fatal pass error -1

[22/Jun/2007:11:30:22 +0200] - import userRoot: Closing files...

[22/Jun/2007:11:30:23 +0200] - housecleaning PR_CreateThread failed

[22/Jun/2007:11:30:38 +0200] - import userRoot: Import failed.

[22/Jun/2007:11:31:50 +0200] - iPlanet-Directory/5.0 B2001.109.1101 starting up

[22/Jun/2007:11:31:50 +0200] - Detected Disorderly Shutdown last time Directory Server was running, recovering database.

...

After error main process is dying and need to be restarted. That is the last entry in errror log above.

We tried to check used ports and all seems to be fine. We even restarted the box - but it still failed afterwords.

I went through the net but could not fine anything about.

I would appreciate any suggestions, ideas.

Regards,

Jedrzej

[1611 byte] By [Jeda] at [2007-11-27 8:42:45]
# 1

Hi,

Make sure you have tuned the kernel parameters of the HP-UX box to increase the number of threads, the number of file descriptors an application can create.

Typically Thread_create errors are due to systems limits reached by the server. If replication is already enabled there are many threads created (including the default pool of worker threads).

Regards,

Ludovic.

ludovicpa at 2007-7-12 20:42:10 > top of Java-index,Web & Directory Servers,Directory Servers...