Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] Condor on Ubuntu
- Date: Wed, 18 May 2011 10:30:38 -0500
- From: Ed Al Zap <edalzap@xxxxxxxxx>
- Subject: Re: [Condor-users] Condor on Ubuntu
Sorry my bad, I added that right after the:
#! /bin/sh
In my init script it's the 2nd line.
Bye.
On 5/18/11, Ed Al Zap <edalzap@xxxxxxxxx> wrote:
> Hi Gerrit,
> My 1st idea:
> Did you check that when a user login the CONDOR_CONFIG variable is set?
> If I'm not wrong init script will run as root, so when you access to
> root's account that variable should be set too.
> I was getting that error too, I just add this to the 2nd line of the
> init script:
> . /PATH_TO_CONDOR/condor.sh # Load Condor's Enviroment Variables for *SH
> It is: Dot Space Slash Path_To_Condor Slash etc :)
> No more changes where required in any other file.
>
> Hope this help you
> Bye.
>
> On 5/18/11, Gerrit Garbereder <Garbereder@xxxxxxxxxxxxxxxxx> wrote:
>> Hey folks,
>>
>> I'Ve installed a condor master on my Ubuntu machine. It works very
>> well, but I've some trouble with the init script. When I want to start
>> the master via init script I get an error that says "FATAL: Required
>> directory /var/run/condor does not exist, or is not a directory.". My
>> idea was now to create the directory if missing. This is done also in
>> the start() routine, but this is too late cause the verfiy_directory
>> routine checks it first and stops the script. So I've copied the
>> chekcing an creating from the start routine to the lines above from
>> the lines where the directory gets checked. So my routine looks now
>> like this:
>>
>> set_condor_run() {
>> if [ "$CONDOR_RUN" != "" ]; then
>> return 0
>> fi
>> CONDOR_RUN=`get_condor_config_val RUN no`
>> if [ "$CONDOR_RUN" = "" ]; then
>> CONDOR_RUN=`get_condor_config_val LOG yes`
>> fi
>> if [ "$CONDOR_RUN" != "" -a ! -d "$CONDOR_RUN" ] ; then
>> mkdir "$CONDOR_RUN"
>> fi
>> verify_readable_directory "$CONDOR_RUN"
>> return 0
>> }
>>
>> Are there any reasons why not to modify the file like this?
>>
>> Best regards,
>> Gerrit
>>
>> --
>> Gerrit Garbereder B.Sc.
>> Mathematisch-technischer Softwareentwickler
>>
>> RWTH Aachen University, Center for Computing and Communication
>> Rechen- und Kommunikationszentrum
>> Virtual Reality Group
>> Dienstgebäude Kopernikusstraße 6, 52074 Aachen (Germany)
>> Raum 108
>> Tel.: +49 (0) 241 80-29731
>> mailto:garbereder@xxxxxxxxxxxxxxxxx
>> URL: www.vr.rwth-aachen.de
>> _______________________________________________
>> 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/
>>
>
>
> --
> Edier Alberto Zapata Hernández
> Ingeniero de Sistemas
> Universidad de Valle
>
--
Edier Alberto Zapata Hernández
Ingeniero de Sistemas
Universidad de Valle