Exchange 2007: Services fail to start

26 10 2008

If you are running a Windows Server 2008 virtual machine with “AD DS” Services (Domain Controller) and you installed Exchange 2007 SP1 on the same machine than three services may fail to start. During the boot process of the virtual machine Active Directory Services are not ready and some Exchange 2007 services will fail to start.

Screenshot of the Services console during my troubleshooting actions.

phpLMRJYI

Microsoft Exchange Information Store, Microsoft Exchange Service Host and Microsoft Exchange System Attendant services are not started. The Startup Type of has been set to Automatic.

The System EventViewer will show the following error events:

  • EventID 7024: The Microsoft Exchange Information Store service terminated with service-specific error 0 (0×0).
  • EventID 7009: A timeout was reached (30000 milliseconds) while waiting for the Microsoft Exchange Service Host service to connect.
  • EventID 7000: The Microsoft Exchange Service Host service failed to start due to the following error: The service did not respond to the start or control request in a timely fashion.
  • EventID 7022: The Microsoft Exchange Transport service hung on starting.

Exchange Management Console message:

  • ERROR: Could not connect to the Microsoft Exchange Information Store service on server Networknet.nl. One of the following problems may be occurring: 1- The Microsoft Exchange Information Store service is not running. 2- There is no network connectivity to server Networknet.nl. 3- You do not have sufficient permissions to perform this command. The following permissions are required to perform this command: Exchange View-Only Administrator and local administrators group for the target server. 4- Credentials have been cached for an unpriviledged user. Try removing the entry for this server from Stored User Names and Passwords.

To fix this problem change the Startup Type of Microsoft Exchange Information Store, Microsoft Exchange Service Host and Microsoft Exchange System Attendant to “Automatic (Delayed Start)”

phpzDcsBJ

 

Reboot the virtual machine again and everything should be started as smooth as you would have two separate virtual machines.

Related links:



SSL certificate Windows Server 2008 and Exchange 2007 SP1

26 08 2008

Thanks to guys from Telnetport25 I was able to finish my SSL certificate migration for my new Windows Server 2008 virtual machine running a Exchange 2007 SP1 installation.

My work log:

  • Logon on the old Windows Server 2003 hosting the OWA front-end role
  • Start MMC and add the Certificate Snap-In; choose the Computer Account.
  • Go to Personal/Certificates and locate the SSL certificate assigned to IIS for SSL encryption. Right click ; All Tasks and choose export. Choose the appropriate options like the certificate path; assign password and save the PFX file to "My Documents"
  • Copy the PFX file to your Windows Server 2008 Client Access Server
  • Logon on the Windows Server 2008 and add the Certificate Snap-In to a new MMC console for the Computer Account
  • Go to Personal/Certificates; right click; All Tasks and choose Import.

image 

  • Locate the PFX file; enter the password and make sure you check "Mark this key as exportable" to enable future migrations of the SSL certificate.
  • Place the certificate in the Personal Store

image 

  • Open the certificate and go to Details tab. Locate the Thumprint field and select Value with mouse; press CRTL-C to copy the data.

image

  • Paste the value in Notepad and replace the "SPACE’ with CRTL-H. In the Find what field press space on the keyboard and click Replace All

image

  • Copy the Thumbprint
  • Start the Exchange Management Shell and run the Enable-ExchangeCertificate cmdlet
  • Type IIS as Services and paste the copied data from Notepad to Thumbprint

image 

  • Start Exchange Management Console and go to Server Configuration /  Client Access / Select the server and open owa from Outlook Web Access tab
  • Type External URL of the SSL certificate and DNS. E.g. https://webmail.domain.tlk

    image

  • Click OK and you are finished to test the configuration.
  • Start IE and test your OWA role. Review your NAT and Firewall rules also.

image

Related links:



Exchange 2007 SP1 upgrade Windows Server 2003 x64

27 04 2008

After fixing my Active Directory I start the upgrade of my current Exchange 2007 server. As you will see from the screenshots below the installation is straight forward but the requirements are killing me with this service pack upgrade. First of all make sure  a) your Active Directory replication is working properly, b) Exchange 2007 server has been installed with Windows Server 2003 SP2 and c) Microsoft .NET Framework 2.0 Service Pack 1 has been installed. To complete these requirements as posted before I was forced to remove one of my domain controllers running in a virtual machine with dcpromo /forceremoval and metadata cleanup; this box did not replicate for three months.

 

2008-04-27_190104 2008-04-27_190112 2008-04-27_190225 2008-04-27_190230 2008-04-27_190333 2008-04-27_201601

 

You can also upgrade from command line. I used gui mode to illustrate the process.

Setup.com /mode:upgrade

 

Check the hyperlink at Technet for all updates within SP1 What’s New in Exchange Server 2007 SP1. I like to integration with Windows Server 2008 and Exchange 2007 Sp1, Exchange Management console updates and the OWA premium changes.