Help Center/
CodeArts Deploy/
FAQs/
Custom Application Actions/
Running Shell Scripts/
A Network Error Occurs During Software Installation on CentOS
Updated on 2023-07-20 GMT+08:00
A Network Error Occurs During Software Installation on CentOS
Symptoms
When software is installed on CentOS, an error message is displayed, indicating that the network is unreachable.
Cause Analysis
- The target host failed to download the software package from the official image repository due to network connection timeout.
- The possible causes of network connection timeout are as follows:
- The network between the target host and the YUM repository is disconnected.
- The firewall restricts outbound access.
- The security group has an outbound rule to restrict access.
Solution
- Run the ping $domainName command to check the network connectivity. $domainName indicates the domain name of the YUM repository. If the network is normal, perform steps 2 and 3 to check the firewall and security group. If the network is abnormal, contact the network administrator.
- Check the firewall configurations.
- Run the iptables -nL command to check whether outbound access is restricted on port 80.
- Check the outbound rules of the security group to which the target host belongs.
- Contact the network administrator to modify the outbound rules of the security group.
Parent topic: Running Shell Scripts
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot