Forums

Clara
Clara
Offline
Resolved
0 votes
I wonder if the mirrors are down. The marketplace spits "Cannot find a valid baseurl for repo: clearos-centos-verified" or other repos unreachable.
What I tried:
ping websites from clearOS - OK
rm -rf /var/cache/yum/
yum clean all && yum update
and more + reboots

nothing helped, what else can I try or check?
Thursday, October 21 2021, 01:44 PM
Share this post:

Accepted Answer

Thursday, October 21 2021, 05:18 PM - #Permalink
Resolved
0 votes
So it is not the certificates issue. I'll need to do some more detailed troubleshooting. What version do you have installed ("cat /etc/clearos-release"?

If you are running"ClearOS release 7.9.1 (Final)", can you, please download https://mirror1-newyork.clearos.com/clearos/7/updates/x86_64/RPMS/third_party/kmod-r8168-8.049.02-1.clearos7_9.x86_64.rpm and https://mirror1-newyork.clearos.com/clearos/7/updates/x86_64/RPMS/third_party/kmod-r8169-6.020.00-3.1.clearos7_7.x86_64.rpm then put them somewhere in the server e.g /root. Then navigate to there, do a:
yum install kmod-r816* --disablerepo=*
Then reboot. It will give a better NIC driver than the one you have.

If you have a really old version of ClearOS you may do better to reinstall, but you still need to do the NIC driver update. Alternatively try:
yum update app-base --enablerepo=clearos-updates,clearos,clearos-centos,clearos-centos-updates
rm -rf /var/cache/yum/
yum update app-base --enablerepo=clearos-updates,clearos,clearos-centos,clearos-centos-updates


What do you get from:
curl https://secure.clearcenter.com
The reply is currently minimized Show
Responses (7)
  • Accepted Answer

    Clara
    Clara
    Offline
    Thursday, October 21 2021, 07:13 PM - #Permalink
    Resolved
    0 votes
    My version is 7.9.1 (Final) and I followed your recommendation insalling there two packages offline with
    yum install kmod-r816* --disablerepo=*
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, October 21 2021, 06:03 PM - #Permalink
    Resolved
    0 votes
    Out of curiosity, which bit fixed it? The output from the curl command is fine and as expected.
    The reply is currently minimized Show
  • Accepted Answer

    Clara
    Clara
    Offline
    Thursday, October 21 2021, 05:54 PM - #Permalink
    Resolved
    0 votes
    Heureka! This actually works. My installation is a fresh bare metal one.

    curl https://secure.clearcenter.com gives.

    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>302 Found</title>
    </head><body>
    <h1>Found</h1>
    <p>The document has moved <a href="/https://secure.clearcenter.com/portal">here</a>.</p>
    </body></html>
    The reply is currently minimized Show
  • Accepted Answer

    Clara
    Clara
    Offline
    Thursday, October 21 2021, 04:50 PM - #Permalink
    Resolved
    0 votes
    yum update --disablerepo=* --enablerepo=clearos-infra

    runs without error

    after that I went to the marketplace and intended to install "Flexshare" but got
    Exception: Cannot find a valid baseurl for repo: clearos-centos-verified
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, October 21 2021, 03:39 PM - #Permalink
    Resolved
    0 votes
    Long shot. Please can you do a:
    yum update --disablerepo=* --enablerepo=clearos-infra
    Then see if you can update?
    The reply is currently minimized Show
  • Accepted Answer

    Clara
    Clara
    Offline
    Thursday, October 21 2021, 03:19 PM - #Permalink
    Resolved
    0 votes
    I'm not behind a proxy. The PC I access clearOS from updates just fine.

    grep IF /etc/clearos/network.conf

    EXTIF="enp3s0"
    LANIF=""
    DMZIF=""
    HOTIF=""

    ifconfig | grep '^\S' -A1

    enp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
    inet 192.168.18.99 netmask 255.255.255.0 broadcast 192.168.18.255
    --
    lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
    inet 127.0.0.1 netmask 255.0.0.0

    lspci -k | grep Eth -A 3

    03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
    Subsystem: Intel Corporation NUC Kit DN2820FYKH
    Kernel driver in use: r8169
    Kernel modules: r8169
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, October 21 2021, 03:10 PM - #Permalink
    Resolved
    0 votes
    They are working for me. (BTW no point in doing a "yum clean all" after an "rm -rf /var/cache/yum/" as the first command cleans all repos including the disabled ones and private ones. The "yum clean all" only cleans enabled repos.

    Are you by any chance behind an upstream proxy? If so, you will need to enter its settings in the IP Settings screen for your external interface.

    What is the output from:
    grep IF /etc/clearos/network.conf
    ifconfig | grep '^\S' -A1
    lspci -k | grep Eth -A 3
    The reply is currently minimized Show
Your Reply