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

[Condor-users] Master won't start



We ran Condor awhile ago and turned it off while we did some changes,
and now I'm setting it up again.  I've got a Fedora 3 machine (quad
Opteron) which I'm setting up with Condor 6.7.17, and every time I run
it I get the following error:

 Neither the environment variable CONDOR_CONFIG,
 /etc/condor/, nor ~condor/ contain a condor_config file.
 Either set CONDOR_CONFIG to point to a valid config file,
 or put a "condor_config" file in /etc/condor or ~condor/

There *is* a condor_config file in ~condor/ and this is the same setup
we used before with the previous machines (though I edited the file so
it reflects the new setup, and new options since this is also a newer
version of the software).  If I do as it says and set an environment
variable, I instead get the following:

 ERROR: the uid specified in CONDOR_IDS config file variable (9016)
 does not exist in your password information.
 Please set CONDOR_IDS to the '.' seperated uid, gid pair that
 should be used by condor.

Our authentication is done via LDAP, but the UID 9016 does in fact match
the condor user.  All the files are owned by the condor user as well.

If I instead run the daemon as root (which is what I want to do), I get
the "no config" error no matter what, even if I set the environment
variable - *except* if I try to run it through gdb, then I get the "no
UID" error.  I hoped that there'd be some debugging in the binaries,
which is how I found the difference running through gdb.

I've attached an strace of the process if it will help someone, but I
don't see where it even tries to look up anything to determine that
there is no file in ~condor, nor does it look in /etc/condor.  This
trace was when running it as root.

Any ideas?

-- 
Steve Huston - W2SRH - Unix Sysadmin, Dept. of Astrophysical Sciences
  Princeton University  |    ICBM Address: 40.346525   -74.651285
    126 Peyton Hall     |"On my ship, the Rocinante, wheeling through
  Princeton, NJ   08544 | the galaxies; headed for the heart of Cygnus,
    (609) 258-7375      | headlong into mystery."  -Rush, 'Cygnus X-1'
14694 execve("/u/condor/sbin/condor_master", ["/u/condor/sbin/condor_master"], [/* 29 vars */]) = 0
14694 uname({sys="Linux", node="armstrong.astro.Princeton.EDU", ...}) = 0
14694 brk(0)                            = 0x838e000
14694 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
14694 open("/etc/ld.so.cache", O_RDONLY) = 3
14694 fstat64(0x3, 0xffffc0c8)          = 0
14694 old_mmap(0x1632500000000, 8589934593, PROT_READ|PROT_WRITE, 0xf /* MAP_??? */|MAP_FIXED|MAP_ANONYMOUS|MAP_NORESERVE|MAP_POPULATE|MAP_NONBLOCK|MAP_GROWSDOWN|MAP_DENYWRITE|MAP_EXECUTABLE|MAP_LOCKED|0xfffe06c0, 2050, 0x4aa00000000) = 0xfffffffff7fe7000
14694 close(3)                          = 0
14694 open("/lib/libcrypt.so.1", O_RDONLY) = 3
14694 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\7\0"..., 512) = 512
14694 fstat64(0x3, 0xffffc15c)          = 0
14694 old_mmap(0x100000000000, 146028888067, PROT_READ|PROT_WRITE|PROT_EXEC|PROT_GROWSDOWN|PROT_GROWSUP|0xfcfffff8, 0x4 /* MAP_??? */|MAP_FIXED|MAP_ANONYMOUS|MAP_NONBLOCK|MAP_GROWSDOWN|MAP_DENYWRITE|0x640680, 6624504, 0x80064a435) = 0xfffffffff7fe6000
14694 old_mmap(0x2d13c00000000, 8804682956805, PROT_READ|PROT_WRITE, MAP_FILE, 0, 0) = 0xfffffffff7fb8000
14694 old_mmap(0x2000f7fbd000, 8873402433539, PROT_READ|PROT_WRITE, MAP_FILE, 0, 0) = 0xfffffffff7fbd000
14694 old_mmap(0x2613cf7fbf000, 214748364803, PROT_READ|PROT_WRITE|PROT_EXEC|PROT_GROWSDOWN|PROT_GROWSUP|0xfcfffff8, MAP_FILE, 0, 0) = 0xfffffffff7fbf000
14694 close(3)                          = 0
14694 open("/lib/libdl.so.2", O_RDONLY) = 3
14694 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260kz\000"..., 512) = 512
14694 fstat64(0x3, 0xffffc140)          = 0
14694 old_mmap(0x3064007a6000, 8804682956805, PROT_READ|PROT_WRITE, 0xb /* MAP_??? */|0x640000, 155964, 0xffffffff00000032) = 0x7a6000
14694 old_mmap(0x2000007a8000, 8873402433539, PROT_READ|PROT_WRITE, 0xb /* MAP_??? */|0x640000, 155964, 0xffffffff00000032) = 0x7a8000
14694 close(3)                          = 0
14694 open("/lib/libresolv.so.2", O_RDONLY) = 3
14694 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360#\0"..., 512) = 512
14694 fstat64(0x3, 0xffffc124)          = 0
14694 old_mmap(0x138a800000000, 8804682956805, PROT_READ|PROT_WRITE, 0xb /* MAP_??? */|MAP_ANONYMOUS|MAP_NORESERVE|MAP_POPULATE|MAP_NONBLOCK|MAP_GROWSDOWN|MAP_DENYWRITE|MAP_EXECUTABLE|MAP_LOCKED|0x620000, 0, 0x300000812) = 0xfffffffff7fa4000
14694 mprotect(0xf7fb3000, 18600, PROT_NONE) = 0
14694 old_mmap(0x2000f7fb4000, 8873402433539, PROT_READ|PROT_WRITE, 0xb /* MAP_??? */|MAP_ANONYMOUS|MAP_NORESERVE|MAP_POPULATE|MAP_NONBLOCK|MAP_GROWSDOWN|MAP_DENYWRITE|MAP_EXECUTABLE|MAP_LOCKED|0x620000, 0, 0x300000812) = 0xfffffffff7fb4000
14694 old_mmap(0x18a8f7fb6000, 214748364803, PROT_READ|PROT_WRITE|PROT_EXEC|PROT_GROWSDOWN|PROT_GROWSUP|0xfcfffff8, 0xb /* MAP_??? */|MAP_ANONYMOUS|MAP_NORESERVE|MAP_POPULATE|MAP_NONBLOCK|MAP_GROWSDOWN|MAP_DENYWRITE|MAP_EXECUTABLE|MAP_LOCKED|0x620000, 0, 0x300000812) = 0xfffffffff7fb6000
14694 close(3)                          = 0
14694 open("/usr/lib/libstdc++.so.5", O_RDONLY) = 3
14694 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\276\3"..., 512) = 512
14694 fstat64(0x3, 0xffffc108)          = 0
14694 old_mmap(0xb955400000000, 8804682956805, PROT_READ|PROT_WRITE, 0x8 /* MAP_??? */|MAP_FIXED|MAP_ANONYMOUS|MAP_NONBLOCK|MAP_EXECUTABLE|0x6404c0, 6623156, 0xffffc00cf7fe6798) = 0xfffffffff7eea000
14694 old_mmap(0x5000f7f9a000, 8873402433539, PROT_READ|PROT_WRITE, 0x8 /* MAP_??? */|MAP_FIXED|MAP_ANONYMOUS|MAP_NONBLOCK|MAP_EXECUTABLE|0x6404c0, 6623156, 0xffffc00cf7fe6798) = 0xfffffffff7f9a000
14694 old_mmap(0x4554f7f9f000, 214748364803, PROT_READ|PROT_WRITE|PROT_EXEC|PROT_GROWSDOWN|PROT_GROWSUP|0xfcfffff8, 0x8 /* MAP_??? */|MAP_FIXED|MAP_ANONYMOUS|MAP_NONBLOCK|MAP_EXECUTABLE|0x6404c0, 6623156, 0xffffc00cf7fe6798) = 0xfffffffff7f9f000
14694 close(3)                          = 0
14694 open("/lib/tls/libm.so.6", O_RDONLY) = 3
14694 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0Cx\000"..., 512) = 512
14694 fstat64(0x3, 0xffffc0ec)          = 0
14694 old_mmap(0x220a000781000, 8804682956805, PROT_READ|PROT_WRITE, MAP_FILE, 0, 0) = 0x781000
14694 old_mmap(0x2000007a2000, 8873402433539, PROT_READ|PROT_WRITE, MAP_FILE, 0, 0) = 0x7a2000
14694 close(3)                          = 0
14694 open("/lib/libgcc_s.so.1", O_RDONLY) = 3
14694 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\f\225\302"..., 512) = 512
14694 fstat64(0x3, 0xffffc0d0)          = 0
14694 old_mmap(0x7d7800c28000, 8804682956805, PROT_READ|PROT_WRITE, 0x8 /* MAP_??? */|MAP_FIXED|MAP_ANONYMOUS|MAP_NONBLOCK|MAP_EXECUTABLE|0x6404c0, 6623156, 0xffffbfd4f7fe6cb0) = 0xc28000
14694 old_mmap(0x100000c2f000, 8873402433539, PROT_READ|PROT_WRITE, 0x8 /* MAP_??? */|MAP_FIXED|MAP_ANONYMOUS|MAP_NONBLOCK|MAP_EXECUTABLE|0x6404c0, 6623156, 0xffffbfd4f7fe6cb0) = 0xc2f000
14694 close(3)                          = 0
14694 open("/lib/tls/libc.so.6", O_RDONLY) = 3
14694 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\217"..., 512) = 512
14694 fstat64(0x3, 0xffffc0b4)          = 0
14694 old_mmap(0x100000000000, 146028888067, PROT_READ|PROT_WRITE|PROT_EXEC|PROT_GROWSDOWN|PROT_GROWSUP|0xfcfffff8, 0x4 /* MAP_??? */|MAP_FIXED|MAP_ANONYMOUS|MAP_NONBLOCK|MAP_GROWSDOWN|MAP_DENYWRITE|0x640680, 6624504, 0x80064a435) = 0xfffffffff7ee9000
14694 old_mmap(0x12acbc00654000, 8804682956805, PROT_READ|PROT_WRITE, MAP_FILE, 0, 0) = 0x654000
14694 mprotect(0x778000, 27836, PROT_NONE) = 0
14694 old_mmap(0x400000779000, 8873402433539, PROT_READ|PROT_WRITE, MAP_FILE, 0, 0) = 0x779000
14694 old_mmap(0x1cbc0077d000, 214748364803, PROT_READ|PROT_WRITE|PROT_EXEC|PROT_GROWSDOWN|PROT_GROWSUP|0xfcfffff8, MAP_FILE, 0, 0) = 0x77d000
14694 close(3)                          = 0
14694 old_mmap(0x100000000000, 146028888067, PROT_READ|PROT_WRITE|PROT_EXEC|PROT_GROWSDOWN|PROT_GROWSUP|0xfcfffff8, 0x4 /* MAP_??? */|MAP_FIXED|MAP_ANONYMOUS|MAP_NONBLOCK|MAP_GROWSDOWN|MAP_DENYWRITE|0x640680, 2832, 0x20006484a2) = 0xfffffffff7ee8000
14694 mprotect(0x779000, 8192, PROT_READ) = 0
14694 mprotect(0x7a2000, 4096, PROT_READ) = 0
14694 mprotect(0xf7fb4000, 4096, PROT_READ) = 0
14694 mprotect(0x7a8000, 4096, PROT_READ) = 0
14694 mprotect(0xf7fbd000, 4096, PROT_READ) = 0
14694 mprotect(0x650000, 4096, PROT_READ) = 0
14694 set_thread_area(0xffffc8d4)       = 0
14694 munmap(0xf7fe7000, 90917)         = 0
14694 brk(0)                            = 0x838e000
14694 brk(0x83af000)                    = 0x83af000
14694 umask(022 <unfinished ... exit status 1>