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

Re: [Condor-users] Errors while submitting condor jobs



I solved the problem running condor as root user. What if I want to
run condor with another user?

On 9/12/06, Alfonso Olias Sanz <alfonso.olias.sanz@xxxxxxxxx> wrote:
Hi there,

I am totally new with CONDOR and I having a write acces permission not
allowed to file while submitting a job to my condor pool

I am running all the samples under user aolias


#-------------------------------------------------------------------
SUBMIT TO CONDOR
#-------------------------------------------------------------------
aolias@aolias:~/GRAM_sample$ cat submit.EchoSample
########################
# Submit description file for hello program
########################
Executable     = /bin/echo
Universe       = standard
Input          = echo.in
Output         = echo.out
Log            = echo.log
Queue

aolias@aolias:~/GRAM_sample$ condor_submit submit.EchoSample
Submitting job(s).
Logging submit event(s).
1 job(s) submitted to cluster 82.

WARNING: File /home/aolias/GRAM_sample/echo.out is not writable by condor.


aolias@aolias:~/GRAM_sample$ cat echo.log
000 (082.000.000) 09/12 12:16:44 Job submitted from host: <172.22.61.27:56080>


LET'S try another sample!!
aolias@aolias:~/GRAM_sample$ cat submit.HelloCondor
########################
# Submit description file for hello program
########################
Executable     = HelloCondor
Universe       = standard
Output         = hello.out
Log            = hello.log
Queue

HelloCondor is a binary tha prints a message

aolias@aolias:~/GRAM_sample$ cat hello.in
Hello Condor
aolias@aolias:~/GRAM_sample$ condor_submit submit.HelloCondor
Submitting job(s).
Logging submit event(s).
1 job(s) submitted to cluster 84.

WARNING: File /home/aolias/GRAM_sample/hello.out is not writable by condor.

It must be some configuration error.

On another shell, I have started Condor with the user condor, and this
variables are set to

condor@aolias:/usr/condor-6.8.0$ condor_config_val FILESYSTEM_DOMAIN
aolias.indra.es
condor@aolias:/usr/condor-6.8.0$ condor_config_val UID_DOMAIN
aolias.indra.es
condor@aolias:/usr/condor-6.8.0$ condor_config_val FULL_HOSTNAME
aolias.indra.es

aolias@aolias:~/GRAM_sample$ ls -laFh
total 5.0M
drwxr-xr-x  2 aolias aolias 4.0K 2006-09-12 12:23 ./
drwxr-xr-x 20 aolias aolias 4.0K 2006-09-12 12:16 ../
-rw-r--r--  1 aolias aolias   16 2006-09-12 12:15 echo.in
-rw-r--r--  1 aolias aolias   83 2006-09-12 12:16 echo.log
-rw-r--r--  1 aolias aolias    0 2006-09-12 12:16 echo.out
-rwxr-xr-x  1 aolias aolias 4.9M 2006-09-08 10:56 HelloCondor*
-rw-r--r--  1 aolias aolias   13 2006-09-08 10:44 hello.in
-rw-r--r--  1 aolias aolias   83 2006-09-12 12:23 hello.log
-rw-r--r--  1 aolias aolias    0 2006-09-12 12:23 hello.out
-rw-r--r--  1 aolias aolias  474 2006-09-11 10:43 scondor.epr
-rwxr-xr-x  1 aolias aolias  224 2006-09-08 14:41 simple_condor_test2.xml*
-rwxr-xr-x  1 aolias aolias  190 2006-09-12 09:37 simple_condor_test.xml*
-rwxr-xr-x  1 aolias aolias  202 2006-09-11 09:44 simple_test.xml*
-rw-r--r--  1 aolias aolias  474 2006-09-08 13:57 st.epr
-rw-r--r--  1 aolias aolias  232 2006-09-12 12:16 submit.EchoSample
-rw-r--r--  1 aolias aolias  211 2006-09-08 10:56 submit.HelloCondor


Why can write to log files and not to the out ones, this means that
the processes are executed as another uid user? so they do not have
write permissions?

Please help!
Thanks in advance

PD More info
I am running Kubuntu Dapper 6.06

root@aolias:/usr/globus-4.0.3/var# dmesg
[17179569.184000] Linux version 2.6.15-26-386 (buildd@terranova) (gcc
version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)) #1 PREEMPT Thu Aug 3 02:52:00
UTC 2006


and I have installed  condor-6.8.0-linux-x86-rhel3-dynamic.tar.gz

condor@aolias:/usr/condor-6.8.0$ cat /home/condor/log/MasterLog
9/12 11:21:30 ******************************************************
9/12 11:21:30 ** condor_master (CONDOR_MASTER) STARTING UP
9/12 11:21:30 ** /usr/condor-6.8.0/sbin/condor_master
9/12 11:21:30 ** $CondorVersion: 6.8.0 Jul 19 2006 $
9/12 11:21:30 ** $CondorPlatform: I386-LINUX_RHEL3 $
9/12 11:21:30 ** PID = 10818
9/12 11:21:30 ** Log last touched 9/12 11:21:27
9/12 11:21:30 ******************************************************
9/12 11:21:30 Using config source: /usr/condor-6.8.0/etc/condor_config
9/12 11:21:30 Using local config sources:
9/12 11:21:30    /home/condor/condor_config.local
9/12 11:21:30 DaemonCore: Command Socket at <172.22.61.27:38394>
9/12 11:21:30 Started DaemonCore process
"/usr/condor-6.8.0/sbin/condor_collector", pid and pgroup = 10819
9/12 11:21:30 Started DaemonCore process
"/usr/condor-6.8.0/sbin/condor_negotiator", pid and pgroup = 10820
9/12 11:21:30 Started DaemonCore process
"/usr/condor-6.8.0/sbin/condor_schedd", pid and pgroup = 10821
9/12 11:21:30 Started DaemonCore process
"/usr/condor-6.8.0/sbin/condor_startd", pid and pgroup = 10822