I've looked in the MailTo Script.
But the Script has no Line 86.

So I can't find the Error.

I use the standart MailTo Script was installed by installing heartbeat.

Mit freundlichen Grüßen
Stefan Brüning

IT-Support
Bereich MES / BDE - Helpdesk

NORDENIA DEUTSCHLAND Gronau GmbH
Postfach 1662 D-48577 Gronau
Jöbkesweg 11 D-48599 Gronau
Tel.: +49 (0)2562 / 919-361
Fax: +49 (0)2562 / 919-8-361
Mail: [EMAIL PROTECTED] 
www.nordenia.com 


Unsere shared values sind:
Flexibility - Global - Independence - Innovation - Partnership - Passion for 
Excellence - Quality

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Annette Jäkel
Gesendet: Mittwoch, 12. November 2008 15:34
An: Linux-HA mailing list <[email protected]>
Betreff: Re: [Linux-HA] Linux-HA: E-Mail Notification Problem by takeover

Am 12.11.2008 15:01 Uhr schrieb "Bruening, Stefan" unter
<[EMAIL PROTECTED]>:

> Dear Community,
> 
>  
> 
> i've a smart problem.
> 
> I Configured in haresources
> "MailTo::[EMAIL PROTECTED]::Cluster_Failover_Nagios".
> 
>  
> 
> When I make a takeover no e-mail was sent.
> 
> I found the following Error Message in ha-debug.
> 
>  
> 
> MailTo[28655]:  2008/11/12_11:07:16 INFO:  Resource is stopped
> 
> ResourceManager[28229]: 2008/11/12_11:07:16 info: Running
> /etc/ha.d/resource.d/MailTo [EMAIL PROTECTED]
> Cluster_Failover_Nagios start
> 
> ResourceManager[28229]: 2008/11/12_11:07:16 debug: Starting
> /etc/ha.d/resource.d/MailTo [EMAIL PROTECTED]
> Cluster_Failover_Nagios start
> 
> /usr/lib/ocf/resource.d//heartbeat/MailTo: line 86: -s: command not found
> 
> MailTo[28697]:  2008/11/12_11:07:16 INFO:  Success
> 
>

Maybe your mail command dont accept parameter -s for the Subject of a Mail?
MailTo uses the command "mail -s ..." on line 86. Maybe you have to remove
the parameter or you have another mail command and you must give the RA the
right path to "mail".
Regards,
Annette

> 
>  
> 
> What is the problem?
> 
> Please help me.
> 
>  
> 
> Thank you all for your suggestions.
> 
>  
> 
> Mit freundlichen Grüßen
> 
> Stefan Brüning
> 
> 
> IT-Support
> 
> Bereich MES / BDE - Helpdesk
> 
> 
> NORDENIA DEUTSCHLAND Gronau GmbH
> Postfach 1662 D-48577 Gronau
> Jöbkesweg 11 D-48599 Gronau
> Tel.: +49 (0)2562 / 919-361
> Fax: +49 (0)2562 / 919-8-361
> Mail: [EMAIL PROTECTED]
> www.nordenia.com 
> 
>  
> 
>  
> 
> Unsere shared values sind:
> 
> Flexibility - Global - Independence - Innovation - Partnership - Passion for
> Excellence - Quality
> 
>  
> 
> 
> 
> NORDENIA DEUTSCHLAND Gronau GmbH - Sitz der Gesellschaft: Gronau
> Handelsregister: Amtsgericht Coesfeld, HRB 5708
> Geschäftsführer: Wolfram Brüning - USt-IdNr.: DE123768132 - Steuer-Nr.:
> 301/5835/0517
> 
> The contents of this e-mail are confidential and may be privileged. This
> e-mail is intended for the exclusive use of the addressee(s).
> If you are not the intended addressee(s), please contact us immediately and
> delete this message from your computer.
> You should not copy this e-mail or disclose its contents to any other person.
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems


_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to