[torquedev] Java, DRMAA and pbs_iff

Garrick Staples garrick at usc.edu
Tue Aug 12 14:36:00 MDT 2008


On Tue, Aug 12, 2008 at 03:40:45PM -0400, Felix, Victor alleged:
> Hi All,
> 
> I've done a little work to get a Java DRMAA library going for Torque
> using JNI to wrap around the provided C libraries. However, when I try
> to run a test job I get the following error:
> 
> pbs_iff: file not setuid root, likely misconfigured
> pbs_iff: cannot connect to master:15001 - fatal error, errno=13
> (Permission denied) cannot bind to reserved port in client_to_svr
> 
> I've checked the pbs_iff file on the machine where the code ran and it
> is definitely setuid to root. Incidentally, if I execute
> `/usr/sbin/pbs_iff -t master 15001`, it exits 0 with no errors or

Is pbs_iff being run traced?  If so, then setting id will fail.


> warnings. If I run the DRMAA code as root I get a slightly different
> error:
> 
> org.ggf.drmaa.AuthorizationException: pbs-drm: Bad UID for job execution

By default, root can't submit jobs.  See "acl_roots" in pbs_server_attributes(7).


-- 
Garrick Staples, GNU/Linux HPCC SysAdmin
University of Southern California

Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
-------------- 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/torquedev/attachments/20080812/df591ead/attachment.bin


More information about the torquedev mailing list