Technical article 105788

When using sendmail the cron daemon sends root the message "cannot open database /usr/mmdf/table/mmdfdbm".

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4OpenServer 5.0.5

Written · Last revised

Problem

My system is not using MMDF, but instead is configured to use sendmail. When root's crontab executes the commands 'scosh cronsched -r' and 'scosh cronsched -wr', it checks for the presence of the file /usr/mmdf/table/mmdfdbm. But this file is not available since it is an MMDF file, and sendmail, not MMDF, is the mail transport agent configured on the system. As the command errored out, the cron daemon sends this mail message to root:

"cannot open database /usr/mmdf/table/mmdfdbm"

Solution

As a workaround, comment out the lines in root's crontab which
contain 'scosh cronsched' commands.  Do this by running the
command:
# crontab -e -u root

Place a "#" character at the beginning of both lines which contain 'scosh cronsched' commands.

The original lines look like this:
0 0 * * 1-5 scosh cronsched -r
0 0 * * 1   scosh cronsched -wr

The modified lines should look like this:

# 0 0 * * 1-5 scosh cronsched -r
# 0 0 * * 1   scosh cronsched -wr

Save these modifications and exit the editor for the changes to take effect.

From the Xinuos technical article database, record 105788. Reproduced with permission. The original is at www.sco.com/ta/105788, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.