Learn about Centmin Mod LEMP Stack today
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:
    1:19 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

    50,450
    11,658
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,077
    Local Time:
    2:19 AM
    Nginx 1.25.x
    MariaDB 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:
    1:19 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!
     
  4. Guilherme Jaccoud

    Guilherme Jaccoud Member

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

    rdan Well-Known Member

    5,419
    1,386
    113
    May 25, 2014
    Ratings:
    +2,167
    Local Time:
    12:19 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:
    1:19 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

    5,419
    1,386
    113
    May 25, 2014
    Ratings:
    +2,167
    Local Time:
    12:19 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:
    1:19 PM
    Thanks @RoldanLT
    Silly rabbit was trying to enable GEOIP on a clean CentminMod install :ROFLMAO:
     
  9. eva2000

    eva2000 Administrator Staff Member

    50,450
    11,658
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,077
    Local Time:
    2:19 AM
    Nginx 1.25.x
    MariaDB 10.x