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:
    7:42 AM
    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

    30,145
    6,782
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,133
    Local Time:
    7:42 PM
    Nginx 1.13.x
    MariaDB 5.5
    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:
    7:42 AM
    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:
    7:42 AM
    By the way…
    ./centmin.sh install with NGINX_GEOIP='y' just gave me this…
     
  5. RoldanLT

    RoldanLT Well-Known Member

    3,899
    949
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,298
    Local Time:
    5:42 PM
    1.11
    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:
    7:42 AM
    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. RoldanLT

    RoldanLT Well-Known Member

    3,899
    949
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,298
    Local Time:
    5:42 PM
    1.11
    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:
    7:42 AM
    Thanks @RoldanLT
    Silly rabbit was trying to enable GEOIP on a clean CentminMod install :ROFLMAO:
     
  9. eva2000

    eva2000 Administrator Staff Member

    30,145
    6,782
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,133
    Local Time:
    7:42 PM
    Nginx 1.13.x
    MariaDB 5.5