Forums

Resolved
0 votes
Hi,

I'm trying to synchronize two ClearOS Professionals systems. I set one server as master and the second as slave. The slave is giving me problems. During setup I setup the slave with hostname and Synchronization Key. This step goes well. When I try to access the users tab I have to setup ldap. This step goes wrong and I'll get the following error "Undefined" "No such object". I did a reinstallation of the server but it gives me the same problem. Does anyone has a clue what's going on?
Sunday, June 14 2015, 12:26 PM
Share this post:
Responses (8)
  • Accepted Answer

    Sunday, June 14 2015, 06:55 PM - #Permalink
    Resolved
    0 votes
    Okay I did a reset on the slave system.


    sudo rm /var/clearos/accounts/initialized /var/clearos/accounts/config /var/clearos/ldap/initialized /var/clearos/openldap/config.php /var/clearos/mode/mode.conf /var/clearos/samba/init* -fv
    sudo /sbin/service smb stop
    sudo /sbin/service nmb stop
    sudo /sbin/service winbind stop
    sudo /sbin/service nscd stop
    sudo /sbin/service nslcd stop
    sudo /sbin/service slapd stop


    If I add the slave system to the master using hostname and Synchronization Key the master system is aware of the slave system but if I add the slave system I'm directly presented with "error No such object".

    There is no firewall active on the slave system.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, June 15 2015, 01:50 PM - #Permalink
    Resolved
    0 votes
    Okay, tried again. First access via the webgui to setup everything goes right. When I check on the master server the master server recognise the slave server. When I go to users on the slave server I have to initialise LDAP and there goes it wrong. After some time I'll get the message "undefined". The initialisation of LDAP is then stuck. If I leave this tab and come back again I'll get the messages "no such object". See screenshots above...
    The reply is currently minimized Show
  • Accepted Answer

    Monday, June 15 2015, 06:29 PM - #Permalink
    Resolved
    0 votes
    This is AWESOME!!! Sorry for the shouting but I'm making progress... I'll be back!!! :)
    The reply is currently minimized Show
  • Accepted Answer

    Monday, June 15 2015, 07:15 PM - #Permalink
    Resolved
    0 votes
    Hi Marcel,

    The slave provisioning is very picky about all the necessary ports being open (LDAPS, Webconfig and a couple of others that I can't remember). We started work on making the provisioning process more robust, but that's still a work in progress.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, June 15 2015, 08:14 PM - #Permalink
    Resolved
    0 votes
    Hi Peter,

    I think it's not necessary to open ports if the two server are in the same network. The slave server is in standalone no firewall mode. Correct? I want to accomplish a ClearOS gateway and a separate file server.

    The how-to is speaking of port ClearSDN 1875, Websync 8154, LDAPS 636.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, June 16 2015, 07:58 PM - #Permalink
    Resolved
    0 votes
    Hi Marcel,

    Interesting ... I didn't get an e-mail notification on your reply :( . It's the master that needs all the ports available to the slave. If you run slapcat -n3 on the slave, do you see a bunch of LDAP data or a blank screen?
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, June 16 2015, 08:21 PM - #Permalink
    Resolved
    0 votes
    Hi, Peter,

    I received a mail when you replied!

    When I execute slapcat - n3 I see lots of LDAP data.

    I think I now have a connection to the master server. When I check account synchronization on the master I see both servers but when I add a new account on the master server it's not replicated on the slave server. Only my one account is replicated and that is from myself. So there is something not right...
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, July 07 2015, 06:35 PM - #Permalink
    Resolved
    0 votes
    This weekend I tried again but for some reason it's not working. In my opinion this feature is a bit bugy or hard to setup. I searched for documentation and found some new and old documaentation but it didn't solve my problems. On the otherhand one ClearOS server is enough. ;)
    The reply is currently minimized Show
Your Reply