Solved

/var/mail :clarify

Posted on 2002-03-03
3
439 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

792 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