Error text: <time><severity><host><type>Could not acquire spool lock. / Spool is locked.
Affected module: MTA and mail queues
Symantec Brightmail Gateway 8.0
Cause: "Spool" is another name for a mail queue. A process temporarily locks a mail queue to prevent conflicting changes to the mail queue. If a process attempts to lock a mail queue that is already locked, the process must wait for the lock to be released.
Cause: This error can occur if you run the command mta-control or mta-stats when the MTA is stopped. If the MTA starts while mta-control or mta-stats has a mail queue locked, the MTA fails to lock the mail queue, issues this error, and exits. The MTA keeps trying to start and lock the mail queue until the MTA is successful. If a mail queue has a large number of messages, this error is more likely to occur as it takes longer for mta-control or mta-stats to scan the mail queue.
Resolution: The situation will automatically correct itself.
Log sample: The following is an example of the error message as it appears in a log file:
2008 Aug 21 09:35:15 PDT (err) queue-control: Spool is locked.
2008 Aug 21 09:35:22 PDT (err) ecelerity: Could not acquire spool lock from
2008 Aug 21 09:35:22 PDT (err) runner: PID 15128 \'mta\' has died, with
exit status 255 (0xFF00)
Imported Document ID: HOWTO65695
Subscribing will provide email updates when this Article is updated. Login is required.