RE: Please Help Fast! /VAR is Full !

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I would stop sendmail, copy the folder to a location on your disk that you
have the room for it, delete the current folder and create a symbolic link
to the new location. Restart sendmail.

-Andreas

-----Original Message-----
From: redhat-list-admin@xxxxxxxxxx
[mailto:redhat-list-admin@xxxxxxxxxx]On Behalf Of Craig Daters
Sent: Wednesday, October 29, 2003 10:09 AM
To: redhat-list@xxxxxxxxxx
Subject: Re: Please Help Fast! /VAR is Full !


You can as you say, 'rm *' to get rid of everything, but you might lose some
ligitamate email if you did. Can you move the files elsewhere? For the time
being? If you're not worried as you say, then go for it.

You may be able to edit the cron config file to turn off the automatic email
but am unsure... Like change 'MAILTO=root' to 'MAILTO=/dev/null' or
something like that, but I would only do this as an extreme temporary
measure.

On 10/29/03 10:47 AM, "Staven Bruce" <Staven.Bruce@xxxxxxxxxxxxx> spoke
thusly:

>
> I am running Red Hat 7.3 and I came in this morning and found /var was at
> 100%. A quick  'du /var' showed that my /var/spool/mqueue directory as at
> 145MB ! Usually my /var directory is at 46% on my machine, and I believe
> that this is all the result of a cron job I started yesterday that runs
> hourly.
>
> I really need to find out how I can clear the mqueue. The device is full
> according to the system, so I can't use 'sendmail -q'. I don't care if I
> loose all the messages in the que, they don't contain anything important
and
> there are no other users on the machine besides myself. Can I 'rm * ' all
> the files in /var/spool/mqueue? I just need to get them out of there!
>
> Also, if someone can tell me how to turn off the automatic e-mail from
cron
> I would appreciate it!
>
> Thanks,
>
> Staven
>
>


Craig D.

--

Craig Daters (craig@xxxxxxxxxxxxx)
Graphic Designer / Systems Administrator
West Press Printing & Copying
1663 West Grant Road
Tucson, Arizona 85745-1433
USA

Tel: 520-624-4939
Fax: 520-624-2715

www.westpress.com

--


--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux