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

Re: [Condor-users] Permission problem with condor on windows



Hi Dave,

I think it has to do with the fact that condor is running
as a non priviliged user on win (automatically created, condor-vmx
or so if I'm not mistaken).

How about not setting initial-dir and simply writing to the
current execute/xxx/ dir, so that the logs get transferred
back to your original submit dir via condorfs.

Alternatively, you can force condor to run jobs as a different
user ID with more permissions.

- Filip


> The starter deamon can't open the STDOUT/ERR file as specified in the
> submit file.
>
> I am using vanilla universe, under condor 6.6.8, on windows XP
> My pool is one machine, which act as master/startd/sched/colletc (
> everything basically )
> I have made sure the condor service under my user/login
> I changed the file/directory permission such everyone can read and write
> it.
> The exec is "perl" and the argument is a perl script I have wrote, which
> is a wrapper around my software application
> To trap Signals, and properly clean up on exit/vacate/preemption.
> The script works fine in command line ( manual execution in DOS command
> prompt )
> I can open the files with notepad, without a problem.
>
> Nevertheless, I still get this error.
> Any clues what is going on?
>
> Tx again
> Dave.
>
> 2/25 13:59:39 ******************************************************
> 2/25 13:59:39 ** condor_starter (CONDOR_STARTER) STARTING UP
> 2/25 13:59:39 ** C:\Condor\bin\condor_starter.exe
> 2/25 13:59:39 ** $CondorVersion: 6.6.7 Oct 14 2004 $
> 2/25 13:59:39 ** $CondorPlatform: INTEL-WINNT40 $
> 2/25 13:59:39 ** PID = 1488
> 2/25 13:59:39 ******************************************************
> 2/25 13:59:39 Using config file: C:\Condor\condor_config
> 2/25 13:59:39 Using local config files: C:\Condor/condor_config.local
> 2/25 13:59:39 DaemonCore: Command Socket at <192.168.10.90:3796>
> 2/25 13:59:39 Setting resource limits not implemented!
> 2/25 13:59:39 Starter communicating with condor_shadow
> <192.168.10.90:3791>
> 2/25 13:59:39 Submitting machine is "DAVELAJ_M60.PRODUCTION"
> 2/25 13:59:39 Starting a VANILLA universe job with ID: 41.0
> 2/25 13:59:39 IWD: C:\Condor\wrapper
> 2/25 13:59:39 Failed to open standard output file
> 'C:\Condor\wrapper\41.0_out.txt': Permission denied (errno 13)
> 2/25 13:59:39 Output file: C:\Condor\wrapper\41.0_out.txt
> 2/25 13:59:39 Failed to open standard error file
> 'C:\Condor\wrapper\41.0_err.txt': Permission denied (errno 13)
> 2/25 13:59:39 Error file: C:\Condor\wrapper\41.0_err.txt
> 2/25 13:59:39 Failed to open some/all of the std files...
> 2/25 13:59:39 Aborting OsProc::StartJob.
> 2/25 13:59:39 Failed to start job, exiting
> 2/25 13:59:39 ShutdownFast all jobs.
> 2/25 13:59:39 **** condor_starter (condor_STARTER) EXITING WITH STATUS 0
>
>
> My submit file
>
> universe = vanilla
> executable = perl
> Requirements = (Has_XSI42_Batch == TRUE) && (Memory >= 1024)
> Rank = (machine == "DAVELAJ_M60.PRODUCTION")
> output = $(Cluster).$(Process)_out.txt
> error = $(Cluster).$(Process)_err.txt
> log = $(Cluster).$(Process).log
> notification = always
> notify_user = dlajoie@xxxxxxxxxxxxxxxxxxxx
> copy_to_spool = false
> should_transfer_files = false
>
> priority = 10
> initialdir = C:\Condor\wrapper
> arguments = C:\Condor\wrapper\xsibatch42_wrapper.pl
> queue
>
> _______________________________________________
> Condor-users mailing list
> Condor-users@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/condor-users
>