IIS Error _ Server

Source: Internet
Author: User
Tags system log metabase

It should be useful for those who need it.

IIS is in a wrong row

IIS server is incorrectly queued
The reason for the iis server error is complex. Errors such as service startup failure, an IIS process outage, or a site failure to start will record an error event in the system log. Regardless of what is wrong with IIS, you should use Event Viewer to refer to the related events that are logged in the system log before you determine the scheduling scheme. Some of the errors are obviously caused by damage to the server's hardware, while others are often difficult to detect due to software-led errors. This section provides a guided introduction to general IIS scheduling.
Restart IIS
Most software problems can be solved by restarting to the method according to the general troubleshooting method and the fault solution of Microsoft products. As one of the new features of IIS 5.0, we can restart the IIS service without restarting the computer, and even a fairly serious problem can be solved by this method. Restarting the IIS service can force the system to reset the memory space of the IIS process, so problems caused by memory errors can be resolved. The method for restarting IIS is primarily used when the Web site application is paralyzed, is not effectively controlled, and the site application is not working properly or is unstable.
 The IIS service is restarted, all current connections cannot be retained, and all sites on the server during the reboot are not working. If restarting the IIS service does not resolve the issue, restarting the server will not work.
When the site application is not working properly, restart the server's IIS service by following these steps:
1. In the IIS Management control tree, expand the IIS node and select the computer on which you want to restart the IIS service.
2. Click the Action menu and select Restart IIS.
3. As shown in the upper-right figure, in the stop/Start/Restart dialog box, select Restart Server IIS in the "What do you want to do with IIS" Drop-down list, click OK.
4. As shown in the following illustration, the Closing dialog box shows the progress of restarting IIS, and if the dialog box does not respond for a long time, click End Now and repeat the action.
Note: You cannot use the HTML based IIS Manager (Remote Administration mode) for the above reboot operation.
For the stability of a single site, you do not have to restart the entire IIS process, as long as you restart the site.




IIS is in a wrong row

Backup/Restore IIS
If there is a foolproof server security planning scheme in the world, it is backup. It has been pointed out that the most important three tasks for a good system administrator are backup, backup, backup.
The implementation mechanism for IIS includes a registry-like metabase: MetaBase, where the configuration properties for IIS itself and the site are all stored in Windows 2000 and metabase MetaBase. As a result, you can save all of the site-related configurations by backing up the relevant registry and metabase. Even after you delete a site or even reinstall IIS, you can still use the backup to revert to its original state.
The steps to back up IIS are as follows:

1. In IIS Manager, expand the IIS node and select the computer you want to back up.
2. Click the Action menu and choose Backup/Restore configuration.
3. As shown in the image on the right, lists all backup files and backup time in the backup list in the Backup/Restore Configuration dialog box. Click the Create Backup button.
4. In the Backup Configuration dialog box, specify the name of the new backup, and click OK.
5. Click Close to complete the backup.
By default, the backup file is saved in the \winnt\system32\inetsrv\metaback directory.

How to restore a backup similar to this, select a backup file in the backup list in the Backup/Restore Configuration dialog box, and click Restore. Then click OK in the prompt dialog box shown on the left, and after some time, the IIS server reverts to the state it was in when the backup was made.
If you need to restore the backup after the server has installed IIS, you should take additional action on the basis of the above recovery operation as follows:

1. At the command prompt, type cscript.exe X:\InetPub\AmdinScripts\Adsutil.vbs enum w3svc, where "X" is the drive letter where IIS is installed. From the settings listed, look for values for WAMUserName and related WAMUserPass.
2. In Control Panel, double-click Administrative Tools, and then double-click Computer Management.
3. Select Local User Manager, and then click Users. Double-click the "IWAM_computername" user account. Type the WAMUserPass value found from the previous step, and click OK.
4. In the Configure Backup Name dialog box, select the backup file that you created, and then click Restore. The configuration will be fully restored at this time.

IIS is in a wrong row

TCP/IP Scheduling error
TCP/IP protocol issues are often the cause of IIS not working properly. When IIS errors but can determine the IIS service itself is not a problem, we should consider whether the network connectivity problems, simple to eliminate the network hardware damage caused by the problem, our attention should be focused on the network protocol, mainly TCP/IP protocol.
Windows 2000 provides a range of TCP/IP troubleshooting tools, which are primarily based on command prompt lines, providing powerful tools for diagnosing network problems.
Using the Ipconfig tool to check TCP/IP configuration
ipconfig is a command prompt line tool that looks up and manages the state of client TCP/IP configuration. At the command prompt, type: ipconfig and enter to obtain the basic TCP/IP configuration properties, including the IP address, subnet mask, and default gateway, as shown in the picture on the right.

At the command prompt line, type: Ipconfig/all and enter to obtain the TCP/IP configuration status in verbose mode, in addition to the basic information, including the host name, DNS settings, WINS settings, DHCP settings, and physical addresses, node types, and other TCP/IP information.
If your computer enables DHCP and uses a DHCP server to obtain configuration, you can start refreshing the lease using the Ipconfig/renew command. You can also use the ipconfig command with the/release option to immediately release the current DHCP configuration of the host.
For Windows 95 and Windows 98 clients, use the winipcfg command instead of the ipconfig command.

To test a connection by using the ping command
The ping command helps verify IP-level connectivity, and you can use ping to send an ICMP response request to the destination host name or IP address when a problem is discovered and resolved. Use ping when you need to verify that the host can connect to TCP/IP network and network resources.
The ping command actually sends several (default 4) packets to the target host, and if the local computer is connected to the target host, the target host responds with a response message, as shown in the upper right figure, and the response information includes response time and TTL values. Successful Ping the same host indicates that IP data can be transferred between local and target hosts.
If you receive time-out information, as shown in the following illustration, the TCP/IP connection between the local host and the target host cannot be established, including network failures, protocol errors, and TCP/IP configuration errors.
When confirming network connectivity, you should ping the test in the following order:
1. Ping the local circular address 127.0.0.1 to determine if the local TCP/IP configuration is correct.
Type ping 127.0.0.1 at the command prompt line.
2. Ping the native address to verify that the local IP address settings are correct.
3. Ping the default gateway address to verify that it can communicate with a host other than the local subnet.
4. Ping the hosts on the remote subnet to verify that remote communication is possible over the router.



If the ping command above can be answered, the TCP/IP configuration can support network traffic. Otherwise, set the check for the appropriate network components.
Display connection statistics using the Netstat tool
You can use the Netstat command to display protocol statistics and current TCP/IP connections.
The netstat-a command displays all connections, while NETSTAT-R displays the routing table and active connections. The NETSTAT-E command displays Ethernet statistics, and netstat-s displays statistics for each protocol.
If you use Netstat-n, you cannot convert addresses and port numbers to names.

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.