[torqueusers] Re: Torque 2.3.0 problem

Enrico Morelli enrico.morelli at gmail.com
Wed Feb 27 07:03:54 MST 2008


I checked for the code to found where is the "cannot save creds" error.
This error is in src/server/req_quejob.c:

#ifdef GSSAPI
  /* save gssapi/krb5 creds for this job */
  sprintf(log_buffer,"saving creds.  conn is %d, creds %p, princ %s",
          preq->rq_conn, svr_conn[preq->rq_conn].creds,
svr_conn[preq->rq_conn].principal);
  log_event(PBSEVENT_DEBUG,
            PBS_EVENTCLASS_SERVER,"req_quejob",log_buffer);
  ccname = ccname_for_job(jid,path_creds);
  if (pbsgss_save_creds(svr_conn[preq->rq_conn].creds,
                        svr_conn[preq->rq_conn].principal,
                        ccname) != 0) {
    req_reject(rc,0,preq,NULL,"cannot save creds");
  }
  jobidcopy = malloc(sizeof(char) * (strlen(jid) + 2));
  strcpy(jobidcopy,jid);
  set_task(WORK_Timed,time((time_t *)0) +
3600*3,renew_job_credentials,jobidcopy);
  free(ccname);

#endif /* GSSAPI */


In fact in the log I see:

req_quejob;saving creds.  conn is 12, creds (nil), princ (null)

I continue to check hoping that someone could help me.

Enrico
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/torqueusers/attachments/20080227/0fbc11ec/attachment.html


More information about the torqueusers mailing list