|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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. |
|
#2
|
|||
|
|||
|
[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 |
|
#3
|
|||
|
|||
|
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.
|
![]() |
| Viewing: Dev Shed Forums > Databases > LDAP Programming > LDAP server - nsslapd-maxdescriptors problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|