Top
ETERNUS SF Storage Cruiser 14.0 User's Guide

E.4 Errors and Responses

stxsmail posts messages depending on the execution results.

The messages and appropriate responses are described below.

Usage: stxsmail [-v] [-l <LogFile>] [-p <PortNo>] [-t <Timeout>] <MailServer> <MailFile>
-v : Verbose mode
-l <LogFile> : Log file name
-p <PortNo> : SMTP port number (default=25)
-t <Timeout> : Timeout value (default=60sec)
<MailServer> : Mail server (IP address or host name)
<MailFile> : Mail file (must be contains MAIL-HEADERS)

Explanation

stxsmail was started incorrectly. (Parameters are missing, invalid options are specified, or invalid values are specified for options.)

Response

Check the operations for stxsmail, and specify correct options and parameters.

Cannot send a mail - Error on WSACleanup()... Maybe WINSOCK is not available or illegal.

Explanation

Initialization of WinSock failed. (An error occurred in the WSACleanup function.)

Response

Confirm that WinSock can be used on the system. (WinSock can generally be used, so if this error occurs, the OS must be reinstalled.)

Cannot send a mail - Error on WSAStartup()... Maybe WINSOCK is not available or illegal.

Explanation

Initialization of WinSock failed. (An error occurred in the WSAStartup function.)

Response

Confirm that WinSock can be used on the system. (WinSock can generally be used, so if this error occurs, the OS must be reinstalled.)

Cannot send a mail - Error on socket()... Maybe WINSOCK is not available or illegal.

Explanation

Creating a WinSock socket failed. (An error occurred in the socket function.)

Response

Confirm that WinSock can be used on the system. (WinSock can generally be used, so if this error occurs, the OS must be reinstalled.)

Cannot send a mail - Error on gethostbyname()... Maybe missing DNS or name server not respond.

Explanation

The server node name specified for <MailServer> could not be converted to an IP address.

Response

Check the network environment to determine whether the server node name can be correctly converted to an IP address (make sure that DNS settings are correct).

Cannot send a mail - Error on connect()... Maybe host unreachable.

Explanation

Connection to the mail server failed.

Response

Check whether the mail server specified in <MailServer> is functioning normally.

Cannot send a mail - Error on send()... Maybe communication error occoured on mail server.

Explanation

Data sending to the mail server failed.

Response

Check whether the mail server specified in <MailServer> is functioning normally. If it is, then check whether the mail server supports the standard protocol, SMTP.

Cannot send a mail - Error on recv()... Maybe communication error occoured on mail server.

Explanation

Data receiving from the mail server failed.

Response

Check whether the mail server specified in <MailServer> is functioning normally. If it is, then check whether the mail server supports the standard protocol, SMTP.

Cannot send a mail - SMTP protocol error... Protocol violation on mail server.

Explanation

Mail sending failed.

Response

Check whether the mail server specified in <MailServer> supports the standard protocol, SMTP.

Cannot send a mail - SMTP server not respond.

Explanation

The mail server sends no response.

Response

Check whether the mail server specified in <MailServer> is functioning normally. If it is, then check whether the mail server supports the standard protocol, SMTP.

Cannot send a mail - No "From" header.

Explanation

No "From:" header item was found in the mail file.

Response

Specify the "From:" mail header item correctly in the mail file.

Cannot send a mail - No "To" header.

Explanation

No "To:" mail header item was found in the mail file.

Response

Specify the "To:" mail header item correctly in the mail file.

Cannot send a mail - Not found mail file.

Explanation

The specified mail file was not found.

Response

Check for the mail file specified in <MailFile>.

Cannot send a mail - Timeout detected.

Explanation

The mail server sends no response.

Response

Check whether the mail server specified in <MailServer> is functioning normally. If it is, then check whether the mail server supports the standard protocol, SMTP.