Profile Details

Toggle Sidebar
Recent updates
  • Dear Nick, Dave and Patrick,

    Using the /etc/openldap/slapd.conf.bak file did the trick. I just needed to add:

    # Kopano extension
    include /etc/openldap/schema/kopano.schema

    + rename it to slapd.conf and make it owned by ldap:ldap. I think this will also solve Gordon's problem.

    Thanks again.

    Best wishes,

    Robert

  • Dear Dave,

    I removed the folder as you said and put in the config file (slapd.conf) as you wrote in the other thread. I replaces the domain names and the ldap starts now, but samba, zarafa, ... do still now work ... .

    You wrote in the other thread:

    Password: Must have the valid password (for slapd.conf)

    What does that mean? Where do I get that?

    Thank you.

    Best wishes,

    Robert

  • Hi Nick,

    Sorry, forgot that. It is:



    Thanks.

    Best wishes,

    Robert

  • Hi Nick,

    Maybe another hint. When I run journalctl -xe:

    -- Unit slapd.service has begun starting up.
    runuser[10204]: pam_unix(runuser:session): session opened for user ldap by (uid=0)
    runuser[10204]: pam_unix(runuser:session): session closed for user ldap
    prestart.sh[10200]: Checking configuration file failed:
    prestart.sh[10200]: 59fc404a User Schema load failed for attribute "pwdMaxRecordedFailure". Error code 17: attribute type undefined
    prestart.sh[10200]: 59fc404a config error processing olcOverlay={0}ppolicy,olcDatabase={3}bdb,cn=config: User Schema load failed for att
    prestart.sh[10200]: slaptest: bad configuration file!
    nslcd[12291]: [69e373] <passwd="ldap.ldap"> failed to bind to LDAP server ldap://127.0.0.1/: Can't contact LDAP server: Transport endpoi
    nslcd[12291]: [69e373] <passwd="ldap.ldap"> no available LDAP server found: Can't contact LDAP server: Transport endpoint is not connect
    slapd[10219]: @(#) $OpenLDAP: slapd 2.4.44 (Aug 12 2017 06:10:11) $
    mockbuild@build64-1.clearsdn.local:/builddir/build/BUILD/openldap-2.4.44/openldap-2.4.44/servers/slapd
    slapd.service: control process exited, code=exited status=1
    Failed to start OpenLDAP Server Daemon.
    -- Subject: Unit slapd.service has failed

    I looked into prestart.sh, but I do not really know what to look for:



    Thank you.

    Best wishes,

    Robert

  • Hi Nick,

    Thanks for your reply. In yum log everything looks OK.

    In system I found:

    Nov 3 05:30:28 server software-updates: log: Warning: slapd.service changed on disk. Run 'systemctl daemon-reload' to reload units.
    ==> I tried "systemctl daemon-reload", does not change anything.

    In messages I found:
    Nov 3 05:30:30 server prestart.sh: slaptest: bad configuration file!
    Nov 3 05:30:30 server systemd: slapd.service: control process exited, code=exited status=1
    Nov 3 05:30:30 server systemd: Unit slapd.service entered failed state.
    Nov 3 05:30:30 server systemd: slapd.service failed.

    So the config file got changed during the update. Question is to what and what does not fit anymore. Can I reset the config file or something like that?

    Thank you.

    Best wishes,

    Robert

  • ldap not starting anymore out of a sudden

    Dear Forum members,

    Suddenly, without doing anything (no restarting, ...) ldap will not start any more. I get the error message:
    Loaded: loaded (/usr/lib/systemd/system/slapd.service; enabled; vendor preset: disabled)
    Active: failed (Result: exit-code) since Fri 2017-11-03 08:58:44 CET; 4s ago
    Docs: man:slapd
    man:slapd-config
    man:slapd-hdb
    man:slapd-mdb
    file:///usr/share/doc/openldap-servers/guide.html
    Process: 24642 ExecStart=/usr/sbin/slapd -u ldap -h ${SLAPD_URLS} $SLAPD_OPTIONS (code=exited, status=1/FAILURE)
    Process: 24622 ExecStartPre=/usr/libexec/openldap/prestart.sh (code=exited, status=0/SUCCESS)
    Main PID: 11825 (code=exited, status=0/SUCCESS)

    What is the problem and what can I do? I run ClearOS Business 7. Was there maybe a recent update this night?

    Thank you.

    Best wishes,

    Robert

  • Robert
    Robert replied to a discussion, Raid and OS on separate drives?

    Dear Leon,

    Sure you can do that. Raids can be created at any time. First you need to find the folders where most of you data is. In an ideal case it is mainly /var and you can just move all your data from your 500GB main drive to the raid. Considering Raid 5 and 6 you can add drives at any time, as long as they have the same size. I should mention that if they are not from the same brand and type (even the size is the same), they might be some bytes off from one another. For a Raid 5/6 the partition on each drive needs to be exactly the same. In case they vary chose the size of the smallest drive.

    In case you data is mainly in e.g. /var, you can just make a raid, transfer your data and mount it in fstab at /var (this is how I do it). Remember that it might be good to boot from a live CD/DVD/USB stick to avoid data corruption while you transfer the data between drives.

    In case it is spread over multiple folders the following How To is useful to read:

    https://www.clearos.com/resources/documentation/clearos/content:en_us:kb_o_storage_manipulation_using_bindmounts

    Best wishes,

    Robert

  • Hi NIck,

    Thank you. Looking forward to 7.4 then.

    Best wishes,

    Robert

  • Robert
    Robert replied to a discussion, ClearOS 7.3 - any rough ETA?

    Dear Ben,

    Thanks a lot, very cool.

    Best wishes,

    Robert

  • Robert
    Robert replied to a discussion, ClearOS 7.3 - any rough ETA?

    Dear Ben,

    Sorry for asking again. I do not mean to rush. I just checked the ClearOS Business Marketplace and I cannot find Zarafa Business any more, just Kopano Basic and Zarafa Community Edition.
    Is there an update path for Zarafa Business users in the future to Kopano or what is happening, when my current Zarafa Business licence needs to be extended?

    Thank you.

    Kind regards,

    Robert