Discover Centmin Mod today
Register Now

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:
    2:31 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

    53,537
    12,134
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,677
    Local Time:
    3:31 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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:
    2:31 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:
    2:31 AM
    By the way…
    ./centmin.sh install with NGINX_GEOIP='y' just gave me this…
     
  5. rdan

    rdan Well-Known Member

    5,439
    1,398
    113
    May 25, 2014
    Ratings:
    +2,187
    Local Time:
    1:31 PM
    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:
    2:31 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. rdan

    rdan Well-Known Member

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

    eva2000 Administrator Staff Member

    53,537
    12,134
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,677
    Local Time:
    3:31 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+