You are here: Configuration > LifeKeeper Event Email Notification > Email Notification Troubleshooting

Email Notification Troubleshooting

Following are some possible problems, error messages and solutions related to email notification of LifeKeeper events.

Problem: No email messages are received from LifeKeeper, and the NOTIFY log has the following message:

Error: LK_NOTIFY_ALIAS is specified in /etc/default/LifeKeeper, but mail command is not in PATH.

Verify that the mail utility is installed on the system (it is usually located in /bin/mail).  If it is not installed, install the mailx package.  If it is installed in some other location, edit the PATH variable in the file /etc/default/LifeKeeper and add the path to the mail utility.

Problem: No email messages are received from LifeKeeper and the NOTIFY log file has the following format of a message:

[LifeKeeper node failure detected for node1] sent to

Check the email configuration and ensure email messages have not be queued for delivery indicating a possible email configuration problem.  Also ensure that the email address or addresses specified in LK_NOTIFY_ALIAS are valid and are separated by a comma.

Problem: The NOTIFY log file has the following format of a message:

Error: [event] mail returned X

There was some problem invoking or sending mail for a LifeKeeper event, such as a "node failure", as the mail command return the error X. Verify the mail configuration and that LK_NOTIFY_ALIAS contains a valid email address or list of addresses separated by a comma and ensure that email can be sent to those addresses by sending email from the command line using the email recipient format defined in LK_NOTIFY_ALIAS.

Problem: No messages, success or failure, are logged to the NOTIFY log and the user or users designated to receive email have not received any mail when a LifeKeeper Event has occurred, such as a node failure.

Check to see if LK_NOTIFY_ALIAS is in fact set to an email address or list of  addresses separated by commas.  From the command line, use the lk_confignotifyalias utility with the "--query" option to verify the setting (See the lk_confignotifyalias(1M) man page for an example.) Or, search for the entry LK_NOTIFY_ALIAS in the file /etc/default/LifeKeeper.  This variable must be set on each LifeKeeper node that will generate email notification messages.  Also, see the Overview of LifeKeeper Event Email Notification to see if the LifeKeeper event generates an email message (not all events generate email messages).

© 2012 SIOS Technology Corp., the industry's leading provider of business continuity solutions, data replication for continuous data protection.