Specifications
Disabling Event Email Notification
LifeKeeper log can be inspected to determine if there was a problem sending the email
message.SeeEmail Notification Troubleshootingfor more information.
Disabling Event Email Notification
To disable the generation of email notices by LifeKeeper, simply remove the assignment of an email
address or alias from the LK_NOTIFY_ALIAS environment variable in the file
/etc/default/LifeKeeper. This can be accomplished using the lk_confignotifyalias
utility from the command line with the "--disable" option (see thelk_confignotifyalias(1M)
page for an example). Or, edit /etc/default/LifeKeeperand change the entry for LK_
NOTIFY_ALIAS to LK_NOTIFY_ALIAS=. This must be done on each node that should be disabled
from sending email messages.
Email Notification Troubleshooting
Following are some possible problems and solutions related to email notification of LifeKeeper
events. For specific error messages, see the LifeKeeper Message Catalog.
Problem: No email messages are received from LifeKeeper.
Solution: 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.
Solution: 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 log file has a "mail returned" error message.
Solution: 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 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.
Solution: 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 thelk_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
70Configuration