IIS6.0 IIS7.5 application Pool Auto-stop Solution _win Server

Source: Internet
Author: User
Tags trustedinstaller

Mentioned earlier by the Win2003 upgrade to the WIN2008 server R2 64-bit system, and then used a few hours to configure Iis7.5+php+mysql environment, first encountered the IIS7.5 PHP access slow questions, After the solution of a new problem, really toss Ah! The IIS7.5 application pool is found to be automatically stopped in the log, while access to the site prompts: HTTP Error 503,the service is unavailable. Error, search the entire internet is finally solved the problem. Small series also sorted out IIS6 and IIS7.5 encountered such problems summarized solution, welcome everyone to try.

About IIS6 (suitable for IIS7) solutions

Describe:

IIS6 application pool is automatically disabled problem Service Unavailable application pool ' DefaultAppPool ' is automatically disabled because of a series of errors in the process of servicing the application pool. Application-specific permission settings do not have COM server applications (CLSID ...).

1. First, open IIS Manager. Check the application pool, and sure enough, "DefaultAppPool" went wrong. And not the usual stop icon.

2. Try to focus on the "DefaultAppPool" application pool, a browsing page will be closed immediately.

3. It's time to view the event log. The following types of logs were found

Event Type: Warning
Event Source: W3SVC
Event Type: None
Event id:1009
Date: 2008-6-24
Event: 16:12:33
Users: N/A
Computer: MAIL
Describe:
The process providing service for application pool ' DefaultAppPool ' terminated unexpectedly. The process ID is ' 3160 '. The process exit code is ' 0xFFFFFFFF '.

For more information, see the Help and Support Center in http://go.microsoft.com/fwlink/events.asp.

4. Will it be the default program pool problem? So, try creating a new pool of programs. Change the default Web site's program pool to new. But the problem remains. A similar log appears.

Event Type: Error
Event Source: W3SVC
Event Type: None
Event id:1002
Date: 2008-6-25
Event: 14:17:04
Users: N/A
Computer: MAIL
Describe:
The application pool ' AppPool #1 ' was automatically disabled because of a series of errors in the process that serviced the application pool.

For more information, see the Help and Support Center in http://go.microsoft.com/fwlink/events.asp.


5. Look up the event log another log caught my attention. As follows:

Event Type: Error
Event Source: DCOM
Event Type: None
Event id:10016
Date: 2008-6-24
Event: 16:12:33
User: NT authority/network SERVICE
Computer: MAIL
Describe:
Application-specific permission settings do not include COM server applications (CLSID as
{a9e69610-b80d-11d0-b9b9-00a0c922e750}
The user NT authority/network SERVICE SID (s-1-5-20) is granted the local activation permission. You can use the Component Services Administration tool to modify this security permission.

For more information, see the Help and Support Center in http://go.microsoft.com/fwlink/events.asp.

6. It's a bit of a play. See the CLSID for {a9e69610-b80d-11d0-b9b9-00a0c922e750} is what service first. Finally, find it in the following registry key:

HKEY_CLASSES_ROOT/APPID/{A9E69610-B80D-11D0-B9B9-00A0C922E750}

7. The name happens to be "IIS Admin Service"

8. Well, find out what it is. To open Component Services from Administrative Tools, locate the IIS Admin service to compare the CLSID to the same

9. After confirming this, the next step is to increase the network service privileges for it.
A start and activate permissions, click "Custom".

B. Add "Network SERVICE" to the list of users,

C. and give local start and activate permissions, save exit.

In addition, if there is a problem, the "IIS wamreg admin SERVICE" To do so, the right to select "Properties", find "security", in the "Start and Activate permissions," edit "Custom", add account
Network Service Network Service to start and activate the local permissions separately.

February 18, 2014 added: Today, a netizen to the small series of feedback his solution, is the Windows Server 2008 R2 64-bit under the use of the php5.5.x version, without the above settings, also resolved the problem.

To solve this problem.

Also have friends mentioned that the options can not be edited, for Gray, what should do?

This is the security feature of win2008 R2 x64. Some core system components can only allow local accounts, TrustedInstaller have full control, not the local Administrators group
To modify the IIS Admin Service on Windows Server 2008 R2, you need to grant registry permissions to the local Administrators group:
1. AppID of IIS in Component Manager
2. Use Regedit to locate the ID that hkey_classes_root\appid\{just found} "
3. Right click on {just found ID}, select permissions
4. In the Permission Settings window, select the owner tag, select administrators for owner
5. Grant administrators a read/write ownership note: Be sure not to modify TrustedInstaller permissions
Now, to run the Component Manager again, you can modify the permissions

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.