среда, 30 августа 2017 г.

Exchange 2013. POP3 / IMAP

Не хотят работать pop3/imap службы чанги?
Решение:
Задайте автоматический запуск службы Microsoft Exchange POP3.
Set-service msExchangePOP3 -startuptype automatic
Запустите службу Microsoft Exchange POP3.
Start-service msExchangePOP3
Задайте автоматический запуск фоновой службы Microsoft Exchange POP3.
Set-service msExchangePOP3BE -startuptype automatic
Запустите фоновую службу Microsoft Exchange POP3.
Start-service msExchangePOP3BE
+
Use the following command to determine which requester made PopProxy inactive:
Get-ServerComponentState -Identity <ServerName> -Component PopProxy).LocalStates
Use the following command to make PopProxy active:
Set-ServerComponentState -Identity <ServerName> -component PopProxy -state Active -requester HealthAPI

источник 1
источник 2

среда, 23 августа 2017 г.

Exchange 2016 [+Windows 2016] Error. Source: MSExchangeApplicationLogic ID: 3028

Ошибка:
Log Name:      Application
Source:        MSExchangeApplicationLogic
Date:          23.08.2017 19:05:01
Event ID:      3028
Task Category: Extension
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      exch0.int.firma.ru
Description:
Scenario: ProcessKillBit. Failed to read killbit list file because of exception System.IO.IOException: The process cannot access the file 'C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\owa\prem\15.1.1034.26\ext\killbit\killbit.xml' because it is being used by another process.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at Microsoft.Exchange.Data.ApplicationLogic.Extension.KillBitHelper.TryReadKillBitFile(Int32& refreshRate, DateTime& lastModifiedTime)

Решение:
НЕ РЕШЕНО

Есть только вариант забэкапить сабж C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\owa\15.0.620.29\owa2\ext\killbit\*
Или целиком папку killbit
Потом грохнуть, перезапустить IIS. Но как-то сомневаюсь я что это заработает.
Если кто придет по этой теме - отпишитесь, пожалуйста, как у вас.

Ссылки на почитать:
https://social.technet.microsoft.com/Forums/ie/en-US/a48c8243-fc3a-4f88-93fe-1ec0ce9cc801/event-id-3028-msexchangeapplicationlogic?forum=exchangesvradmin

http://www.myeventlog.com/search/show/927

http://www.datazx.cn/exchangeserver/2016116346.html

https://social.technet.microsoft.com/Forums/lync/en-US/4d429e61-94a2-4ae8-bf1f-87576a5ba263/exchange-2016-cu2-application-errorevent-id-4999msexchange-common?forum=Exch2016GD



Отличная статья про правильные сертификаты для Exchange

https://practical365.com/exchange-server/exchange-server-2016-ssl-certificates/

Exchange 2016 [+Windows 2016] Error. Source: MSExchangeDiagnostics ID: 1006

Ошибка:
Log Name:      Application
Source:        MSExchangeDiagnostics
Date:          23.08.2017 14:35:23
Event ID:      1006
Task Category: Triggers
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      exch0.int.firma.ru
Description:
The performance counter '\\EXCH0\MSExchange Assistants - Per Database(msexchangemailboxassistants-db_users)\Event Dispatchers Catching Up' sustained a value of '1 812,00', for the '30' minute(s) interval starting at '23.08.2017 11:05:00'. Threshold breached since '23.08.2017 10:05'. None Trigger Name:EventDispatchersCatchupQueueTrigger. Instance:msexchangemailboxassistants-db_users

Решение:
Откройте этот файл в блокноте: C:\Program Files\Microsoft\Exchange Server\V15\Bin\Microsoft.Exchange.Diagnostics.Service.exe.config
Измените «ExchangeJobs.Triggers.EventDispatchersCatchupQueueTrigger» с «True» на «False».

Источник
https://social.technet.microsoft.com/Forums/exchange/en-US/54cec6d8-4edc-4596-ada8-6ea9fd249bbf/event-id-1006-the-performance-counter-msexchange-assistants-per-databaseevent-dispatchers?forum=Exch2016GD

MS Exchange. Найти MailboxDatabase в Схеме AD

Получаем Guid почтовых баз:
Get-MailboxDatabase | fl Identity, Guid
Идем в adsiedit:
CN = Configuration \ CN=Services \ CN=Microsoft Exchange \ CN=%Organization Name% \ CN=Administrative Group \ CN=Exchange Administrative Group (%id%) \ CN=Databases

Windows Server 2016 Error. Source: Service Control Manager ID: 7023. Data Sharing Service

Ошибка:
Log Name:      System
Source:        Service Control Manager
Date:          23.08.2017 13:37:01
Event ID:      7023
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      exch0.int.firma.ru
Description:
The Data Sharing Service service terminated with the following error:
%%3239247874

Лечение:
cmd (run as admin)
Sc config ualsvc type=own
Sc config dssvc type=own

Источник
http://www.neighborgeek.net/2017/05/server-2016-data-sharing-service.html

Windows Server 2016 Error. Source: Microsoft-Windows-DistributedCOM ID: 10016

Log Name:      System
Source:        Microsoft-Windows-DistributedCOM
Date:          8/23/2017 12:27:37 PM
Event ID:      10016
Task Category: None
Level:         Error
Keywords:      Classic
User:          SYSTEM
Computer:      dc10.int.firma.ru
Description:
The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID
{8D8F4F83-3594-4F07-8369-FC3C3CAE4919}
 and APPID
{F72671A9-012C-4725-9D2F-2A4D32D65169}
 to the user NT AUTHORITY\SYSTEM SID (S-1-5-18) from address LocalHost (Using LRPC) running in the application container Unavailable SID (Unavailable). This security permission can be modified using the Component Services administrative tool.

Ошибка не критическая, но фиксить нужно.

Как исправить - источник статьи.

Exchange 2016 [installed on Windows 2016] Warning. Source: ESE ID: 642

Предупреждение в логах:

Log Name:      Application
Source:        ESE
Date:          23.08.2017 8:03:51
Event ID:      642
Task Category: General
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      exch0.int.firma.ru
Description:
Information Store - Mailbox Database 1484901087 (8412,D,50,15.01.1034.026) Mailbox Database 1484901087: The database format feature version 9000 (0x2328) could not be used due to the current database format 1568.20.0, controlled by the parameter 0x41002350 (9040 | JET_efvAllowHigherPersistedFormat).

For more information, click http://www.microsoft.com/contentredirect.asp.


Решение:
Игнорировать это предупреждение (?!)

Источник:
https://social.technet.microsoft.com/Forums/ie/en-US/6a243228-b17d-4fde-b89b-a33f9f4f2047/the-database-format-feature-version-x-x-could-not-be-used-due-to-the-current-database-format?forum=Exch2016Adm
+
https://social.technet.microsoft.com/Forums/en-US/bf62bfdb-1826-404d-b1ca-7f318a0865e2/ese-event-642-warnings-in-exchange-2016-cu4-on-windows-2016?forum=Exch2016GD

Windows Server 2016 Error. Source: CAPI2 ID: 513

В логах хворь:
Log Name:      Application
Source:        Microsoft-Windows-CAPI2
Date:          8/23/2017 12:24:30 AM
Event ID:      513
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      dc10.int.firma.ru
Description:
Cryptographic Services failed while processing the OnIdentity() call in the System Writer Object.

Details:
AddLegacyDriverFiles: Unable to back up image of binary Microsoft Link-Layer Discovery Protocol.

System Error:
Access is denied.
.

Как вылечилось:
C:\Windows\system32>sc sdshow mslldp

D:(D;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BG)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SY)(A;;CCDCLCSWRPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWRPWPDTLOCRRC;;;SO)(A;;LCRPWP;;;S-1-5-80-3141615172-2057878085-1754447212-2405740020-3916490453)

Добавляем к имеющимся разрешениям -> разрешение (A;;CCLCSWLOCRRC;;;SU) для NT AUTHORITY \ SERVICE
! Без лишних пробелом и переходов строки !
! (A;;CCLCSWLOCRRC;;;SU) подставляйте в свой вывод мои результаты команды sc sdshow mslldp !

C:\Windows\system32>sc sdset mslldp D:(D;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BG)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SY)(A;;CCDCLCSWRPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWRPWPDTLOCRRC;;;SO)(A;;LCRPWP;;;S-1-5-80-3141615172-2057878085-1754447212-2405740020-3916490453)(A;;CCLCSWLOCRRC;;;SU)


Первоисточник
https://answers.microsoft.com/en-us/windows/forum/windows_other-winapps/windows-server-2016-capi2-event-id-513/0a5cbb33-e9b8-45f1-823c-eb239e5b273c

Официальный источник
https://support.microsoft.com/en-us/help/3209092/event-id-513-when-running-vss-in-windows-server-2016
https://support.microsoft.com/ru-ru/help/3209092/event-id-513-when-running-vss-in-windows-server-2016