[torqueusers] Torque and NIS

Garrick Staples garrick at usc.edu
Wed Jul 13 18:20:17 MDT 2005

On Thu, Jul 14, 2005 at 10:02:03AM +1000, Ashley Wright alleged:
> Hi,
> We have a new cluster I am setting up torque on, we have just recently 
> got NIS working for user authentication. When I run a torque job I get 
> the following on the nodes:
> 07/14/2005 09:01:36;0001;   pbs_mom;Svr;pbs_mom;Success (0) in 
> fork_to_user, cannot find user 'wright4' in password file
> 07/14/2005 09:01:36;0001;   pbs_mom;Svr;pbs_mom;Inappropriate ioctl for 
> device (25) in req_cpyfile, fork_to_user failed with rc=-15023 'cannot 
> find user 'wright4' in password file' - returning failure
> Now cause we are using NIS the /etc/passwd file is rather empty. Is it 
> possible for torque to get the information about the user from the NIS 
> database instead of /etc/passwd?

That error message is kind of misleading.  It's not really searching
/etc/passwd, it is just doing a normal getpwnam() call which will go through

Assuming Linux...
Does 'getent passwd wright4' work on that node?  If not then your machine isn't
configured correctly.  You need "nis" in the passwd line (and probably other
lines) of /etc/nsswitch.conf.  Also see 'man nsswitch.conf'.

Garrick Staples, Linux/HPCC Administrator
University of Southern California
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torqueusers/attachments/20050713/ad56e96d/attachment.bin

More information about the torqueusers mailing list