[torqueusers] torque sendmail child process error: No child process
dufandf at gmail.com
Thu Nov 21 18:35:39 MST 2013
Hi Gus Correa,
On my ubuntu I installed msmtp-mta, so sendmail is in /usr/sbin/sendmail
and is a symbolic link to /usr/bin/msmtp. Did not install the original
sendmail in ubuntu repo because it seems hard to configure it properly.
#pbs -M and -m is set in the script.
Seemsthat the problem is in Torque to invoke sendmail as
'/usr/sbin/sendmail -f adm XXX at gmail.com', which looks like an invalid
script. I had used Postfix as an MTA and everything goes well. Just want to
know if Torque can work with msmtp and msmtp-mta. If not, I can swtich back
Thank you all.
On Fri, Nov 22, 2013 at 2:38 AM, Gus Correa <gus at ldeo.columbia.edu> wrote:
> Hi Fan Du
> My recollection is that Torque hardwires the sendmail location at
> configure time. The Ubuntu packager seems to have chosen/defaulted to
> Where is your sendmail installed in Ubuntu? ('which sendmail')
> Also, did you set the -M and -m option on the job script?
> #PBS -M yourname at gmail.com
> My two cents,
> Gus Correa
> On 11/21/2013 02:45 AM, Fan Du wrote:
> > Dear All,
> > I'm running Torque installed from apt-get on Ubuntu server 12.04. The
> > torque-server, torque-mom and client are all on the same single machine.
> > Everything goes well except that the notification email cann't be sent.
> > While I checked /var/spool/torque/server_logs it says Email 'b' to
> > xxx at gmail.com <mailto:xxx at gmail.com> failed: Child process
> > '/usr/sbin/sendmail -f adm xxx at gmail.com <mailto:xxx at gmail.com>'
> > returned 78 (errno 10: No child process).
> > However outside Torque I can send emails with `sendmail` successfully on
> > the command line.
> > After Googling for hours no light was shone upon me. Anyone could give
> > me some help?
> > Best wishes,
> > Fan
> > _______________________________________________
> > torqueusers mailing list
> > torqueusers at supercluster.org
> > http://www.supercluster.org/mailman/listinfo/torqueusers
> torqueusers mailing list
> torqueusers at supercluster.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the torqueusers