Solved

/var/mail :clarify

Posted on 2002-03-03
3
437 Views
Last Modified: 2013-12-27
Hi ...

 in my /var/mail :

 -rw-rw----   1 monitor  mail       27186 May  1  2001 monitor
-rw-rw----   1 oracle   mail     86356076 Mar  4 02:00 oracle
-rw-rw----   1 root     mail        7884 Feb 26 00:11 root
-rw-rw----   1 sysops   mail       30446 Feb 22 04:06 sysops
-rw-rw----   1 uucp     mail           0 Feb  8  2000 uucp

 what all these files meant for.
 can ijust delete all these files
 to get more space.
 
 tq
 sun newbie
0
Comment
Question by:ismahwati
3 Comments
 
LVL 38

Accepted Solution

by:
yuzh earned 50 total points
ID: 6838428
They are mail boxes for user: monitor, oracle, root, sysops
and uucp.

Ask your systems administrator for the details of the above
account, if noone reading the email for these account, you can all the email for these account using the following command(su as root, or the paticular user):

  eg, for usr oracle, use the following command:
     #cat /dev/null > /var/mail/oracle

     after the above command the mail box for oracle will donw to 0.


=====
yuzh
0
 
LVL 5

Expert Comment

by:n0thing
ID: 6839649
The only large file in that group is the "oracle" e-mail box. Try to do a tail -100 oracle and see if there is any important information in that file. Perhaps your Oracle database is generating some error logs, database information that is important. Check it first before removing it. You can clear the content of the file using the command that yuzh shown above.
0
 

Author Comment

by:ismahwati
ID: 6840980
i have move the oracle file
to tmp directory and
zerorized it.

tq
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question