Date: Thu, 10 Dec 2015 13:55:58
From: Zach Miller <zmiller@xxxxxxxxxxx>
Reply-To: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx>
To: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx>
Cc: Sameem Zahoor <zsameem@xxxxxxxxx>
Subject: Re: [HTCondor-users] HTCondor matchmaker and permissions problem.
-----Original Message-----
From: HTCondor-users [mailto:htcondor-users-bounces@xxxxxxxxxxx] On Behalf
Of ap817
Sent: Thursday, December 10, 2015 5:12 AM
To: HTCondor-Users Mail List
Cc: Sameem Zahoor
Subject: Re: [HTCondor-users] HTCondor matchmaker and permissions problem.
As per the permission issue, you have to make sure the script in the
condor executable is indeed executable. You can do this by changing
file permissions with chmod 777 (filename).
You should _not_ make your executable world writable. Someone else on
the system could potentially change the script to do something nasty,
and then you would execute it. You can use 'chmod 755' instead.
However, that's not the real issue here either, just thought I would
clarify.
On 10.12.2015 11:02, Sameem Zahoor wrote:
Hi all,
I am working on a Policy for HTCondor setup for a cluster at ICTS [1].
I have installed and configured condor on my laptop for now and I am
facing two issues.
1. CONDOR MATCHMAKER:
When I submit a job, it sits idle for a long time (around 20 mins). On
doing _condor_q - analyze _the result says:
" 005.000: Request has not yet been considered by the matchmaker"
Now I want to know how to increase the rate at which the _matchmaker
_looks for the jobs in the queue.
In your condor_config, you can set NEGOTIATOR_INTERVAL to something like 15 seconds and jobs will be considered more often.
You can also run the command "condor_reschedule" to hint to the matchmaker to try again.
2. PERMISSION ISSUE:
Eventually after 20 minutes or so when the job starts, it goes into
the HOLD state, with the following error in the logs
012 (005.000.000) 12/10 15:55:33 Job was held.
Error from slot2@sameem-Ideapad: Failed to open
'/home/sameem/Desktop/condor/testjob/outputfile' as standard output:
Permission denied (errno 13)
Code 7 Subcode 13
This isn't related to the executable file, but rather HTCondor is trying to open that file to store your stdout for the job. Presumably you specified this by setting "output" in your job submit file. Does that path exist, and is writable by you? Outside of HTCondor, try:
touch /home/sameem/Desktop/condor/testjob/outputfile
and if that doesn't work try to figure out why. Maybe the ownership or permissions are incorrect on the parent directories. It might also depend on what user you are running HTCondor as (root? condor? yourself?)
Cheers,
-zach
_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/