Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is warning at lastest CE install #235

Closed
yurem opened this issue Dec 23, 2016 · 8 comments
Closed

There is warning at lastest CE install #235

yurem opened this issue Dec 23, 2016 · 8 comments
Assignees
Labels
bug issue in existing feature or functionality
Milestone

Comments

@yurem
Copy link
Contributor

yurem commented Dec 23, 2016

11:41:59 12/23/16 585d0d87 mdb_db_open: database "cn=accesslog" cannot be opened: No such file or directory (2). Restore from backup!
585d0d87 backend_startup_one (type=mdb, suffix="cn=accesslog"): bi_db_open failed! (2)
slap_startup failed (test would succeed using the -u switch)

After install CE works fine and config according to this is good too:

/opt/symas/bin/slaptest -f /opt/symas/etc/openldap/slapd.conf -F /opt/symas/etc/openldap/slapd.d
config file testing succeeded
@yurem yurem added the bug issue in existing feature or functionality label Dec 23, 2016
@yurem yurem added this to the CE 3.0.0 milestone Dec 23, 2016
@tecoholic
Copy link
Contributor

I added the access log overlay. Let me check which verification is failing. The setup is tested. Nothing to worry about the functionality.

@yurem
Copy link
Contributor Author

yurem commented Dec 26, 2016

yes, CE woks fine. I wrote this in description of the issue. How we can fix this error at setup to avoid question about this in future?

@tecoholic
Copy link
Contributor

@yurem this warning the thrown when we generate the cn=config directory in the line 2321 self.run([self.slaptest, '-f', self.openldapSlapdConf, '-F', self.openldapCnConfig]). This actually would throw 3 such errors for each o=gluu, o=site and cn=accesslog database suffixes. But when we import the ldif files from the templates, the DB file for o=gluu and o=site are created. But we don't import anything for the access log overlay, so the slaptest complains that the DB isn't available.

I will update with a fix.

@nynymike
Copy link
Contributor

nynymike commented Jan 5, 2017

I thought we were not going to use cn=config db...

@tecoholic
Copy link
Contributor

I remember we deciding to use the slapd.conf and also have cn=config generated after a talking with Symas. It would make a couple of things if we omit the cn=config. Do you want to disable the cn=config?

@tecoholic
Copy link
Contributor

I am disabling the cn=config generation in setup.py. I have no clear benefits as of now to enable it by default. The admin can tweak the slapd.conf according to the needs and then generate it manually if he requires the On Line Configuration.

@nynymike
Copy link
Contributor

nynymike commented Jan 5, 2017

Yes, enabling cn=config lead to confusion... we were updating slapd.conf, but the changes were not taking effect. I think disabling it by default is better, so anyone who enables it needs to really understand what they're doing.

@yurem yurem reopened this Jan 11, 2017
@yurem
Copy link
Contributor Author

yurem commented Jan 11, 2017

There is no this error message in latest setup. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug issue in existing feature or functionality
Projects
None yet
Development

No branches or pull requests

4 participants