Find the answer to your Linux question:
Results 1 to 3 of 3
Hello all...I'm still a newbie when it comes to Linux, but I'm learning quickly. I took over Linux admin duties when I joined this new company since the guy before ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2005
    Posts
    2

    Error message from yum.cron


    Hello all...I'm still a newbie when it comes to Linux, but I'm learning quickly. I took over Linux admin duties when I joined this new company since the guy before me that left was doing it. I've fixed a bunch of issues, but this one has me stumped what to do. We are getting an email error message from cron that has this in it:

    /etc/cron.daily/yum.cron:

    error: unpacking of archive failed on file /etc/httpd/logs: cpio: rename failed - Is a directory


    What can I do to fix this? It's a nuisance, but doesn't appear to be hurting anything.


    Thanks in advance and I can tell this forum is going to be a huge help.

    C-

  2. #2
    Linux Guru smolloy's Avatar
    Join Date
    Apr 2005
    Location
    CA, but from N.Ireland
    Posts
    2,414
    Is this a RedHat machine??

    Can you tell me the contents of /etc/cron.daily/yum.cron?
    Registered Linux user #388328 || Registered LFS user #15880
    AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
    Need instant help? Try us on IRC -- #linuxforums on freenode

  3. #3
    Just Joined!
    Join Date
    Dec 2005
    Posts
    2

    More info

    Yes it is RedHat 4. Here is the yum.cron:

    #!/bin/sh

    if [ -f /var/lock/subsys/yum ]; then
    /usr/bin/yum -R 120 -e 0 -d 0 -y update yum
    /usr/bin/yum -R 10 -e 0 -d 0 -y shell /etc/yum/yum-daily.yum
    fi

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •