DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Managing mail with MMDF

Undelivered messages in /usr/spool/mmdf/lock/home

If cron(C) queues a file with this error message in /usr/spool/mmdf/lock/home/q.local to be delivered to the sys user:

   To:sys
   

cron: can't change directory to your home directory. Your commands will not be executed.

the problem may be that the sys home directory was removed accidentally.

Other symptoms of this problem are these errors:

To resolve this problem:

  1. Recreate the /usr/sys directory by logging in as root and entering these lines:

    mkdir /usr/sys
    chmod 755 /usr/sys
    chown sys /usr/sys
    chgrp sys /usr/sys

  2. If your disk filled up due to the problem, recover disk space by entering:

    cd /usr/spool/mmdf/lock/home

    and removing the messages in the addr, msg, and q.local directories.

    Clean the log files by entering:

       > /usr/spool/mail/sys
       > /usr/spool/mail/adm
       > /usr/spool/mail/root
       > /usr/mmdf/log/msg.log
       > /usr/mmdf/log/chan.log
       > /usr/adm/messages
       > /etc/wtmp
    

  3. Boot the system. Enter the root password to bring up the system in single user mode when you see this prompt:
       Type <ctrl>-d to proceed with normal startup,
       (or give root password for System Maintenance)
    

    At the prompt, enter:

    /etc/fsck -s /dev/root

    This file system check with an s option updates the free list of available inodes and blocks in the superblock.

The undelivered messages problem should now be resolved.

Next topic: Using name server resource records with MMDF
Previous topic: Mailbox locking problems

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 26 May 2005