Koozali.org: home of the SME Server

IPv6 Issues with yum

Offline mterrasson

  • 11
  • +0/-0
IPv6 Issues with yum
« on: July 09, 2019, 03:37:37 PM »
Hi all,

I just updated an sme server 8 to sme server 9.2, all went well except that yum seems to prefer ipv6 over ipv4. I can't find a way on contribs.org to disable ipv6 support, have I missed something ?


Result of yum update :
Code: [Select]
root@stjo-peda01:~# yum update
Modules complémentaires chargés : fastestmirror, smeserver
Configuration du processus de mise à jour
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was
14: PYCURL ERROR 7 - "Failed to connect to 2001:4178:5:200::10: Le réseau n'est pas accessible"
Erreur : Cannot find a valid baseurl for repo: base

Best regards,
Mathieu Terrasson

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: IPv6 Issues with yum
« Reply #1 on: July 09, 2019, 07:00:27 PM »
It shouldn't unless you have enabled IPv6 in your server somehow. SME only uses IPv4 by default.

Post the output of these please.

Code: [Select]
ifconfig |grep inet 6
or just

Code: [Select]
ifconfig
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline mterrasson

  • 11
  • +0/-0
Re: IPv6 Issues with yum
« Reply #2 on: July 09, 2019, 07:59:38 PM »
Thank you for your help.

Here is the outpout :
Code: [Select]
root@stjo-peda01:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0C:29:4C:06:B3
          inet adr:10.0.0.202  Bcast:10.0.255.255  Masque:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:107689156 errors:0 dropped:0 overruns:0 frame:0
          TX packets:26890993 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000
          RX bytes:154564481013 (143.9 GiB)  TX bytes:1821490231 (1.6 GiB)

eth1      Link encap:Ethernet  HWaddr 00:0C:29:4C:06:BD
          inet adr:192.168.1.12  Bcast:192.168.1.255  Masque:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1574 errors:0 dropped:0 overruns:0 frame:0
          TX packets:579 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000
          RX bytes:160286 (156.5 KiB)  TX bytes:42392 (41.3 KiB)

lo        Link encap:Boucle locale
          inet adr:127.0.0.1  Masque:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:565 errors:0 dropped:0 overruns:0 frame:0
          TX packets:565 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0
          RX bytes:59999 (58.5 KiB)  TX bytes:59999 (58.5 KiB)

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: IPv6 Issues with yum
« Reply #3 on: July 09, 2019, 08:06:14 PM »
Hmmm. Reminds me of this which appeared to be an IPv6 issue but wasn't.

https://forums.contribs.org/index.php/topic,53609.msg278709.html#msg278709

Wondering if it is just a mirror error?

Check the wiki on resetting the fastest mirror list and cleaning the yum cache.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline mterrasson

  • 11
  • +0/-0
Re: IPv6 Issues with yum
« Reply #4 on: July 10, 2019, 11:25:00 AM »
Hi,

This was not IPv6 related. After a lot of tests, I found out that the server could not access internet on port 80. I couldn't figure out why. It seems it was linked to my router, after reseting its configuration, everything is fine.

I thank you for your help and celerity,
Best regards
Mathieu

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: IPv6 Issues with yum
« Reply #5 on: July 10, 2019, 11:37:13 AM »
Cool... !!

Quote
Celerity

That's a new one on me!!

In over 50 years I have never heard an Englishman use that :-)

...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline mterrasson

  • 11
  • +0/-0
Re: IPv6 Issues with yum
« Reply #6 on: July 10, 2019, 01:21:53 PM »
Cool... !!

That's a new one on me!!

In over 50 years I have never heard an Englishman use that :-)
As a frenchman, I like to use it :)

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: IPv6 Issues with yum
« Reply #7 on: July 10, 2019, 04:12:51 PM »
As a frenchman, I like to use it :)

You'll confuse all the native English speakers, and they in turn will all instantly know you are not English (funnily enough my Australian mate said EXACTLY the same thing !!!)

We BOTH had to look it up.....

Polemic and pedagology are another couple never really used by native speakers that I see quite often :-)
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline TerryF

  • grumpy old man
  • *
  • 1,821
  • +6/-0
Re: IPv6 Issues with yum
« Reply #8 on: July 11, 2019, 03:21:07 AM »
:-)
--
qui scribit bis legit