LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 10-31-2008, 06:56 AM   #1
masatheesh
Member
 
Registered: Aug 2007
Distribution: CentOS 5.0,CentOS 5.5
Posts: 47

Rep: Reputation: 15
Files are vanished in OEL 5.0


Hi,

I am using Oracle Enterprise Linux 5.0.This is same like RHEL distribution.Sometimes some files are missing.Some example files are *.exe, *.war.Can anyone let me know the solution? Please
 
Old 11-02-2008, 07:37 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,307
Blog Entries: 54

Rep: Reputation: 2857Reputation: 2857Reputation: 2857Reputation: 2857Reputation: 2857Reputation: 2857Reputation: 2857Reputation: 2857Reputation: 2857Reputation: 2857Reputation: 2857
How did they get lost? Removed? Examples just not installed? Does the vendor support its distribution? What does it have to say about it?
 
Old 11-02-2008, 07:42 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
You would not expect to see .exe files in Linux. "exe" is an extension used for Windows executables. I don't know what a .war file is, and I have never seen one.

As unSpawn implies, you would need to tell us exactly what is missing (and what is not working).
 
Old 11-02-2008, 07:49 AM   #4
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,503

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
Quote:
Originally Posted by pixellany View Post
I don't know what a .war file is, and I have never seen one.
Just an aside note: war files are java web archives. I've seen them when installing web applications using tomcat.
 
Old 11-26-2008, 11:28 PM   #5
masatheesh
Member
 
Registered: Aug 2007
Distribution: CentOS 5.0,CentOS 5.5
Posts: 47

Original Poster
Rep: Reputation: 15
I have some important files in /tmp location.Now I cant see these files.I think I dont want to mention all those file names.These files are just documentation.Thats it.You can assume that some contents of /tmp folder are missing.

It may be the virus issue?
 
Old 11-27-2008, 03:12 AM   #6
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,503

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
Quote:
Originally Posted by masatheesh View Post
It may be the virus issue?
Nope. The /tmp directory is used by various applications to store temporary files. Temporary means they have not to be stored permanently, therefore there must be a mechanism to remove them periodically. Indeed most unix systems remove temporary files using a cron job, either by the find and rm command or by tmpwatch. In short the rule is: don't keep valuable data in the /tmp directory, since sooner or later they will be pushed in a black hole!
 
Old 11-27-2008, 04:11 AM   #7
masatheesh
Member
 
Registered: Aug 2007
Distribution: CentOS 5.0,CentOS 5.5
Posts: 47

Original Poster
Rep: Reputation: 15
If this is the case,will the Unix system remove the part of /tmp contents? Because I can see some old files which were created along with missing files.
 
Old 12-03-2008, 05:04 AM   #8
masatheesh
Member
 
Registered: Aug 2007
Distribution: CentOS 5.0,CentOS 5.5
Posts: 47

Original Poster
Rep: Reputation: 15
Hi Colucix,

Is there any possible to find out cron job? If so,can you please let me know to delete that cron job?
 
Old 12-03-2008, 05:31 AM   #9
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,503

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
In RHEL5 it should be controlled by /etc/cron.daily/tmpwatch which will be in turn managed by the system crontab - /etc/crontab - through the run-parts mechanism. See man run-parts and man tmpwatch for details, then you will find out the correct way to remove the cron job. But... I strongly suggest to not wipe it off, otherwise the /tmp directory (and its partition) can fill up in a short period of time. Simply, I would not keep valuable data in /tmp directory.
 
  


Reply

Tags
desktop, enterprise, oracle


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
rsync Vanished Files cornish Linux - Software 1 11-25-2007 06:35 PM
Senior Year - A Free OEL VN for Linux (and Mac and Win) EwanG Linux - Games 2 12-29-2006 08:22 AM
files "vanished" from cd-rom otoomet Linux - Hardware 4 12-12-2004 07:58 AM
ftpaccess vanished? raymond Linux - General 1 11-09-2002 12:13 PM


All times are GMT -5. The time now is 05:51 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration