-
All replies
-
Helpful answers
-
by Linc Davis,Jul 9, 2015 7:11 AM in response to Charles Cranney
Linc Davis
Jul 9, 2015 7:11 AM
in response to Charles Cranney
Level 10 (207,926 points)
ApplicationsLogs?
-
Jul 9, 2015 7:21 AM in response to Linc Davisby Charles Cranney,Don't know how to attach a file but here's a copy of three logs. Hope they can help. The first two logs keeping looping with the errors. I'm afraid I don't know what they mean.
SYSTEM LOG snippet
Jul 9 05:18:37 air com.apple.xpc.launchd[1] (org.openldap.slapd[23883]): Service exited with abnormal code: 1
Jul 9 05:18:37 air com.apple.xpc.launchd[1] (org.openldap.slapd): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Jul 9 05:18:37 air com.apple.xpc.launchd[1] (com.apple.imfoundation.IMRemoteURLConnectionAgent): The _DirtyJetsamMemoryLimit key is not available on this platform.
Jul 9 05:18:42 air com.apple.xpc.launchd[1] (org.apache.httpd): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Jul 9 05:18:43 air.byu.edu xscertd-helper[23886]: ldap_search_ext_s returned -1 - Can't contact LDAP server when searching for bdb suffix, exiting
Jul 9 05:18:43 air com.apple.xpc.launchd[1] (com.apple.xscertd-helper[23886]): Service exited with abnormal code: 1
Jul 9 05:18:43 air com.apple.xpc.launchd[1] (com.apple.xscertd-helper): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Jul 9 05:18:47 air.byu.edu slapd[23888]: unable to open LA file: /usr/lib/sasl2/openldap//libcrammd5.la
Jul 9 05:18:47 air com.apple.xpc.launchd[1] (org.openldap.slapd[23888]): Service exited with abnormal code: 1
Jul 9 05:18:47 air com.apple.xpc.launchd[1] (org.openldap.slapd): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Jul 9 05:18:52 air com.apple.xpc.launchd[1] (org.apache.httpd): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Jul 9 05:18:53 air.byu.edu xscertd-helper[23891]: ldap_search_ext_s returned -1 - Can't contact LDAP server when searching for bdb suffix, exiting
Jul 9 05:18:53 air com.apple.xpc.launchd[1] (com.apple.xscertd-helper[23891]): Service exited with abnormal code: 1
Jul 9 05:18:53 air com.apple.xpc.launchd[1] (com.apple.xscertd-helper): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Jul 9 05:18:57 air.byu.edu slapd[23895]: unable to open LA file: /usr/lib/sasl2/openldap//libcrammd5.la
Jul 9 05:18:57 air com.apple.xpc.launchd[1] (org.openldap.slapd[23895]): Service exited with abnormal code: 1
Jul 9 05:18:57 air com.apple.xpc.launchd[1] (org.openldap.slapd): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
LDAP LOG snippet
Jul 9 05:25:23 air.byu.edu slapd[24263]: bdb(dc=air,dc=byu,dc=edu): the log files from a database environment
Jul 9 05:25:23 air.byu.edu slapd[24263]: bdb(dc=air,dc=byu,dc=edu): /var/db/openldap/openldap-data/id2entry.bdb: unexpected file type or format
Jul 9 05:25:23 air.byu.edu slapd[24263]: bdb_db_open: database "dc=air,dc=byu,dc=edu": db_open(/var/db/openldap/openldap-data/id2entry.bdb) failed: Invalid argument (22).
Jul 9 05:25:23 air.byu.edu slapd[24263]: backend_startup_one (type=bdb, suffix="dc=air,dc=byu,dc=edu"): bi_db_open failed! (22)
Jul 9 05:25:23 air.byu.edu slapd[24263]: bdb_db_close: database "dc=air,dc=byu,dc=edu": alock_close failed
Jul 9 05:25:23 air.byu.edu slapd[24263]: slapd stopped.
Jul 9 05:25:33 air.byu.edu slapd[24269]: @(#) $OpenLDAP: slapd 2.4.28 (Feb 24 2015 21:45:59) $
root@osx202.apple.com:/BinaryCache/OpenLDAP/OpenLDAP-499.32.4~1/Objects/servers/slapd
Jul 9 05:25:33 air.byu.edu slapd[24269]: daemon: SLAP_SOCK_INIT: dtblsize=8192
Jul 9 05:25:33 air.byu.edu slapd[24269]: TLS: OPENDIRECTORY_SSL_IDENTITY identity preference overrode configured olcTLSIdentity "APPLE:air.byu.edu"
Jul 9 05:25:33 air.byu.edu slapd[24269]: slap_add_listener: opened additional listener 'ldaps:///'
Jul 9 05:25:33 air.byu.edu slapd[24269]: bdb(dc=air,dc=byu,dc=edu): file id2entry.bdb has LSN 2/4760223, past end of log at 2/3562616
Jul 9 05:25:33 air.byu.edu slapd[24269]: bdb(dc=air,dc=byu,dc=edu): Commonly caused by moving a database from one database environment
Jul 9 05:25:33 air.byu.edu slapd[24269]: bdb(dc=air,dc=byu,dc=edu): to another without clearing the database LSNs, or by removing all of
Jul 9 05:25:33 air.byu.edu slapd[24269]: bdb(dc=air,dc=byu,dc=edu): the log files from a database environment
Jul 9 05:25:33 air.byu.edu slapd[24269]: bdb(dc=air,dc=byu,dc=edu): /var/db/openldap/openldap-data/id2entry.bdb: unexpected file type or format
Jul 9 05:25:33 air.byu.edu slapd[24269]: bdb_db_open: database "dc=air,dc=byu,dc=edu": db_open(/var/db/openldap/openldap-data/id2entry.bdb) failed: Invalid argument (22).
Jul 9 05:25:33 air.byu.edu slapd[24269]: backend_startup_one (type=bdb, suffix="dc=air,dc=byu,dc=edu"): bi_db_open failed! (22)
Jul 9 05:25:33 air.byu.edu slapd[24269]: bdb_db_close: database "dc=air,dc=byu,dc=edu": alock_close failed
Jul 9 05:25:33 air.byu.edu slapd[24269]: slapd stopped.
AFP LOG snippet
Jul 8 19:36:15 air.byu.edu AppleFileServer[1938] <Info>: minor error <1>: unknown mech-code 0 for mech unknown
Jul 8 20:07:13 air.byu.edu AppleFileServer[1050] <Info>: Kerberos fail: gss_acquire_cred major status_value <458752> minor status_value <0>
Jul 8 20:07:13 air.byu.edu AppleFileServer[1050] <Info>: major error <1>: No credentials were supplied, or the credentials were unavailable or inaccessible.
Jul 8 20:07:13 air.byu.edu AppleFileServer[1050] <Info>: minor error <1>: unknown mech-code 0 for mech unknown
Jul 8 20:07:13 air.byu.edu AppleFileServer[1050] <Info>: Kerberos fail: gss_acquire_cred major status_value <458752> minor status_value <0>
Jul 8 20:07:13 air.byu.edu AppleFileServer[1050] <Info>: major error <1>: No credentials were supplied, or the credentials were unavailable or inaccessible.
Jul 8 20:07:13 air.byu.edu AppleFileServer[1050] <Info>: minor error <1>: unknown mech-code 0 for mech unknown
-
by Linc Davis,Jul 9, 2015 10:09 AM in response to Charles Cranney
Linc Davis
Jul 9, 2015 10:09 AM
in response to Charles Cranney
Level 10 (207,926 points)
ApplicationsYour server installation has a lot of problems. As a first attempt to fix it, I suggest the following.
Back up all data.
Quit the Server application and drag it to the Trash, but don't empty. You'll be prompted to confirm that you want to stop all services. You won't lose any data.
If you're using the server for DNS, temporarily change the primary DNS setting in the Network preference pane to another DNS.
Put the app back where it was and launch it. Test.
Revert the DNS setting, if applicable.
-
Jul 9, 2015 10:24 AM in response to Linc Davisby Charles Cranney,Thanks. Yeah, the server seems to have major problems. We'll give your effort a try. We're also getting ready to rebuild it from scratch. My experience with server over the years is that it does deprecate with time—more and more problems. A fresh start may be what we need.
-
Aug 8, 2016 5:35 AM in response to Linc Davisby tj4shee,Moving the App to Trash, rebooting, and moving the app back worked GREAT for me... all services became available.
Thanks