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]

Re: Installation problem on windows 2000 server

On Tue, 28 Mar 2006, jack wrote:

> Larry Hall (Cygwin) wrote:
> > jack wrote:
> > > Hola,
> > >
> > > I'm trying to install cygwin on a windows 2000 terminal server
> > > (remote administration mode).
> > > [snip]
> > > The install finishes fine with no errors, but when I go to double
> > > click on the Cygwin icon, i see the black DOS box for a split
> > > second, then its gone.
> > >
> > > Going in via cmd.exe and trying to launch anything does nothing:
> > > [snip]
> > > Any ideas?
> >
> > Sure.  Read over:
> > > Problem reports:
> >
> > Pay particular attention to the part about *attaching* the output of
> > cygcheck. You'll also want to look at the output of
> > /var/log/setup.log*.  Look for any error messages at the end
> > suggesting that any package didn't install properly. Look for scripts
> > in /etc/postinstall/ without a .done extension.  If there are any,
> > just rerun setup without selecting any new packages and then recheck.
> > All the postinstall scripts should have run and been renamed *.done.
> >
> OK, there are no files in /etc/postinstall without a .done extension.

Larry's advice is good for the future, but the current version of setup
always renames scripts to .done, even if they returned a non-zero exit
code.  The only case in which the scripts would not be renamed in the
current version is if you cancelled out of setup before the scripts got a
chance to run.

> setup.log has the following that's repeated 17402 times:
> io_stream_cygfile: fopen failed 2 No such file or directory

Those messages are harmless and can be ignored.  They come from the time
you didn't have the setup installed packages database.  This is fixed in
the latest setup snapshot (which is worth trying in any case).

> the setup.log is 1.4 megs:

That's the accumulated log of all setup runs.  Can you please also post
setup.log.full from the failed installation (it's overwritten every time
you run setup).

> As far as the output of cygcheck goes, this i'm not clear on:
> Not Found: bash
> yet:
> C:\>dir cygwin\bin\bash.exe
>  Volume in drive C has no label.
>  Volume Serial Number is 5419-D3B7
>  Directory of C:\cygwin\bin
> 12/26/2005  07:12a             451,072 bash.exe
>                1 File(s)        451,072 bytes
>                0 Dir(s)   5,472,993,792 bytes free
> C:\>

Since you don't have c:\cygwin\bin in your PATH, I wouldn't worry about
the "not found" messages.  However, I believe it's already been suggested
that cygcheck should prepend "c:\cygwin\bin" to the PATH before making all
of these checks...

> here's the full output for 'cygcheck -s -v -r':
> (also found here:

In the future, please *attach* the output of cygcheck, as it creates fewer
false positives in archive searches.  If necessary, we can include the
relevant bits from an attachment just as easily as we can from inline

> Output from C:\cygwin\bin\id.exe (nontsec)
> UID: 400(jack)   GID: 401(mkpasswd)
> 401(mkpasswd)
> Output from C:\cygwin\bin\id.exe (ntsec)
> UID: 400(jack)   GID: 401(mkpasswd)
> 401(mkpasswd)

Here's one problem.  Your postinstall scripts obviously haven't completed.
Try reinstalling the "base-passwd" package using setup.  I would also
reinstall the "bash" and "cygwin" packages, for good measure.

The rest of your cygcheck output looks ok.

You said that bash actually does nothing and simply returns to the
prompt...  Do other applications work, e.g., if you type
"c:\cygwin\bin\echo hi", does it print "hi"?  What does "cygcheck bash"
print, when run from "c:\cygwin\bin"?

I wonder if your problem is caused by using the terminal server...  Is
there any way you can get physical access to that machine, and try
running the installed Cygwin programs from the console login?
      |\      _,,,---,,_ |
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

Unsubscribe info:
Problem reports:

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