lj2 Absent Member.
Absent Member.
18320 views

trying to connect to alternative LDAP server

Hi forum..

We are running Novel Linux oes sp2..

In our /var/log/messages .. we repeatly get these errors:

_nds_nss_struct_init: Error [226] in _nds_ldap_private_struct_init.
Feb 25 14:23:36 sunfs1 /usr/sbin/namcd[26715]: ldap_initconn: LDAP bind failed (error = [81]), trying to connect to alternative LDAP server
Feb 25 14:23:36 sunfs1 /usr/sbin/namcd[26715]: Unknown error returned reading configuration parameter: alternative-ldap-server-list
Feb 25 14:23:37 sunfs1 /usr/sbin/namcd[26715]: ldap_initconn: LDAP bind failed (error = [81]), trying to connect to alternative LDAP server
Feb 25 14:23:37 sunfs1 /usr/sbin/namcd[26715]: Unknown error returned reading configuration parameter: alternative-ldap-server-list
Feb 25 14:23:37 sunfs1 /usr/sbin/namcd[26715]: _nds_nss_struct_init: Error [226] in _nds_ldap_private_struct_init.
Feb 25 14:23:40 sunfs1 /usr/sbin/namcd[26715]: ldap_initconn: LDAP bind failed (error = [81]), trying to connect to alternative LDAP server
Feb 25 14:23:40 sunfs1 /usr/sbin/namcd[26715]: Unknown error returned reading configuration parameter: alternative-ldap-server-list



Have any of you seen these errors before - and if so - what is the solution


regards
Lars Jensen
Labels (2)
0 Likes
6 Replies
Anonymous_User Absent Member.
Absent Member.

Re: trying to connect to alternative LDAP server

lj2 wrote:

>
> Hi forum..
>
> We are running Novel Linux oes sp2..
>
> In our /var/log/messages .. we repeatly get these errors:
>
> _nds_nss_struct_init: Error [226] in _nds_ldap_private_struct_init.
> Feb 25 14:23:36 sunfs1 /usr/sbin/namcd[26715]: ldap_initconn: LDAP bind
> failed (error = [81]), trying to connect to alternative LDAP server
> Feb 25 14:23:36 sunfs1 /usr/sbin/namcd[26715]: Unknown error returned
> reading configuration parameter: alternative-ldap-server-list
> Feb 25 14:23:37 sunfs1 /usr/sbin/namcd[26715]: ldap_initconn: LDAP bind
> failed (error = [81]), trying to connect to alternative LDAP server
> Feb 25 14:23:37 sunfs1 /usr/sbin/namcd[26715]: Unknown error returned
> reading configuration parameter: alternative-ldap-server-list
> Feb 25 14:23:37 sunfs1 /usr/sbin/namcd[26715]: _nds_nss_struct_init:
> Error [226] in _nds_ldap_private_struct_init.
> Feb 25 14:23:40 sunfs1 /usr/sbin/namcd[26715]: ldap_initconn: LDAP bind
> failed (error = [81]), trying to connect to alternative LDAP server
> Feb 25 14:23:40 sunfs1 /usr/sbin/namcd[26715]: Unknown error returned
> reading configuration parameter: alternative-ldap-server-list
>
>
>
> Have any of you seen these errors before - and if so - what is the
> solution
>
>
> regards
> Lars Jensen
>
>

Are you fully patched. There was a lum update fixing similar errors only
some days ago.
--
Michael Koeppl
Germany
MCNE, CLP
0 Likes
andben Absent Member.
Absent Member.

Re: trying to connect to alternative LDAP server

lj2;1474911 wrote:
Hi forum..

We are running Novel Linux oes sp2..

In our /var/log/messages .. we repeatly get these errors:

_nds_nss_struct_init: Error [226] in _nds_ldap_private_struct_init.
Feb 25 14:23:36 sunfs1 /usr/sbin/namcd[26715]: ldap_initconn: LDAP bind failed (error = [81]), trying to connect to alternative LDAP server
Feb 25 14:23:36 sunfs1 /usr/sbin/namcd[26715]: Unknown error returned reading configuration parameter: alternative-ldap-server-list
Feb 25 14:23:37 sunfs1 /usr/sbin/namcd[26715]: ldap_initconn: LDAP bind failed (error = [81]), trying to connect to alternative LDAP server
Feb 25 14:23:37 sunfs1 /usr/sbin/namcd[26715]: Unknown error returned reading configuration parameter: alternative-ldap-server-list
Feb 25 14:23:37 sunfs1 /usr/sbin/namcd[26715]: _nds_nss_struct_init: Error [226] in _nds_ldap_private_struct_init.
Feb 25 14:23:40 sunfs1 /usr/sbin/namcd[26715]: ldap_initconn: LDAP bind failed (error = [81]), trying to connect to alternative LDAP server
Feb 25 14:23:40 sunfs1 /usr/sbin/namcd[26715]: Unknown error returned reading configuration parameter: alternative-ldap-server-list



Have any of you seen these errors before - and if so - what is the solution


regards
Lars Jensen


Check in your /etc/nam.conf for preffered-server is the right one with a replica, and add "alternative-ldap-server-list=<ipadress" row for adding other LDAP servers as well...

Run namconfig -k for recreate .der certfile in /var/lib/novell-lum

After that, restart namcd and check your messages-log.

Technical Consultant Kerfi, Sweden 🙂
0 Likes
lj2 Absent Member.
Absent Member.

Re: trying to connect to alternative LDAP server

Thank you for your answer. however I have found the error. It was the Servers SSL CertificateDNS which had expired.


Regards
Lars Jensen
0 Likes
epprecht Absent Member.
Absent Member.

Re: trying to connect to alternative LDAP server

Hi Lars, We have since Friday same error-messages in our OES1 Cluster. We are loosing NDS every few hours. rcndsd status = dead. Novell - Support did not find a solution. We have to move the volumes every time to other node and then after few hours there the nds goes down. All servers are fully patched with eDir 8.8 SP2. Regards, Daniel

Regards, Daniel
0 Likes
jefftull Absent Member.
Absent Member.

Re: trying to connect to alternative LDAP server

lj2;1475903 wrote:
Thank you for your answer. however I have found the error. It was the Servers SSL CertificateDNS which had expired.


Regards
Lars Jensen


OMG THANK YOU this solved my prob. I can't believe there wasn't a clearer error message telling us that. (expired).. It seems alot of the Novell ported apps to SLES logging could use some verbose logging method.. With that said,, Is there ready away to turn verbose logging on for all novell added apps???
0 Likes
Gabriel Pejcich Absent Member.
Absent Member.

Re: trying to connect to alternative LDAP server

epprecht;1589159 wrote:
Hi Lars, We have since Friday same error-messages in our OES1 Cluster. We are loosing NDS every few hours. rcndsd status = dead. Novell - Support did not find a solution. We have to move the volumes every time to other node and then after few hours there the nds goes down. All servers are fully patched with eDir 8.8 SP2. Regards, Daniel



Para solucionar este error, lo que tienes que hacer poner en las excepciones del antivirus el directorio "/var/opt/novell/eDirectory". De esta manera el mismo no realizara escaneo en la Base de Datos del Directorio de Novell. Los antivirus suelen tirar abajo las DB al realizar escaneos en modalidad de Real Time.
0 Likes
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.