Issue
The IM360/IMAV+ deploy script hangs at Reading package lists
Environment
- Imunify360
- ImunifyAV+
- Ubuntu/Debian (could happen on other supported OS)
Symptoms
- After running "bash i360deploy.sh" it hangs at
Reading package lists...
- Notable slow data transfer rate, transfer stale mostly of times, to check the transfer rate, try to download some files from the repository, for example for ubuntu 20.04:
https://repo.imunify360.cloudlinux.com/imunify360/ubuntu/20.04
The connection just stales at "XXXX PB/s 0s" or has a slow Kb/s rate.
Solution
If the server is running both IPv4 and IPv6, try to force IPV4 preference, sometimes if the server has a dual-stack the issues may be on IPv6 routing only:
# Prefer IPv4 connections
# precedence ::ffff:0:0/96 100
Alternatively, it's possible to force apt to use IPv4 temporarily and re-run the deploy script:
echo 'Acquire::ForceIPv4 "true";' | sudo tee /etc/apt/apt.conf.d/99force-ipv4
If the steps above do not solve the connectivity issue, it's important to check the connectivity on the servers' side, usually, it becomes normal after a couple of hours due to a temporary intermediate routing issue.
Cause
The installation requires more time than usual, it seems it hangs nonetheless data is being downloaded from the repository at a slow rate.
It may be a temporary intermediate routing issue either on the IM360 repository side or the customer's datacenter, sometimes likely due to BGP session changes on intermediate routing some peering may have been out and causing congestion or preferring a not good route, but it becomes normal after the BGP session changes and getting a better as-path from you toward us. Other causes may be connectivity issues locally on the customer's server-side eg cables, interface, internal routing, or limited bandwidth so it's worth double-checking them over there as well.
Comments
0 comments
Please sign in to leave a comment.