Koozali.org: home of the SME Server

Ldap Directory

Luciano Terra

Ldap Directory
« on: November 08, 2001, 01:16:23 PM »
Helo friends,

when i try to update directory setings (via server-manager) get this error:

Software error:
Error occurred while updating system configuration.
For help, please send mail to the webmaster (admin@domain1.com), giving this error message and the time and date of the error.

and tail....

[root@sunday /root]# tail /var/log/messages
Oct 29 23:13:55 sunday ldap: slapd shutdown succeeded
Oct 29 23:13:55 sunday e-smith[16763]:
Oct 29 23:13:55 sunday e-smith-bg: Stopping slapd: [ OK ]^M
Oct 29 23:13:55 sunday e-smith[16763]: Shutting down IP masquerade and firewall rules:^I^IDone!
Oct 29 23:13:55 sunday e-smith[16763]:
Oct 29 23:13:55 sunday e-smith[16763]: S90restart-masq=action|Event|ldap-update|Action|S90restart-masq|Start|1004404435 535621|End|1004404435 955156|Elapsed|0.419535
Oct 29 23:13:56 sunday slapd[16820]: daemon: socket() failed errno=97 (Address family not supported by protocol)
Oct 29 23:13:56 sunday ldap: slapd startup succeeded
Oct 29 23:13:56 sunday e-smith-bg: Starting slapd: [ OK ]^M
Oct 29 23:13:56 sunday slapd[16828]: slapd starting

What seems?


Details
My system name : "Sunday"
Network : 10.0.2.0/24
ip : 10.0.2.100
Samba 2.2.2 and PHP 4.06


Regard's
Luciano

Miguel GarcĂ­a

Re: Ldap Directory
« Reply #1 on: December 27, 2001, 03:06:45 AM »
I get the same error after I upgraded to SME 5.0. I have lost access to LDAP directory. Also I get the same message whenever I try to change any detail through SME-Server.
As far as I have seen, nobody seems to have sorted out this problem.
Is it a serios bug?
Should we get back to E-Smith 4.1.2?
If somebody has got the answer, please post it. The situation is quite serious.
Miguel

Jim

Re: Ldap Directory
« Reply #2 on: January 23, 2002, 10:37:37 PM »
After my 4.12->5.0 upgrade I had to:

1) install the latest blades (which re-creates the 'ldap' user)
2) change the ownership of the ldap config & data files:

chown ldap.ldap /etc/openldap/*
chown ldap.ldap /var/lib/ldap/*

I don't know if this is correct but it worked.  YMMV

Jim