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

[Condor-users] uid issues with condor master



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

 

**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***