RE: bash: fork: Permission denied -- how can I fix this?

2007-10-25 Thread cschuyle


Dave Korn wrote:
 
 On 19 September 2007 23:28, James Adams wrote:
 
 I fixed the problem by installing into another directory other than
 C:\cygwin.  I have no idea why this fixes the problem, but probably it
 has
 something to do with security packages installed on the computer (it's a
 new
 work laptop which appears to have several security related programs
 installed on it by corporate IT).
 
 --James
 
   It might be worth checking the http://cygwin.com/acronyms#BLODA.  I owe
 Cygwin 1 FAQ entry for this, in the meantime the latest version of the
 list
 can be seen at
 
 http://cygwin.com/ml/cygwin-talk/2007-q3/msg00174.html
 
 
 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/
 
 
 

Hi, I had this same error, and recovered by moving c:\cygwin to
c:\cygwin.some_other_name, then reinstalling the entire cygwin pretty much
as I had it before.

So, in my case at least it doesn't seem to be security; just a reinstall
from scratch type of thing.

I had noticed that for the past few weeks, it had been taking longer to
bring up a cygwin bash window than before; otherwise it appeared to be fine. 
Now, the bash shell comes up instantly as it had prior to a few weeks ago
(so, this oddity is now gone too).  

What I had done during those weeks was, gradually install a few packages
that I hadn't previously (ssh, ccrypt, probably a few others I can't
remember).  The twist was, I do this (download and install) on two machines. 
The cygwin install directory is on a portable hard drive; as I download new
packages to it on a couple different machines, I install them on both
machines as I reconnect the drive to them.  Oh, also, this installation
folder is Really Old; probably at least 3 years old (and I've upgraded it to
new cygwin versions at least twice).

My version info from cygcheck --sysinfo is:

 1830k 2007/01/31 C:\cygwin\bin\cygwin1.dll
Cygwin DLL version info:
DLL version: 1.5.24
DLL epoch: 19
DLL bad signal mask: 19005
DLL old termios: 5
DLL malloc env: 28
API major: 0
API minor: 156
Shared data: 4
DLL identifier: cygwin1
Mount registry: 2
Cygnus registry name: Cygnus Solutions
Cygwin registry name: Cygwin
Program options name: Program Options
Cygwin mount registry name: mounts v2
Cygdrive flags: cygdrive flags
Cygdrive prefix: cygdrive prefix
Cygdrive default prefix:
Build date: Wed Jan 31 10:57:51 CET 2007
CVS tag: cr-0x5f1
Shared id: cygwin1S4

Anyhow, I figure that something went bad; reinstalling has fixed.  Going on
my merry way.

-- 
View this message in context: 
http://www.nabble.com/bash%3A-fork%3A-Permission-deniedhow-can-I-fix-this--tf4483481.html#a13416443
Sent from the Cygwin list mailing list archive at Nabble.com.


--
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: bash: fork: Permission denied -- how can I fix this?

2007-09-20 Thread Dave Korn
On 19 September 2007 23:28, James Adams wrote:

 I fixed the problem by installing into another directory other than
 C:\cygwin.  I have no idea why this fixes the problem, but probably it has
 something to do with security packages installed on the computer (it's a new
 work laptop which appears to have several security related programs
 installed on it by corporate IT).
 
 --James

  It might be worth checking the http://cygwin.com/acronyms#BLODA.  I owe
Cygwin 1 FAQ entry for this, in the meantime the latest version of the list
can be seen at

http://cygwin.com/ml/cygwin-talk/2007-q3/msg00174.html


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: bash: fork: Permission denied -- how can I fix this?

2007-09-19 Thread Larry Hall (Cygwin)

James Adams wrote:

I have recently installed Cygwin version 2.510.2.2 onto a Windows XP system
and when I launch it the first thing I see is this:



2.510.2.2 is the version of 'setup.exe', not Cygwin.  The Cygwin package,
which is just one of many in the Cygwin distribution, is currently 1.5.24-2.



  5 [main] bash 3024 fork: child -1 - CreateProcessA failed, errno 13
bash: fork: Permission denied

I get the same message when I try running the ls command:

bash-3.2$ ls
9404505 [main] bash 1544 fork: child -1 - CreateProcessA failed, errno 13
bash: fork: Permission denied

Can someone suggest what's going wrong, and how I can fix it?



Let's start here: http://cygwin.com/problems.html



--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: bash: fork: Permission denied -- how can I fix this?

2007-09-19 Thread James Adams


Larry Hall (Cygwin) wrote:
 
 James Adams wrote:
 I have recently installed Cygwin version 2.510.2.2 onto a Windows XP
 system
 and when I launch it the first thing I see is this:
 
 
 2.510.2.2 is the version of 'setup.exe', not Cygwin.  The Cygwin package,
 which is just one of many in the Cygwin distribution, is currently
 1.5.24-2.
 
 

OK sorry, the Cygwin version is 1.5.24-2


Larry Hall (Cygwin) wrote:
 
   5 [main] bash 3024 fork: child -1 - CreateProcessA failed, errno 13
 bash: fork: Permission denied
 
 I get the same message when I try running the ls command:
 
 bash-3.2$ ls
 9404505 [main] bash 1544 fork: child -1 - CreateProcessA failed, errno 13
 bash: fork: Permission denied
 
 Can someone suggest what's going wrong, and how I can fix it?
 
 
 Let's start here: http://cygwin.com/problems.html
 

The only thing listed on that page that I didn't do was to include the
output from cygcheck, since cygcheck also gives the fork permission denied
error: 
  
bash-3.2$ cygcheck -s -v -r  cygcheck.out
69675674 [main] bash 3156 fork: child -1 - CreateProcessA failed, errno 13
bash: fork: Permission denied


Larry Hall (Cygwin) wrote:
 
 
 -- 
 Larry Hall  http://www.rfk.com
 RFK Partners, Inc.  (508) 893-9779 - RFK Office
 216 Dalton Rd.  (508) 893-9889 - FAX
 Holliston, MA 01746
 
 _
 
 A: Yes.
   Q: Are you sure?
   A: Because it reverses the logical flow of conversation.
   Q: Why is top posting annoying in email?
 
 --
 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/
 
 
 

-- 
View this message in context: 
http://www.nabble.com/bash%3A-fork%3A-Permission-deniedhow-can-I-fix-this--tf4483481.html#a12787356
Sent from the Cygwin Users mailing list archive at Nabble.com.


--
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: bash: fork: Permission denied -- how can I fix this?

2007-09-19 Thread DePriest, Jason R.
On 9/19/07, James Adams  wrote:

- - - - cut lots of stuff - - - -
 bash-3.2$ cygcheck -s -v -r  cygcheck.out
 69675674 [main] bash 3156 fork: child -1 - CreateProcessA failed, errno 13
 bash: fork: Permission denied
- - - - cut lots of stuff - - - -

cygcheck is a Windows program so you can run it from a cmd.exe prompt.

You'll just have to make sure you use the full path or go to your
cygwin\bin directory first.

-Jason

--
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: bash: fork: Permission denied -- how can I fix this?

2007-09-19 Thread James Adams

I fixed the problem by installing into another directory other than
C:\cygwin.  I have no idea why this fixes the problem, but probably it has
something to do with security packages installed on the computer (it's a new
work laptop which appears to have several security related programs
installed on it by corporate IT). 

--James


James Adams wrote:
 
 I have recently installed Cygwin version 2.510.2.2 onto a Windows XP
 system and when I launch it the first thing I see is this:
 
   5 [main] bash 3024 fork: child -1 - CreateProcessA failed, errno 13
 bash: fork: Permission denied
 
 I get the same message when I try running the ls command:
 
 bash-3.2$ ls
 9404505 [main] bash 1544 fork: child -1 - CreateProcessA failed, errno 13
 bash: fork: Permission denied
 
 Can someone suggest what's going wrong, and how I can fix it?
 
 Thanks in advance for any help.
 
 --James
 

-- 
View this message in context: 
http://www.nabble.com/bash%3A-fork%3A-Permission-deniedhow-can-I-fix-this--tf4483481.html#a12787463
Sent from the Cygwin Users mailing list archive at Nabble.com.


--
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: bash: fork: Permission denied -- how can I fix this?

2007-09-19 Thread James Adams


DePriest, Jason R. wrote:
 
 On 9/19/07, James Adams  wrote:

 - - - - cut lots of stuff - - - -
 bash-3.2$ cygcheck -s -v -r  cygcheck.out
 69675674 [main] bash 3156 fork: child -1 - CreateProcessA failed, errno
 13
 bash: fork: Permission denied
 - - - - cut lots of stuff - - - -
 
 cygcheck is a Windows program so you can run it from a cmd.exe prompt.
 
 You'll just have to make sure you use the full path or go to your
 cygwin\bin directory first.
 
 

Thanks Jason, it wasn't clear that cygcheck was a Windows program, although
it makes perfect sense (if Cygwin isn't working then it's not likely that
you'd be able to execute a program from within it).

--James
-- 
View this message in context: 
http://www.nabble.com/bash%3A-fork%3A-Permission-deniedhow-can-I-fix-this--tf4483481.html#a12787528
Sent from the Cygwin Users mailing list archive at Nabble.com.


--
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/