Hi,

Am 15.03.2013 um 15:36 schrieb Campbell McLeay:

> We're running Grid Engine 6.2u5, and we're having an issue with jobs not 
> getting run because one node (out of several hundred) has a NIS error (so 
> can't run the job). The whole job then sits in an error state, due presumably 
> to the returned prolog errors. Is it possible to have the host set to 
> 'Errored' in case of a NIS error, so it won't accept any more jobs? I haven't 
> been able to find a way to do this so far.

If it's to detect a NIS error: would it work for you to run the prolog under a 
user which exists for sure (depending what you are performing in the prolog), 
and test the availability of the target user for the real job? If $(getent 
passwd $USER) succeeds, then the target user is known.

There were some discussions before about such a matter, but for other errors 
with a similar effect in the end:

http://www.mail-archive.com/[email protected]/msg00261.html

-- Reuti


> Cheers,
> 
> Campbell
> 
> -- 
> 
> Campbell McLeay | Senior Systems Administrator
> T: +44 797 164 1427
> E: [email protected]
> A: 2-4 Bucknall Street, London WC2H 8LA
> 
> _______________________________________________
> users mailing list
> [email protected]
> https://gridengine.org/mailman/listinfo/users


_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to