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

[HTCondor-users] dprintf_failure.SCHEDD & dprintf_failure.SHADOW



Hi,

using   8.7.1 Apr 23 2017 BuildID: 404262 on EL6 

I have an issue with the schedd not being able to become root, and consequently not being able to write it's logfile: 

[root@bird-htc-master02 condor]# cat dprintf_failure.SCHEDD
dprintf() had a fatal error in pid 35430
Can't seek to end of DebugFP file
 errno: 9 (Bad file descriptor) euid: 25411, ruid: 0
[root@bird-htc-master02 condor]# cat dprintf_failure.SHADOW
dprintf() had a fatal error in pid 58897
Error writing debug log
 errno: 9 (Bad file descriptor) euid: 25411, ruid: 0

In the masterlog I find the corresponding errors: 

06/22/17 10:55:25 Started DaemonCore process "/usr/sbin/condor_negotiator", pid and pgroup = 35353
06/22/17 10:55:25 ERROR: Attempt to initialize user_priv with root privileges rejected
06/22/17 10:55:25 couldn't switch to user root!
06/22/17 10:55:25 Started DaemonCore process "/usr/sbin/condor_schedd", pid and pgroup = 35354
06/22/17 10:55:25 ERROR: Attempt to initialize user_priv with root privileges rejected
06/22/17 10:55:25 couldn't switch to user root!

Hence the shadow is not starting and the jobs are not running either :( 

I did not play around with UID configs as far as I am aware of and I see with condor_config_val: 

REAL_GID = 0
REAL_UID = 0
SCHEDD_USERID = root

Any hints someone what could be the problem here ? 

Best
Chris

-- 
Christoph Beyer
DESY Hamburg
IT-Department

Notkestr. 85
Building 02b, Room 009
22607 Hamburg

phone:+49-(0)40-8998-2317
mail: christoph.beyer@xxxxxxx