[GE users] first question - mail notification

Ravi Chandra Nallan Ravichandra.Nallan at Sun.COM
Tue Jul 31 15:26:35 BST 2007


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "ISO-8859-10" character set.  ]
    [ Some special characters may be displayed incorrectly. ]

try qconf -mconf <hostname> on the exec host where this parameter is set 
(essentially the hostname where you found the file with the mailer set, 
under local_conf)

-Ravi

Alexandre Racine wrote:
> Hi, (to all thanks for your answers)
>
> Thanks, with the following command I changed the global config of the mailer section:
>  /usr/local/sge/sge-root/bin/lx24-x86/qconf -mconf
>
> The mailer section now look like this
>  mailer                       /usr/sbin/sendmail
>
> But it still does not work, since in all log files I get :
>  07/31/2007 09:55:31|execd|TORQUE1|C|exec of mailer "/bin/mail" failed
>
> So this mean that the local config is overwriting the global config. So looking in those files :
>  /usr/local/sge/sge-root/default/common/local_conf/*.*
>
> There is this :
>  # Version: 6.0u11
>  #
>  # DO NOT MODIFY THIS FILE MANUALLY!
>  #
>  conf_version              0
>  mailer                    /bin/mail
>  [...]
>
>
> It would seems that this overwrite the global config. If I can't edit this file manually, how can I? Or, I am on the good track here?
>
> Thanks.
>
>
>
> Alexandre Racine
> Projets spéciaux
>
>
>
> -----Original Message-----
> From: Rayson Ho [mailto:rayrayson at gmail.com]
> Sent: Mon 2007-07-30 16:00
> To: users at gridengine.sunsource.net
> Subject: Re: [GE users] first question - mail notification
>  
> That in sge_conf(5):
>
> http://gridengine.sunsource.net/nonav/source/browse/~checkout~/gridengine/doc/htmlman/htmlman5/sge_conf.html
>
> In fact, you can point it to anything -- including a script that you
> write. You can log down any useful information into a file before
> calling the real mailer.
>
> Rayson
>
>
>
> On 7/30/07, Alexandre Racine <Alexandre.Racine at mhicc.org> wrote:
>   
>> I don't see any "mailer" options in the SGE setup. Well, not in the interactive installation anyway : http://docs.sun.com/app/docs/doc/817-6118/6mlhe9ad6?a=view
>>
>>
>>
>> Alexandre Racine
>> Projets spéciaux
>>
>>
>>
>> -----Original Message-----
>> From: Rayson Ho [mailto:rayrayson at gmail.com]
>> Sent: Mon 2007-07-30 15:36
>> To: users at gridengine.sunsource.net
>> Subject: Re: [GE users] first question - mail notification
>>
>> Did you try to run invoke the "mailer" (configured in the SGE setup)
>> on the execution hosts and see whether it worked or not??
>>
>> Rayson
>>
>>
>>
>> On 7/30/07, Alexandre Racine <Alexandre.Racine at mhicc.org> wrote:
>>     
>>> I have added this to my batch file
>>>
>>> #$ -S /bin/bash
>>> #$ -m abe
>>> #$ -M myemail at domain.com
>>> #$ -cwd
>>>
>>> And I don't receive anything. I have try the "sendmail myemail at domain.com"
>>> command and it works.
>>> I have look in the logs of the server and SGE, but it would seems that there
>>> is nothing related to mail.
>>>
>>> Can someone help me on this? Thanks.
>>>
>>>
>>>
>>>
>>> Alexandre Racine
>>> Projets spéciaux
>>>
>>>
>>>       
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
>> For additional commands, e-mail: users-help at gridengine.sunsource.net
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
>> For additional commands, e-mail: users-help at gridengine.sunsource.net
>>
>>     
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
> For additional commands, e-mail: users-help at gridengine.sunsource.net
>
>
>
>   
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
> For additional commands, e-mail: users-help at gridengine.sunsource.net
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net




More information about the gridengine-users mailing list