2016年10月9日 星期日

Exchange Server 2013 無故重新開機

問題描述:
最近發現幾個案例,客戶的 Exchange Server 2013 會無故意外重新開機,在 Event Log 找到這些訊息...

Check 'Microsoft.Exchange.Monitoring.TcpListenerCheck' thrown an Exception! Exception - Microsoft.Exchange.Monitoring.ReplicationCheckHighPriorityFailedException: 高優先順序檢查 TcpListener 失敗。錯誤 伺服器 'MAIL01' Microsoft Exchange 複寫服務的 TCP 接聽程式未通過健康情況測試。此伺服器在錯誤解決前,無法參與複寫。錯誤: 與伺服器 'MAIL01' 通訊時發生錯誤。錯誤: 無法連線,因為目標電腦拒絕連線。 

原因分析:
看了很多 Event Log 以及 Exchange Log,後來發現該部 Exchange Server 有指定靜態的網域控制站(DCs),同時該部網域控制站(DCs) 日前已經降級....導致 Exchange Server ServiceHealthMSExchangeReplForceReboot 會造成停止錯誤並重新啟動 Exchange Server 2013

Exchange Server 中的網域名稱系統 (DNS) 名稱解析的原因失敗的錯誤設定的網路緩衝器

解決方法:
取消靜態指定網域控制站(DCs),同時指定正確的 DNS IP


參考文件:
http://support.microsoft.com/kb/2969070/zh-tw
檢閱下列 TechNet 文件中所提供的指導方針,並確定已適當地設定代表 MAPI 及複寫網路的網路介面卡。
http://technet.microsoft.com/en-us/library/dd638104 (v=exchg.150).aspx#NR

2016年10月8日 星期六

Exchange Server 2013 退信,Error :0x80040305-0x0004de-0x00054a with event 9646

問題描述:
Exchange Server 2013 用戶收到退信 Error :0x80040305-0x0004de-0x00054a with event 9646,User mailbox has hit session limits

解決方法:
1. On the mailbox server, click [Start], click [run], type “regedit”, and then click [OK].
2. Expand the following registry subkey:
\\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\ParametersSystem
3. Right-click [ParametersSystem], point to New, and then click Key.
4. Type “MaxObjsPerMapiSession”, and then press ENTER to name the new subkey.
5. Right-click [MaxObjsPerMapiSession], click New, and then click [DWORD] Value.
6. Type Object_type, and then press ENTER to name the object.
    In most cases, the objects “objtMessage” , “objtFolder” and “objtFolderView” would exceed the 
    limitation, so we could create three objects for all of them(Replace Object_type with    
    objtMessage, objtFolder or objtFolderView).
7. Right-click Object_type, and then click Modify.
8. In the Value data box, type the number of objects that you want to limit this entry to, and then    
   click OK. For example, type 500 to increase the value for the objtMessage object. The default    
   value is 250. The default value of “objtFolder” and “objtFolderView” are all 500.
9.Restart Information Store Services.

參考知識文件: 
A user mailbox has hit session limits
http://technet.microsoft.com/en-us/library/ff360476(v=EXCHG.140).aspx

Outlook 2003/2007/2010/2013 收信亂碼

問題描述:
這一年來常常遇到有客戶反映,Outlook,Outlook 更新版本之後,反而收到系統或有些信件會出現亂碼,而有些同仁也是同樣更新 Outlook 版本,卻不會有這個問題...

解決方法:

1. 首先要確認 Outlook 是否有安裝到最新的 Service Pack 或更新。
2. 檢查 Outlook Profile 裡面,信箱模式是否為 "Unicode" 模式,如果為 "非 Unicode" 模式,請重新設定 Outlook Profile !!

3. 很多使用者預設都將信件直接收到本磯 PST,時間久了也會造成異常,建議換一個新的
PST,或是統一將信件存放在伺服器端。

注意 : 新的版本已經不支援直接將信件收到本磯 PST,請大家統一將信件存放在伺服器端吧 !

2015年11月12日 星期四

Exchange Server 2013 無法收到 Gmail 寄來的信件

問題描述:
Exchange Server 2013 CU9,MX 記錄直接將信件導至 Exchange Server 2013,發現從 gmail 寄來的信件都無法收到 ! 從 Yahoo,Hinet....等等其他網域寄來的信進都可以正常收到。

解決方法:
由於 Exchange Server 2013 接收連接器預設啟用 TLS,將 TLS 關閉即可


2014年3月10日 星期一

Exchange Server 2010 MSExchange AuditLogSearch 4002 錯誤訊息

當你將 DB 刪除,Mount 一個空的 DB 時,Event Log 每 30 分鐘就會出現以下錯誤訊息

記錄檔名稱:         Application
來源:            MSExchange AuditLogSearch
日期:            2014/3/10 上午 08:55:44
事件識別碼:         4002
工作類別:          General
等級:            錯誤
關鍵字:           傳統
使用者:           不適用
電腦:            ex1.grandsi.com
描述:
A runtime exception occurred in AuditLogSearchServicelet's worker while processing a request. Exception:
Microsoft.Exchange.Data.Storage.ObjectNotFoundException: 提供的儲存區識別碼不是項目的識別碼。 ---> Microsoft.Mapi.MapiExceptionInvalidEntryId: MapiExceptionInvalidEntryId: Unable to open entry ID. (hr=0x80040107, ec=-2147221241)
Diagnostic context:
    Lid: 22318 
    Lid: 19246   StoreEc: 0x80040107
    Lid: 28014 
    Lid: 24942   StoreEc: 0x80040107

   Microsoft.Mapi.MapiExceptionHelper.ThrowIfError(String message, Int32 hresult, SafeExInterfaceHandle iUnknown, Exception innerException)
   Microsoft.Mapi.MapiStore.OpenEntry(Byte[] entryID, OpenEntryFlags flags)
   Microsoft.Exchange.Data.Storage.StoreSession.GetMapiProp(StoreObjectId id, OpenEntryFlags flags)

   --- 內部例外狀況堆疊追蹤的結尾 ---
 
解決方式:
只要將 Microsoft Exchange Service Host 服務重起就可以囉~~^^
 

2014年2月24日 星期一

Exchange Server 2010 Failed 狀態的內容索引類別目錄


首先使用以下指令來查看狀態
Get-MailboxDatabaseCopyStatus | fl name, contentindexstate

Name              : TCEX02-MDB02\TCEX02
ContentIndexState : Healthy

Name              : TCEX03-MDB02\TCEX02
ContentIndexState : Healthy

Name              : TCEX04-MDB02\TCEX02
ContentIndexState : Failed


使用以下指令修復 Index
Update-MailboxDatabaseCopy "TCEX04-MDB02\TCEX02" -CatalogOnly




2013年11月11日 星期一

Exchange Server 2010 Event ID 2501

這個錯誤訊息通常會出現在 DAG 成員的 MBS 上,雖然在 AD 站台裡已經把子網域指定好,但是該錯誤訊息還是會出現 !!
 
Event Type: Error

Event Source: MSExchange ADAccess

Event Category: General

Description:

Process MSEXCHANGEADTOPOLOGY (PID=). The site monitor API was unable to verify the site name for this Exchange computer - Call=DsctxGetContext Error code=8007077f. Make sure that Exchange server is correctly registered on the DNS server.
 
執行 nltest /dsgetsite 之後仍然會出現找不到指定 DC......錯誤訊息
 
 
發生原因:
由於 DAG 設定完成後,Cluster 會 Bind 一張 Microsoft Failover Cluster Virtual Adapter.....IP 通常會是 169.254.X.X,同時 Ping 自己時也會回應 169.254.x.x....
 
網路上大部分查到的解答是利用 nvspbind 的工具就可以解決,但是事實上問題還是無法根治 !!
 
解決方法:
加 Hosts File....格式如下:
 
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host
# localhost name resolution is handled within DNS itself.
# 127.0.0.1       localhost
# ::1             localhost
 
172.16.1.10        mbs01.lingo.com         mbs01


另一個 Solution.....使用 Regedit

WORKAROUND


To work around this issue, hardcode the Active Directory Site name in the registry. To do this, follow these steps:
  1. Click Start, click Run, type Regedit, and then press OK.
  2. Locate the following registry subkey:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters
  3. On the Edit menu, click New, and then click String Value.
  4. Type SiteName, and then press Enter.
  5. Right-click SiteName, click Modify, type the name of the Active Directory Site that the Exchange server belongs to in the Value data box, and then click OK.
  6. Exit Registry Editor, and then restart the computer to apply the change.
 
When you hardcode the Active Directory Site name, Windows will return the hardcoded site name in response to the query from Exchange. This behavior enables Exchange server to bypass any site name lookup failures.