This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

"can't create master tty" errors


Hi all,

I am using Cygwin and SSH to do automated remote builds using Visual
C++. It works for a few days, but invariably things start failing with
messages like these (this one from a build log):

Makefile:9: MakePID: 5964
      1 [main] env 2748 C:\cygwin\bin\env.exe: *** fatal error - can't create master tty

At this point, even if I 'rdesktop' to the build machine and try to get
a console (by clicking "Cygwin" on the desktop) I get nothing: the
console window comes up, issues the above error, and exits (this all
very fast). Rebooting solves the problem for a while (restarting
cygserver/sshd doesn't do anything).

To the setup then:

The computer is joined to an AD domain, and the account under which the
builds are done is remote (uses shared folders). Since the build system
has to issue one 'NET USE' statement to map a drive (visual C++ doesn't
like UNC paths), we have cygserver running (under the SYSTEM account)
and the logon implemented using method 3 of
http://www.cygwin.com/cygwin-ug-net/ntsec.html#ntsec-setuid-overview

SSHD is running under the AD's administrator account, and the build
account logs in using PKA.

% uname -a
CYGWIN_NT-5.2 mv011 1.7.1(0.218/5/3) 2009-12-07 11:48 i686 Cygwin

% echo $CYGWIN
binmode tty ntsec

Any help would be greatly appreciated. (The build, when it works, is
very slow, but at this point I need to get it working first before
getting it to work fast...)

Best,

- Cesar

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]