Restart the MTA service from Command Line Interface (CLI)
search cancel

Restart the MTA service from Command Line Interface (CLI)

book

Article ID: 177827

calendar_today

Updated On:

Products

Messaging Gateway

Issue/Introduction

 

"mta-control all restart" command has been issued, but MTA service does not restart.

command failed (4096)

ERROR: system: Failed to execute '/opt/Symantec/Brightmail/common/sbin/controller.sh start mta': Inappropriate ioctl for device

Died at /opt/Symantec/Brightmail/mta/bin/mta-control line 1196.


 

command failed (4096)

ERROR: system: Failed to execute '/opt/Symantec/Brightmail/common/sbin/controller.sh start mta': Inappropriate ioctl for device

Died at /opt/Symantec/Brightmail/mta/bin/mta-control line 1196.

Cause

This is by design. The CLI command "mta-control all start" can not start the MTA service if bmserver process is not running or if the MTA service was previously stopped using the CLI command "service mta stop".

Resolution

To start/restart the MTA service, please use the following CLI command:

service mta restart

NOTE:

  • This command will restart both the MTA and bmserver processes.
  • "mta-control all restart" will restart ONLY the MTA process while bmserver process is running