We have Condor installed over Xen 3.0 user domain
which uses a file system from FC4 Condor version downloaded was condor-6.6.10-linux-x86-glibc23.tar.gz When we run it as non root account then it works
fine. However when we start it as root after setting
CONDOR_IDS to point to condor then it fails. Please find the log below: Master log output 12/27 15:33:10 ERROR: can't find username of current user! BEWARE:
$(USERNAME) will be undefined 12/27 15:33:10 passwd_cache::cache_uid():
getpwnam("condor") failed: Inappropriate ioctl for device 12/27 15:33:10 passwd_cache::cache_uid():
getpwnam("condor") failed: Inappropriate ioctl for device 12/27 15:33:10
****************************************************** 12/27 15:33:10 ** condor_master (CONDOR_MASTER) STARTING UP 12/27 15:33:10 ** /share/condor/sbin/condor_master 12/27 15:33:10 ** $CondorVersion: 6.6.10 Jun 13 2005 $ 12/27 15:33:10 ** $CondorPlatform: I386-LINUX_RH9 $ 12/27 15:33:10 ** PID = 3697 12/27 15:33:10
****************************************************** 12/27 15:33:10 Using config file: /etc/condor/condor_config 12/27 15:33:10 Using local config files:
/home/condor/condor_config.local 12/27 15:33:10 DaemonCore: Command Socket at <0.0.0.0:32790> 12/27 15:33:10 ERROR "default_daemon_name() returned
NULL" at line 794 in file master.C Program for check getpwnam #include <sys/types.h> #include <stdio.h> #include <pwd.h> int main(void) { struct passwd *a = getpwnam("condor"); if (a) { printf("%s\n%s\n%d\n%d\n%s\n", a->pw_name, a->pw_passwd, a->pw_uid, a->pw_gid, a->pw_gecos); } else { printf("user not
found\n"); } return 1; } OUTPUT: condor x 502 502 Regards, Dheepak Ra High Performance
Computing Division Software
Engineering & Technology Labs
|