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 (11)
  • Accepted Answer

    ahorli
    ahorli
    Offline
    Tuesday, July 04 2023, 06:22 AM - #Permalink
    Resolved
    1 votes
    Hi,
    it helped me to modify the repo file /etc/yum.repos.d/clearos.repo to use the baseurl and not the mirrorlist
    by commenting out the mirrorlist (#) and activating the baseurl (remove #) for all contained repos

    See this link Link to other post
    Like
    1
    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
  • 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: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, 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

    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

    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, 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

    Norbert
    Norbert
    Offline
    Sunday, July 02 2023, 07:58 PM - #Permalink
    Resolved
    0 votes
    Dear folks

    I am migrating from ClearOS 6 to version 7.
    The new server 7 installed without problems and has also nicely reloaded all files from the network.
    The server 7 runs on VirtualBox. The Ubuntu host has two network cards, which both work in VB in bridge mode.

    The server works perfectly as a rooter in gateway mode for the connected workstations with full access to the internet.

    I wanted to synchronize the two servers with rsync and found that rsync is no longer present under CLEAROS 7.9.
    Yum installing did not work anymore.
    Then after a lot of googling I landed on this page and performed this i.a.:
    .
    .
    [root@welcome ~]# cat /etc/clearos-release
    ClearOS Version 7.9.1 (Final)
    .
    .
    .
    [root@welcome ~]# cd /root
    [root@welcome ~]# yum install kmod-r816* --disablerepo=*
    (Note --> btw. The busy messages came eons too late, only after the function has already been executed).
    [root@welcome ~]# sudo yum update

    Loaded plugins: clearcenter-marketplace, fastestmirror
    ClearCenter Marketplace: fetching repositories...
    Loading mirror speeds from cached hostfile
    Could not retrieve mirrorlist http://mirrorlist.clearos.com/clearos/mirrorlist/clearos-current-os-7 error was14: curl#7 - "Failed connect to mirrorlist.clearos.com:80; No route to host".

    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. ...



    Now im stuck.

    Any ideas for to proceed?

    Thank you!
    The reply is currently minimized Show
  • Accepted Answer

    Monday, July 03 2023, 09:34 AM - #Permalink
    Resolved
    0 votes
    Having the same issue. Worked when it was install to a VM. but not on the box...

    yum repolist all

    ClearCenter Marketplace: fetching repositories...
    Loading mirror speeds from cached hostfile
    Could not retrieve mirrorlist http://mirrorlist.clearos.com/clearos/mirrorlist/clearos-current-os-7 error was
    14: curl#7 - "Failed connect to mirrorlist.clearos.com:80; No route to host"
    Loading mirror speeds from cached hostfile
    Loading mirror speeds from cached hostfile
    Loading mirror speeds from cached hostfile
    Loading mirror speeds from cached hostfile
    Loading mirror speeds from cached hostfile
    Loading mirror speeds from cached hostfile
    Loading mirror speeds from cached hostfile
    Loading mirror speeds from cached hostfile
    Loading mirror speeds from cached hostfile
    Loading mirror speeds from cached hostfile
    repo id repo name status
    centos-extras-unverified/7/x86_64 CentOS-7 - Extras - Unverified disabled
    centos-fasttrack-unverified/7/x86_64 CentOS-7 - fasttrack - Unverified disabled
    centos-sclo-rh-debuginfo-unverified/x86_64 CentOS-7 - SCLo rh Debuginfo disabled
    centos-sclo-rh-source-unverified CentOS-7 - SCLo rh Sources disabled
    centos-sclo-rh-testing-unverified/x86_64 CentOS-7 - SCLo rh Testing disabled
    centos-sclo-rh-unverified/x86_64 CentOS-7 - SCLo rh disabled
    centos-sclo-sclo-debuginfo-unverified/x86_64 CentOS-7 - SCLo sclo Debuginfo disabled
    centos-sclo-sclo-source-unverified CentOS-7 - SCLo sclo Sources disabled
    centos-sclo-sclo-testing-unverified/x86_64 CentOS-7 - SCLo sclo Testing disabled
    centos-sclo-sclo-unverified/x86_64 CentOS-7 - SCLo sclo disabled
    centos-unverified/7/x86_64 CentOS-7 - Base - Unverified disabled
    centos-updates-unverified/7/x86_64 CentOS-7 - Updates - Unverified disabled
    centosplus-unverified/7/x86_64 CentOS-7 - Plus - Unverified disabled
    clearos/7 ClearOS 7 - x86_64 - OS enabled: 0
    clearos-centos/x86_64 CentOS-7 - x86_64 - Base disabled
    clearos-centos-extras/x86_64 CentOS-7 - x86_64 - Extras disabled
    clearos-centos-fasttrack/x86_64 CentOS-7 - x86_64 - fasttrack disabled
    clearos-centos-sclo-rh/x86_64 CentOS-7 - x86_64 - CentOS Software Collections enabled: 0
    clearos-centos-updates/x86_64 CentOS-7 - x86_64 - Updates disabled
    clearos-centos-verified ClearOS 7 - x86_64 - CentOS Verified enabled: 0
    clearos-centosplus/x86_64 CentOS-7 - x86_64 - Plus disabled
    clearos-contribs/7 ClearOS 7 - x86_64 - Contribs enabled: 0
    clearos-contribs-testing/7 ClearOS 7 - x86_64 - Contribs (Testing) disabled
    clearos-epel/7/x86_64 EPEL 7 - x86_64 disabled
    clearos-epel-verified ClearOS 7 - x86_64 - EPEL Verified enabled: 0
    clearos-fast-updates/x86_64 ClearOS 7 - x86_64 - Fast Updates enabled: 0
    clearos-infra/7 ClearOS 7 - x86_64 - Infrastructure enabled: 0
    clearos-infra-testing/7 ClearOS 7 - x86_64 - Infrastructure (Testing) disabled
    clearos-paid ClearOS 7 - x86_64 - Paid enabled: 0
    clearos-paid-testing ClearOS 7 - x86_64 - Paid Testing disabled
    clearos-updates/7 ClearOS 7 - x86_64 - Updates disabled
    clearos-updates-testing/7 ClearOS 7 - x86_64 - Updates (Testing) disabled
    clearos-verified ClearOS 7 - x86_64 - Verified Updates enabled: 0
    epel-testing-unverified/7/x86_64 EPEL 7 - Testing - x86_64 - Unverified disabled
    epel-unverified/7/x86_64 EPEL 7 - x86_64 - Unverified disabled
    private-clearcenter-verified-updates ClearOS 7 Verified Updates enabled: 0
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, July 04 2023, 12:15 PM - #Permalink
    Resolved
    0 votes
    ahorli wrote:

    Hi,
    it helped me to modify the repo file /etc/yum.repos.d/clearos.repo to use the baseurl and not the mirrorlist
    by commenting out the mirrorlist (#) and activating the baseurl (remove #) for all contained repos

    See this link Link to other post


    Thank you that worked! big Thumbs up!!
    Did a VM install (Stand-alone) just to test, then installed on machine (gateway, 1 week-ish later) and would not update/install software from same .ISO *strange*???
    https://i.postimg.cc/WzbC3vp1/Claer-OSUP.png
    The reply is currently minimized Show
Your Reply