Learn about Centmin Mod LEMP Stack today
Register Now

Linode Starting auditd: [FAILED]

Discussion in 'Virtual Private Server (VPS) hosting' started by rdan, Jul 26, 2015.

  1. rdan

    rdan Well-Known Member

    5,449
    1,410
    113
    May 25, 2014
    Ratings:
    +2,204
    Local Time:
    4:13 AM
    Mainline
    10.2
    Is this normal or a problem that needs fixing?
    I've seen this error on booting up the server.

     
  2. rdan

    rdan Well-Known Member

    5,449
    1,410
    113
    May 25, 2014
    Ratings:
    +2,204
    Local Time:
    4:13 AM
    Mainline
    10.2
    When I try:
    # service auditd restart
    Stopping auditd: [FAILED]
    Starting auditd: [FAILED]
     
  3. eva2000

    eva2000 Administrator Staff Member

    55,158
    12,249
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,825
    Local Time:
    6:13 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  4. rdan

    rdan Well-Known Member

    5,449
    1,410
    113
    May 25, 2014
    Ratings:
    +2,204
    Local Time:
    4:13 AM
    Mainline
    10.2
    So on Linode, it's fine?
     
  5. eva2000

    eva2000 Administrator Staff Member

    55,158
    12,249
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,825
    Local Time:
    6:13 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    try it and see :)
     
  6. rdan

    rdan Well-Known Member

    5,449
    1,410
    113
    May 25, 2014
    Ratings:
    +2,204
    Local Time:
    4:13 AM
    Mainline
    10.2
    Never mind this, As I reinstall my server using CentOS 7.1 :D
     
  7. eva2000

    eva2000 Administrator Staff Member

    55,158
    12,249
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,825
    Local Time:
    6:13 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  8. Andy

    Andy Active Member

    544
    89
    28
    Aug 6, 2014
    Ratings:
    +133
    Local Time:
    3:13 PM
    Which server has Cento 7.1?
     
  9. rdan

    rdan Well-Known Member

    5,449
    1,410
    113
    May 25, 2014
    Ratings:
    +2,204
    Local Time:
    4:13 AM
    Mainline
    10.2
    Linode.
    Create a fresh CentOS 7.0 KVM VPS then yum update -y :)
     
  10. eva2000

    eva2000 Administrator Staff Member

    55,158
    12,249
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,825
    Local Time:
    6:13 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yup exactly :)

    if you did Centmin Mod .08 beta03 install on CentOS 7.0, it will auto update to CentOS 7.1 anyway :D
     
  11. Andy

    Andy Active Member

    544
    89
    28
    Aug 6, 2014
    Ratings:
    +133
    Local Time:
    3:13 PM
    Ah, my servers already have 7.1.1503 (running centminmod beta 03) :)
    One of my servers got this errors when doing a yum update
    Code:
    ---> Package ntpdate.x86_64 0:4.2.6p5-19.el7.centos will be updated
    --> Processing Dependency: ntpdate = 4.2.6p5-19.el7.centos for package: ntp-4.2.6p5-19.el7.centos.x86_64
    ---> Package ntpdate.x86_64 0:4.2.6p5-19.el7.centos.1 will be an update
    ---> Package python-chardet.noarch 0:2.0.1-7.el7 will be updated
    ---> Package python-chardet.noarch 0:2.2.1-1.el7_1 will be an update
    ---> Package python-requests.noarch 0:1.1.0-8.el7 will be updated
    ---> Package python-requests.noarch 0:2.6.0-1.el7_1 will be an update
    ---> Package python-urllib3.noarch 0:1.5-8.el7 will be updated
    ---> Package python-urllib3.noarch 0:1.10.2-1.el7_1 will be an update
    --> Finished Dependency Resolution
    Error: Package: ntp-4.2.6p5-19.el7.centos.x86_64 (@updates)
               Requires: ntpdate = 4.2.6p5-19.el7.centos
               Removing: ntpdate-4.2.6p5-19.el7.centos.x86_64 (@updates)
                   ntpdate = 4.2.6p5-19.el7.centos
               Updated By: ntpdate-4.2.6p5-19.el7.centos.1.x86_64 (updates)
                   ntpdate = 4.2.6p5-19.el7.centos.1
     You could try using --skip-broken to work around the problem
    ** Found 3 pre-existing rpmdb problem(s), 'yum check' output follows:
    iputils-20121221-6.el7_1.1.x86_64 is a duplicate with iputils-20121221-6.el7.x86_64
    ntp-4.2.6p5-19.el7.centos.1.x86_64 is a duplicate with ntp-4.2.6p5-19.el7.centos.x86_64
    ntp-4.2.6p5-19.el7.centos.1.x86_64 has missing requires of ntpdate = ('0', '4.2.6p5', '19.el7.centos.1')
     
  12. eva2000

    eva2000 Administrator Staff Member

    55,158
    12,249
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,825
    Local Time:
    6:13 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    on Linode ? could be related to 0008955: ntp package missing - CentOS Bug Tracker

    check to see in /etc/yum.repos.d/CentOS-Base.repo if you're using a Linode mirror which maybe out of date versus centos.org mirrors

    Code:
    # CentOS-Base.repo
    #
    # The mirror system uses the connecting IP address of the client and the
    # update status of each mirror to pick mirrors that are updated to and
    # geographically close to the client.  You should use this for CentOS updates
    # unless you are manually picking other mirrors.
    #
    # If the mirrorlist= does not work for you, as a fall back you can try the
    # remarked out baseurl= line instead.
    #
    #
    
    [base]
    name=CentOS-$releasever - Base
    mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
    #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
    priority=1
    
    #released updates
    [updates]
    name=CentOS-$releasever - Updates
    mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra
    #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
    priority=1
    
    #additional packages that may be useful
    [extras]
    name=CentOS-$releasever - Extras
    mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra
    #baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
    priority=1
    
    #additional packages that extend functionality of existing packages
    [centosplus]
    name=CentOS-$releasever - Plus
    mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra
    #baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
    gpgcheck=1
    enabled=0
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
    priority=2
    also try running

    Code:
    yum-complete-transaction
    or
    Code:
    yum clean all
    yum distro-sync
    yum -y update
     
    Last edited: Jul 28, 2015
  13. rdan

    rdan Well-Known Member

    5,449
    1,410
    113
    May 25, 2014
    Ratings:
    +2,204
    Local Time:
    4:13 AM
    Mainline
    10.2
    @Andy So you're using Linode CentOS 7.1, Is it on KVM?
    Do you have CSF also enabled?

    My server always crash :(
    I had to reboot the server myself and restart csf on Linode Manager Console :(.