Bug 10803 - openldap server doesn't start
Summary: openldap server doesn't start
Status: RESOLVED INVALID
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 3
Hardware: x86_64 Linux
Priority: Normal major
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-19 15:07 CEST by jlgrall
Modified: 2013-08-15 12:17 CEST (History)
0 users

See Also:
Source RPM: openldap-2.4.33-7.mga3.src.rpm
CVE:
Status comment:


Attachments

Description jlgrall 2013-07-19 15:07:30 CEST
Description of problem:
After installing openldap-servers and editong slapd.conf, trying to launch ldap doesn't work:


Version-Release number of selected component (if applicable):
- openldap-servers-2.4.33-7.mga3.x86_64


How reproducible: always

What I tried:
- In MCC (Mageia Control Center) -> System -> Services, there is no ldap nor openldap service.
- as root "service ldap start" doesn't work and asks to run the following:
- # systemctl status ldap.service
    ldap.service
          Loaded: error (Reason: No such file or directory)
          Active: inactive (dead)

Reproducible: 

Steps to Reproduce:
Comment 1 Manuel Hiebel 2013-07-22 20:46:07 CEST
seems they are no yet migrate to systemd and I can check personnaly.

/etc/initd.d/ldap start give what ?
Comment 2 jlgrall 2013-07-23 00:40:00 CEST
That file doesn't exists:

# /etc/initd.d/ldap start
bash: /etc/initd.d/ldap: Aucun fichier ou dossier de ce type
Comment 3 Manuel Hiebel 2013-07-23 19:43:38 CEST
comment 1: you should have read I can't check.

but now I did and all these commands works fine on my VM.

Status: NEW => UNCONFIRMED
Ever confirmed: 1 => 0

Comment 4 jlgrall 2013-07-23 20:59:29 CEST
Ok, thanks.

I think I am not missing that file from openldap-servers:

# rpm -V openldap-servers
S.5....T.  c /etc/openldap/slapd.conf
S.5....T.  c /etc/sysconfig/ldap

So can you tell where this file comes from in your VM ? Try: rpm -qif /etc/sysconfig/ldap
Comment 5 Manuel Hiebel 2013-07-26 18:43:46 CEST
it come from the same package

$ rpm -qif /etc/init.d/ldap 
Name        : openldap-servers
Version     : 2.4.33
Release     : 7.mga3
Comment 6 jlgrall 2013-08-15 11:59:25 CEST
Ok, for me it works now. I don't know why it didn't, I don't know why it does now...

ldap works in the Services in the MCC.
ldap works from a console: service ldap start

Thx for the replies anyway.

Status: UNCONFIRMED => NEW
Ever confirmed: 0 => 1

Comment 7 Manuel Hiebel 2013-08-15 12:17:34 CEST
closing then

Status: NEW => RESOLVED
Resolution: (none) => INVALID


Note You need to log in before you can comment on or make changes to this bug.