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

Re: [Condor-users] Condor on Ubuntu





On 11/30/07 8:38 PM, "Maxim kovgan" <maxim.kvg@xxxxxxxxx> wrote:

> davisp wrote:
>> Howdy,
>> 
>> I'm new to using condor and I've run into a problem that's driving me nuts.
>> For some reason, anytime I start condor_master as root, it gives this error:
>> 
>> ERROR: the uid specified in CONDOR_IDS config file variable (1003)
>> does not exist in your password information.
>> Please set CONDOR_IDS to the '.' seperated uid, gid pair that
>> should be used by condor.
>> 
>> Running condor_master as user condor gives this output in the MasterLog:
>> 
>> 11/30 10:21:53 ERROR: can't find username of current user! BEWARE:
>> $(USERNAME) will be undefined
>> 11/30 10:21:53 ******************************************************
>> 11/30 10:21:53 ** condor_master (CONDOR_MASTER) STARTING UP
>> 11/30 10:21:53 ** /mnt/data/condor/sbin/condor_master
>> 11/30 10:21:53 ** $CondorVersion: 6.9.5 Nov 28 2007 BuildID: 65347 $
>> 11/30 10:21:53 ** $CondorPlatform: I386-LINUX_DEBIAN40 $
>> 11/30 10:21:53 ** PID = 30417
>> 11/30 10:21:53 ** Log last touched 11/30 10:21:24
>> 11/30 10:21:53 ******************************************************
>> 11/30 10:21:53 Using config source: /mnt/data/condor/etc/condor_config
>> 11/30 10:21:53 Using local config sources:
>> 11/30 10:21:53    /mnt/data/condor/hosts/nebula/condor_config.local
>> 11/30 10:21:53 DaemonCore: Command Socket at <192.168.0.1:45245>
>> 11/30 10:21:53 IPVERIFY: unable to resolve IP address of hostname
>> 11/30 10:21:53 ERROR: Unable to find collector info in configuration file!!!
>> 11/30 10:21:53 passwd_cache::cache_uid(): getpwnam("condor") failed: user
>> not found
>> 11/30 10:21:53 passwd_cache::cache_uid(): getpwnam("condor") failed: user
>> not found
>> 
> 
> I think the above lines should have made you suspicious about the existence of
> user "condor"
> 
> Under linux, condor should run as an unprivileged user, usually named "condor"
> you should make sure it's defined everywhere you run condor.
> 
> and this has nothing to do with ubuntu.
> 

They sure did make me suspicious. Especially because the condor user existed
on each host with the same uid and gid.

Actually, these lines where the ones that made me suspicious enough to write
a short C program to call getpwnam to make sure it wasn't something on my
system. After that worked and reported the correct uid and gid, I went back
to trying different versions of condor. Which eventually proved to be the
answer. :D

Paul Davis