Help Center>
CodeArts Deploy>
FAQs>
Custom Application Actions>
Running Shell Commands>
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 Commands
Running Shell Commands FAQs
- A Message Indicating an Operation Failure Is Displayed During Action Run Shell Commands Deployment
- Service Is Not Started But the Log Shows That Shell Commands Are Successfully Executed
- Unidentified Shell Commands Are Used
- Shell Command References a File or Folder That Does Not Exist
- How Does a Shell Command Reference Parameters?
- Deployment of the Action Run Shell Commands Times Out
- Interactive Shell Commands Are Used
- Shell Command Deployment Times Out After the su Command Is Executed to Switch the User
- Application Deployment Interruption
- Insufficient Permissions
- Parameters Contain Backslashes (\)
- No Host Exists in the Environment.
- Environment Does Not Exist.
- Error Occurs During Application Deployment with the sudo Privileges
- Deployment Blocked by Third-Party Antivirus Software
- Invalid Path
- A Network Error Occurs During Software Installation on CentOS
- A Network Error Occurs During Software Installation on Ubuntu OS
- Windows Path Not Allowed on a Linux Host
- Other FAQs
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.
Chatbotmore