[torqueusers] pbs_iff error on HPUX
Garrick Staples
garrick at clusterresources.com
Fri Aug 4 11:30:07 MDT 2006
On Fri, Aug 04, 2006 at 11:26:19AM -0500, Mike Coyne alleged:
> ON a HPUX platform running hpux 11.11 with torque 2.1.2 or 2.1.1 I am
> getting the following error
>
> I have checked pbs_iff and it is suid root
>
>
>
> When I try to do a pbs_iff -t <hpux server> 16001 I get the error
> pbs_iff: Invalid credential
>
> If I try to test against other torque servers and the pbs_iff returns
> without a warning ..
>
>
>
> I have compiled it as a 64bit executable under both cc and gcc
>
>
>
>
>
> #
>
> /opt/torque/beta/bin/qstat -a
>
> pbs_iff: Invalid credential
>
> ALERT: cannot read pipe, rc=0, errno=0 (Error 0)
>
> ERROR: cannot authenticate connection, errno=0 (Error 0)
>
> No Permission.
>
> qstat: cannot connect to server panama.pbdenton.paccar.com (errno=15007)
Does this fix it?
Index: src/lib/Libifl/pbsD_connect.c
===================================================================
--- src/lib/Libifl/pbsD_connect.c (revision 891)
+++ src/lib/Libifl/pbsD_connect.c (working copy)
@@ -502,6 +502,11 @@
return(-1);
}
+#if defined(__hpux)
+ /*HP-UX : avoiding socket caching */
+ send(connection[out].ch_socket, '?', 1, MSG_OOB);
+#endif
+
/* Have pbs_iff authencate connection */
if (PBSD_authenticate(connection[out].ch_socket) != 0)
More information about the torqueusers
mailing list