This is the mail archive of the cygwin@cygwin.com 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: install bash-login problem


Do you have a correct /etc/passwd file? That file lists your home 
directory, but if cygwin cannot access your home dir, it might give that 
error. Also, is $HOME defined in your environment? You could define it 
in windows or in the cygwin.bat file.

HTH,
Peter

Joel Bushart wrote:

> ----- Original Message -----
> From: "Michael A Chase" <mchase@ix.netcom.com>
> To: "Joel Bushart" <jdbushart@hotmail.com>; "Cygwin" <cygwin@cygwin.com>
> Sent: Friday, March 08, 2002 11:33 AM
> Subject: Re: install bash-login problem
> 
> 
> 
>>----- Original Message -----
>>From: "Joel Bushart" <jdbushart@hotmail.com>
>>To: "Cygwin" <cygwin@cygwin.com>
>>Sent: Friday, March 08, 2002 08:29
>>Subject: install bash-login problem
>>
>>
>>
>>>I stripped cygwin completely off my system, including registrary
>>>
> systems.
> 
>>>Then reinstalled it from a fresh version of setup.exe
>>>
>>>get this error when I try login from cmd prompt.
>>>
>>>C:\>.\cygwin\bin\login
>>>login: joel
>>>Password:
>>>No directory /home/Joel!
>>>Logging in with home = "/".
>>>Fanfare!!!
>>>You are successfully logged in to this server!!!
>>>     14 [main] -bash 2936 sync_with_child: child 3980(0x628) died before
>>>initial
>>>ization with status code 0x0
>>>  35279 [main] -bash 2936 sync_with_child: *** child state waiting for
>>>longjmp
>>>bash: fork: Resource temporarily unavailable
>>>bash-2.05a$
>>>
>>The correct way to get a bash prompt is the same as shown in
>>c:\cygwin\cygwin.bat, start bash: bash --login -i
>>
>>You are not logging into UNIX, you are starting an alternate shell in
>>Windows.
>>--
>>
> 
> My apologies I forgot to mention that that login error also occurs from the
> cygwin.bat file when I double click it. :(
> anywho, I thought that some greater minds than I may make some sense out of
> it as bash seems to work fine but login fails. I'm not sure if cygwin or
> login is in error.
> 
> thanks again,
> Joel
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 
> 



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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