EDC5113I Bad file descriptor. (errno2=0x1015011C)

General discussion of the Co:Z Toolkit
Post Reply
jacobsm
Posts: 37
Joined: Thu Apr 23, 2009 9:18 am
Location: Tampa, Florida

EDC5113I Bad file descriptor. (errno2=0x1015011C)

Post by jacobsm »

I changed my login shell from /bin/sh to /bin/tcsh and my COZBATCH jobs are now receiving this warning message. It doesn't seem to be hurting anything though. I noticed it when I was running my IVP process for the 2.4.0 release of the toolkit, but it also occurs under 2.1.1.

CoZBatch[N]: Copyright (C) 2005-2013 Dovetailed Technologies LLC. All rights reserved.
CoZBatch[N]: version 2.4.0 2013-06-10
CoZBatch: executing progname=login-shell="-/bin/tcsh"
CoZBatch: returning rc=exitcode=0
Warning: no access to tty (EDC5113I Bad file descriptor. (errno2=0x1015011C)).
Thus no job control in this shell.
dovetail
Site Admin
Posts: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Re: EDC5113I Bad file descriptor. (errno2=0x1015011C)

Post by dovetail »

This message is being generated by the shell probably because you have a login profile for tcsh that is trying to configure the tty somehow.

Check your tcsh profile script and use something like "test tty -s && stty ...." to skip issuing the command if your shell is not running with a tty.

Although, based on your message it probably isn't an stty command.
jacobsm
Posts: 37
Joined: Thu Apr 23, 2009 9:18 am
Location: Tampa, Florida

Re: EDC5113I Bad file descriptor. (errno2=0x1015011C)

Post by jacobsm »

I'm not seeing anything like that in the environmental setup.

USER=AIMJ

OMVS INFORMATION
----------------
UID= 0000000119
HOME= /u/aimj
PROGRAM= /bin/tcsh
CPUTIMEMAX= NONE
ASSIZEMAX= NONE
FILEPROCMAX= NONE
PROCUSERMAX= NONE
THREADSMAX= NONE
MMAPAREAMAX= NONE

My .tcshrc file has this in it

set path = ( /usr/bin/ /usr/sbin/ /bin /u/aimj/bin /usr/lpp/java/J7.0/bin /tcs/coz/bin/ /usr/lpp/perl/bin )
set JAVA_HOME = ( /usr/lpp/java/J7.0/ )
set CLASSPATH = ( /usr/lpp/java/J7.0/ )
set LIBPATH = ( /usr/lpp/perl/lib/5.8.7/os390-thread-multi/CORE /usr/lpp/java/J7.0/ )
set prompt = '%S%U%n%s@%m%u:%B%c03%#%b'
set rprompt = '{%h}[%T]'

I tried it removing the set prompt and rprompt commands and I'm still getting the same message.
dovetail
Site Admin
Posts: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Re: EDC5113I Bad file descriptor. (errno2=0x1015011C)

Post by dovetail »

Apparently this is a "friendly message" from tcsh that your shell doesn't have a tty (since it is running in batch).

Google "Warning: no access to tty" for many complaints
jacobsm
Posts: 37
Joined: Thu Apr 23, 2009 9:18 am
Location: Tampa, Florida

Re: EDC5113I Bad file descriptor. (errno2=0x1015011C)

Post by jacobsm »

Yes, it's a very friendly message. Thanks.
Post Reply