Сервер MySQL не запускається


1

З якоїсь причини MySQL більше не запускається. Раптово трапилося незрозуміло.

Це те, що написано в

/var/log/system.log

відразу після того, як я спробую відкрити MySQL.

Feb  8 16:07:31 mys-MacBook-Air.local System Preferences[2795]: about to perform command
Feb  8 16:07:36 mys-MacBook-Air.local authorizationhost[4202]: in pam_sm_authenticate(): Got user: mybak
Feb  8 16:07:36 mys-MacBook-Air.local authorizationhost[4202]: in pam_sm_authenticate(): Got ruser: (null)
Feb  8 16:07:36 mys-MacBook-Air.local authorizationhost[4202]: in pam_sm_authenticate(): Got service: authorization
Feb  8 16:07:36 mys-MacBook-Air.local authorizationhost[4202]: in od_principal_for_user(): No authentication authority returned
Feb  8 16:07:36 mys-MacBook-Air.local authorizationhost[4202]: in od_principal_for_user(): failed: 7
Feb  8 16:07:36 mys-MacBook-Air.local authorizationhost[4202]: in pam_sm_authenticate(): Failed to determine Kerberos principal name.
Feb  8 16:07:36 mys-MacBook-Air.local authorizationhost[4202]: in pam_sm_authenticate(): Done cleanup3
Feb  8 16:07:36 mys-MacBook-Air.local authorizationhost[4202]: in pam_sm_authenticate(): Kerberos 5 refuses you
Feb  8 16:07:36 mys-MacBook-Air.local authorizationhost[4202]: in pam_sm_authenticate(): pam_sm_authenticate: ntlm
Feb  8 16:07:36 mys-MacBook-Air.local authorizationhost[4202]: in pam_sm_acct_mgmt(): OpenDirectory - Membership cache TTL set to 1800.
Feb  8 16:07:36 mys-MacBook-Air.local authorizationhost[4202]: in od_record_check_pwpolicy(): retval: 0
Feb  8 16:07:36 mys-MacBook-Air.local authorizationhost[4202]: in od_record_attribute_create_cfstring(): returned 2 attributes for dsAttrTypeStandard:AuthenticationAuthority
Feb  8 16:07:36 mys-MacBook-Air.local authorizationhost[4202]: in pam_sm_setcred(): Establishing credentials
Feb  8 16:07:36 mys-MacBook-Air.local authorizationhost[4202]: in pam_sm_setcred(): Got user: mybak
Feb  8 16:07:36 mys-MacBook-Air.local authorizationhost[4202]: in pam_sm_setcred(): Context initialised
Feb  8 16:07:36 mys-MacBook-Air.local authorizationhost[4202]: in pam_sm_setcred(): Got euid, egid: 0 0
Feb  8 16:07:36 mys-MacBook-Air.local authorizationhost[4202]: in pam_sm_setcred(): Done getpwnam()
Feb  8 16:07:36 mys-MacBook-Air.local authorizationhost[4202]: in pam_sm_setcred(): Done setegid() & seteuid()
Feb  8 16:07:36 mys-MacBook-Air.local authorizationhost[4202]: in pam_sm_setcred(): pam_sm_setcred: krb5 user mybak doesn't have a principal
Feb  8 16:07:36 mys-MacBook-Air.local authorizationhost[4202]: in pam_sm_setcred(): Done cleanup3
Feb  8 16:07:36 mys-MacBook-Air.local authorizationhost[4202]: in pam_sm_setcred(): Done seteuid() & setegid()
Feb  8 16:07:36 mys-MacBook-Air.local authorizationhost[4202]: in pam_sm_setcred(): Done cleanup4
Feb  8 16:07:36 mys-MacBook-Air.local authorizationhost[4202]: in pam_sm_setcred(): pam_sm_setcred: ntlm
Feb  8 16:07:36 mys-MacBook-Air.local authorizationhost[4202]: in pam_sm_setcred(): pam_sm_setcred: no domain found skipping
Feb  8 16:07:36 mys-MacBook-Air.local com.apple.SecurityServer[15]: UID 501 authenticated as user mybak (UID 501) for right 'com.mysql.administrator.server'
Feb  8 16:07:36 mys-MacBook-Air.local com.apple.SecurityServer[15]: Succeeded authorizing right 'com.mysql.administrator.server' by client '/Users/mybak/Library/PreferencePanes/MySQL.pre\
fPane/Contents/Resources/mahelper' [4200] for authorization created by '/Applications/System Preferences.app' [2795] (100003,0)
Feb  8 16:07:36 mys-MacBook-Air.local coreservicesd[26]: Application App:"System Preferences" [ 0x0/0xc40c4]  @ 0x0x7fe49cb90aa0 tried to be brought forward, but isn't in fPermittedFrontASN\
s ( ( ASN:0x0-0xe40e4:) ), so denying.
Feb  8 16:07:36 mys-MacBook-Air.local WindowServer[176]: [cps/setfront] Failed setting the front application to System Preferences, psn 0x0-0xc40c4, securitySessionID=0x186a4, err=-13066
Feb  8 16:07:39 mys-MacBook-Air.local System Preferences[2795]: status= 0

Подальші прогулки цих ліній не повернули ніяких підказок.


Ця ж проблема тут зі свіжою установкою.
E.Freitas

Можливо, вам краще пощастило в Stackoverflow.
Enrico Susatyo

Можливо, суперкористувач може бути більш доречним?
The Unfun Cat

Кілька питань про mysql в стеку переповнення бази неполадок на конфігураційному файлі в / etc, який не існує в версії Mac.
WGroleau

Відповіді:


-1

Ви можете спробувати вимкнути автентифікацію pam під вашим ssh-сервером і подивитися, чи допоможе це

Використовуючи наш веб-сайт, ви визнаєте, що прочитали та зрозуміли наші Політику щодо файлів cookie та Політику конфіденційності.
Licensed under cc by-sa 3.0 with attribution required.