7 Replies Latest reply: May 28, 2013 12:34 PM by Craig Holmes1
Mac expert and lover Level 1 Level 1 (45 points)

After the latest update for OS X Server (2.2.1) all my network accounts are gone and I cannot create new ones. There home folders are still on the disk but they do not appear in server app. Users cannot login.


MacBook Pro (13-inch, Mid 2012), OS X Mountain Lion (10.8.2)
  • UptimeJeff Level 4 Level 4 (3,390 points)

    Need more info...

    The results of these commands run from terminal will provide some detail.

    Please post the results.

     

     

     

    sudo serveradmin status dirserv

     

    dscl /LDAPv3/127.0.0.1 -list Users

     

    sudo tail -50 /var/log/opendirectoryd.log

     

    sudo changeip -checkhostname

  • Mac expert and lover Level 1 Level 1 (45 points)

    dirserv:state = "RUNNING"

     

    Data source (/LDAPv3/127.0.0.1) is not valid.

     

    2013-02-06 21:10:12.570543 MST - 25.36369 - Client: opendirectoryd, UID: 0, EUID: 0, GID: 0, EGID: 0

    2013-02-06 21:10:12.570543 MST - 25.36369, Module: AppleODClientLDAP - unable to open connection to LDAP server - unable to create connection context

    2013-02-06 23:17:09.360194 MST - 25.36574 - Client: opendirectoryd, UID: 0, EUID: 0, GID: 0, EGID: 0

    2013-02-06 23:17:09.360194 MST - 25.36574, Module: AppleODClientLDAP - unable to create LDAP connection context - no server specified

    2013-02-06 23:17:09.360228 MST - 25.36574 - Client: opendirectoryd, UID: 0, EUID: 0, GID: 0, EGID: 0

    2013-02-06 23:17:09.360228 MST - 25.36574, Module: AppleODClientLDAP - unable to open connection to LDAP server - unable to create connection context

    2013-02-07 01:20:42.325855 MST - 25.37155 - Client: opendirectoryd, UID: 0, EUID: 0, GID: 0, EGID: 0

    2013-02-07 01:20:42.325855 MST - 25.37155, Module: AppleODClientLDAP - unable to create LDAP connection context - no server specified

    2013-02-07 01:20:42.325885 MST - 25.37155 - Client: opendirectoryd, UID: 0, EUID: 0, GID: 0, EGID: 0

    2013-02-07 01:20:42.325885 MST - 25.37155, Module: AppleODClientLDAP - unable to open connection to LDAP server - unable to create connection context

    2013-02-07 01:20:47.326272 MST - 25.37169 - Client: opendirectoryd, UID: 0, EUID: 0, GID: 0, EGID: 0

    2013-02-07 01:20:47.326272 MST - 25.37169, Module: AppleODClientLDAP - unable to create LDAP connection context - no server specified

    2013-02-07 01:20:47.326287 MST - 25.37169 - Client: opendirectoryd, UID: 0, EUID: 0, GID: 0, EGID: 0

    2013-02-07 01:20:47.326287 MST - 25.37169, Module: AppleODClientLDAP - unable to open connection to LDAP server - unable to create connection context

    2013-02-07 01:20:57.327516 MST - 25.37381 - Client: opendirectoryd, UID: 0, EUID: 0, GID: 0, EGID: 0

    2013-02-07 01:20:57.327516 MST - 25.37381, Module: AppleODClientLDAP - unable to create LDAP connection context - no server specified

    2013-02-07 01:20:57.327537 MST - 25.37381 - Client: opendirectoryd, UID: 0, EUID: 0, GID: 0, EGID: 0

    2013-02-07 01:20:57.327537 MST - 25.37381, Module: AppleODClientLDAP - unable to open connection to LDAP server - unable to create connection context

    2013-02-07 07:59:06.487103 MST - 25.37809 - Client: opendirectoryd, UID: 0, EUID: 0, GID: 0, EGID: 0

    2013-02-07 07:59:06.487103 MST - 25.37809, Module: AppleODClientLDAP - unable to create LDAP connection context - no server specified

    2013-02-07 07:59:06.487110 MST - 25.37809 - Client: opendirectoryd, UID: 0, EUID: 0, GID: 0, EGID: 0

    2013-02-07 07:59:06.487110 MST - 25.37809, Module: AppleODClientLDAP - unable to open connection to LDAP server - unable to create connection context

    2013-02-07 07:59:11.487329 MST - 25.37820 - Client: opendirectoryd, UID: 0, EUID: 0, GID: 0, EGID: 0

    2013-02-07 07:59:11.487329 MST - 25.37820, Module: AppleODClientLDAP - unable to create LDAP connection context - no server specified

    2013-02-07 07:59:11.487344 MST - 25.37820 - Client: opendirectoryd, UID: 0, EUID: 0, GID: 0, EGID: 0

    2013-02-07 07:59:11.487344 MST - 25.37820, Module: AppleODClientLDAP - unable to open connection to LDAP server - unable to create connection context

    2013-02-07 07:59:11.972435 MST - 25.37821 - Client: opendirectoryd, UID: 0, EUID: 0, GID: 0, EGID: 0

    2013-02-07 07:59:11.972435 MST - 25.37821, Module: AppleODClientLDAP - unable to create LDAP connection context - no server specified

    2013-02-07 07:59:11.972446 MST - 25.37821 - Client: opendirectoryd, UID: 0, EUID: 0, GID: 0, EGID: 0

    2013-02-07 07:59:11.972446 MST - 25.37821, Module: AppleODClientLDAP - unable to open connection to LDAP server - unable to create connection context

    2013-02-07 07:59:16.974222 MST - 25.37823 - Client: opendirectoryd, UID: 0, EUID: 0, GID: 0, EGID: 0

    2013-02-07 07:59:16.974222 MST - 25.37823, Module: AppleODClientLDAP - unable to create LDAP connection context - no server specified

    2013-02-07 07:59:16.974313 MST - 25.37823 - Client: opendirectoryd, UID: 0, EUID: 0, GID: 0, EGID: 0

    2013-02-07 07:59:16.974313 MST - 25.37823, Module: AppleODClientLDAP - unable to open connection to LDAP server - unable to create connection context

    2013-02-07 11:35:25.473949 MST - 25.38135 - Client: opendirectoryd, UID: 0, EUID: 0, GID: 0, EGID: 0

    2013-02-07 11:35:25.473949 MST - 25.38135, Module: AppleODClientLDAP - unable to create LDAP connection context - no server specified

    2013-02-07 11:35:25.473993 MST - 25.38135 - Client: opendirectoryd, UID: 0, EUID: 0, GID: 0, EGID: 0

    2013-02-07 11:35:25.473993 MST - 25.38135, Module: AppleODClientLDAP - unable to open connection to LDAP server - unable to create connection context

    2013-02-07 11:39:22.699960 MST - 25.38782 - Client: opendirectoryd, UID: 0, EUID: 0, GID: 0, EGID: 0

    2013-02-07 11:39:22.699960 MST - 25.38782, Module: AppleODClientLDAP - unable to create LDAP connection context - no server specified

    2013-02-07 11:39:22.699994 MST - 25.38782 - Client: opendirectoryd, UID: 0, EUID: 0, GID: 0, EGID: 0

    2013-02-07 11:39:22.699994 MST - 25.38782, Module: AppleODClientLDAP - unable to open connection to LDAP server - unable to create connection context

    2013-02-07 11:41:10.893542 MST - 25.38791 - Client: opendirectoryd, UID: 0, EUID: 0, GID: 0, EGID: 0

    2013-02-07 11:41:10.893542 MST - 25.38791, Module: AppleODClientLDAP - unable to create LDAP connection context - no server specified

    2013-02-07 11:41:10.893552 MST - 25.38791 - Client: opendirectoryd, UID: 0, EUID: 0, GID: 0, EGID: 0

    2013-02-07 11:41:10.893552 MST - 25.38791, Module: AppleODClientLDAP - unable to open connection to LDAP server - unable to create connection context

    2013-02-07 11:41:15.894677 MST - 25.38793 - Client: opendirectoryd, UID: 0, EUID: 0, GID: 0, EGID: 0

    2013-02-07 11:41:15.894677 MST - 25.38793, Module: AppleODClientLDAP - unable to create LDAP connection context - no server specified

    2013-02-07 11:41:15.894693 MST - 25.38793 - Client: opendirectoryd, UID: 0, EUID: 0, GID: 0, EGID: 0

    2013-02-07 11:41:15.894693 MST - 25.38793, Module: AppleODClientLDAP - unable to open connection to LDAP server - unable to create connection context

     

    Primary address     = 10.0.1.3

     

     

    Current HostName    = server.antben.private

    DNS HostName        = server.antben.private

     

     

    The names match. There is nothing to change.

    dirserv:success = "success"

     

    Good luck reading the log…

  • UptimeJeff Level 4 Level 4 (3,390 points)

    I think you just need to rebind to open directory.

     

    In Server.app (on the server), under the Tools menu, choose Directory Utility

     

    Click the lock to unluck

     

    In Services, edit LDAPv3

     

    You should have an entry in the table for 127.0.0.1, delete that entry.

    (this doesn't delete data, its just an association of that machine to the open directory database)

     

    Click new

         Enter: 127.0.0.1

         Leave all defaults, then click continue

    Hit OK and quit Directory Utility

     

    Recheck your server.. hopefully that does it.

  • Mac expert and lover Level 1 Level 1 (45 points)

    yes that worked! Thanks for your help! If you have the time, I am also having a problem with the server website. Wiki works but the main dose not. I checked permissions and the website says anyone.

    Forbidden

    You don't have permission to access / on this server.


    Apache/2.2.22 (Unix) mod_fastcgi/2.4.6 mod_ssl/2.2.22 OpenSSL/0.9.8r DAV/2 Server at server.antben.private Port 443
  • UptimeJeff Level 4 Level 4 (3,390 points)

    Do you have just the 2 default sites?

     

    What do you have in your default site directory?

     

    ls /Library/Server/Web/Data/Sites/

  • Mac expert and lover Level 1 Level 1 (45 points)

    Nope only one default.

  • Craig Holmes1 Level 1 Level 1 (10 points)

    By any chance, bound to AD? Once I upgraded to v2.2, any new accounts created in AD could not be imported into OD.

    Kind of kills management of accounts in Profile Manager.

     

    So I was wondering if v2.2.1 resolved that issue. Any feedback would be helpful.