提前告知:重裝系統(tǒng)沒(méi)用!重裝系統(tǒng)沒(méi)用!重裝系統(tǒng)沒(méi)用!,大家不要走彎路!?。?/h1>最終的答案是:
rm "/Volumes/<your disk>/var/db/auth.db"
將這一行命令在終端輸入,然后重啟Mac。
著急的同學(xué)可以直接復(fù)制粘貼!?。?/p>
不著急的同學(xué),聽(tīng)我講故事哈:
----------------------------------------------------------------------------------------------------------
新買了一個(gè)二手的Mac mini,想體會(huì)下遠(yuǎn)程協(xié)助功能。安裝了 Teamviewer。
實(shí)際來(lái)看,Teamviewer并不好用或者說(shuō)不符合我的要求,就習(xí)慣性的用CleanMymac X 卸載了 Teamviewer。
結(jié)果重啟之后就出現(xiàn)了:不可恢復(fù)的錯(cuò)誤。securityagent無(wú)法創(chuàng)建所要求的機(jī)制teamviewerauthplugin:start? ?點(diǎn)了幾次后發(fā)現(xiàn)無(wú)解,只能詛咒Teamviewer NDY!!!

然后,百度和Google了一通。找到了幾個(gè)看起來(lái)比較靠譜的辦法,什么下載:TeamViewerAuthPlugin.bundle,拷入U(xiǎn)盤(pán),。。。。。嘗試了一通之后還是沒(méi)用。
然后,想著重新安裝macOS吧,這樣應(yīng)該可以。
化了好幾個(gè)小時(shí)裝好后,重啟電腦,又是不可恢復(fù)的錯(cuò)誤?。?!沒(méi)用?沒(méi)用?。?!
只能再次詛咒? Teamviewer? ? CNDY!!!?CNDY!!!
然后,想了下,應(yīng)該去Teamviewer 官網(wǎng)投訴,果然發(fā)現(xiàn)不少網(wǎng)友有類似的問(wèn)題?。?!


然后,找到了官方的解釋:
Re:在Mac OS Catalina上卸載Teamviewer后無(wú)法啟動(dòng)
可能是由于在macOS上刪除了一個(gè)授權(quán)插件(在這種情況下為T(mén)eamViewerAuthPlugin.bundle)而沒(méi)有先注銷它而引起的。
我們建議始終使用TeamViewer中的內(nèi)置卸載程序(“首選項(xiàng)”>“高級(jí)”)。這樣可以確保在刪除插件之前已正確注銷了該插件。
在我的測(cè)試中,CleanMyMac X 4.4.5之前的版本似乎在刪除插件而未注銷它,因此可能導(dǎo)致了問(wèn)題。如果您使用CleanMyMac X,則需要確保使用最新版本。
如果您無(wú)法還原插件,則可以刪除Mac的授權(quán)數(shù)據(jù)庫(kù)。您的Mac在下次啟動(dòng)時(shí)會(huì)重新創(chuàng)建丟失的數(shù)據(jù)庫(kù)(使用一些適合大多數(shù)用戶的默認(rèn)設(shè)置)。
按住Cmd-R直到出現(xiàn)Apple徽標(biāo),在macOS Recovery中啟動(dòng)Mac。
Mac啟動(dòng)到macOS Recovery后,您應(yīng)該會(huì)看到一個(gè)名為“ macOS Utilities”的窗口。
要?jiǎng)h除授權(quán)數(shù)據(jù)庫(kù),需要安裝Mac的硬盤(pán),并且您需要知道其名稱(通常是“ Macintosh HD”或“ macOS”之類的名稱)。
打開(kāi)“磁盤(pán)工具”,然后在左側(cè)欄中查看磁盤(pán)名稱。對(duì)于運(yùn)行Catalina的Mac,尋找不以“-數(shù)據(jù)”結(jié)尾的名稱。
在側(cè)邊欄中選擇磁盤(pán)。
單擊工具欄中的“安裝”(如果您僅看到“卸載”,則它已安裝,您無(wú)需執(zhí)行任何操作)。
退出磁盤(pán)實(shí)用程序。
您應(yīng)該回到“ macOS Utilities”窗口。
從屏幕頂部的菜單欄中,打開(kāi)“實(shí)用程序”>“終端”。
輸入命令
rm“ /卷/ <您的磁盤(pán)> /var/db/auth.db”
將<your disk>替換為內(nèi)置硬盤(pán)的名稱,
例如:rm“ /卷/ Macintosh HD / var / db / auth.db”
請(qǐng)確保不要忘記引號(hào),以防您的磁盤(pán)名稱包含空格。
重新啟動(dòng)Mac。
以上是翻譯的中文,下面是英語(yǔ)原文:
Re: Can't Boot after uninstalling Teamviewer on Mac OS Catalina
This issue can be caused by deleting an authorization plugin on macOS (in this case, TeamViewerAuthPlugin.bundle) without de-registering it first.
We recommend always using the built-in uninstaller in TeamViewer (Preferences > Advanced).?This makes sure that the plugin is properly de-registered before deletion.
In my tests, ?CleanMyMac X versions prior to 4.4.5 seem to be deleting the plugin without de-registering it, so that could have caused the issue. If you use CleanMyMac X, you'll want to make sure to use the newest version.
If you do not have the possibility to restore the plugin as described by?@Mrsharifi, you may instead be able to delete your Mac's authorization database. Your Mac re-creates a missing database during the next startup (using some default settings that are fine for most users).
Start your Mac in macOS Recovery by holding down Cmd-R until the Apple logo appears.
Once your Mac has booted into macOS Recovery, you should see a window titled "macOS Utilities".
To delete the authorization database, your Mac's hard disk needs to be mounted and you will need to know its name (usually something like "Macintosh HD" or "macOS").
Open Disk Utility and check the left sidebar for the name of your disk. For Macs running Catalina, look for the name that does?not?end in "- Data".
Select the disk in the sidebar.
Click "Mount" in the toolbar (if you only see "Unmount", it is already mounted and you don't need to do anything).
Quit Disk Utility.
You should be back at the "macOS Utilities" window.
From the menu bar on top of the screen, open Utilities > Terminal.
Enter the command
rm "/Volumes/<your disk>/var/db/auth.db"
Replace with the name of your built-in hard disk, e.g.
rm "/Volumes/Macintosh HD/var/db/auth.db"
Make sure not to forget the quotes in case your disk name contains spaces.
Restart your Mac.