Cygwin Problems on Vista (Install and others)

View: New views
8 Messages — Rating Filter:   Alert me  

Parent Message unknown Cygwin Problems on Vista (Install and others)

by N Y :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've read that some people can get Cygwin to run on Vista without
problems, but I've run into almost every reported problem.

I've trying to install Cygwin on my new Dell laptop for two days now.
Intel Centrino Duo with Vista Ultimate.  I'm installing for all users,
unix mode.  From category view, I'm installing all groups except for
audio, databases, games, and publishing.  I have the 2.510.2.2
setup.exe.  The installed cygwin1.dll is 1.5.24-cr-0x5f1.

First problem: hang on gnuplot.sh
I tried everything: run as administrator, setting the compatibility mode,
set the Windows PATH to include "C:\cygwin\bin" before running
setup.exe (via cmd shell), disabling UAC - nothing worked.
Finally I opened Task Manager and manually killed the bash process.
That kicked setup to continue.  Eventually I re-ran gnuplot.sh manually,
once I got bash running happily.

Second problem:
When I started the cygwin shell (via the desktop shortcut), I got this message

"Your group is currently "mkpasswd". This indicates that
the /etc/passwd (and possibly /etc/group) files should be rebuilt.
See the man pages for mkpasswd and mkgroup then, for example, run
mkpasswd -l [-d] > /etc/passwd
mkgroup  -l [-d] > /etc/group
Note that the -d switch is necessary for domain users."

So I ran mkpaswd and mkgroup and that problem went away.

Third problem:
Then I tried to click the startx shortcut on the desktop.  The xserver starts
but the xterm that comes with it never appears.  I tried startx from the cygwin
bash shell.  Sometimes it starts and an xterm appears.  and sometimes it
 exits right away.  I closed all cygwin apps and ran ash from cmd.exe,
ran rebaseall.  Now the startx works from the cygwin bash shell.

Fourth problem:
I wanted to quickly test my access to a remote system via rsh.
I open a cygwin bash shell and run "rsh user1@foo ls" and get back:
"12673 [main] rsh 4060 C:\cygwin\bin\rsh.exe: *** fatal error - couldn't dynami
cally determine load address for 'rcmd' (handle 0x74140000), Win32 error 127
Hangup"

No solution to this problem yet.

If anyone has any suggestions I'd love to hear it.

N

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


Re: Cygwin Problems on Vista (Install and others)

by Morgan Gangwere :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 5/3/07, N Y <thisrabbit(munumana)gmail.com> wrote:

> I've read that some people can get Cygwin to run on Vista without
> problems, but I've run into almost every reported problem.
>
> I've trying to install Cygwin on my new Dell laptop for two days now.
> Intel Centrino Duo with Vista Ultimate.  I'm installing for all users,
> unix mode.  From category view, I'm installing all groups except for
> audio, databases, games, and publishing.  I have the 2.510.2.2
> setup.exe.  The installed cygwin1.dll is 1.5.24-cr-0x5f1.
>
> First problem: hang on gnuplot.sh
> I tried everything: run as administrator, setting the compatibility mode,
> set the Windows PATH to include "C:\cygwin\bin" before running
> setup.exe (via cmd shell), disabling UAC - nothing worked.
> Finally I opened Task Manager and manually killed the bash process.
> That kicked setup to continue.  Eventually I re-ran gnuplot.sh manually,
> once I got bash running happily.
>
> Second problem:
> When I started the cygwin shell (via the desktop shortcut), I got this message
>
> "Your group is currently "mkpasswd". This indicates that
> the /etc/passwd (and possibly /etc/group) files should be rebuilt.
> See the man pages for mkpasswd and mkgroup then, for example, run
> mkpasswd -l [-d] > /etc/passwd
> mkgroup  -l [-d] > /etc/group
> Note that the -d switch is necessary for domain users."
>
> So I ran mkpaswd and mkgroup and that problem went away.

this isnt really a problem. its just cygwin wanting a /etc/passwd and
/etc/group that it likes, but they didnt get generated because of a
phase of the moon bug. (i get it with the user "admin" but not with
the user "user" - both exist on my machine)

> Third problem:
> Then I tried to click the startx shortcut on the desktop.  The xserver starts
> but the xterm that comes with it never appears.  I tried startx from the cygwin
> bash shell.  Sometimes it starts and an xterm appears.  and sometimes it
>  exits right away.  I closed all cygwin apps and ran ash from cmd.exe,
> ran rebaseall.  Now the startx works from the cygwin bash shell.

erm... the startx shortcut is _supposed_ to do that. you can run this
at a cygwin terminal or from a batch file for a child X window root
and twm:
X -display localhost:0 (blah) & (NOTE the "&" and YES it has to be
localhost. no 127.0.0.1 's - Hast Worked For Me.)
twm -display localhost:0 & (again, note the "&")

> Fourth problem:
> I wanted to quickly test my access to a remote system via rsh.
> I open a cygwin bash shell and run "rsh user1@foo ls" and get back:
> "12673 [main] rsh 4060 C:\cygwin\bin\rsh.exe: *** fatal error - couldn't dynami
> cally determine load address for 'rcmd' (handle 0x74140000), Win32 error 127
> Hangup"

i dont do rsh but have you tried this from another computer (with say
PuTTY) - also, see if rsh's daemon is alive or if you need one.. i
install everything and usually I dont get a real rsh daemon, so i
compile the official one from source.

> If anyone has any suggestions I'd love to hear it.
>
> N
>
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:       http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
>
>


--
Morgan gangwere

"Space does not reflect society, it expresses it." -- Castells, M.,
Space of Flows, Space of Places: Materials for a Theory of Urbanism in
the Information Age, in The Cybercities Reader, S. Graham, Editor.
2004, Routledge: London. p. 82-93.

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


Re: Cygwin Problems on Vista (Install and others)

by Morgan Gangwere :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I forgot to ask. could you possibly ATTACH the file generated by
running "cygcheck -s - v -r >./cygdrive/c/cygwin_servercheck.log" -
it'll show up on the root of your C drive.

--
Morgan gangwere

"Space does not reflect society, it expresses it." -- Castells, M.,
Space of Flows, Space of Places: Materials for a Theory of Urbanism in
the Information Age, in The Cybercities Reader, S. Graham, Editor.
2004, Routledge: London. p. 82-93.

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


Re: Cygwin Problems on Vista (Install and others)

by N Y :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> this isnt really a problem. its just cygwin wanting a /etc/passwd and
> /etc/group that it likes, but they didnt get generated because of a
> phase of the moon bug. (i get it with the user "admin" but not with
> the user "user" - both exist on my machine)

If you say so.  But I've never had this problem before and I've installed
cygwin on a bunch of machine.

> > Third problem:
> > Then I tried to click the startx shortcut on the desktop.  The xserver starts
> > but the xterm that comes with it never appears.  I tried startx from the cygwin
> > bash shell.  Sometimes it starts and an xterm appears.  and sometimes it
> >  exits right away.  I closed all cygwin apps and ran ash from cmd.exe,
> > ran rebaseall.  Now the startx works from the cygwin bash shell.
>
> erm... the startx shortcut is _supposed_ to do that. you can run this
> at a cygwin terminal or from a batch file for a child X window root
> and twm:
> X -display localhost:0 (blah) & (NOTE the "&" and YES it has to be
> localhost. no 127.0.0.1 's - Hast Worked For Me.)
> twm -display localhost:0 & (again, note the "&")
mmm I was pretty sure that once, the desktop shortcut _did_ give me
an xterm window.  Anyways, that aside, its still didn't consistently work
when I invoked startx from the cygwin bash shell.  Some times X would
exit immediately and sometimes it would start.  It was frustrating,
but it seems to be behaving consistently now (after the rebaseall) so I'm
concerned.  I just wanted to mention it in case anyone had a similar problem.

> > Fourth problem:
> > I wanted to quickly test my access to a remote system via rsh.
> > I open a cygwin bash shell and run "rsh user1@foo ls" and get back:
> > "12673 [main] rsh 4060 C:\cygwin\bin\rsh.exe: *** fatal error - couldn't dynami
> > cally determine load address for 'rcmd' (handle 0x74140000), Win32 error 127
> > Hangup"
>
> i dont do rsh but have you tried this from another computer (with say
> PuTTY) - also, see if rsh's daemon is alive or if you need one.. i
> install everything and usually I dont get a real rsh daemon, so i
> compile the official one from source.
But the error has nothing to do with whether or not an rsh daemon is running.
The rsh command should give back an error message or time out.  The error
message, to me, says that rsh is trying to invoke a function call 'rcmd' from a
dll and that dll (presumably cygwin1.dll) doesn't not contain that symbol.

The servercheck log is attached.


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

cygwin_servercheck.log (60K) Download Attachment

RE: Cygwin Problems on Vista (Install and others)

by Dave Korn :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 04 May 2007 16:33, A B wrote:


> The servercheck log is attached.

Error: could not find -

Error: could not find v

Error: could not find -r


  Looks like you typo'd the commandline invocation to me.  Those were supposed
to be options.  The syntax should be

    cygcheck -svr

or

  cygcheck -s -v -r

but it looks to me like you put

  cygcheck -s - v - r
               ^   ^
               |   |
bad spaces ----+---!


    cheers,
      DaveK
--
Can't think of a witty .sigline today....


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


Re: Cygwin Problems on Vista (Install and others)

by N Y :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sorry, I wasn't paying attention.
I cut an pasted it exactly as listed in Morgan's message, direct from
my browser to
the shell.

See the new one attached.

Thanks,

N

On 5/4/07, Dave Korn <dave.korn@...> wrote:

> On 04 May 2007 16:33, A B wrote:
>
>
> > The servercheck log is attached.
>
> Error: could not find -
>
> Error: could not find v
>
> Error: could not find -r
>
>
>   Looks like you typo'd the commandline invocation to me.  Those were supposed
> to be options.  The syntax should be
>
>     cygcheck -svr
>
> or
>
>   cygcheck -s -v -r
>
> but it looks to me like you put
>
>   cygcheck -s - v - r
>                ^   ^
>                |   |
> bad spaces ----+---!
>
>
>     cheers,
>       DaveK
> --
> Can't think of a witty .sigline today....
>
>
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:       http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
>
>


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

cygwin_servercheck.log (105K) Download Attachment

Re: Cygwin Problems on Vista (Install and others)

by Zerberra :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am also getting hang on gnuplot.sh
I tried everything: run as administrator, setting the compatibility mode,
set the Windows PATH to include "C:\cygwin\bin" before running
setup.exe (via cmd shell), disabling UAC - nothing worked.


I would like to know how to re-run gnuplot.sh manually,





N Y wrote:
I've read that some people can get Cygwin to run on Vista without
problems, but I've run into almost every reported problem.

I've trying to install Cygwin on my new Dell laptop for two days now.
Intel Centrino Duo with Vista Ultimate.  I'm installing for all users,
unix mode.  From category view, I'm installing all groups except for
audio, databases, games, and publishing.  I have the 2.510.2.2
setup.exe.  The installed cygwin1.dll is 1.5.24-cr-0x5f1.

First problem: hang on gnuplot.sh
I tried everything: run as administrator, setting the compatibility mode,
set the Windows PATH to include "C:\cygwin\bin" before running
setup.exe (via cmd shell), disabling UAC - nothing worked.
Finally I opened Task Manager and manually killed the bash process.
That kicked setup to continue.  Eventually I re-ran gnuplot.sh manually,
once I got bash running happily.

Second problem:
When I started the cygwin shell (via the desktop shortcut), I got this message

"Your group is currently "mkpasswd". This indicates that
the /etc/passwd (and possibly /etc/group) files should be rebuilt.
See the man pages for mkpasswd and mkgroup then, for example, run
mkpasswd -l [-d] > /etc/passwd
mkgroup  -l [-d] > /etc/group
Note that the -d switch is necessary for domain users."

So I ran mkpaswd and mkgroup and that problem went away.

Third problem:
Then I tried to click the startx shortcut on the desktop.  The xserver starts
but the xterm that comes with it never appears.  I tried startx from the cygwin
bash shell.  Sometimes it starts and an xterm appears.  and sometimes it
 exits right away.  I closed all cygwin apps and ran ash from cmd.exe,
ran rebaseall.  Now the startx works from the cygwin bash shell.

Fourth problem:
I wanted to quickly test my access to a remote system via rsh.
I open a cygwin bash shell and run "rsh user1@foo ls" and get back:
"12673 [main] rsh 4060 C:\cygwin\bin\rsh.exe: *** fatal error - couldn't dynami
cally determine load address for 'rcmd' (handle 0x74140000), Win32 error 127
Hangup"

No solution to this problem yet.

If anyone has any suggestions I'd love to hear it.

N

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

Re: Cygwin Problems on Vista (Install and others)

by DaveB :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

rsync problems on Vista cygwin:

My cygwin on Vista seems to work but when I try to do rsync to fixup files on my ftp server, it chokes with lots of errors and does a bizarre reset of the permission bits for the destination folder.  Here's what happens:
[this is the same rsync command that works fine on XP]:

===========================
$ rsync -avz --stats --progress -e ssh . mylogin@myftp.com:/mypath/wherever/
mylogin@myftp.com's password: xxxxxx
building file list ...
8 files to consider
./
rsync: failed to modify permissions on "/mypath/wherever/.": Permission denied (13)
rsync: recv_generator: failed to stat "/mypath/wherever/firstfile.xxx": Permission denied (13)
rsync: recv_generator: failed to stat "/mypath/wherever/secondfile.xxx": Permission denied (13)
...etc...
rsync: recv_generator: mkdir "/mypath/wherever/." failed: Permission denied (13)
*** Skipping everything below this failed directory ***

...etc...stats...then...

rsync error: some files could not be transferred (code 23) at /home/lapo/packaging/tmp/rsync-2.6.6/main.c(791)
=============================

Then after I have done this, I find that the remote directory has had all its permission bits turned off (chmod 0) and the files in the folder are not sync'd.  As I said, this is a sequence I have used many times on XP and continues to work there.

Any suggestions?

PS I also got and fixed the mkpasswd problem as below. cygwin starts without errors on Vista but then behaves as described above.
N Y wrote:
I've read that some people can get Cygwin to run on Vista without
problems, but I've run into almost every reported problem.