[GE users] one node keeps going into error state

Rayson Ho raysonho at eseenet.com
Tue Nov 23 22:33:33 GMT 2004


    [ The following text is in the "iso-8859-1" character set. ]
    [ Your display is set for the "ISO-8859-10" character set.  ]
    [ Some special characters may be displayed incorrectly. ]

>I put some debug lines into shepherd.c and rebuilt sge_shepherd
>on Solaris.  Traced the problem to here:
>
>   if (getcwd(shepherd_job_dir, 2047) == NULL) {
>
>which was coming back NULL. This is really odd.

Can you put add perror(3) right after the call to getcwd??

Something like:

if (getcwd(shepherd_job_dir, 2047) == NULL) {
 perror("getcwd : ");
}

Rayson

---------------------------------------------------------
Get your FREE E-mail account at http://www.eseenet.com !

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net




More information about the gridengine-users mailing list