Service unavailable appears in IIS

Source: Internet
Author: User
The 2003 system installed on your ghost has the SP1 Patch, And the iis6.0 is installed at the end.

As a result, the system prompts "Service unavailable" when accessing the site,

In the IIS manager, the applicationProgramThe pool is automatically suspended!

However, changing the "pre-defined account" in the "ID" in the application pool attribute from "Network Service" to "Local System" does not automatically close the application pool, however, IIS can parse the script language.

Some methods of the network are as follows:

Reference:

We recommend that you use the following steps to reinstall the software.
A) uninstall the entire IIS
B) Delete % WINDIR % \ system32 \ inetsrv.
Delete % WinDir % \ iisx. log. X is (w2k-iis5.log, xp-iis6.log)
Also delete the \ Inetpub \ directory.
(It can be deleted in safe-mode)
C) reinstall IIS and install the latest patch

This problem cannot be solved. In the end, the system is re-installed and the original disk is used for installation.

This problem is strange. It is estimated that the File Permission and version are incorrect because IIS is installed at the end,
During installation, you are prompted to add the original and SP1 discs.

My SP1 CD is extracted from the SP1 Patch package, but the original CD is online.

At the same time, it may also be related to the patch installation system. After installing the system, it is better to install the required software first, then install the patch, and upgrade it.

 

 

What will be service unavailable? 1. If the "Service unavailable" prompt appears, refresh the page and access it.
This is because your website has exceeded the IIS limit, because 2003 of the operating system prompts too many IIS, not as if the system prompts "too many people are linked ", the message "Service unavailable" appears because the website exceeds the system resource limit, mainly because the program occupies too many resources. For example, for online forums of 100 people, leiao Forum accounts for more than 10 times the resources occupied by PW forums. In addition, some endless loop programs, or the program that is not optimized will occupy too much system resources, and the system resources are obviously limited. However, in the Windows operating system, each website runs in an independent process and does not affect each other.
If a website program occupies too many resources or has too many errors, the system log will prompt: "The application pool 'xxx' is automatically disabled, the reason is that a series of errors occur in the process that provides services for this application pool, or the prompt is: The application pool 'xxx' exceeds its job restriction settings. When you access this website, the message "Service unavailable" is displayed. Generally, the system returns to normal in about 30 seconds, and can be accessed after several refreshes. For more information, see Help and Support Center in http://go.microsoft.com/fwlink/events.asp. When you access this website, the message "Service unavailable" is displayed. Generally, the system returns to normal in about 30 seconds, and can be accessed after several refreshes.
In addition, if your website currently has too many visitors and exceeds the system's IIS connection limit, a message indicating service unavailable will also appear (if there are too many connections on the Win2k host, a prompt will be displayed: too many connections, please try again later. The win2003 host just prompts: Service unavailable)

2. There is no restriction on IIS connection, or service unavailable

If you are using Windows 2003 IIS 6, this problem may occur on a normal system. Suddenly, a website cannot be opened.
Prompt: Service unavailable, but this website does not limit the number of IIS connections. Then it immediately affected other websites. In a short time, all other websites were changed to service unavailable.
Why?
After analysis, we can see that it is still the old problem of Ms. The access engine is ready. Use the server doctor's file to repair the fault. When you view the repair result, you will find that some files cause a "catastrophic fault" of the Access Engine and an "instance where the object is not referenced" error. After the file is repaired by the doctor, the system will recover to normal.

3. When you browse a Windows SharePoint Services web site, the message "Service unavailable" is displayed.

This issue may occur if the application pool for the virtual server is not correctly configured in Microsoft Internet Information Service (IIS) 6.0. This problem may occur in one or more of the following situations: a. The application pool is not running. B. The password used by the application pool account is incorrect. C. The application pool account is not a public member of the iis_wpg and sts_wpg groups on the server.
Solution
To solve this problem, follow these steps: 1. Verify that the application pool is configured for the virtual server. The default application pool is mssharepointportalapppool.
Follow these steps to determine the application pool that the virtual server is using.
A. Click Start, point to administrative tools, and click Internet Information Service (IIS) manager ".
B. Expand "servername", expand "web site", right-click the virtual server, and then click "properties ".
C. Click the "home directory" tab. The application pool configured for the virtual server is listed in the application pool box.
D. Click OK ".

2. Verify that the password used by the application pool account is correct. IIS does not automatically poll the password changes in the Active Directory Service. If the application pool account is a domain account whose password has expired, after you specify a new password for the account, you may receive the error message described in the "symptoms" section.

Follow these steps to verify that the password used by the application pool account is correct:
A. in the Internet Information Service (IIS) manager, expand "application pool ".
B. Right-click the application pool configured for the virtual server (for example, right-click mssharepointportalapppool), and click Properties ".
C. Click the "ID" tab.
D. In the "password" box, type the password used by the application pool account listed in the "user name" box, and click "OK ".
E. In the "Confirm Password" dialog box, type the password again and click "OK ".

3. Verify that the application pool account is a member of the iis_wpg group and sts_wpg group on the server.

Select one of the following methods based on your situation. A. When the SharePoint Portal Server is installed on the Member Server: 1. Click Start, point to administrative tools, and click computer management ".
2. Expand "local users and groups" and then expand "users ".
3. Right-click the account used by the application pool of the virtual server, and click "properties ".
4. Click the members tab.

Verify whether iis_wpg and sts_wpg both appear in the "member belongs" list. If either of them is not listed or both are not listed, add iis_wpg group, sts_wpg group, or these two groups to the list based on the actual situation.

B. When the SharePoint Portal Server is installed on the domain controller: 1. Start "Active Directory users and computers ".
2. Expand "user ".
3. Right-click the account used by the application pool of the virtual server, and click "properties ".
4. Click the members tab.

Verify that iis_wpg and sts_wpg both appear in the "member belongs" list. If either of them is not listed or both are not listed, add iis_wpg group, sts_wpg group, or these two groups to the list based on the actual situation.

4. restart IIS to recycle the application pool:. in the Internet Information Service (IIS) manager, right-click "servername", point to "all tasks", and then click "restart IIS ".
B. Click "reSTART Internet Information Service on servername", and then click "OK"

 

Complaint about service unavailable: the newly installed system in jothui a few days ago. The security policy is configured, IIS is installed, and a static site is created. The browser prompts "Service unavailable.
First, I can confirm that my security policy is normal, because my policy has been tested on dozens of machines.
The following error is prompted in the log:

Reference:

Application-the COM server application (CLSID is
{A9E69610-B80D-11D0-B9B9-00A0C922E750}
The Local activation permission for grant the user nt authority \ Network Service Sid (S-1-5-20 ). You can use the component service management tool to modify this security permission.

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

Reference:

The process that provides services for the application pool 'defaultapppool 'is unexpectedly terminated. The process ID is '20140901 '. Process exitedCodeIt is '0xffffffff '.

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

Reference:

The application pool 'defaultapppool 'is automatically disabled because a series of errors occur in the process that provides services for the application pool.

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

I searched for a lot of related questions on the Internet and couldn't view dozens of sites. They found this problem mainly in:

Reference:

The application pool is not running.
The password used by the application pool account is incorrect.
The application pool account is not a public member of the iis_wpg and sts_wpg groups on the server.

The application pool does not run. I have already verified the error. The other two cannot be verified and cannot proceed according to the method described on the Internet, my "Active Directory users and computers" cannot be opened because of an error. Now I cannot solve two problems in front of me, and I cannot get the essentials after searching the Internet for a long time. There is no way. I cannot afford to hide:

Open the IIS manager -- website -- Right-click Properties -- server -- check "Run WWW Service in iis5.0 isolated mode.

The website is running normally and displayed correctly.
Now I have avoided two problems:
1. I have not fixed any errors in the program pool.
2. If an error occurs between the Active Directory user and the computer, no final method is found,
Lack of experience in failure. If a friend who knows how to pass by can help me to give me a suggestion. Author: two days before jothui nagging: Service unavailable complaints, I have been suffering for two days. I finally solved the problem yesterday. Some problems are involved here. I want to start installing the system:

When installing the system, I used the default installation and did not install IIS.

Since there is no i386 on the machine, I copy the i386 folder of one of the servers (after installation, there is no problem with the file) to this server and install IIS, when the installation process prompts that files cannot be found, I will find and copy the prompted files from the CD to the server, there are about 10 missing files.

After the installation was complete, I found "Service unavailable" through IIS settings, which caused my complaint about "Service unavailable". When I tested the ASP file yesterday, the system always prompts "the requested resource is in use". I have encountered this problem before. In Windows2003, "the requested resource is in use" cannot solve the problem, after searching for Baidu and Google for half a day, the method is basically the same as the method in which "requested resources are in use" in Windows2003. It seems that many of them are copied.

I have reinstalled IIS several times. After IIS is installed, the "IIS Admin Service" and "World Wide Web Publishing Service" services do not exist at all. "Internet Information Service (IIS) manager. I had to go to the data center to solve the same problem when I reinstalled it several times.

After arriving at the IDC room, I was very unwilling to install it again, and the problem remained.

No way. I took out a Windows disk and installed IIS to read it directly from the CD. After the installation is complete, there will be no more problems. All problems are eliminated, and ASP runs smoothly.

At this point, I have not obtained a specific solution or found the problem. I can only guess from it:

A file is missing during IIS installation. After I add it, the installation is complete, but it is estimated that the installation is still incomplete. Some files can be completed even if they are missing during IIS installation, however, exceptions may occur during the running process. And Microsoft's IIS program is not complete enough to cause inexplicable errors.

--------
Tell a friend who just installed the system not to have a headache if this problem occurs. Use the above solution to try it. Service unavailable complaint 2 Author: jothui previous complaints have passed for a relatively long period of time:
Complaints about service unavailable
Continued complaints about service unavailable
The problems left over in the past have not been completely solved. In "Service unavailable whining", I only solved the problem of "service unavailable whining ,, the solution to this problem is not universally valid. Today, I saw the complete solution on Microsoft. I took it and shared it. I have not tested whether it works ,, but they are all solutions from the official site. I think I have no reason to doubt it again, right?

Okay. Let's see how the official website solves this problem?
------------------------------------------------
When you browse the IIS 2003 webpage on a domain controller based on Windows Server 6.0, you receive the "Service unavailable" error message.
Symptom
When you browse Web pages that reside on a domain controller based on Microsoft Windows Server 2003, you may receive the following Active Server Pages (ASP) Error 5 error message:
Service unavailable
In addition, the following warning events may be recorded in the System Event Log:
Type: Warning
Source: w3svc
Category: None
Event ID: 1009
Date: Date
Time: Time
User: N/
COMPUTER: computer_name
Description:
The process that provides services for the application pool 'application _ pool_name 'is unexpectedly terminated. The process ID is '20140901 '. The process exit code is '0xffffffff '.

For more information, see Help and Support Center on

In addition, the following error events may be recorded in the Application Event Log:
Type: Message
Source: Active Server Pages
Category: None
Event ID: 5
Date: Date
Time: Time
User: N/
COMPUTER: computer_name
Description:
Error: Permanent cache initialization fails for the template of the 'Application _ pool_name 'application pool. This is caused by the following error: the disk cache subdirectory of the application pool cannot be created. Data may contain additional error codes.

For more information, see Help and Support Center on

When you use Filemon to monitor file activity, you receive an error message similar to the following:
3521 time w3wp.exe: 3168 create c: \ windows \ system32 \ inetsrv \ ASP compiled templates \ pid1_8.tmp Access Denied nt authority \ Network Service

Cause
If the server running Microsoft Internet Information Service (IIS) 6.0 is also a domain controller, this problem occurs. This problem occurs because the application pool is using the nt authority \ Network Service account, and the nt authority \ Network Service account may not have the permission to access the required folder.

Solution
To solve this problem, you should manually set the iis_wpg group permissions for these folders, and then set the permissions of the NT Authority \ Network Service account on these folders.

To set iis_wpg group permissions for these folders, follow these steps: 1. Start Windows Resource Manager and open the following folders:
% SystemRoot % \ HELP \ IISHelp
2. Right-click the "common" folder in the right pane and click "share and security ".
3. Click the "Security" tab, click "add", and typeIis_wpgAnd then click OK ".
4. Select "iis_wpg", click to select the following check boxes in the "allow" column, and then click "OK ":
• Read and execute
• List folder Directories
• Read

5. Open the following folder:
% SystemRoot % \ system32 \ inetsrv
6. Right-click the ASP compiled Templates folder in the right pane, and click share and security ".
7. Click the "Security" tab, click the "iis_wpg" group, and then click to select the "full control" check box in the "allow" column. Click OK ".
8. Open the following folder:
% SystemRoot %
9. Right-click the IIS temporary compressed folder in the right pane and click share and security ".
10. Click the "Security" tab, click the "iis_wpg" group, and then click to select the "full control" check box in the "allow" column. Click OK ".

To set permissions for these folders for the nt authority \ Network Service account, follow these steps:
1. Start Windows Resource Manager and open the following folder:
% SystemRoot % \ HELP \ IISHelp
2. Right-click the "common" folder in the right pane and click "share and security ".
3. Click the "Security" tab, click "add", and type NETWORK SERVICE And then click OK ".
4. Select" NETWORK SERVICE Click to select the following check boxes in the "allow" column, and then click "OK ":
• Read and execute
• List folder Directories
• Read

5. Open the following folder:
% SystemRoot % \ system32 \ inetsrv
6. Right-click the ASP compiled Templates folder in the right pane, and click share and security ".
7. Click the "Security" tab, click "add", and type NETWORK SERVICE And then click OK ".
8. Select" NETWORK SERVICE Click to select the "full control" check box under the "allow" column, and then click "OK ".
9. Open the following folder:
% SystemRoot %
10. Right-click the IIS temporary compressed folder in the right pane and click share and security ".
11. Click the "Security" tab, click "add", and type NETWORK SERVICE And then click OK ".
12. Select the "Network Service" group, click to select the "full control" check box in the "allow" column, and then click "OK ".
After completing these steps, restart the IIS Management Service from the service management unit or Computer Management Unit.

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.