Welcome to Centmin Mod Community
Become a Member

System update

Discussion in 'System Administration' started by Guilherme Jaccoud, Oct 30, 2014.

  1. Guilherme Jaccoud

    Guilherme Jaccoud Member

    63
    30
    18
    May 29, 2014
    Ratings:
    +30
    Local Time:
    6:06 PM
    Hey guys, just got an email from one of my servers with the following…
    Code:
    warning: /etc/yum.conf created as /etc/yum.conf.rpmnew
    warning: /etc/security/limits.conf created as /etc/security/limits.conf.rpmnew
    warning: /etc/yum.repos.d/CentOS-Base.repo created as /etc/yum.repos.d/CentOS-Base.repo.rpmnew
    grubby fatal error: unable to find a suitable template
    I never received something like this from my servers, so I don't really know why this repos was changed :/
     
  2. eva2000

    eva2000 Administrator Staff Member

    40,661
    9,034
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,908
    Local Time:
    7:06 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    did you setup yum-cron previously Automatic nightly YUM updates with yum-cron | Centmin Mod Community or have script to auto run yum update ?

    those are related to the new CentOS 6.6 release being available CentOS 6.6 official released | Centmin Mod Community and having gone through yum update so the first 3 can be ignored. Last one haven't come across before but see Bug 1065645 – grubby fatal error: unable to find a suitable template and Grubby Fatal Error: Unable to Find a Suitable Template on DigitalOcean have some info. Never ran those steps myself so your mileage would vary.

    I believe it's due to DigitalOcean using fixed kernels rather than distro's kernel versions
     
  3. Guilherme Jaccoud

    Guilherme Jaccoud Member

    63
    30
    18
    May 29, 2014
    Ratings:
    +30
    Local Time:
    6:06 PM
    Yep, I think you are right on both.
    I did setup yum-cron and yes I'm on DigitalOcean. I'll ask them about grubby.

    Cheers!
     
    style="display:inline-block;min-width:400px;max-width:970px;width:95%;height:90px" data-ad-client="ca-pub-6669518204467592" data-ad-slot="4024536743" data-ad-format="auto">
  4. Guilherme Jaccoud

    Guilherme Jaccoud Member

    63
    30
    18
    May 29, 2014
    Ratings:
    +30
    Local Time:
    6:06 PM
    By the way…
    ./centmin.sh install with NGINX_GEOIP='y' just gave me this…
     
  5. rdan

    rdan Well-Known Member

    4,549
    1,090
    113
    May 25, 2014
    Ratings:
    +1,591
    Local Time:
    5:06 AM
    Mainline
    10.2
    You should install GeoIP first, on the /addon/ directory on centminmod.
     
  6. Guilherme Jaccoud

    Guilherme Jaccoud Member

    63
    30
    18
    May 29, 2014
    Ratings:
    +30
    Local Time:
    6:06 PM
    It seems that you must install CentminMod first, install the GEOIP add-on and then recompile Nginx with menu option #4.
    On a clean install, running the GEOIP add-on before installing CentminMod will bring this erros…
     
  7. rdan

    rdan Well-Known Member

    4,549
    1,090
    113
    May 25, 2014
    Ratings:
    +1,591
    Local Time:
    5:06 AM
    Mainline
    10.2
    Yes of course, it's an addon so centminmod must be installed first :)
     
  8. Guilherme Jaccoud

    Guilherme Jaccoud Member

    63
    30
    18
    May 29, 2014
    Ratings:
    +30
    Local Time:
    6:06 PM
    Thanks @RoldanLT
    Silly rabbit was trying to enable GEOIP on a clean CentminMod install :ROFLMAO:
     
  9. eva2000

    eva2000 Administrator Staff Member

    40,661
    9,034
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,908
    Local Time:
    7:06 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x