LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 07-18-2003, 09:24 AM   #1
ferdog
LQ Newbie
 
Registered: Jul 2003
Location: Pennsylvania
Distribution: Arch Linux
Posts: 10

Rep: Reputation: 0
Exclamation 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?
 
Old 07-18-2003, 09:29 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
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
 
Old 07-18-2003, 09:41 AM   #3
ferdog
LQ Newbie
 
Registered: Jul 2003
Location: Pennsylvania
Distribution: Arch Linux
Posts: 10

Original Poster
Rep: Reputation: 0
[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
 
Old 07-18-2003, 09:45 AM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
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
 
Old 07-18-2003, 09:54 AM   #5
ferdog
LQ Newbie
 
Registered: Jul 2003
Location: Pennsylvania
Distribution: Arch Linux
Posts: 10

Original Poster
Rep: Reputation: 0
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?
 
Old 07-18-2003, 09:57 AM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
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
 
Old 07-18-2003, 10:08 AM   #7
ferdog
LQ Newbie
 
Registered: Jul 2003
Location: Pennsylvania
Distribution: Arch Linux
Posts: 10

Original Poster
Rep: Reputation: 0
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?
 
Old 07-18-2003, 10:14 AM   #8
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Sure!

As a side not though, you still might consider submitting as a bug since it's shown it's face before.

Cool
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rm: cannot lstat `/mnt/share1': Input/output error toadeny Linux - Networking 3 06-27-2008 03:40 AM
cvswinex / cedega segmentation fault / lstat socket error hypermegachi Linux - Software 2 08-01-2005 11:04 PM
installed cedega get exists lstat socket error? degraffenried13 Linux - Games 2 05-28-2005 11:08 PM
"/tmp/sv001.tmp/setup.bin" error while installing OO1.1.0 Choey Linux - Software 0 09-16-2003 05:52 PM
Apache 2 Error 302 / JSP adcworks Linux - General 1 08-19-2002 11:31 AM


All times are GMT -5. The time now is 12:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration