LDAP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesLDAP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 17th, 2009, 06:27 AM
gopalhara gopalhara is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2009
Posts: 3 gopalhara User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 19 m 2 sec
Reputation Power: 0
LDAP server - nsslapd-maxdescriptors problem

I have created Directory server and suffix for the same in LDAP server. when i am trying to import the ldif files, got failed.
I found in google and trying to change the file nsslapd-maxdescriptors size in dse.ldif file and restarted the server. again it is giving the error as below.

root@hschnveta20013 bin]# /opt/sun/ds6/bin/dsadm start /opt/sun/DirectoryServerInstance/
[14/Jan/2009:22:30:56 +0530] - ERROR<5253> - Bootstrap config - conn=-1 op=-1 msgId=-1 - Configuration error /opt/sun/DirectoryServerInstance/config/dse.ldif: nsslapd-maxdescriptors: nsslapd-maxdescriptors: invalid value 65536, maximum file descriptors must range from 1 to 1024 (the current process limit)
[14/Jan/2009:22:30:56 +0530] - ERROR<4131> - Bootstrap config - conn=-1 op=-1 msgId=-1 - System error The entry cn=config in file /opt/sun/DirectoryServerInstance/config/dse.ldif is invalid (error 53: DSA is unwilling to perform) - nsslapd-maxdescriptors: invalid value 65536, maximum file descriptors must range from 1 to 1024 (the current process limit).
[14/Jan/2009:22:30:56 +0530] - ERROR<4128> - Bootstrap config - conn=-1 op=-1 msgId=-1 - Configuration error Could not load configuration file dse.ldif.
[14/Jan/2009:22:30:56 +0530] - ERROR<4129> - Bootstrap config - conn=-1 op=-1 msgId=-1 - Configuration error Please edit the configuration file to correct the reported problems and then restart the server. Server exiting.
/opt/sun/ds6/lib/ns-slapd -D /opt/sun/DirectoryServerInstance -i /opt/sun/DirectoryServerInstance/logs/pid failed: err=1
Failed to start ns-slapd for instance '/opt/sun/DirectoryServerInstance'


Please provide the solution for how to change the nsslapd-maxdescriptors size to 65536

Thanks in advance.

Reply With Quote
  #2  
Old April 17th, 2009, 06:47 AM
gopalhara gopalhara is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2009
Posts: 3 gopalhara User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 19 m 2 sec
Reputation Power: 0
[QUOTE=gopalhara]I have created Directory server and suffix for the same in LDAP server. when i am trying to import the ldif files, got failed. please find the below error.

Creating suffix dc=sscp,dc=nl on Directory Server hschnveta20013.hclt.corp.hcl.in:389 . . . . . Done. Launching the Import of Suffix dc=sscp,dc=nl (hschnveta20013:389) with the contents of LDIF file /opt/data.ldif . . . . . Done.
Import LDIF logs:
Index buffering enabled with bucket size 40
Beginning import job...
An unexpected error occurred reading the progress of the Import of Suffix dc=sscp,dc=nl (hschnveta20013:389). The error is Exception ID = 8 EmbededException = connection closed.


I found in google and trying to change the file nsslapd-maxdescriptors size in dse.ldif file and restarted the server. again it is giving the error as below.

root@hschnveta20013 bin]# /opt/sun/ds6/bin/dsadm start /opt/sun/DirectoryServerInstance/
[14/Jan/2009:22:30:56 +0530] - ERROR<5253> - Bootstrap config - conn=-1 op=-1 msgId=-1 - Configuration error /opt/sun/DirectoryServerInstance/config/dse.ldif: nsslapd-maxdescriptors: nsslapd-maxdescriptors: invalid value 65536, maximum file descriptors must range from 1 to 1024 (the current process limit)
[14/Jan/2009:22:30:56 +0530] - ERROR<4131> - Bootstrap config - conn=-1 op=-1 msgId=-1 - System error The entry cn=config in file /opt/sun/DirectoryServerInstance/config/dse.ldif is invalid (error 53: DSA is unwilling to perform) - nsslapd-maxdescriptors: invalid value 65536, maximum file descriptors must range from 1 to 1024 (the current process limit).
[14/Jan/2009:22:30:56 +0530] - ERROR<4128> - Bootstrap config - conn=-1 op=-1 msgId=-1 - Configuration error Could not load configuration file dse.ldif.
[14/Jan/2009:22:30:56 +0530] - ERROR<4129> - Bootstrap config - conn=-1 op=-1 msgId=-1 - Configuration error Please edit the configuration file to correct the reported problems and then restart the server. Server exiting.
/opt/sun/ds6/lib/ns-slapd -D /opt/sun/DirectoryServerInstance -i /opt/sun/DirectoryServerInstance/logs/pid failed: err=1
Failed to start ns-slapd for instance '/opt/sun/DirectoryServerInstance'


Please provide the solution for how to change the nsslapd-maxdescriptors size to 65536

Thanks in advance.

--Haragopal

Reply With Quote
  #3  
Old April 18th, 2009, 03:08 PM
ldapswandog ldapswandog is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2009
Location: Charlotte, NC
Posts: 96 ldapswandog User rank is Corporal (100 - 500 Reputation Level)ldapswandog User rank is Corporal (100 - 500 Reputation Level)ldapswandog User rank is Corporal (100 - 500 Reputation Level)ldapswandog User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 20 h 16 m 5 sec
Reputation Power: 4
The OS setting for maxdescriptors is still set to the default 1024 based on the message your getting. " invalid value 65536, maximum file descriptors must range from 1 to 1024 (the current process limit) ". You need root access to update the NDD parameter for filediescriptors at the OS level to be higher than the 65536 your trying to set for the Directory. I run a Directory with over 3 million entries and 10,000 connections per hour and I only run 4096 for the directory connections and set idle connection timeout to 1 hour. Unless you have a very very busy Directory 4096 should be good enough.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesLDAP Programming > LDAP server - nsslapd-maxdescriptors problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 4 Hosted by Hostway
Stay green...Green IT