[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] Weird problem with Condor 6.6.9



On Thu, Apr 21, 2005 at 01:32:32PM -0500, Jeremy Mann wrote:
> We have just updated our Condor to 6.6.9 to run on our new cluster. I'm
> having a difficult problem with Condor writing the err and out files. The
> weird thing is that it will write a log file if I specify one in my submit
> file, but not output or error.
> 
> The submit file I'm using:
> Executable = fibonacci
> Output = fib.out
> Log = fib.log
> Queue 1
> 
> When I submit I get this:
> jeremy@bcf:~/condor> condor_submit fibonacci.sub
> Submitting job(s).
> Logging submit event(s).
> 1 job(s) submitted to cluster 3.
> 
> WARNING: File /home/user/jeremy/condor/fib.out is not writeable by condor.
> 
> Now if I run ls in the directory, I get the Log file, but not the out file:
> jeremy@bcf:~/condor> ls -l fib*
> -rw-r--r--  1 jeremy users   164 2005-04-21 13:21 fib.log
> -rwxr-xr-x  1 jeremy users 11949 2005-04-21 13:16 fibonacci
> -rw-r--r--  1 jeremy users   336 2005-04-21 13:14 fibonacci.c
> -rw-r--r--  1 jeremy users    62 2005-04-21 13:16 fibonacci.sub
> -rw-r--r--  1 jeremy users     0 2005-04-21 13:21 fib.out
> 
> Why would it write the log file, but say it can't write the out file?
> 

You're probably on an NFS filesystem with root squash turned on - the
output and error files are created by the condor_schedd, which is running
as root and then switches EUID to be user 'jeremy' as needed - but if
the Real UID == 0, then it gets mapped to 'nobody'.

The reason fib.log gets created is that condor_submit creates it - which
is running with RUID=EUID='jeremy', so there's no trouble in creating it.

-Erik