Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-18-2003, 08:24 AM
|
#1
|
LQ Newbie
Registered: Jul 2003
Location: Pennsylvania
Distribution: Arch Linux
Posts: 10
Rep:
|
error: failed to lstat /tmp/.302.2fa859:
I am running Red Hat 9 and am getting a message in root's mail every morning at 4 that says:
"/etc/cron.daily/tmpwatch:
error: failed to lstat /tmp/.302.2fa859: No such file or directory
"
I really have no clue what this means or how to fix it. I have searched google but can't find anything that seems related to my problem.
Can anyone help me?
|
|
|
07-18-2003, 08:29 AM
|
#2
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Can you post up the contents of:
/etc/cron.daily/tmpwatch
To view it so you can post it use less in a console (you might need to be root):
less /etc/cron.daily/tmpwatch
Cool
|
|
|
07-18-2003, 08:41 AM
|
#3
|
LQ Newbie
Registered: Jul 2003
Location: Pennsylvania
Distribution: Arch Linux
Posts: 10
Original Poster
Rep:
|
[root@localhost root]# less /etc/cron.daily/tmpwatch
/usr/sbin/tmpwatch 240 /tmp
/usr/sbin/tmpwatch 720 /var/tmp
for d in /var/{cache/man,catman}/{cat?,X11R6/cat?,local/cat?}; do
if [ -d "$d" ]; then
/usr/sbin/tmpwatch -f 720 $d
fi
done
|
|
|
07-18-2003, 08:45 AM
|
#4
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Might this help:
https://rhn.redhat.com/errata/RHBA-2001-104.html
However it doesn't list your version (rh 9) so you might look at contacting them about this (or finding an update?).
Cool
|
|
|
07-18-2003, 08:54 AM
|
#5
|
LQ Newbie
Registered: Jul 2003
Location: Pennsylvania
Distribution: Arch Linux
Posts: 10
Original Poster
Rep:
|
Thanks, MasterC.
I checked up2date, but that didn't come up with any updates available. I think what I might do is copy /etc/cron.daily/tmpwatch from a working RH9 machine to this one. Do you think that will solve the problem?
|
|
|
07-18-2003, 08:57 AM
|
#6
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
I don't know, which version is that one running?
Also, it looks like that bug should have been fixed, that is odd that it's giving you problems (unless of course you aren't running rh9 on that box).
Cool
|
|
|
07-18-2003, 09:08 AM
|
#7
|
LQ Newbie
Registered: Jul 2003
Location: Pennsylvania
Distribution: Arch Linux
Posts: 10
Original Poster
Rep:
|
The machine that is having the problem is Red Hat 9. I have another computer that I could install Red Hat 9 on and then copy the working /etc/cron.daily/tmpwatch from that second machine to the one that isn't working. I don't know if that would cause any kind of problems but I guess it is worth a try, right?
|
|
|
07-18-2003, 09:14 AM
|
#8
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Sure!
As a side not though, you still might consider submitting as a bug since it's shown it's face before.
Cool
|
|
|
All times are GMT -5. The time now is 02:16 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|