[Bug 736542] New: LDAP server cannot start
https://bugzilla.novell.com/show_bug.cgi?id=736542 https://bugzilla.novell.com/show_bug.cgi?id=736542#c0 Summary: LDAP server cannot start Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: fcrozat@suse.com ReportedBy: jsuchome@suse.com QAContact: qa@suse.de CC: rhafer@suse.com Found By: Development Blocker: --- After configuration of LDAP server, it could not be started systemctl status ldap.service reports ldap.service Loaded: error (Reason: No such file or directory) Active: inactive (dead) At least one reason was that /var/run/slapd directory did not exist. I guess Ralf could add more details. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=736542 https://bugzilla.novell.com/show_bug.cgi?id=736542#c1 --- Comment #1 from Frederic Crozat <fcrozat@suse.com> 2011-12-13 16:45:39 UTC --- hmm, it might be because systemd wasn't told to reload its configuration (systemctl daemon-reload) after initial package install. regarding /var/run/slapd, under systemd /var/run is tmpfs, so the directory should be created by initscript or through tmpfiles.d (see man tmpfiles.d) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=736542 https://bugzilla.novell.com/show_bug.cgi?id=736542#c2 Ralf Haferkamp <rhafer@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |ASSIGNED AssignedTo|fcrozat@suse.com |rhafer@suse.com --- Comment #2 from Ralf Haferkamp <rhafer@suse.com> 2011-12-21 10:22:48 CET --- Hm, there's indeed a bug in the initscript regarding the /var/run/slapd creation. I thought I fixed that looooong ago :( -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=736542 https://bugzilla.novell.com/show_bug.cgi?id=736542#c3 Ralf Haferkamp <rhafer@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |jsuchome@suse.com --- Comment #3 from Ralf Haferkamp <rhafer@suse.com> 2012-01-11 10:14:48 CET --- (In reply to comment #2)
Hm, there's indeed a bug in the initscript regarding the /var/run/slapd creation. I thought I fixed that looooong ago :( I indeed fix that already. I just looked at the place it seems. /etc/init.d/ldap contains this on 12.1:
------------------------------------------------ SLAPD_PID_DIR="/var/run/slapd/" [..] case "$1" in start) [..] if [ ! -d $SLAPD_PID_DIR ]; then mkdir -p $SLAPD_PID_DIR chown ldap:ldap $SLAPD_PID_DIR fi [..] ------------------------------------------------ Jiri do you still have the system with the broken OpenLDAP? Can you give me access to it? I am not able to reproduce this problem here, slapd always starts successfully after setting it up with yast2-ldap-server. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=736542 https://bugzilla.novell.com/show_bug.cgi?id=736542#c4 --- Comment #4 from Jiří Suchomel <jsuchome@suse.com> 2012-01-11 09:33:37 UTC --- No, it's running correctly now. I'll try to reproduce it on Monday, when I work with outside accessible computer. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=736542 https://bugzilla.novell.com/show_bug.cgi?id=736542#c5 Jiří Suchomel <jsuchome@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|jsuchome@suse.com | --- Comment #5 from Jiří Suchomel <jsuchome@suse.com> 2012-01-16 09:30:21 UTC --- Wow. When I tested fresh 12.1 installation, it works. So either it was fixed by some released updated, or the problem might be caused that I actually upgraded my 11.4 to 12.1 instead of clean install. Now I cannot reproduce the problem. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=736542 https://bugzilla.novell.com/show_bug.cgi?id=736542#c6 Ralf Haferkamp <rhafer@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |INVALID --- Comment #6 from Ralf Haferkamp <rhafer@suse.com> 2012-07-10 14:44:52 CEST --- Nobody is able to reproduce this anymore. Feel free to reopen if the issue shows up again. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com