Page 1 of 1
$MIRRORLIST error.Can't find mirrorserver

Posted:
Oct 10th, '14, 06:33
by janpihlgren
I'm running VMware Workstation 10 on Mageia 4 with the latest updates.
In VMware Workstation I'm running Mageia 5 Alpha 2.
When I try to update I get the following messages:
Serious error.
A serrious error had occured: couldn't find any mirror server from mirrorlist $MIRRORLIST
My question are:
Is there a way to correct this error?
How do I correct it?
Re: $MIRRORLIST error.Can't find mirrorserver

Posted:
Oct 10th, '14, 10:17
by martinw
Report it as a bug? That's the purpose of alpha/beta releases, after all. But might be worth waiting for beta 1 (which is due out soon), in case it has been fixed already.
You can probably work round this by specifying a mirror manually. A list of mirrors can be obtained at
http://mirrors.mageia.org/distrib. I do it from the command line like this:
- Code: Select all
urpmi.addmedia --mirrorlist ftp://ftp.mirrorservice.org/pub/mageia/distrib/cauldron/x86_64 "Core Release" media/core/release --update
Re: $MIRRORLIST error.Can't find mirrorserver

Posted:
Oct 10th, '14, 13:00
by janpihlgren
Thanks for replay.Even that the answer doesn't solved the problem it gave me a hit where to search.
My search gave as result that the internet doesn't work for me in Mageia 5 Alpha. It works with Mageia 4.
So I have to wait for Mageia 5 Beta and hope it will run OK then.
Thanks.
Re: $MIRRORLIST error.Can't find mirrorserver

Posted:
Oct 11th, '14, 09:40
by xboxboy
As I've only learnt recently, you should manually add known mirrors. I usually add them through MCC.
Re: $MIRRORLIST error.Can't find mirrorserver

Posted:
Oct 11th, '14, 09:45
by janpihlgren
That's not the problem.
I already have added all known mirrors. But the problem was that the program couldn't find them because of lack of internetconnection.
Thanks anyway.
Re: $MIRRORLIST error.Can't find mirrorserver

Posted:
Oct 12th, '14, 07:39
by janpihlgren
I have now found the reason why I can't get the MIRRORSERVER.
It depends on the kernel 3.17.0 (and 3.17.0.rc6) that don't connect to internet.
When I use kernel 3.15.0 it connects to internet and I can update Mageia 5 Alpha 2.
Re: $MIRRORLIST error.Can't find mirrorserver

Posted:
Oct 12th, '14, 11:00
by doktor5000
Did you also check WHY the newer kernel doesn't establish a network connection?
At least please provide the output of the following commands:
- Code: Select all
lspcidrake -v | grep -i net
ps -ef | grep -v grep | grep -ie net -e wpa
and, as root:
- Code: Select all
ifconfig -a
netstat -rn
journalctl -b -u network --no-pager -a
Re: $MIRRORLIST error.Can't find mirrorserver

Posted:
Oct 12th, '14, 11:25
by janpihlgren
Here it is:
[jan@localhost ~]$ lspcidrake -v | grep -i net
pcnet32 : Advanced Micro Devices, Inc. [AMD]|79c970 [PCnet32 LANCE] [NETWORK_ETHERNET] (vendor:1022 device:2000) (rev: 10)
[jan@localhost ~]$
[jan@localhost ~]$ ps -ef | grep -v grep | grep -ie net -e wpa
root 12 2 0 11:08 ? 00:00:00 [netns]
jan 3423 2852 1 11:09 ? 00:00:02 /usr/bin/perl /usr/bin/net_applet
[jan@localhost ~]$
eno16777736: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.16.215.133 netmask 255.255.255.0 broadcast 172.16.215.255
ether 00:0c:29:3a:4c:aa txqueuelen 1000 (Ethernet)
RX packets 8 bytes 1048 (1.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 14 bytes 2380 (2.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 19 base 0x2000
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
loop txqueuelen 0 (Local Loopback)
RX packets 80 bytes 7360 (7.1 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 80 bytes 7360 (7.1 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
[root@localhost jan]# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 172.16.215.2 0.0.0.0 UG 0 0 0 eno16777736
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eno16777736
172.16.215.0 0.0.0.0 255.255.255.0 U 0 0 0 eno16777736
[root@localhost jan]#
[root@localhost jan]# journalctl -b -u network --no-pager -a
-- Logs begin at tor 2014-09-25 14:41:44 CEST, end at sön 2014-10-12 11:15:08 CEST. --
okt 12 11:08:45 localhost.localdomain systemd-sysctl[767]: Overwriting earlier assignment of kernel/sysrq in file '/etc/sysctl.d/51-alt-sysrq.conf'.
okt 12 11:08:45 localhost.localdomain systemd-sysctl[767]: Overwriting earlier assignment of net/ipv4/icmp_ignore_bogus_error_responses in file '/etc/sysctl.d/99-sysctl.conf'.
okt 12 11:08:45 localhost.localdomain systemd-sysctl[767]: Overwriting earlier assignment of net/ipv4/conf/all/log_martians in file '/etc/sysctl.d/99-sysctl.conf'.
okt 12 11:08:45 localhost.localdomain network[748]: Sätter startad loopback-gränssnittet: [ OK ]
okt 12 11:08:46 localhost.localdomain ifplugd(eno16777736)[880]: ifplugd 0.28 initializing.
okt 12 11:08:46 localhost.localdomain ifplugd(eno16777736)[880]: Using interface eno16777736/00:0C:29:3A:4C:AA with driver <pcnet32> (version: 1.35)
okt 12 11:08:46 localhost.localdomain ifplugd(eno16777736)[880]: Using detection mode: SIOCETHTOOL
okt 12 11:08:46 localhost.localdomain ifplugd(eno16777736)[880]: Initialization complete, link beat detected.
okt 12 11:08:46 localhost.localdomain ifplugd(eno16777736)[880]: Executing '/etc/ifplugd/ifplugd.action eno16777736 up'.
okt 12 11:08:49 localhost.localdomain network[748]: Sätter startad gränssnittet eno16777736: [ OK ]
okt 12 11:08:52 localhost.localdomain dhclient[953]: DHCPDISCOVER on eno16777736 to 255.255.255.255 port 67 interval 4
okt 12 11:08:54 localhost.localdomain dhclient[953]: DHCPREQUEST on eno16777736 to 255.255.255.255 port 67
okt 12 11:08:54 localhost.localdomain dhclient[953]: DHCPOFFER from 172.16.215.254
okt 12 11:08:54 localhost.localdomain dhclient[953]: DHCPACK from 172.16.215.254
okt 12 11:08:57 localhost.localdomain NET[1336]: /sbin/dhclient-script : updated /etc/resolv.conf
okt 12 11:08:57 localhost.localdomain dhclient[953]: bound to 172.16.215.133 -- renewal in 718 seconds.
okt 12 11:08:57 localhost.localdomain ifplugd(eno16777736)[880]: client: Determining IP information for eno16777736... done.
okt 12 11:08:57 localhost.localdomain ifplugd(eno16777736)[880]: Program executed successfully.
okt 12 11:08:58 localhost.localdomain network[748]: Sätter startad gränssnittet ens33: FEL : [/etc/sysconfig/network-scripts/ifup-eth] Device ens33 does not seem to be present, delaying initialization.
okt 12 11:08:58 localhost.localdomain /etc/sysconfig/network-scripts/ifup-eth[1452]: Device ens33 does not seem to be present, delaying initialization.
okt 12 11:08:58 localhost.localdomain network[748]: [ FEL ]
okt 12 11:08:58 localhost.localdomain systemd-sysctl[1467]: Overwriting earlier assignment of kernel/sysrq in file '/etc/sysctl.d/51-alt-sysrq.conf'.
okt 12 11:08:58 localhost.localdomain systemd-sysctl[1467]: Overwriting earlier assignment of net/ipv4/icmp_ignore_bogus_error_responses in file '/etc/sysctl.d/99-sysctl.conf'.
okt 12 11:08:58 localhost.localdomain systemd-sysctl[1467]: Overwriting earlier assignment of net/ipv4/conf/all/log_martians in file '/etc/sysctl.d/99-sysctl.conf'.
okt 12 11:08:58 localhost.localdomain systemd[1]: network.service: control process exited, code=exited status=1
okt 12 11:08:58 localhost.localdomain systemd[1]: Failed to start LSB: Bring up/down networking.
okt 12 11:08:58 localhost.localdomain systemd[1]: Unit network.service entered failed state.
[root@localhost jan]#
Re: $MIRRORLIST error.Can't find mirrorserver

Posted:
Oct 12th, '14, 17:23
by doktor5000
Looks totally fine, you got an IP adress on the ethernet card assigned via DHCP, and also route to default gateway 172.16.215.2.
Can you please show the output of
- Code: Select all
ping 8.8.8.8
ping www.google.com
cat /etc/resolv.conf
Re: $MIRRORLIST error.Can't find mirrorserver

Posted:
Oct 12th, '14, 18:27
by janpihlgren
Here is the result:
ping 8.8.8.8
......
From 172.16.215.133 icmp_seq=1 Destination Host Unreachable
From 172.16.215.133 icmp_seq=1 Destination Host Unreachable
From 172.16.215.133 icmp_seq=1 Destination Host Unreachable
From 172.16.215.133 icmp_seq=1 Destination Host Unreachable
From 172.16.215.133 icmp_seq=1 Destination Host Unreachable
From 172.16.215.133 icmp_seq=1 Destination Host Unreachable
^CFrom 172.16.215.133 icmp_seq=1 Destination Host Unreachable
--- 8.8.8.8 ping statistics ---
0 packets transmitted, 0 received, +2411 errors
[jan@localhost ~]$ ping
http://www.google.comping: unknown host
http://www.google.com[jan@localhost ~]$
[jan@localhost ~]$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 172.16.215.2
search localdomain
[jan@localhost ~]$