Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

sco operserver 5.04 mail problem

0 views
Skip to first unread message

Dennis C. Glorioso

unread,
Apr 29, 1999, 3:00:00 AM4/29/99
to
I had a client who deleted /usr/spool/mail/root . after deleting this
there is now apparrently a lockfile on the root mail service. when
trying to access roots mail it times out with the message cannot read
lock file. there is a file actually called root.lock in the mail
directory. i've never encounterd this before. any assistance would be
appreciated


Tony Lawrence

unread,
Apr 30, 1999, 3:00:00 AM4/30/99
to Dennis C. Glorioso


There's nothing wrong with removing /usr/spool/mail/root- assuming that
you didn't care to read the messages, of course. Absolutely no harm
whatsoever would come from this.

There would also be nothing wrong with removing the root.lock file, and
you should, but chances are you got into this mess because of something
else wrong elsewhere.

I wouldn't be at all surprised to find that you are running mmdf, and
that an lr of the directory /usr/spool/mmdf would show up with thousands
of files. If that's the case, you need to fix that problem first, and
if it's caused by some errant program somewhere generating excessive
messages, or by something silly like /usr/sys having been removed (thus
causing cron to complain by mail to sys), you need to find out what and
fix it, so reading some of the messages could be helpful.

After that, if there were thousands of messages you might need to reduce
the sizes of the subdirectories, which you could do with something like
this:

cd /usr/spool/mmdf/lock/home
for i in *
do
mv $i $i.junk
mkdir $i
chown mmdf $i
chgrp mmdf $i
chmod 777 $i
done
rm -r *.junk

--
Tony Lawrence (to...@aplawrence.com)
SCO ACE
SCO articles, help, book reviews: http://www.aplawrence.com

0 new messages