FreePBX | Register | Issues | Wiki | Portal | Support

FreePBX Distro Fails to Yum Update

freepbx
Tags: #<Tag:0x00007fafc564ee08>

(United States) #1

FreePBX 14.0.3.6
Asterisk Version: 13.22.0
PHP Version 5.6.36

I am unable to update freepbx due to the following reason. Any help is really appreciated.

`yum update
Loaded plugins: fastestmirror, versionlock
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.sangoma.net/?release=7&arch=x86_64&repo=os&dist=$dist error was
12: Timeout on http://mirrorlist.sangoma.net/?release=7&arch=x86_64&repo=os&dist=$dist: (28, ‘Connection timed out after 30000 milliseconds’)

One of the configured repositories failed (Unknown),
and yum doesn’t have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work “fix” this:

 1. Contact the upstream for the repository and get them to fix the problem.

 2. Reconfigure the baseurl/etc. for the repository, to point to a working
    upstream. This is most often useful if you are using a newer
    distribution release than is supported by the repository (and the
    packages for the previous distribution release still work).

 3. Run the command with the repository temporarily disabled
        yum --disablerepo=<repoid> ...

 4. Disable the repository permanently, so yum wont use it by default. Yum
    will then just ignore the repository until you permanently enable it
    again or use --enablerepo for temporary usage:

        yum-config-manager --disable <repoid>
    or
        subscription-manager repos --disable=<repoid>

 5. Configure the failing repository to be skipped, if it is unavailable.
    Note that yum will try to contact the repo. when it runs most commands,
    so will have to try and fail each time (and thus. yum will be be much
    slower). If it is a very temporary problem though, this is often a nice
    compromise:

        yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true

Cannot find a valid baseurl for repo: sng-base/7/x86_64`

_


(Shahin Nazir) #2

Hi
Pls check and add Public DNS on your PBX server.

nano /etc/resolv.conf

and insert

nameserver 8.8.8.8
nameserver 8.8.4.4


(United States) #3

The nameservers you mentioned are already in place. Any other suggestions. Thanks for your reply.


(Shahin Nazir) #4

Hi
Pls try to remove cash files

rm -f /var/lib/rpm/__*
rpm --rebuilddb -v -v

Then yum update

yum update -y

If not works check and edit the following file.

/etc/yum/pluginconf.d/fastestmirror.conf

Change enabled=1 to enabled=0 to disable the fastestmorror plugin.
That should fix it.


(United States) #5

Hi Shahin,

I tried all the steps you mentioned but I am still getting the same error. Is it because the urls in the repos aren’t reachable? I tried the urls on another system and it doesn’t work. For example, from the error message I tried connecting to this url:
http://mirrorlist.sangoma.net/?release=$releasever&arch=x86_64&repo=os&dist=$dist
and it does not connect. I also tried connecting:
http://mirrorlist.sangoma.net
and still not reachable.

Could this be the root cause?


(Shahin Nazir) #6

Hi @ditkar
Pls try to clean again yum cash files.

sudo yum clean all
sudo URLGRABBER_DEBUG=1,/tmp/debug.log yum update

will output lots of debugging data on screen pls pass it here.


(United States) #7

Here is the debug data.

2019-07-23 09:03:16,544 urlgrabber version = 3.10
2019-07-23 09:03:16,544 trans function “_” = <function _ at 0x7fdab3780410>
2019-07-23 09:03:16,616 combined options: {
‘delegate’ : {
‘async’ : None,
‘bandwidth’ : 0,
‘cache_openers’: True,
‘checkfunc’ : None,
‘close_connection’: 0,
‘copy_local’ : 0,
‘data’ : None,
‘default_speed’: 1000000.0,
‘delegate’ : None,
‘failfunc’ : <function _do_raise at 0x7fdab37809b0>,
‘failure_callback’: None,
‘ftp_disable_epsv’: False,
‘ftp_headers’ : None,
‘half_life’ : 2592000,
‘http_headers’ : None,
‘interrupt_callback’: None,
‘ip_resolve’ : None,
‘keepalive’ : 1,
‘libproxy’ : False,
‘max_connections’: 5,
‘max_header_size’: 2097152,
‘minrate’ : None,
‘mirror_group’ : None,
‘multi_progress_obj’: None,
‘no_cache’ : False,
‘opener’ : None,
‘password’ : None,
‘prefix’ : None,
‘progress_obj’ : None,
‘proxies’ : None,
‘proxy’ : None,
‘quote’ : None,
‘range’ : None,
‘reget’ : None,
‘retry’ : None,
‘retry_no_cache’: False,
‘retrycodes’ : [-1, 2, 4, 5, 6, 7],
‘size’ : None,
‘ssl_ca_cert’ : None,
‘ssl_cert’ : None,
‘ssl_cert_type’: ‘PEM’,
‘ssl_context’ : None,
‘ssl_key’ : None,
‘ssl_key_pass’ : None,
‘ssl_key_type’ : ‘PEM’,
‘ssl_verify_host’: True,
‘ssl_verify_peer’: True,
‘text’ : None,
‘throttle’ : 1.0,
‘timedhosts’ : None,
‘timeout’ : 300,
‘urlparser’ : <urlgrabber.grabber.URLParser instance at 0x7fdab376cea8>,
‘user_agent’ : ‘urlgrabber/3.10 yum/3.4.3’,
‘username’ : None,
}
}
2019-07-23 09:03:16,617 attempt 1/None: file:///etc/yum.conf
2019-07-23 09:03:16,617 success
2019-07-23 09:03:16,624 combined options: {
‘delegate’ : {
‘async’ : None,
‘bandwidth’ : 0,
‘cache_openers’: True,
‘checkfunc’ : None,
‘close_connection’: 0,
‘copy_local’ : 0,
‘data’ : None,
‘default_speed’: 1000000.0,
‘delegate’ : None,
‘failfunc’ : <function _do_raise at 0x7fdab37809b0>,
‘failure_callback’: None,
‘ftp_disable_epsv’: False,
‘ftp_headers’ : None,
‘half_life’ : 2592000,
‘http_headers’ : None,
‘interrupt_callback’: None,
‘ip_resolve’ : None,
‘keepalive’ : 1,
‘libproxy’ : False,
‘max_connections’: 5,
‘max_header_size’: 2097152,
‘minrate’ : None,
‘mirror_group’ : None,
‘multi_progress_obj’: None,
‘no_cache’ : False,
‘opener’ : None,
‘password’ : None,
‘prefix’ : None,
‘progress_obj’ : None,
‘proxies’ : None,
‘proxy’ : None,
‘quote’ : None,
‘range’ : None,
‘reget’ : None,
‘retry’ : None,
‘retry_no_cache’: False,
‘retrycodes’ : [-1, 2, 4, 5, 6, 7],
‘size’ : None,
‘ssl_ca_cert’ : None,
‘ssl_cert’ : None,
‘ssl_cert_type’: ‘PEM’,
‘ssl_context’ : None,
‘ssl_key’ : None,
‘ssl_key_pass’ : None,
‘ssl_key_type’ : ‘PEM’,
‘ssl_verify_host’: True,
‘ssl_verify_peer’: True,
‘text’ : None,
‘throttle’ : 1.0,
‘timedhosts’ : None,
‘timeout’ : 300,
‘urlparser’ : <urlgrabber.grabber.URLParser instance at 0x7fdab376cea8>,
‘user_agent’ : ‘urlgrabber/3.10 yum/3.4.3’,
‘username’ : None,
}
}
2019-07-23 09:03:16,624 attempt 1/None: file:///etc/yum/pluginconf.d/fastestmirror.conf
2019-07-23 09:03:16,625 success
2019-07-23 09:03:16,626 combined options: {
‘delegate’ : {
‘async’ : None,
‘bandwidth’ : 0,
‘cache_openers’: True,
‘checkfunc’ : None,
‘close_connection’: 0,
‘copy_local’ : 0,
‘data’ : None,
‘default_speed’: 1000000.0,
‘delegate’ : None,
‘failfunc’ : <function _do_raise at 0x7fdab37809b0>,
‘failure_callback’: None,
‘ftp_disable_epsv’: False,
‘ftp_headers’ : None,
‘half_life’ : 2592000,
‘http_headers’ : None,
‘interrupt_callback’: None,
‘ip_resolve’ : None,
‘keepalive’ : 1,
‘libproxy’ : False,
‘max_connections’: 5,
‘max_header_size’: 2097152,
‘minrate’ : None,
‘mirror_group’ : None,
‘multi_progress_obj’: None,
‘no_cache’ : False,
‘opener’ : None,
‘password’ : None,
‘prefix’ : None,
‘progress_obj’ : None,
‘proxies’ : None,
‘proxy’ : None,
‘quote’ : None,
‘range’ : None,
‘reget’ : None,
‘retry’ : None,
‘retry_no_cache’: False,
‘retrycodes’ : [-1, 2, 4, 5, 6, 7],
‘size’ : None,
‘ssl_ca_cert’ : None,
‘ssl_cert’ : None,
‘ssl_cert_type’: ‘PEM’,
‘ssl_context’ : None,
‘ssl_key’ : None,
‘ssl_key_pass’ : None,
‘ssl_key_type’ : ‘PEM’,
‘ssl_verify_host’: True,
‘ssl_verify_peer’: True,
‘text’ : None,
‘throttle’ : 1.0,
‘timedhosts’ : None,
‘timeout’ : 300,
‘urlparser’ : <urlgrabber.grabber.URLParser instance at 0x7fdab376cea8>,
‘user_agent’ : ‘urlgrabber/3.10 yum/3.4.3’,
‘username’ : None,
}
}
2019-07-23 09:03:16,626 attempt 1/None: file:///etc/yum/pluginconf.d/versionlock.conf
2019-07-23 09:03:16,627 success
2019-07-23 09:03:16,637 combined options: {
‘delegate’ : {
‘async’ : None,
‘bandwidth’ : 0,
‘cache_openers’: True,
‘checkfunc’ : None,
‘close_connection’: 0,
‘copy_local’ : 0,
‘data’ : None,
‘default_speed’: 1000000.0,
‘delegate’ : None,
‘failfunc’ : <function _do_raise at 0x7fdab37809b0>,
‘failure_callback’: None,
‘ftp_disable_epsv’: False,
‘ftp_headers’ : None,
‘half_life’ : 2592000,
‘http_headers’ : None,
‘interrupt_callback’: None,
‘ip_resolve’ : None,
‘keepalive’ : 1,
‘libproxy’ : False,
‘max_connections’: 5,
‘max_header_size’: 2097152,
‘minrate’ : None,
‘mirror_group’ : None,
‘multi_progress_obj’: None,
‘no_cache’ : False,
‘opener’ : None,
‘password’ : None,
‘prefix’ : None,
‘progress_obj’ : None,
‘proxies’ : None,
‘proxy’ : None,
‘quote’ : None,
‘range’ : None,
‘reget’ : None,
‘retry’ : None,
‘retry_no_cache’: False,
‘retrycodes’ : [-1, 2, 4, 5, 6, 7],
‘size’ : None,
‘ssl_ca_cert’ : None,
‘ssl_cert’ : None,
‘ssl_cert_type’: ‘PEM’,
‘ssl_context’ : None,
‘ssl_key’ : None,
‘ssl_key_pass’ : None,
‘ssl_key_type’ : ‘PEM’,
‘ssl_verify_host’: True,
‘ssl_verify_peer’: True,
‘text’ : None,
‘throttle’ : 1.0,
‘timedhosts’ : ‘/var/cache/yum/x86_64/$releasever/timedhosts’,
‘timeout’ : 300,
‘urlparser’ : <urlgrabber.grabber.URLParser instance at 0x7fdab376cea8>,
‘user_agent’ : ‘urlgrabber/3.10 yum/3.4.3’,
‘username’ : None,
}
}
2019-07-23 09:03:16,637 attempt 1/None: file:///etc/yum.conf
2019-07-23 09:03:16,638 success
2019-07-23 09:03:16,640 combined options: {
‘delegate’ : {
‘async’ : None,
‘bandwidth’ : 0,
‘cache_openers’: True,
‘checkfunc’ : None,
‘close_connection’: 0,
‘copy_local’ : 0,
‘data’ : None,
‘default_speed’: 1000000.0,
‘delegate’ : None,
‘failfunc’ : <function _do_raise at 0x7fdab37809b0>,
‘failure_callback’: None,
‘ftp_disable_epsv’: False,
‘ftp_headers’ : None,
‘half_life’ : 2592000,
‘http_headers’ : None,
‘interrupt_callback’: None,
‘ip_resolve’ : None,
‘keepalive’ : 1,
‘libproxy’ : False,
‘max_connections’: 5,
‘max_header_size’: 2097152,
‘minrate’ : None,
‘mirror_group’ : None,
‘multi_progress_obj’: None,
‘no_cache’ : False,
‘opener’ : None,
‘password’ : None,
‘prefix’ : None,
‘progress_obj’ : None,
‘proxies’ : None,
‘proxy’ : None,
‘quote’ : None,
‘range’ : None,
‘reget’ : None,
‘retry’ : None,
‘retry_no_cache’: False,
‘retrycodes’ : [-1, 2, 4, 5, 6, 7],
‘size’ : None,
‘ssl_ca_cert’ : None,
‘ssl_cert’ : None,
‘ssl_cert_type’: ‘PEM’,
‘ssl_context’ : None,
‘ssl_key’ : None,
‘ssl_key_pass’ : None,
‘ssl_key_type’ : ‘PEM’,
‘ssl_verify_host’: True,
‘ssl_verify_peer’: True,
‘text’ : None,
‘throttle’ : 1.0,
‘timedhosts’ : ‘/var/cache/yum/x86_64/$releasever/timedhosts’,
‘timeout’ : 300,
‘urlparser’ : <urlgrabber.grabber.URLParser instance at 0x7fdab376cea8>,
‘user_agent’ : ‘urlgrabber/3.10 yum/3.4.3’,
‘username’ : None,
}
}
2019-07-23 09:03:16,641 attempt 1/None: file:///etc/yum.repos.d/CentOS-Sources.repo
2019-07-23 09:03:16,641 success
2019-07-23 09:03:16,650 combined options: {
‘delegate’ : {
‘async’ : None,
‘bandwidth’ : 0,
‘cache_openers’: True,
‘checkfunc’ : None,
‘close_connection’: 0,
‘copy_local’ : 0,
‘data’ : None,
‘default_speed’: 1000000.0,
‘delegate’ : None,
‘failfunc’ : <function _do_raise at 0x7fdab37809b0>,
‘failure_callback’: None,
‘ftp_disable_epsv’: False,
‘ftp_headers’ : None,
‘half_life’ : 2592000,
‘http_headers’ : None,
‘interrupt_callback’: None,
‘ip_resolve’ : None,
‘keepalive’ : 1,
‘libproxy’ : False,
‘max_connections’: 5,
‘max_header_size’: 2097152,
‘minrate’ : None,
‘mirror_group’ : None,
‘multi_progress_obj’: None,
‘no_cache’ : False,
‘opener’ : None,
‘password’ : None,
‘prefix’ : None,
‘progress_obj’ : None,
‘proxies’ : None,
‘proxy’ : None,
‘quote’ : None,
‘range’ : None,
‘reget’ : None,
‘retry’ : None,
‘retry_no_cache’: False,
‘retrycodes’ : [-1, 2, 4, 5, 6, 7],
‘size’ : None,
‘ssl_ca_cert’ : None,
‘ssl_cert’ : None,
‘ssl_cert_type’: ‘PEM’,
‘ssl_context’ : None,
‘ssl_key’ : None,
‘ssl_key_pass’ : None,
‘ssl_key_type’ : ‘PEM’,
‘ssl_verify_host’: True,
‘ssl_verify_peer’: True,
‘text’ : None,
‘throttle’ : 1.0,
‘timedhosts’ : ‘/var/cache/yum/x86_64/$releasever/timedhosts’,
‘timeout’ : 300,
‘urlparser’ : <urlgrabber.grabber.URLParser instance at 0x7fdab376cea8>,
‘user_agent’ : ‘urlgrabber/3.10 yum/3.4.3’,
‘username’ : None,
}
}
2019-07-23 09:03:16,651 attempt 1/None: file:///etc/yum.repos.d/Sangoma-Base.repo
2019-07-23 09:03:16,651 success
2019-07-23 09:03:16,660 combined options: {
‘delegate’ : {
‘async’ : None,
‘bandwidth’ : 0,
‘cache_openers’: True,
‘checkfunc’ : None,
‘close_connection’: 0,
‘copy_local’ : 0,
‘data’ : None,
‘default_speed’: 1000000.0,
‘delegate’ : None,
‘failfunc’ : <function _do_raise at 0x7fdab37809b0>,
‘failure_callback’: None,
‘ftp_disable_epsv’: False,
‘ftp_headers’ : None,
‘half_life’ : 2592000,
‘http_headers’ : None,
‘interrupt_callback’: None,
‘ip_resolve’ : None,
‘keepalive’ : 1,
‘libproxy’ : False,
‘max_connections’: 5,
‘max_header_size’: 2097152,
‘minrate’ : None,
‘mirror_group’ : None,
‘multi_progress_obj’: None,
‘no_cache’ : False,
‘opener’ : None,
‘password’ : None,
‘prefix’ : None,
‘progress_obj’ : None,
‘proxies’ : None,
‘proxy’ : None,
‘quote’ : None,
‘range’ : None,
‘reget’ : None,
‘retry’ : None,
‘retry_no_cache’: False,
‘retrycodes’ : [-1, 2, 4, 5, 6, 7],
‘size’ : None,
‘ssl_ca_cert’ : None,
‘ssl_cert’ : None,
‘ssl_cert_type’: ‘PEM’,
‘ssl_context’ : None,
‘ssl_key’ : None,
‘ssl_key_pass’ : None,
‘ssl_key_type’ : ‘PEM’,
‘ssl_verify_host’: True,
‘ssl_verify_peer’: True,
‘text’ : None,
‘throttle’ : 1.0,
‘timedhosts’ : ‘/var/cache/yum/x86_64/$releasever/timedhosts’,
‘timeout’ : 300,
‘urlparser’ : <urlgrabber.grabber.URLParser instance at 0x7fdab376cea8>,
‘user_agent’ : ‘urlgrabber/3.10 yum/3.4.3’,
‘username’ : None,
}
}
2019-07-23 09:03:16,660 attempt 1/None: file:///etc/yum.repos.d/Sangoma-CR.repo
2019-07-23 09:03:16,661 success
2019-07-23 09:03:16,664 combined options: {
‘delegate’ : {
‘async’ : None,
‘bandwidth’ : 0,
‘cache_openers’: True,
‘checkfunc’ : None,
‘close_connection’: 0,
‘copy_local’ : 0,
‘data’ : None,
‘default_speed’: 1000000.0,
‘delegate’ : None,
‘failfunc’ : <function _do_raise at 0x7fdab37809b0>,
‘failure_callback’: None,
‘ftp_disable_epsv’: False,
‘ftp_headers’ : None,
‘half_life’ : 2592000,
‘http_headers’ : None,
‘interrupt_callback’: None,
‘ip_resolve’ : None,
‘keepalive’ : 1,
‘libproxy’ : False,
‘max_connections’: 5,
‘max_header_size’: 2097152,
‘minrate’ : None,
‘mirror_group’ : None,
‘multi_progress_obj’: None,
‘no_cache’ : False,
‘opener’ : None,
‘password’ : None,
‘prefix’ : None,
‘progress_obj’ : None,
‘proxies’ : None,
‘proxy’ : None,
‘quote’ : None,
‘range’ : None,
‘reget’ : None,
‘retry’ : None,
‘retry_no_cache’: False,
‘retrycodes’ : [-1, 2, 4, 5, 6, 7],
‘size’ : None,
‘ssl_ca_cert’ : None,
‘ssl_cert’ : None,
‘ssl_cert_type’: ‘PEM’,
‘ssl_context’ : None,
‘ssl_key’ : None,
‘ssl_key_pass’ : None,
‘ssl_key_type’ : ‘PEM’,
‘ssl_verify_host’: True,
‘ssl_verify_peer’: True,
‘text’ : None,
‘throttle’ : 1.0,
‘timedhosts’ : ‘/var/cache/yum/x86_64/$releasever/timedhosts’,
‘timeout’ : 300,
‘urlparser’ : <urlgrabber.grabber.URLParser instance at 0x7fdab376cea8>,
‘user_agent’ : ‘urlgrabber/3.10 yum/3.4.3’,
‘username’ : None,
}
}
2019-07-23 09:03:16,665 attempt 1/None: file:///etc/yum.repos.d/Sangoma-Commercial.repo
2019-07-23 09:03:16,665 success
2019-07-23 09:03:16,667 combined options: {
‘delegate’ : {
‘async’ : None,
‘bandwidth’ : 0,
‘cache_openers’: True,
‘checkfunc’ : None,
‘close_connection’: 0,
‘copy_local’ : 0,
‘data’ : None,
‘default_speed’: 1000000.0,
‘delegate’ : None,
‘failfunc’ : <function _do_raise at 0x7fdab37809b0>,
‘failure_callback’: None,
‘ftp_disable_epsv’: False,
‘ftp_headers’ : None,
‘half_life’ : 2592000,
‘http_headers’ : None,
‘interrupt_callback’: None,
‘ip_resolve’ : None,
‘keepalive’ : 1,
‘libproxy’ : False,
‘max_connections’: 5,
‘max_header_size’: 2097152,
‘minrate’ : None,
‘mirror_group’ : None,
‘multi_progress_obj’: None,
‘no_cache’ : False,
‘opener’ : None,
‘password’ : None,
‘prefix’ : None,
‘progress_obj’ : None,
‘proxies’ : None,
‘proxy’ : None,
‘quote’ : None,
‘range’ : None,
‘reget’ : None,
‘retry’ : None,
‘retry_no_cache’: False,
‘retrycodes’ : [-1, 2, 4, 5, 6, 7],
‘size’ : None,
‘ssl_ca_cert’ : None,
‘ssl_cert’ : None,
‘ssl_cert_type’: ‘PEM’,
‘ssl_context’ : None,
‘ssl_key’ : None,
‘ssl_key_pass’ : None,
‘ssl_key_type’ : ‘PEM’,
‘ssl_verify_host’: True,
‘ssl_verify_peer’: True,
‘text’ : None,
‘throttle’ : 1.0,
‘timedhosts’ : ‘/var/cache/yum/x86_64/$releasever/timedhosts’,
‘timeout’ : 300,
‘urlparser’ : <urlgrabber.grabber.URLParser instance at 0x7fdab376cea8>,
‘user_agent’ : ‘urlgrabber/3.10 yum/3.4.3’,
‘username’ : None,
}
}
2019-07-23 09:03:16,668 attempt 1/None: file:///etc/yum.repos.d/Sangoma-Media.repo
2019-07-23 09:03:16,668 success
2019-07-23 09:03:16,671 combined options: {
‘delegate’ : {
‘async’ : None,
‘bandwidth’ : 0,
‘cache_openers’: True,
‘checkfunc’ : None,
‘close_connection’: 0,
‘copy_local’ : 0,
‘data’ : None,
‘default_speed’: 1000000.0,
‘delegate’ : None,
‘failfunc’ : <function _do_raise at 0x7fdab37809b0>,
‘failure_callback’: None,
‘ftp_disable_epsv’: False,
‘ftp_headers’ : None,
‘half_life’ : 2592000,
‘http_headers’ : None,
‘interrupt_callback’: None,
‘ip_resolve’ : None,
‘keepalive’ : 1,
‘libproxy’ : False,
‘max_connections’: 5,
‘max_header_size’: 2097152,
‘minrate’ : None,
‘mirror_group’ : None,
‘multi_progress_obj’: None,
‘no_cache’ : False,
‘opener’ : None,
‘password’ : None,
‘prefix’ : None,
‘progress_obj’ : None,
‘proxies’ : None,
‘proxy’ : None,
‘quote’ : None,
‘range’ : None,
‘reget’ : None,
‘retry’ : None,
‘retry_no_cache’: False,
‘retrycodes’ : [-1, 2, 4, 5, 6, 7],
‘size’ : None,
‘ssl_ca_cert’ : None,
‘ssl_cert’ : None,
‘ssl_cert_type’: ‘PEM’,
‘ssl_context’ : None,
‘ssl_key’ : None,
‘ssl_key_pass’ : None,
‘ssl_key_type’ : ‘PEM’,
‘ssl_verify_host’: True,
‘ssl_verify_peer’: True,
‘text’ : None,
‘throttle’ : 1.0,
‘timedhosts’ : ‘/var/cache/yum/x86_64/$releasever/timedhosts’,
‘timeout’ : 300,
‘urlparser’ : <urlgrabber.grabber.URLParser instance at 0x7fdab376cea8>,
‘user_agent’ : ‘urlgrabber/3.10 yum/3.4.3’,
‘username’ : None,
}
}
2019-07-23 09:03:16,672 attempt 1/None: file:///etc/yum.repos.d/Sangoma-Sources.repo
2019-07-23 09:03:16,672 success
2019-07-23 09:03:16,679 combined options: {
‘delegate’ : {
‘async’ : None,
‘bandwidth’ : 0,
‘cache_openers’: True,
‘checkfunc’ : None,
‘close_connection’: 0,
‘copy_local’ : 0,
‘data’ : None,
‘default_speed’: 1000000.0,
‘delegate’ : None,
‘failfunc’ : <function _do_raise at 0x7fdab37809b0>,
‘failure_callback’: None,
‘ftp_disable_epsv’: False,
‘ftp_headers’ : None,
‘half_life’ : 2592000,
‘http_headers’ : None,
‘interrupt_callback’: None,
‘ip_resolve’ : None,
‘keepalive’ : 1,
‘libproxy’ : False,
‘max_connections’: 5,
‘max_header_size’: 2097152,
‘minrate’ : None,
‘mirror_group’ : None,
‘multi_progress_obj’: None,
‘no_cache’ : False,
‘opener’ : None,
‘password’ : None,
‘prefix’ : None,
‘progress_obj’ : None,
‘proxies’ : None,
‘proxy’ : None,
‘quote’ : None,
‘range’ : None,
‘reget’ : None,
‘retry’ : None,
‘retry_no_cache’: False,
‘retrycodes’ : [-1, 2, 4, 5, 6, 7],
‘size’ : None,
‘ssl_ca_cert’ : None,
‘ssl_cert’ : None,
‘ssl_cert_type’: ‘PEM’,
‘ssl_context’ : None,
‘ssl_key’ : None,
‘ssl_key_pass’ : None,
‘ssl_key_type’ : ‘PEM’,
‘ssl_verify_host’: True,
‘ssl_verify_peer’: True,
‘text’ : None,
‘throttle’ : 1.0,
‘timedhosts’ : ‘/var/cache/yum/x86_64/$releasever/timedhosts’,
‘timeout’ : 300,
‘urlparser’ : <urlgrabber.grabber.URLParser instance at 0x7fdab376cea8>,
‘user_agent’ : ‘urlgrabber/3.10 yum/3.4.3’,
‘username’ : None,
}
}
2019-07-23 09:03:16,679 attempt 1/None: file:///etc/yum.repos.d/Sangoma-fasttrack.repo
2019-07-23 09:03:16,680 success
2019-07-23 09:03:16,687 combined options: {
‘bandwidth’ : 0,
‘ftp_disable_epsv’: False,
‘http_headers’ : (),
‘ip_resolve’ : None,
‘keepalive’ : True,
‘minrate’ : 0,
‘password’ : None,
‘proxies’ : None,
‘retry’ : 10,
‘ssl_ca_cert’ : None,
‘ssl_cert’ : None,
‘ssl_key’ : None,
‘ssl_verify_host’: True,
‘ssl_verify_peer’: True,
‘throttle’ : 0,
‘timeout’ : 30.0,
‘user_agent’ : ‘urlgrabber/3.10 yum/3.4.3’,
‘username’ : None,
‘delegate’ : {
‘async’ : None,
‘bandwidth’ : 0,
‘cache_openers’: True,
‘checkfunc’ : None,
‘close_connection’: 0,
‘copy_local’ : 0,
‘data’ : None,
‘default_speed’: 1000000.0,
‘delegate’ : None,
‘failfunc’ : <function _do_raise at 0x7fdab37809b0>,
‘failure_callback’: None,
‘ftp_disable_epsv’: False,
‘ftp_headers’ : None,
‘half_life’ : 2592000,
‘http_headers’ : None,
‘interrupt_callback’: None,
‘ip_resolve’ : None,
‘keepalive’ : 1,
‘libproxy’ : False,
‘max_connections’: 5,
‘max_header_size’: 2097152,
‘minrate’ : None,
‘mirror_group’ : None,
‘multi_progress_obj’: None,
‘no_cache’ : False,
‘opener’ : None,
‘password’ : None,
‘prefix’ : None,
‘progress_obj’ : None,
‘proxies’ : None,
‘proxy’ : None,
‘quote’ : None,
‘range’ : None,
‘reget’ : None,
‘retry’ : None,
‘retry_no_cache’: False,
‘retrycodes’ : [-1, 2, 4, 5, 6, 7],
‘size’ : None,
‘ssl_ca_cert’ : None,
‘ssl_cert’ : None,
‘ssl_cert_type’: ‘PEM’,
‘ssl_context’ : None,
‘ssl_key’ : None,
‘ssl_key_pass’ : None,
‘ssl_key_type’ : ‘PEM’,
‘ssl_verify_host’: True,
‘ssl_verify_peer’: True,
‘text’ : None,
‘throttle’ : 1.0,
‘timedhosts’ : ‘/var/cache/yum/x86_64/$releasever/timedhosts’,
‘timeout’ : 300,
‘urlparser’ : <urlgrabber.grabber.URLParser instance at 0x7fdab376cea8>,
‘user_agent’ : ‘urlgrabber/3.10 yum/3.4.3’,
‘username’ : None,
}
}
2019-07-23 09:03:16,688 attempt 1/10: http://mirrorlist.sangoma.net/?release=$releasever&arch=x86_64&repo=os&dist=$dist
2019-07-23 09:03:46,689 exception: [Errno 12] Timeout on http://mirrorlist.sangoma.net/?release=$releasever&arch=x86_64&repo=os&dist=$dist: (28, ‘Connection timed out after 30000 milliseconds’)
2019-07-23 09:03:46,689 retrycode (12) not in list [-1, 2, 4, 5, 6, 7], re-raising


(Shahin Nazir) #8

Hi @ditkar
My recommendation pls check below wiki pages for upgrade FreePBX Distro.
https://wiki.freepbx.org/display/FD/Updating+FreePBX+Official+Distro
https://wiki.freepbx.org/display/PPS/Cleaning+up+files+from+a+RPM+update

Thanks.


(Matteo Bignotti) #9

Hey there,

what is the output of

wget -O - “http://mirrorlist.sangoma.net/?release=7&arch=x86_64&repo=os&dist=%24dist

host mirrorlist.sangoma.net

ping mirrorlist.sangoma.net -c 5

and lastly

cat /etc/hosts

netstat -rn

I ask this because it’s reachable from a few locations I have access to and it should work, otherwise there’s maybe a network problem somewhere

thank you :slight_smile:


(United States) #10

Here is the output:

[root@freepbx ~]# wget -O - “http://mirrorlist.sangoma.net/?release=7&arch=x86_64&repo=os&dist=%24dist”
[1] 5648
[2] 5649
[3] 5650
[root@freepbx ~]# “http://mirrorlist.sangoma.net/?release=7: Scheme missing.

[1] Exit 1 wget -O - “http://mirrorlist.sangoma.net/?release=7
[2]- Done arch=x86_64
[3]+ Done repo=os

[root@freepbx ~]# host mirrorlist.sangoma.net
;; connection timed out; no servers could be reached

[root@freepbx ~]# ping mirrorlist.sangoma.net -c 5
ping: mirrorlist.sangoma.net: Temporary failure in name resolution

[root@freepbx ~]# cat /etc/hosts
127.0.0.1 localhost
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 freepbx.sangoma.local
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
172.31.31.200 localhost

[root@freepbx ~]# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 172.31.31.253 0.0.0.0 UG 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
172.31.31.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0

Note: I am able to ping google.com