Ticket #2081 (closed defect: fixed)
Error enabling Users and Groups in 1.5.10 (installed from ISO 1.5-1)
| Reported by: | anonymous | Owned by: | jsalamero@… |
|---|---|---|---|
| Milestone: | 2.0.X | Component: | users |
| Severity: | blocker | Keywords: | clean install |
| Cc: | sub@… |
Description
After installing eBox from the ISO - check that progress here:
http://forum.ebox-platform.com/index.php?topic=4526
The error message I got is this:
Failed to enable: root command ldapadd -H 'ldapi://' -Y EXTERNAL -c -f /var/lib/ebox/tmp/slapd-master.ldif failed. Error output: SASL/EXTERNAL authentication started SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth SASL SSF: 0 ldap_add: Naming violation (64) ldap_add: Other (e.g., implementation specific) error (80) additional info: olcAttributeTypes: Duplicate attributeType: "0.9.2342.19200300.100.1.2" ldap_add: Other (e.g., implementation specific) error (80) additional info: olcAttributeTypes: Duplicate attributeType: "1.3.6.1.1.1.1.2" ldap_add: Other (e.g., implementation specific) error (80) additional info: olcAttributeTypes: Duplicate attributeType: "2.16.840.1.113730.3.1.1" ldap_modify: Type or value exists (20) additional info: modify/add: olcAccess: value #0 already exists Command output: adding new entry "cn=module{0},cn=config" adding new entry "cn=cosine,cn=schema,cn=config" adding new entry "cn=nis,cn=schema,cn=config" adding new entry "cn=inetorgperson,cn=schema,cn=config" adding new entry "olcDatabase={1}hdb,cn=config" adding new entry "olcOverlay=syncprov,olcDatabase={1}hdb,cn=config" modifying entry "olcDatabase={0}config,cn=config" . Exit value: 20
'''Trace'''
Failed to enable: root command ldapadd -H 'ldapi://' -Y EXTERNAL -c -f /var/lib/ebox/tmp/slapd-master.ldif failed.
Error output: SASL/EXTERNAL authentication started
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
ldap_add: Naming violation (64)
ldap_add: Other (e.g., implementation specific) error (80)
additional info: olcAttributeTypes: Duplicate attributeType: "0.9.2342.19200300.100.1.2"
ldap_add: Other (e.g., implementation specific) error (80)
additional info: olcAttributeTypes: Duplicate attributeType: "1.3.6.1.1.1.1.2"
ldap_add: Other (e.g., implementation specific) error (80)
additional info: olcAttributeTypes: Duplicate attributeType: "2.16.840.1.113730.3.1.1"
ldap_modify: Type or value exists (20)
additional info: modify/add: olcAccess: value #0 already exists
Command output: adding new entry "cn=module{0},cn=config"
adding new entry "cn=cosine,cn=schema,cn=config"
adding new entry "cn=nis,cn=schema,cn=config"
adding new entry "cn=inetorgperson,cn=schema,cn=config"
adding new entry "olcDatabase={1}hdb,cn=config"
adding new entry "olcOverlay=syncprov,olcDatabase={1}hdb,cn=config"
modifying entry "olcDatabase={0}config,cn=config"
.
Exit value: 20 at /usr/share/perl5/EBox/CGI/ServiceModule/ConfigureModuleController.pm line 74
EBox::CGI::ServiceModule::ConfigureModuleController::_process('EBox::CGI::ServiceModule::ConfigureModuleController=HASH(0x25...') called at /usr/share/perl5/EBox/CGI/Base.pm line 264
EBox::CGI::Base::run('EBox::CGI::ServiceModule::ConfigureModuleController=HASH(0x25...') called at /usr/share/perl5/EBox/CGI/Run.pm line 122
EBox::CGI::Run::run('EBox::CGI::Run', 'ServiceModule/ConfigureModuleController', 'EBox') called at /usr/share/ebox/cgi/ebox.cgi line 35
ModPerl::ROOT::ModPerl::Registry::usr_share_ebox_cgi_ebox_2ecgi::handler('Apache2::RequestRec=SCALAR(0x25f7cc50)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
eval {...} called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
ModPerl::RegistryCooker::run('ModPerl::Registry=HASH(0x258ea918)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x258ea918)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0x25f7cc50)') called at -e line 0
eval {...} called at -e line 0
Attachments
Change History
Changed 3 years ago by Oceanwatcher
-
attachment
09082010-ebox.log
added
comment:1 Changed 3 years ago by Oceanwatcher
Reinstalling Users and Groups as mentioned in this post
http://forum.ebox-platform.com/index.php?topic=4281.msg18018#msg18018
Seemed to have fixed the problem. I am now setting up Users and Groups.
comment:2 Changed 3 years ago by glenm@…
I also got that on a clean install. I tried reinstalling with fewer modules and had greater success.
1.5-1 has a number of out-of-the-box problems, including the User Corner does not work. Period. Gives 500 Internal Server Error after authenticating with a valid user ID.
Maybe we should be looking at pushing out the release date a bit more. :(
comment:3 Changed 3 years ago by jsoriano@…
Yes, the failure when enabling users and groups module is a known bug that issues randomly in very different scenarios. We are currently trying to fix it.
comment:4 Changed 3 years ago by lucaspr
- Severity changed from blocker to critical
after updating components I got this error. When trying to update from command line with apt-get udpate && apt-get upgrade I got an error about slapd olcdatabase/nolcdatabase file not found. Seemed I had multiple olcdatabase files in the cn=config folder.
Removed olcdatabase2 & 3 by hand and running dpkg --configure slapd solved the issue for me!
comment:6 Changed 3 years ago by anonymous
I fixed this by performing the following commands. This is on a testing server and will tell you not to use these commands on a production server:
chmod 777 /var/lib/ebox/tmp chmod a+t /var/lib/ebox/tmp echo "ebox-usercorner ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers chmod 666 /var/lib/ebox/conf/redis.passwd
It changed my password successfully.
log