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

Re: [Condor-users] condor jobs



Thank you Garrett,
I changed the STARTER_ALLOW_RUNAS_OWNER =TRUE and also the output path to /tmp/test.out....
But Still see in test.log

000 (009.000.000) 08/11 15:53:55 Job submitted from host: <20.1.1.1:49856>
...
007 (009.000.000) 08/11 15:53:56 Shadow exception!
        Error from slot1@xxxxxxxxxxx: Failed to open '/tmp/test.out' as standard output: Permission denied (errno 13)
        0  -  Run Bytes Sent By Job
        0  -  Run Bytes Received By Job
...
012 (009.000.000) 08/11 15:53:56 Job was held.
        Error from slot1@xxxxxxxxxxx: Failed to open '/tmp/test.out' as standard output: Permission denied (errno 13)
        Code 7 Subcode 13




Aslo I changed /tmp permission to 777

With Best Regards
sunil

On Wed, Aug 10, 2011 at 6:16 PM, Koller, Garrett <kollerg14@xxxxxxxxxxxx> wrote:
Sunil,

I think I've come across this before.  The problem is that the job is being run as the low-permissions user "nobody".  To fix this, set "run_as_owner = True" in your submit file (STARTER_ALLOW_RUNAS_OWNER must be set to TRUE in the Condor configuration file).  Alternatively, if this isn't a good option, you can place the output files in a folder that is global readable and writable so that even the user "nobody" which has no permissions will be able to write files to it, except that you probably DON'T want to do this with your home directory, obviously.  If you're just testing, try saving the output as "/tmp/test.out", since that folder is always writable to anyone, but keep in mind that everything in "/tmp/" is deleted at shutdown.

Best Regards,
 ~ Garrett

On Aug 10, 2011, at 6:25 AM, Sunil M. Dogra wrote:

Hi,
I submit one test jobs and got following errer,

Thank you
With Best Regards
sunil

000 (005.000.000) 06/10 12:17:49 Job submitted from host: <20.1.1.1:33324>
...
007 (005.000.000) 06/10 12:37:52 Shadow exception!
        Error from slot1@xxxxxxxxxxx: Failed to open '/home/sunil/test.out' as standard output: Permission denied (errno 13)
        0  -  Run Bytes Sent By Job
        0  -  Run Bytes Received By Job
...
012 (005.000.000) 06/10 12:37:52 Job was held.
        Error from slot1@xxxxxxxxxxx: Failed to open '/home/sunil/test.out' as standard output: Permission denied (errno 13)
        Code 7 Subcode 13
...
009 (005.000.000) 08/01 12:33:56 Job was aborted by the user.
        via condor_rm (by user condor)
...
000 (006.000.000) 08/10 15:51:37 Job submitted from host: <20.1.1.1:38120>
...
007 (006.000.000) 08/10 15:51:49 Shadow exception!
        Error from slot1@xxxxxxxxxxx: Failed to open '/home/sunil/test.out' as standard output: Permission denied (errno 13)
        0  -  Run Bytes Sent By Job
        0  -  Run Bytes Received By Job
...
012 (006.000.000) 08/10 15:51:49 Job was held.
        Error from slot1@xxxxxxxxxxx: Failed to open '/home/sunil/test.out' as standard output: Permission denied (errno 13)
        Code 7 Subcode 13

_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/


_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/