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

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



Hi Chris,

Quick random guess:

Could it be a similar issue as this 
  https://lists.cs.wisc.edu/archive/htcondor-users/2017-March/msg00120.shtml
? 

In other words, is CONDOR_IDS=0.0 either in the config file or in the environment?  

regards,
Todd

On 6/22/2017 8:41 AM, Beyer, Christoph wrote:
> 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
> 


-- 
Todd Tannenbaum <tannenba@xxxxxxxxxxx> University of Wisconsin-Madison
Center for High Throughput Computing   Department of Computer Sciences
HTCondor Technical Lead                1210 W. Dayton St. Rm #4257
Phone: (608) 263-7132                  Madison, WI 53706-1685