Managing a server is not a simple and easy task. In addition to the "Top Ten Server Tools for Webmasters" I mentioned yesterday, we may also encounter some inexplicable problems and errors. Today, I I will introduce some five Windows 2003 server management skills that Moonlight Blog encountered and summarized during daily management. I hope it will be helpful to everyone.
1. Terminal protocol error
If you use Notepad or other editors to edit some Chinese on the remote terminal, when there are garbled characters, the server will prompt "Due to a protocol error, the session will be interrupted. Please try to connect to the remote computer again." Then when I connect to this server again, a protocol error will always occur, and then it will interrupt and exit.
Solution: If there are two administrator users on the server, log in with another administrator user, and then disconnect this error connection, or restart the server with another user. If there is only one administrator user, try to modify the local display to the minimum resolution, such as 800X600, and then connect to the remote desktop. If you can connect, log out of the current user immediately.
2. FileZilla cannot connect to IIS FTP
When using FileZilla to connect to the FTP service of IIS, sometimes the login is successful, but the prompt message "Failed to read the directory list" appears. In this case, please confirm whether ports 20 and 21 are opened on the server. If so, modify the local FileZilla transfer mode. Just "active".
[Cut-Page]
3. Restart the server regularly
For relatively large websites, the resource load may be very large after running for a period of time due to system resource limitations. At this time, we may consider automatically restarting the server every day. Automatically restarting the server can be used. This can be accomplished using the task schedule. Click on the attachment - System Tools - After task planning, add a task to automatically execute the shutdown program every day. Shutdown is the shutdown program that comes with Windows Server 2003. Use the command "shutdown -r -f -t 5" (the r parameter means restarting the server, and the f parameter Indicates the forced shutdown of system processes and applications. The t parameter is used to specify the system shutdown countdown time) to achieve automatic restart. The server system will be forcibly shut down even if it encounters a system process that cannot be shut down.
4. The SMTP that comes with IIS cannot send emails.
Windows' Internet Information Services (IIS) comes with an SMTP (Simple Mail Transfer Protocol) service, but after installing it, the error message "Unable to relay for user(at)domain.com" is prompted when sending emails. This may be a problem with the default mail relay settings. Select SMTP Properties-Access-Relay Restrictions, select "Except only the following table", and then restart SMTP.
[Cut-Page]
5. Prevent others from sending spam emails
After SMTP is enabled on the server, if there are no restrictions, it may become a victim of external spam. The simplest restriction is to close the mail sending port on the server 25. In the TCP/IP protocol properties, select Advanced-Options-TCP /In the IP filtering properties, TCP port 25 is not allowed.
The above are some tips for effective server management summarized by Moonlight Blog. Although you may have mastered many skills in this area, there are still many skills in server management waiting for everyone to summarize. If you also have some novelties If you have any tips or techniques, please leave a message below to let us know. I believe you may have encountered these problems in daily life.
3. Restart the server regularly
For relatively large websites, the resource load may be very large after running for a period of time due to system resource limitations. At this time, we may consider automatically restarting the server every day. Automatically restarting the server can be used. This can be accomplished using the task schedule. Click on the attachment - System Tools - After task planning, add a task to automatically execute the shutdown program every day. Shutdown is the shutdown program that comes with Windows Server 2003. Use the command "shutdown -r -f -t 5" (the r parameter means restarting the server, and the f parameter Indicates the forced shutdown of system processes and applications. The t parameter is used to specify the system shutdown countdown time) to achieve automatic restart. The server system will be forcibly shut down even if it encounters a system process that cannot be shut down.
4. The SMTP that comes with IIS cannot send emails.
Windows' Internet Information Services (IIS) comes with an SMTP (Simple Mail Transfer Protocol) service, but after installing it, the error message "Unable to relay for user(at)domain.com" is prompted when sending emails. This may be a problem with the default mail relay settings. Select SMTP Properties-Access-Relay Restrictions, select "Except only the following table", and then restart SMTP.