Re: Passwordless authentication between two domains.

2012-11-28 Thread Brian Wilson

 I am still getting the same error. And permissions are all good. 
 When i run SSHD in debug i get this? Has anyone encountered this 
 issue before.
 
 bash-3.2# /bin/sshd.exe -D -ddd -e
 debug2: load_server_config: filename /etc/sshd_config
 debug2: load_server_config: done config len = 206
 debug2: parse_server_config: config /etc/sshd_config len 206
 debug3: /etc/sshd_config:21 setting Protocol 2
 debug3: /etc/sshd_config:46 setting RSAAuthentication yes
 debug3: /etc/sshd_config:47 setting PubkeyAuthentication yes
 debug3: /etc/sshd_config:113 setting Subsystem sftp     /bin/sftp-server
 debug1: sshd version OpenSSH_5.6p1
 debug3: Not a RSA1 key file /etc/ssh_host_rsa_key.
 debug1: read PEM private key done: type RSA
 debug1: private host key: #0 type 1 RSA
 debug3: Not a RSA1 key file /etc/ssh_host_dsa_key.
 debug1: read PEM private key done: type DSA
 debug1: private host key: #1 type 2 DSA
 debug1: rexec_argv[0]='/bin/sshd'
 debug1: rexec_argv[1]='-D'
 debug1: rexec_argv[2]='-ddd'
 debug1: rexec_argv[3]='-e'
 debug2: fd 3 setting O_NONBLOCK
 

How were the key files generated?  I know that things like Putty will create 
keys that must be converted for some uses (don't remember the specifics at 
the moment).  This is most likely a wild guess; but I thought I'd throw this 
out just in case.

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



Re: environment variables in ssh non-interactive shell

2012-11-12 Thread Brian Wilson
 I'm trying to use environment variables to pilot a windows system
 through cygwin+ssh. Things work nicely with an interactive shell, but
 mess up with a non-interactive shell because my environment variables
 aren't set.
 -snip- 
 Does anyone have an idea what could be wrong?

I'd suggest a simple approach like testing to see if there is a terminal 
attached then source in the .bashrc or other environment setting files.  Try 
something like this:

[[ ! -t 1 ]]  [[ -f ~/.bashrc ]]  . ~/.bashrc

If there is no terminal attached to the session, and there is a .bashrc file 
in ${HOME}, source the file into the current environment.  You may want to do 
something similar for the /etc/profile or ~/.profile files in which case I 
would use a regular if styled statement.  Make sure ${HOME} is set 
(obviously) or explicitly set the value if it is not set in the script.  
Carefully check the file permissions to make sure everything has the correct 
read, write, and execute permissions (i.e. You don't want to execute a file 
that just anyone can write into) or you may get a nasty surprise.

if [[ ! -t 1 ]]
then
 echo -e \n\tNo interactive terminal found for this session.\n\tSetting 
the environment.\n
 [[ ${HOME} =  ]]  HOME=/usr/usr_dir/...
 if [[ -f /etc/profile ]]
 then
  . /etc/profile
 fi
 if [[ -f ${HOME}/.profile ]]
 then
  . ${HOME}/.profile
 fi
 if [[ -f ${HOME}/.bashrc ]]
 then
  . ${HOME}/.bashrc
 fi
fi


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



Re: Command line arguments

2012-11-01 Thread Brian Wilson
  % ${1}, ${2}, etc.  Also, you may want to read up on the getopts 
  command as a % way to process command line arguments. % Technically,
  the {}'s are not needed. You can access them with $1, $2, ... % 
  /path/to/$1.save/dir but not /path/to/$1save/dir you'd need the 
  {} % (i.e. /path/to/${1}save/dir because otherwise the shell would 
  be % looking for 1save as an env variable name.
 
 ... except that environment variables cannot begin with numbers :-)


True, but that won't keep the system from trying to interpret the string as 
a variable and erroring out on something a novice might easily write.

I got in the habbit of always using the {} (even if they aren't absolutely 
necessary) to avoid such issues on general principal.  It can also help keep 
things straight if you want to do something like the following line in a 
script 'VAR=${VAR}${VAR:+, }${VAR2}' in a loop to create a comma-space 
separated string.  The first time through the loop, VAR is NULL and won't 
add anything to the string so only VAR2's value is assigned to VAR.  The 
next time through VAR is defined and will have ${VAR}, ${VAR2} assigned 
back to VAR.  It's faster and cleaner than using an IF statement to do the 
same task.

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



Re: Command line arguments

2012-10-31 Thread Brian Wilson
If you have a script (e.g. foo.sh) and you wish to pass arguments to the 
script, your command line should look like foo.sh arg1 arg2 arg3...  The 
number of arguments will be correct and you will be able to access them as 
${1}, ${2}, etc.  Also, you may want to read up on the getopts command as a 
way to process command line arguments.

Sincerely,

Brian S. Wilson


 In cygwin, is it possible to pass arguments to a shell script file? 
 I have installed the latest cygwin with default packages. I found 
 that argument zero ($0) is correct. However, the number of arguments 
 always returns zero
 ($#= 0) and $1, $2... are all null even though I did pass arguments.


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



Re: real beginer

2012-10-23 Thread Brian Wilson
Welcome to Cygwin Trixie.

If you visit the Problems link on the Cygwin home page 
(http://cygwin.com/problems.html) you will see that there are some things 
you can do to help the community diagnose your issue.  Please run the 
cygcheck command and attach the output file (see the web page instructions) 
as a plain text file to your response.  This will let the community see what 
is installed and if you are missing anything.

Sincerely,

Brian S. Wilson

 I'm real beginner with cygwin, actually linux and everything related.
 But i need to instal and use certain fortran based program. I installed
 cygwin and several packages. I'm trying to call certain module and 
 all i get is bash: module: command not found I googled it up and i 
 found the solution that i should call /etc/profile.d/modules.sh 
 before my module. but there is now module.sh in my /profile.d 
 folder! Did i miss some package to install? What should i do? Please 
 help! I desperately need to start that program :(((


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



Re: gnome and hicolor exit code 127 for /usr/bin .vs. /bin

2012-10-08 Thread Brian Wilson
  Package: gnubg
gnubg.sh exit code 127
  Package: Unknown package
gnome-icon-theme.sh exit code 127
hicolor-icon-theme.sh exit code 127
  --snip--  
  could you please try :
 
  /usr/bin/gtk-update-icon-cache --force /usr/share/icons/gnome
  and ls -l
  /usr/bin/gtk-update-icon-cache --force /usr/share/icons/hicolor
 
  so we can try to understand what is not working on your system?
 
  Brian S. Wilson@ncc-1701 ~
  $ /usr/bin/gtk-update-icon-cache --force /usr/share/icons/gnome
 
  Brian S. Wilson@ncc-1701 ~
  $ echo $?
  127
 
  Brian S. Wilson@ncc-1701 ~
  $ /usr/bin/gtk-update-icon-cache --force /usr/share/icons/hicolor
 
  Brian S. Wilson@ncc-1701 ~
  $ echo $?
  127
 
 
 the normal behaviour should be:
 $ /usr/bin/gtk-update-icon-cache --force /usr/share/icons/hicolor
 gtk-update-icon-cache: Cache file created successfully.
 
 the error 127 is usually due to a missing or corrupted dll.
 
 On your case the problem is:
 
 cygwin1.7.16-1 OK
 
 but
 
   2778k 2012/04/05 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
cygwin1.dll v0.0 ts=2012/4/5 11:43
  Cygwin DLL version info:
  DLL version: 1.7.13
 
 this means that when you updated the last cygwin package
 you had still process running and it failed to replace the cygwin1.dll.
 
 Solution:
 Stop all the programs and cygwin services
 
 Service : cygserver
 Service : sshd
 
 and re-install the cygwin-1.7.16-1 package.
 

The solution worked.  I shut down cygserver (sshd was already down; you can do 
this from the command line  cygrunsrv --stop cygserver or from the Start, 
Run, Services.msc window) and did the setup.exe reinstall of cygwin.  Now 
there are no more silent errors and the icon cache files are in place.  It 
looks like somehow my system didn't automatically replace the dll file when I 
did a restart.  I will remember to use the cygrunsrv -L command to list the 
services and shut them down before my next update.

It would be nice if an error message could be added to the gtk-update-icon-
cache program to say there had been an error just so this doesn't get missed 
when running from the command line.  Not everyone (though they should) checks 
the return codes for every command.

Thank you Marco (by the way, do you play polo by any chance?). :) You were a 
great help.

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



Re: gnome and hicolor exit code 127 for /usr/bin .vs. /bin

2012-10-01 Thread Brian Wilson
   I have been doing setup updates for a few weeks with the error as shown 
   in 
 the following paragraph.
  
   Package: Unknown package
   gnome-icon-theme.sh exit code 127
   hicolor-icon-theme.sh exit code 127
  
   snip 
  the scripts are not incorrect. They works for almost everyone,
  but there is a unknown glitch on you machine,
  eventually it is only a false return error that fools setup.exe.
 
 Before I do the alternate installation suggested, is there anything 
 I may do to help debug the unknown glitch.  It is very consistent 
 on my Windows XP Pro 
 (SP3) system (3.33 GHz, 4 GB memory).  If there is some log file, or 
 other diagnostic I could run while executing setup?
 

I've done a little more testing and the 127 return code is coming from the 
/usr/bin/gtk-update-icon-cache --force 
/usr/share/icons/... command line in the scripts.  I get the 127 error message 
even if I run this command from the 
command line.  This call is supposed to update the icon cache file with the 
latest entries.  The icon-theme.cache file 
does exist for both the hicolor and gnome directories.  It appears that 
gtk-update-icon-cache does not return a zero exit 
code; but I don't see any reason for the 127 (file not found) error.

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



Re: gnome and hicolor exit code 127 for /usr/bin .vs. /bin

2012-10-01 Thread Brian Wilson
I have been doing setup updates for a few weeks with the error as 
shown in 
  the following paragraph.
   
Package: Unknown package
  gnome-icon-theme.sh exit code 127
  hicolor-icon-theme.sh exit code 127
   
snip 
   the scripts are not incorrect. They works for almost everyone,
   but there is a unknown glitch on you machine,
   eventually it is only a false return error that fools setup.exe.
  
  Before I do the alternate installation suggested, is there anything 
  I may do to help debug the unknown glitch.  It is very consistent 
  on my Windows XP Pro 
  (SP3) system (3.33 GHz, 4 GB memory).  If there is some log file, or 
  other diagnostic I could run while executing setup?
 
 
 I've done a little more testing and the 127 return code is coming 
 from the /usr/bin/gtk-update-icon-cache --force 
 /usr/share/icons/... command line in the scripts.  I get the 127 
 error message even if I run this command from the command line.  
 This call is supposed to update the icon cache file with the latest 
 entries.  The icon-theme.cache file does exist for both the hicolor 
 and gnome directories.  It appears that gtk-update-icon-cache does 
 not return a zero exit code; but I don't see any reason for the 127 
 (file not found) error.

The line should read The icon-theme.cache file does not exist for both the 
hicolor and gnome directories.  This command is supposed to create the 
cache file and it does not appear to be working.


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



Re: gnome and hicolor exit code 127 for /usr/bin .vs. /bin

2012-09-30 Thread Brian Wilson

  I have been doing setup updates for a few weeks with the error as shown 
  in 
the following paragraph.
 
  Package: Unknown package
gnome-icon-theme.sh exit code 127
hicolor-icon-theme.sh exit code 127
 
  snip 
 the scripts are not incorrect. They works for almost everyone,
 but there is a unknown glitch on you machine,
 eventually it is only a false return error that fools setup.exe.

Before I do the alternate installation suggested, is there anything I may do to 
help debug the unknown glitch.  It is very consistent on my Windows XP Pro 
(SP3) system (3.33 GHz, 4 GB memory).  If there is some log file, or other 
diagnostic I could run while executing setup?

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



Re: gnome and hicolor exit code 127 for /usr/bin .vs. /bin

2012-09-29 Thread Brian Wilson

 do not hijack mail thread.
 Start a new one, please.

My appologies.  I had thought that changing the Subject line would start a new 
thread when I did a reply to the cygwin email 
address.

  I have been doing setup updates for a few weeks with the error as shown in 
  the following paragraph.
 
  Package: Unknown package
  gnome-icon-theme.sh exit code 127
  hicolor-icon-theme.sh exit code 127
 
 snip  
 Is not an issue. Cygwin automatically mount /bin on /usr/bin
 
  From bash try
 $ ls /bin
 $ ls /usr/bin
 
 you will see the exact same list.
 
 About the 127 issue
 
 $ cd /etc/postinstall
 $ . ./gnome-icon-theme.sh
 gtk-update-icon-cache: Cache file created successfully.
 
 $ echo $?
 0
 
 If it works, than you can
 
 $ mv gnome-icon-theme.sh gnome-icon-theme.sh.done
 

I do see the /bin and /usr/bin now (/usr/bin didn't show up for some reason 
previously.  I'll assume I fat fingered the dir 
name.); however the setup installation still fails.  Whether or not I can 
manually execute a work around wasn't my point.  The 
gnome-icon-theme.sh and hicolor-icon-theme.sh installation scripts don't work 
as written and this should be corrected.

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



Re: ssh tunneling and keys - how to...

2012-09-04 Thread Brian Wilson
You have your local computer connected to a second computer and want to go fro 
the second machine to a third machine (if I understand this).  The connection 
from the local machine to the second machine works; but the connection from 
the second to the third does not work.

You need to set up an ssh key from the second server to the third server.  
Generate the public/private key on the second server and move the public key 
to the third server's .ssh directory (and check the directory and file 
permissions are correct).  You can't set up keys for all machines from the 
local machine only.  I hope this helps.

Sincerely,

Brian S. Wilson

-- Original Message ---
 I need to ssh to a server and from there jump to another server.
 
 I created a public key and gave it to the administrator to install 
 it on their side.
 
 I successfully connect to the first server but once in there, I 
 cannot connect to the next server, I always get 'Permission denied'.
 
 My colleagues on Mac or Linux have not issues. Can I do this with 
 CygWin or should I use something different?
 
 I've been told that I need to do something else on CygWin so this 
 carry on the public key... Is this the case?
 
 Thanks.
--- End of Original Message ---

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



Fw: Re: Need help creating a script that is ran from a batch file.

2012-08-20 Thread Brian Wilson
Hi Michael

The Cygwin general group is probably not the best place to get help with 
scripting. Places like LinkedIn.com's discussion boards would be a better 
place for tutoring.  That said, there's nothing special about a script versus 
the commands you type in online.

Take the command you would normally run put 
them into a file with a editor such as VI, or Emacs (if you absolutely must), 
and give the file execute permissions. Congratulations you've just written 
your first script.

For use of things like variables and other options, I 
suggest you find a good book on either bash shell, or I like the book the 
Korn shell command and programming language by Korn and Bolsky [ISBN 0-13-
516972-0]. Much of what you can do in Korn shell can also be done in the bash 
shell (from a scripting perspective).

Sincerely,

Brian S. Wilson


 I know very little about creating a script under cygwin. I have a 
 particular tack that doesn't change and I'm running it manually. I'm 
 thinking that since it doesn't change that it could be automated. As 
 you can see below I'm compiling three programs and the last program 
 is my executable.
 
 The first time I setup the cygwin environment it doesn't need to 
 'make clean'. I'm not sure if it hurts to run 'make clean' if it 
 doesn't need to. Maybe a check in place would be prudent if it 
 shouldn't be running 'make clean if it doesn't need to?
 
 Here are the commands I run from within cygwin:
 
 Open the Cygwin terminal
 
 cd /cygdrive/e/development/cygwin/mysql-5.5.25a/
 make clean
 perl cmake/configure.pl
 make  make mysqlclient  make install
 
 cd /cygdrive/e/development/cygwin/postgresql-9.1.4/
 make clean
 ./configure
 make  make install
 
 cd /cygdrive/e/development/cygwin/barnyard2/
 make clean
 ./autogen.sh
 ./configure --with-mysql --with-postgresql
 make  make install
 
 When it completesw the process I need it to create a folder and copy 
 all the prudent files and folder. I'm not sure if the below are 
 correct syntax.
 
 mkdir /cygdrive/e/cygwin/barn/
 
 cp /cygdrive/e/cygwin/barnyard2/src/.libs/barnyard2.exe 
/cygdrive/e/cygwin/barn
 /
 
 cp /cygdrive/e/cygwin/barnyard2/etc/ /cygdrive/e/cygwin/barn/etc/
 
 cp /cygdrive/e/cygwin/barnyard2/schemas/ /cygdrive/e/cygwin/barn/schemas/
 
 cp /cygdrive/e/cygwin/barnyard2/etc/barnyard2.conf /cygdrive/e/cygwin/barn/
 
 cp /cygdrive/e/cygwin/bin/cyggcc_s-1.dll /cygdrive/e/cygwin/barn/
 
 cp /cygdrive/e/cygwin/bin/cygwin1.dll /cygdrive/e/cygwin/barn/
 
 cp /cygdrive/e/cygwin/bin/cygz.dll /cygdrive/e/cygwin/barn/
 
 cp /cygdrive/e/cygwin/usr/local/mysql/lib/cygmysqlclient-
 18.dll /cygdrive/e/cygwin/barn/
 
 cp /cygdrive/e/cygwin/usr/local/pgsql/lib/cygpq.dll /cygdrive/e/cygwin/barn/
 
 then exit

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



RE: Promote sqlite 3.7.13-1 from test status?

2012-08-17 Thread Brian Wilson
 Sometimes I don't understand the antagonism towards interop with native 
 Windows programs that don't do anything unusual and do things by the 
 (Windows) book.  It seems like it defeats the point of the project 
 if that goes too far.  What's wrong with being pragmatic sometimes? 

There is nothing wrong with running native windoze programs under Cygwin, 
but running Windoze programs is not the purpose of Cygwin/Posix environment; 
that is the purpose of Windoze.  When the Windoze programs don't work and 
play well in the Posix environment; it's to bad they violate Posix's 
environment but no reason why Cygwin should abandon its purpose just so a 
couple of rude people won't have to do the difficult work of porting a 
package.  If SQLite has a *inux version available, that should use the 
proper Poxix locking anyway.  Is there some reason you can't you use this 
version as the basis for your port? 


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



Re: Promote sqlite 3.7.13-1 from test status?

2012-08-17 Thread Brian Wilson
 Software built for Cygwin should _always_ follow *NIX behaviour.
 
 Yaakov

Amen!

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



Re: Promote sqlite 3.7.13-1 from test status?

2012-08-16 Thread Brian Wilson

  This recent wish for SQLite on Cygwin to act more Unix-like is the
  first such request I've received, and I don't remember it being an
  issue with the previous maintainer, either.
 
  Maybe the reason is because subversion didn't use SQLite before?
 
 That's mere happenstance.  There's nothing special about Subversion 
 in this regard.  It could have happened with any other pair of 
 SQLite based programs.  The fact that it hasn't until now means the 
 DITCW principle isn't buying us much in this case.
 
 Understand Corinna, I see your point, and Achim's.  Remember that I 
 accepted Achim's patch and released 3.7.12.1-1 including it.  Making 
 Cygwin SQLite behave in a POSIXy way feels right.  But, given that 
 the new locking behavior causes actual people actual problems, 
 purity alone isn't looking like such a good reason to keep the new 
behavior.
 
 If we discard purity as a reason to do this, all we're left with is 
 the actual problem brought up by one person (Achim) in N years.  We 
 can't solve that problem without causing problems for many others.
 
  This behaviour breaks concurrency with other Cygwin executables
  using POSIX calls for file locking.
 
 I agree, in principle, the 3.7.3/13-1 locking behavior is Wrong (tm).
 
  Advisory locking only works when all players cooperate.  We can't
  assume that on Windows, unless we set up an insular Cygwin ghetto.
 
  So, are you saying that Cygwin should use mandatory file locking?
 
 In a situation like this, you have three choices:
 
 1. Use mandatory locking in the Cygwin program.  Ugly, but useful 
 work gets done.
 
 2. Tell all users of the Cygwin program to stop using the native 
 Windows program or switch to a Cygwin alternative.  This is a bad 
 choice as a rule, since it tells the world Cygwin doesn't play well 
 with others. It's worse in this case due to N years of the Cygwin 
 program playing well with the Windows program.  Additionally, there 
 is no GUI Subversion client in the Cygwin package repo.
 

Corina is correct, Cygwin is supposed to be a Posix compliant environment so 
the SQLite package should follow the Posix standard as the default 
behavior.  If you want to use Windoze tools, why are you using Cygwin?  If 
you really must, why not set up Apache under Cygwin and access the Cygwin 
Subversion repository through the defined http server interface and the 
issue of file locking becomes moot.

Cygwin is not a Windoze/Posix program compatability matching system; it is a 
Posix environment on the Windoze platform.  There is no intention to have 
Windoze only application work directly to Cygwin applications (nor is there 
an intention to prevent this either).

As a worst case scenario, why can't the direct SVN access locking behavior 
be determined by setting an environment variable.  If users want it to work 
with Windoze programs (i.e. in a non-posix way), have them set an 
environment variable for hard locks; other wise, let the rest of us who want 
a Posix experience use the advisory locks.  If this solution isn't 
acceptable, Cygwin Subversion should use a different DB and drop SQLite.

Sincerely,

Brian S. Wilson


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



Re: RCS file corruption.

2012-06-21 Thread Brian Wilson
 I suspect this happens because sometimes I edit the files on my Linux box and 
sometimes on my Windows box.

If I remember correctly, RCS (and the earlier SCCS systems) were designed to 
work with source code (i.e. text files).  They determined file changes based on 
lines added or deletes and had a fixed length internal buffer used to read each 
line.  From what I've read in this discussion, I think the issue is that the 
'^M' characters may not be seen by RCS as an EOL.  If that is the case, RCS 
will 
read the whole file as a single line and large files (65KB) may not be 
properly 
handled.

Use dos2unix and unix2dos to convert the files and you will probably eliminate 
the issue.

My $0.02

Brian S. Wilson


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



Re: 1.7.11-1 Update returns non-zero exit codes for coreutils

2012-04-12 Thread Brian Wilson
Nothing I tried could bring the Cygwin package back to life.  Even trying to 
install the latest new release didn't work.  I finally just removed the 
application and downloaded everything again.

I now have the 1.7.13-* release available and working.  I made a copy of the 
download tracking files (I don't know the real name for these files) and was 
able to diff the new basic download package against the previous download and 
make sure I got all the packages I had previously had.

With just a little work, I was able to get everything.  Now I just need to 
setup the apache2 server, the sshd deamon, etc.  I hope my notes are correct. 
:)

Sincerely,

Brian S. Wilson
-- Original Message ---

  On 3/29/2012 9:10 PM, Brian Wilson wrote:
  From: Andrew
 
  I just got this exact same thing and tried re-installing coreutils
  with no effect.  Initially, I had been installing binutils, and was
  told to restart because I had left a cygwin console open during the
  install.  Interested to hear what is known about this (recent) issue.
 
 
  Interesting...  I didn't have any consoles open (that I remember) during
  the
  update, but I've rebooted and done an update since this issue surfaced
  (again
  with no console open) and it hasn't resolved.  I've been wondering if I
  should
  remove the C:\cygwin directories and try installing again.  I'm hoping I
  won't
  have to do something that drastic.
 
  I'd recommend making sure all Cygwin processes are stopped (including
  services) and try installing the cygwin and coreutils package again,
  along with anything else you'd like to include.  If you're still having
  problems, cygcheck output will be helpful in any follow-up.
 
 
 
  So, Larry, are you talking about un-/reinstalling cygwin entirely*?  Also,
  does cygwin dev monitor this chat in case this is a bug?  If not, is there 
a
  better place to report such an issue?
 
 I'm suggesting reinstalling the packages in question with any other package
 you think might be affected.  Of course, it's likely that if you re-run
 'setup.exe' now (grabbing the newest one from cygwin.com of course), 
 you'll get the newest cygwin package (1.7.12) even without asking 
 for it to be reinstalled, since a new package for it has come out 
 since your posting.
 
 The Cygwin development team is on this list.  This is the list to report
 issues with Cygwin usage, with the exception of Cygwin X issues 
 which should go to the cygwin-xfree list.
 
  Couple of other points.  In searching some of the error codes (eg. 
command
  not found message), I also added c:\cygwin\bin to my PATH and created 
env
  variable CYGWIN_HOME as c:\cygwin.  This stopped the command not found
  message, though ls output was still empty.
 
 Could be BLODA http://cygwin.com/faq-
 nochunks.html#faq.using.bloda.  But perhaps it makes the most sense 
 to see a problem report if you're still having difficulties after 
 trying my suggestion.

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



Re: 1.7.11-1 Update returns non-zero exit codes for coreutils

2012-03-29 Thread Brian Wilson
From: Andrew
 
 I just got this exact same thing and tried re-installing coreutils 
 with no effect.  Initially, I had been installing binutils, and was 
 told to restart because I had left a cygwin console open during the 
 install.  Interested to hear what is known about this (recent) issue.
 

Interesting...  I didn't have any consoles open (that I remember) during the 
update, but I've rebooted and done an update since this issue surfaced (again 
with no console open) and it hasn't resolved.  I've been wondering if I should 
remove the C:\cygwin directories and try installing again.  I'm hoping I won't 
have to do something that drastic.

Brian

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



1.7.11-1 Update returns non-zero exit codes for coreutils

2012-03-28 Thread Brian Wilson
I did my usual morning updates from Cygwin and saw the following error 
messages (thank you for the autorebase by the way, long needed, great idea).

Package: Unknown package
autorebase.bat exit code 1
coreutils.sh exit code 127

I've tried re-installing the coreutils package and still see the following.

Package: coreutils
coreutils.sh exit code 127
Package: Unknown package
autorebase.bat exit code 1

While I can run the Cygwin terminal window, there appears to be a very serious 
issue as I can't run commands like cd, ls, or cygcheck either.  When I 
echo the $PATH I get the following.  This definitely doesn't look correct.

$ echo $PATH
/cygdrive/c/Program Files/Common Files/Microsoft Shared/Windows 
Live:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/Syst
em32/Wbem:/cygdrive/c/Program Files/ATI Technologies/ATI Control 
Panel:/cygdrive/c/Program Files/ATI Technologies/ATI.ACE/Core-
Static:/cygdrive/c/Program Files/Microsoft SQL 
Server/80/Tools/Binn:/cygdrive/c/ProgramFiles/QuickTime/QTSystem:/cygdrive/c/P
rogram Files/Common Files/Microsoft Shared/Windows Live

I've deleted the C:\cygwin\etc\setup\coreutil.lst.gz and re-installed again.  
I still get the same exit code message as after the previous re-install 
attempt.

Any idea what I've done wrong or what I need to do to get out of this 
situation?  I can't run cygcheck or I would try to give the output as an 
attachment.  I'm running a Windows XP SP3 system with McAfee Security Center.  
There are no security warnings during the download or installation.  Any help 
would be appreciated.

Sincerely,

Brian S. Wilson


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



Re: 1.7.11-1 Update returns non-zero exit codes for coreutils

2012-03-28 Thread Brian Wilson
  While I can run the Cygwin terminal window, there appears to be a very 
  serious
  issue as I can't run commands like cd, ls, or cygcheck either.
 
 Can you tell us what this means?  How did you determine that you can't run 
 these commands?

I opened the cygwin terminal and got the usual shell prompt.  I entered the 
cd or ls commands and got a command not found error.  I echoed  
$PATH and saw that the path didn't look correct (which is why I assume the 
commands couldn't be found).  I would have expected to see /usr/bin and 
/usr/local/bin in the path somewhere.  I didn't try giving the full path to 
these commands to see if the commands would have worked (I assume they 
would, but will confirm tonight).

I opened an Explorer session and went to C:\cygwin\bin and I could see the 
ls.exe and cygcheck.exe files were present so I presumed the issue was 
with the $PATH not being set correctly.

  I can't run cygcheck or I would try to give the output as an attachment.
 
 So you're saying c:\cygwin\bin\cygcheck.exe doesn't run from cmd.exe?
 True for c:\cygwin\bin\ls.exe too?  What feedback do you get?

I got the command not found error when I tried to run cygcheck from the shell.  
Stupidly, I didn't try with the full path to the file in the shell. 
I did open a windoz cmd window and ran the cygcheck command.  There were errors 
(which I didn't bother to record of course).  I will repeat this 
attempt and send the results this evening.

Sincerely,

Brian S. Wilson

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



Re: [ANNOUNCEMENT] Updated: rebase-4.1.0-1

2012-03-28 Thread Brian Wilson
 I hope it doesn't leave the system in an unusable state if some DLL is
 still in use.
 
 I may be wrong but I'm nearly certain that has been Corinna's goal from
 the start.  She is sometimes just a little too M.  A lot of her
 seemingly tireless efforts in getting Cygwin working are actually 
 very subtle attempts to leave systems inoperational.
 

LOL

Yes, I'm sure she's diabolical that way (I guess M stands for methodical or 
meticulous).  It must be the long nights spent slaving over Cygwin code has 
warped her thinking into providing helpful things like the automatic rebaseall 
feature (thank you Corina, your work has not been unappreciated) which has 
long been needed.

:) :) :)

Sincerely,

Brian S. Wilson




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



Re: Cygwin 1.7.9 Apache2 startup question issue.

2011-10-31 Thread Brian Wilson
I would like to create a bug report on the cygrunsrv command.  I've tried 
everything I can think of, and written to others who have web sites about using 
Cygwin and Apache, and no one was able to get Apache to run under another, 
secure, account from the administrative account with a command like the 
following.

$ cygrunsrv -I CYGWIN apache2 --path /usr/sbin/httpd2 --args -DNO_DETACH 
-k 
install --dep cygserver --user nobody --passwd password --shutdown --type 
auto --env CYGWIN=server --desc Cygwin Apache2 service for the HTTPD2 
daemons.

If I'm doing something wrong, please let me know what it is, or point me to 
documentation where I can figure this out.  If someone knows how to get this 
working in a secured account, I would be very interested in learning how to do 
this.

Sincerely,

Brian S. Wilson
www.brianswilson.org

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



Re: Cygwin 1.7.9 Apache2 startup question issue.

2011-08-15 Thread Brian Wilson
Hello Andrey:

  I'm having a bit of trouble with starting the Cygwin Apache2 package on my 
  Windows XP (SP3) system.
 
 Why don't you use native Windows Apache HTTPD server?

Because I'd like to use a more *nix like environment than Windows.

  ...Why does the apachectl2 help message display the usage for httpd2;
 
 Because the syntax is exactly the same.

Yet they aren't the same command (the httpd and apachectl2 commands have 
different file sizes) so the help message displayed isn't 
for correct command.  Perhaps some of these options don't work, or don't work 
the way they are defined or explained.  Perhaps 
there are other options that aren't included in this help message.  I can't 
trust the information provided as it isn't for the 
correct command.

  and why is there no definition for the -k option?
 
 There is:
  [-k start|restart|graceful|graceful-stop|stop]
 
 There's no explanation, however, but honestly. it's all pretty 
 self-explanatory.

The information provided is a usage statement (for the wrong command), not a 
definition or explanation.  What exactly is the 
difference between saying apachectl2 start (which works well) and apachectl2 
-k start?  Exactly what does -k do?

What I really need is some help with the cygrunsrv command to start the apache2 
running as a service.  If anyone knows what is 
wrong with the command I've used, or why the service dies without starting any 
httpd2 daemons, your help would be greatly 
appreciated.  Do I need to add '-e CYGWIN=service' (which is set as a System 
Variable already)? I'm trying to document the 
process of getting Apache2 up and running correctly so I can contribute 
something back to this community, but this one has got me 
stumped (so far).

$ cygrunsrv -I CYGWIN apache2 --path /usr/sbin/apachectl2 --args -D 
NO_DETACH -k start --dep cygserver --user 
nobody --shutdown

 Sorry for my terrible english...

Actually your English is better than my Russian.
#1053;#1072; #1089;#1072;#1084;#1086;#1084; #1076;#1077;#1083;#1077; 
#1074;#1072;#1096; 
#1072;#1085;#1075;#1083;#1080;#1081;#1089;#1082;#1080;#1081; 
#1083;#1091;#1095;#1096;#1077; #1095;#1077;#1084; #1084;#1086;#1081; 
#1088;#1091;#1089;#1089;#1082;#1080;#1081; #1103;#1079;#1099;#1082;.
#1044;#1086; #1089;#1074;#1080;#1076;#1072;#1085;#1080;#1103; 
#1087;#1086;#1082;#1072;.

Sincerely,

Brian S. Wilson


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



Cygwin 1.7.9 Apache2 startup question issue.

2011-08-14 Thread Brian Wilson
I'm having a bit of trouble with starting the Cygwin Apache2 package on my 
Windows XP (SP3) system.   If this is not 
the correct forum please accept my apologies and point me to the correct forum 
when you flame me. :)  I have looked 
for a proper Cygwin User Guide for Apache2 and a Cygwin Apache2 forum; but 
didn't find either.  Any help in getting 
this running would be appreciated.  I believe I am close to success, but I 
can't seem to find the magic 
options/commands for the cygrunsrv to automatically start the httpd2 daemons.  
I have attached the cygcheck.out file 
to help with the diagnosis.

Cygwin is installed for all users.  I've run rebaseall.  I have set up a 
restricted account(nobody)and password and 
set the properties Deny access to this computer from the network, Deny login 
locally, and Log on as a service.  
I have run mkpasswd and verified the nobody entry is in /etc/passwd.  I 
changed the shell for the nobody account to 
/bin/false (for security) in /etc/passwd file.

I set the /etc/apache2/httpd.conf file and uncommented the existing lines to 
set User nobody, and Group None, as 
shown in the /etc/passwd file.  I also added an IfModule env_module tag to set 
PassEnv SYSTEMROOT.  

I have installed and configured Cygserver and it appears to be working.  When I 
run /usr/sbin/apachectl2 start from 
the Admin user account command line I see several httpd2 processes (ps -eaf 
output) and I can connect to the 
http://localhost default It Works! page just fine, so I stop the apachectl2.

When I try to get cygserver to start the service under the nobody user, nothing 
appears to happens (0 is the returned 
value).  The command I have used is:
$ cygrunsrv -I CYGWIN apache2 --path /usr/sbin/apachectl2 --args -D 
NO_DETACH -k start --dep cygserver --user 
nobody --shutdown

I won't pretend to understand all details of the options as I copied this from 
a web site that appeared to know what 
they were doing.  After I run the cygrunsrv command, ps -eaf does not show any 
httpd2 processes running and I can't 
connect to the default web page.  I do see the CYGWIN apache2 service 
installed under windows Services; but the 
status is blank.  If I start the service I get a message telling me the service 
started then stopped; no mention of 
any errors, but then this is windows and proper error messages aren't their 
style.  I can remove the CYGWIN apache2 
service with cygrunsrv -R CYGWIN apache2 with no trouble.

One last question.  Why does the apachectl2 help message display the usage for 
httpd2; and why is there no definition 
for the -k option?  These are clearly not linked file names (see the ls command 
sizes).

$ /usr/sbin/apachectl2 -help
Usage: /usr/sbin/httpd2 [-D name] [-d directory] [-f file]
[-C directive] [-c directive]
[-k start|restart|graceful|graceful-stop|stop]
[-v] [-V] [-h] [-l] [-L] [-t] [-S]
Options:
  -D name: define a name for use in IfDefine name directives
  -d directory   : specify an alternate initial ServerRoot
  -f file: specify an alternate ServerConfigFile
  -C directive : process directive before reading config files
  -c directive : process directive after reading config files
  -e level   : show startup errors of level (see LogLevel)
  -E file: log startup errors to file
  -v : show version number
  -V : show compile settings
  -h : list available command line options (this page)
  -l : list compiled in modules
  -L : list available configuration directives
  -t -D DUMP_VHOSTS  : show parsed settings (currently only vhost settings)
  -S : a synonym for -t -D DUMP_VHOSTS
  -t -D DUMP_MODULES : show all loaded modules
  -M : a synonym for -t -D DUMP_MODULES
  -t : run syntax check for config files

$ ls -l /usr/sbin/httpd2 /usr/sbin/apachectl2
-rwxr-xr-x 1 Brian S. Wilson root 2048 Sep 16  2007 /usr/sbin/httpd2
-rwxr-xr-x 1 Brian S. Wilson root 3363 Sep 16  2007 /usr/sbin/apachectl2

Sincerely,

Brian S. Wilson


cygcheck.out
Description: Binary data
--
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

Cygwin 1.7.9 Apache2 startup question issue.

2011-08-14 Thread Brian Wilson
I'm having a bit of trouble with starting the Cygwin Apache2 package on my 
Windows XP (SP3) system.   If this is not the correct 
forum please accept my apologies and point me to the correct forum when you 
flame me. :)  I have looked for a proper Cygwin User 
Guide for Apache2 and a Cygwin Apache2 forum; but didn't find either.  Any help 
in getting this running would be appreciated.  I 
believe I am close to success, but I can't seem to find the magic 
options/commands for the cygrunsrv to automatically start the 
httpd2 daemons.  I have attached the cygcheck.out file to help with the 
diagnosis.

Cygwin is installed for all users.  I've run rebaseall.  I have set up a 
restricted account(nobody)and password and set the 
properties Deny access to this computer from the network, Deny login 
locally, and Log on as a service.  I have run mkpasswd 
and verified the nobody entry is in /etc/passwd.  I changed the shell for the 
nobody account to /bin/false (for security) in 
/etc/passwd file.

I set the /etc/apache2/httpd.conf file and uncommented the existing lines to 
set User nobody, and Group None, as shown in the 
/etc/passwd file.  I also added an IfModule env_module tag to set PassEnv 
SYSTEMROOT.  

I have installed and configured Cygserver and it appears to be working.  When I 
run /usr/sbin/apachectl2 start from the Admin 
user account command line I see several httpd2 processes (ps -eaf output) and I 
can connect to the http://localhost default It 
Works! page just fine, so I stop the apachectl2.

When I try to get cygserver to start the service under the nobody user, nothing 
appears to happens (0 is the returned value).  
The command I have used is:
$ cygrunsrv -I CYGWIN apache2 --path /usr/sbin/apachectl2 --args -D 
NO_DETACH -k start --dep cygserver --user 
nobody --shutdown

I won't pretend to understand all details of the options as I copied this from 
a web site that appeared to know what they were 
doing.  After I run the cygrunsrv command, ps -eaf does not show any httpd2 
processes running and I can't connect to the default 
web page.  I do see the CYGWIN apache2 service installed under windows 
Services; but the status is blank.  If I start the 
service I get a message telling me the service started then stopped; no 
mention of any errors, but then this is windows and 
proper error messages aren't their style.  I can remove the CYGWIN apache2 
service with cygrunsrv -R CYGWIN apache2 with no 
trouble.

One last question.  Why does the apachectl2 help message display the usage for 
httpd2; and why is there no definition for the -k 
option?  These are clearly not linked file names (see the ls command sizes).

$ /usr/sbin/apachectl2 -help
Usage: /usr/sbin/httpd2 [-D name] [-d directory] [-f file]
[-C directive] [-c directive]
[-k start|restart|graceful|graceful-stop|stop]
[-v] [-V] [-h] [-l] [-L] [-t] [-S]
Options:
  -D name: define a name for use in IfDefine name directives
  -d directory   : specify an alternate initial ServerRoot
  -f file: specify an alternate ServerConfigFile
  -C directive : process directive before reading config files
  -c directive : process directive after reading config files
  -e level   : show startup errors of level (see LogLevel)
  -E file: log startup errors to file
  -v : show version number
  -V : show compile settings
  -h : list available command line options (this page)
  -l : list compiled in modules
  -L : list available configuration directives
  -t -D DUMP_VHOSTS  : show parsed settings (currently only vhost settings)
  -S : a synonym for -t -D DUMP_VHOSTS
  -t -D DUMP_MODULES : show all loaded modules
  -M : a synonym for -t -D DUMP_MODULES
  -t : run syntax check for config files

$ ls -l /usr/sbin/httpd2 /usr/sbin/apachectl2
-rwxr-xr-x 1 Brian S. Wilson root 2048 Sep 16  2007 /usr/sbin/httpd2
-rwxr-xr-x 1 Brian S. Wilson root 3363 Sep 16  2007 /usr/sbin/apachectl2

Sincerely,

Brian S. Wilson



cygcheck.out
Description: Binary data
--
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

Re: Drop pdksh?

2011-03-24 Thread Brian Wilson
 On Tue, Mar 22, 2011 at 05:13:02PM +0100, David Sastre wrote:
 Maybe it should be considered to drop pdksh from the distro, being
 mksh a mantained replacement and pdksh orphaned and upstream
 unmantained.
 
 This sounds like a good idea to me.  Should I make this happen?
 
 cgf

Oh great computer,

We pause a moment to remember your program pdksh who served the users 
faithfully 
and well for so many CPU cycles.  We ask that you accept it's bits and comfort 
those who have come to rely on, and will now miss, this your shell interpreter 
as we lay it's memory space to rest.  We know your will is often difficult to 
understand as to why you have chosen to remove this program from our disk.

Never the less better it than me.

Amen.

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



Re: Newbie confused about chmod

2011-02-15 Thread Brian Wilson

 I cannot chmod files I untarred into a folder and I cannot 
 chmod a file I create in cgwin myself.
 
 I understood that you could do this if the file system was NTFS. 
 The bottom line is I have an executable that is not executable.  In 
 addition to solving that though it might be nice to get a better 
 understanding.

 (snip)

 Any help or advice greatly appreciated for this newbie.
 

Just to get rid of the obvious possibilities, check to see who owns the 
directory you are in, and what permissions the directory has.  If you do not 
own the directory, or if you do not have permission to change files in the 
directory, even if the file permissions grant you access, you won't be able to 
make permission changes.

If you can create the file but you can't chmod it to executable status, there 
may be some issue with your overall user access rights.

Brian S. Wilson


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



Re: scp just spews usage

2010-11-27 Thread Brian Wilson
  Hi,
  I've been using ssh with cygwin for years w/ no issues.? After my last
  upgrade, I am not able to use scp (ssh still works).
  
  $ scp myfile myusern...@myserver:~
  usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
 [-l limit] [-o ssh_option] [-P port] [-S program]
 [[u...@]host1:]file1 ... [[u...@]host2:]file2
  
  This same command has worked for me for long time.? Any ideas what's
  happening now?? (I have tried rebooting since the upgrade).
 
 I noticed that when I upgraded and didn't mind the messages from the
 setup-program saying that cygwin1.dll was in use and couldn't be
 updated.
 
 Try updating again and/or reinstalling ssh and be careful of the
 messages.

I had a similar issue.  It seems that some updates do not complete successfully 
under the circumstances you describe.  I 
suspect there is an issue with shells failing to run successfully as I often 
have to try several times before I can get 
Cygwin to open a bash shell successfully.  Others require a reboot (and you 
need to watch the messages for this 
information).

I found I could fix most problems by booting to safe with networking mode and 
reinstalling the packages that weren't 
working.  This restored my applications.  I hope this works for you as well.  I 
do the safe mode to prevent any problems 
with deamons or other applications running in the background.

Sincerely,

Brian S. Wilson

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



Re: Odd No Package message.

2010-11-16 Thread Brian Wilson
My bad; and my apologies for the breach of etiquette. My thanks also to those 
who gave me 
pointers on how to correct this issue.

Sincerely,

Brian S. Wilson
===
-- Original Message ---
From: Larry Hall \(Cygwin\) 

Sent: Tue, 16 Nov 2010 10:33:53 -0500
Subject: Re: Odd No Package message.

 On 11/16/2010 7:16 AM, Brian Wilson wrote:
  I've been following several of the recent message threads dealing with 
setup
  user issues...
 
 That's fine but we'd ask that you start a new thread when you want to
 address the list on a new subject.  Replying to an old thread and changing
 the subject isn't the way this is done.  Just send a new email 
 message to the list with your new subject and content.  That starts 
 a new thread.
 
 -- 
 Larry Hall  http://www.rfk.com
 --
 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
--- End of Original Message ---


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



Re: SSH - Can't Login (3rd Post)

2010-10-31 Thread Brian Wilson

snip
 
 No, if it's reporting 1.7.1, I expect that's the version you're running.
 And I expect that's coming into play here.  But go ahead and double check
 it in the Windows explorer.  I expect you'll find it reports 1.7.1 too.
 
 This is a problem.  I expect you know that you need to stop all your
 services before an upgrade in order to get the new DLL moved into place
 immediately, right?  If you don't do this, it will queue up the move 
 for next reboot.  My guess is you've rebooted at least once since installing
 
 1.7.x  1.7.1 but it's possible things have gotten gummed up if you didn't
 and have since done other upgrades (that's pure theory though).  What's
 not is that you have ZoneAlarm installed that is known to cause problems.
 I'd recommend unstalling it, stopping all Cygwin services (cron, 
 cygserver, httpd2, and sshd), reinstall the Cygwin package, and then 
 restart the services.  You should find this process gives you a 
 current cygwin1.dll in '/bin'.  If not, we need to look at the 
 results of the installation process (and/or for 
 http://cygwin.com/acronyms/#3PP ).

Looks like the gummed up diagnosis was the correct one.  I restarted my 
system in safe mode with networking and ran setup.  It reported nothing needed 
to be updated (looks like setup has an issue with detecting differences 
between what is actually running, and what should be installed; but that is a 
different debate).

I opened a Cygwin bash shell and ran the uname -a command and it still 
reported release 1.7.1, not 1.7.7.  I reran the setup and reinstalled Cygwin 
and cygserver then rebooted the system back to its normal operations mode.  
Once the system was up and stable I restarted the bash shell and got a series 
of stack dumps with complaints about timing out waiting for a return from a 
long jump (another issue for another time).  I closed the window and did the 
insane thing (repeated opening of a bash shell hoping for a different result). 
and this time I got a working shell prompt.

I ran the uname -a command and this time it returned the 1.7.7 version.  
Next, I did an ssh to my own machine ssh ncc-1701 and was able to get the 
expected prompts for a login.  Ssh appears to be working again.

Thank you all for your help and suggestions.  It is community support and 
cooperation, as well as support from the Dev team that keeps Cygwin one of the 
most popular *nix like environments for Windoze.

Sincerely,

Brian S. Wilson

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



Re: SSH - Can't Login

2010-10-31 Thread Brian Wilson


 On 31 October 2010 16:45, James Broadhead wrote:
  I also have this problem;
 
 Context?
 
  ssh ja...@192.168.1.15
  usage: ssh [-1246AaCfgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec]
            [-D [bind_address:]port] [-e escape_char] [-F configfile]
            [-I pkcs11] [-i identity_file]
            [-L [bind_address:]port:host:hostport]
            [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
            [-R [bind_address:]port:host:hostport] [-S ctl_path]
            [-W host:port] [-w local_tun[:remote_tun]]
            [u...@]hostname [command]
 
  ssh -p 1022 ja...@localhost
[UTF-8?]  Bad port '�ya'
 
  Here are strace output for:
  - OpenSSH_5.6p1, OpenSSL 0.9.8l 5 Nov 2009  -
  http://obviouslies.net/share/strace-new-ssh
  and
  - OpenSSH_5.5p1, OpenSSL 0.9.8o 01 Jun 2010  -
  http://obviouslies.net/share/strace-old-ssh
 
  SFVs of my cygwin1.dll for the old and new environments:
  cygwin1-new.dll B6328143
  cygwin1-old.dll   DFB07A25
 
  Anything else that I can add that would be useful?
 
 http://cygwin.com/problems.html

In my case the context was that suddenly ssh stopped working and would only 
give the usage message no matter what I tried.  I ran the cygcheck -svr and 
noted that I did not have the latest Cygwin (1.7.7) installed even though 
running setup said there was nothing needed.  I confirmed this by opening a 
bash shell and running uname -a command.

I rebooted my PC in safe mode with networking and ran setup with cygwin and 
cygserver set to reinstall.  I rebooted and opened a bash shell again and 
reran the uname -a command to confirm the update was working.  I then ran the 
ssh machine name and got the expected login prompts.

Hope this helped.

Brian S. Wilson

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



Re: SSH - Can't Login

2010-10-31 Thread Brian Wilson

 On 31 October 2010 17:12, Brian Wilson wrote:
  In my case the context was that suddenly ssh stopped working and would only
  give the usage message no matter what I tried.  I ran the cygcheck -svr 
and
  noted that I did not have the latest Cygwin (1.7.7) installed even though
  running setup said there was nothing needed.
 
 Which probably means that you'd tried to update the cygwin package
 while a Cygwin process was running, told it to skip it when setup.exe
 complained about it, and forgot to reboot to trigger the delayed
 update. There have been reports of the delayed update not working
 under some circumstances, but nothing definitive.

I did leave processes running when I did the update; good guess, but nope I did 
not skip the restart.  I choose the continue option and whenever I got the 
restart message, I did a restart.  I believe I have the latest setup as well, 
but am going to get a new one just in case.  Hopefully this won't happen in 
future.


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



Re: SSH - Can't Login (3rd Post)

2010-10-29 Thread Brian Wilson


 On 10/28/2010 10:37 PM, Brian Wilson wrote:
  The ssh command and its response are just a cut and paste of the bash 
screen.
  Trying to execute ssh -v ncc-1701 gives exactly the same results (note 
there
  is no -v option in the displayed list).
 
 $ ssh wil...@ncc-1701
 usage: ssh [-1246AaCfgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec]...
  ^
 There it is. ;-)

Oh, that -v option... ;-)

  cygcheck seems to have differing 1.7* information.  Is there some magic
  translation I need to know of to get the correct release number?
 
 No, if it's reporting 1.7.1, I expect that's the version you're running.
 And I expect that's coming into play here.  But go ahead and double check
 it in the Windows explorer.  I expect you'll find it reports 1.7.1 too.
 
 This is a problem.  I expect you know that you need to stop all your
 services before an upgrade in order to get the new DLL moved into place
 immediately, right?  If you don't do this, it will queue up the move 
 for next reboot.  My guess is you've rebooted at least once since installing
 
 1.7.x  1.7.1 but it's possible things have gotten gummed up if you didn't
 and have since done other upgrades (that's pure theory though).  What's
 not is that you have ZoneAlarm installed that is known to cause problems.
 I'd recommend unstalling it, stopping all Cygwin services (cron, 
 cygserver, httpd2, and sshd), reinstall the Cygwin package, and then 
 restart the services.  You should find this process gives you a 
 current cygwin1.dll in '/bin'.  If not, we need to look at the 
 results of the installation process (and/or for 
 http://cygwin.com/acronyms/#3PP ).

I know cygcheck is reporting Zone Alarm, but I've never had Zone Alarm 
installed on my system.   I do have McAfee installed, but have never had a 
problem with it blocking an installation.  I tried to reinstall just the 
cygwin application last night and rebooted immediately; but still I see the 
same information from cygcheck.  I will work this again tonight and try 
installing from reboot to safe mode and reinstall to see if that makes a 
difference.  I don't always stop all services before a restart and have relied 
on the reboot to take care of any issues with updating running processes.  
Perhaps that is not wise.


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



Re: SSH - Can't Login (3rd Post)

2010-10-28 Thread Brian Wilson
  I have the same problem and have not been able to resolve the issue 
either.  I 
  get the following from the type -a command.  Invoking either [ssh 
  version] from the bash 
  shell with a complete path still just displays the usage message and gives 
  a 
  return code of 255.  Everything else seems to be working fine.
  Brian S. wil...@ncc-1701 ~
  $ type -a ssh
  ssh is /usr/bin/ssh
  ssh is /bin/ssh
 
 A return code of 255 seems odd.  Maybe a required DLL is missing.  What
 is the complete usage message displayed?
 
 What is the output of the following:
 
 ls -l /usr/bin/ssh /bin/ssh
 ldd /usr/bin/ssh
 
 What happens when you invoke ssh from a cmd shell?
 
Brian S. wil...@ncc-1701 ~
$ ls -l /usr/bin/ssh /bin/ssh
-rwxr-xr-x 1 Brian S. Wilson root 342030 2010-09-03 04:44 /bin/ssh
-rwxr-xr-x 1 Brian S. Wilson root 342030 2010-09-03 04:44 /usr/bin/ssh

Brian S. wil...@ncc-1701 ~
$ ldd /usr/bin/ssh
ntdll.dll = /cygdrive/c/WINDOWS/system32/ntdll.dll (0x7c90)
kernel32.dll = /cygdrive/c/WINDOWS/system32/kernel32.dll (0x7c80)
cygcrypto-0.9.8.dll = /usr/bin/cygcrypto-0.9.8.dll (0x6ba4)
cygwin1.dll = /usr/bin/cygwin1.dll (0x6100)
ADVAPI32.DLL = /cygdrive/c/WINDOWS/system32/ADVAPI32.DLL (0x77dd)
RPCRT4.dll = /cygdrive/c/WINDOWS/system32/RPCRT4.dll (0x77e7)
Secur32.dll = /cygdrive/c/WINDOWS/system32/Secur32.dll (0x77fe)
cyggcc_s-1.dll = /usr/bin/cyggcc_s-1.dll (0x67f0)
cygz.dll = /usr/bin/cygz.dll (0x692c)
cygssp-0.dll = /usr/bin/cygssp-0.dll (0x6728)

$ ls -l /cygdrive/c/WINDOWS/system32/ntdll.dll 
/cygdrive/c/WINDOWS/system32/kernel32.dll /usr/bin/cygcrypto-
0.9.8.dll /usr/bin/cygwin1.dll /cygdrive/c/WINDOWS/system32/ADVAPI32.DLL 
/cygdrive/c/WINDOWS/system32/RPCRT4.dll 
/cygdrive/c/WINDOWS/system32/Secur32.dll /usr/bin/cyggcc_s-1.dll 
/usr/bin/cygz.dll /usr/bin/cygssp-0.dll

-rwxrwx---+ 1 Administrators SYSTEM 714752 2009-02-09 07:10 
/cygdrive/c/WINDOWS/system32/ntdll.dll
-rwxrwx---+ 1 Administrators SYSTEM 989696 2009-03-21 10:06 
/cygdrive/c/WINDOWS/system32/kernel32.dll
-rwxr-xr-x 1 Brian S. Wilson root 1174030 2009-11-05 12:49 
/usr/bin/cygcrypto-0.9.8.dll
-rwxr-xr-x 1 Brian S. Wilson root 2477372 2009-12-07 05:51 /usr/bin/cygwin1.dll
-rwxrwx---+ 1 Administrators SYSTEM 617472 2009-02-09 07:10 
/cygdrive/c/WINDOWS/system32/ADVAPI32.DLL
-rwxrwx---+ 1 Administrators SYSTEM 590848 2010-08-16 04:45 
/cygdrive/c/WINDOWS/system32/RPCRT4.dll
-rwxrwx---+ 1 Administrators SYSTEM 56832 2009-06-25 04:25 
/cygdrive/c/WINDOWS/system32/Secur32.dll
-rwxr-xr-x 1 Brian S. Wilson root 46094 2009-12-11 03:23 /usr/bin/cyggcc_s-1.dll
-rwxr-xr-x 1 Brian S. Wilson root 65536 2009-03-01 20:34 /usr/bin/cygz.dll
-rwxr-xr-x 1 Brian S. Wilson root 10254 2009-12-11 03:24 /usr/bin/cygssp-0.dll

Brian S. wil...@ncc-1701 ~
$ ssh wil...@ncc-1701
usage: ssh [-1246AaCfgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec]
   [-D [bind_address:]port] [-e escape_char] [-F configfile]
   [-I pkcs11] [-i identity_file]
   [-L [bind_address:]port:host:hostport]
   [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
   [-R [bind_address:]port:host:hostport] [-S ctl_path]
   [-W host:port] [-w local_tun[:remote_tun]]
   [u...@]hostname [command]

Brian S. wil...@ncc-1701 ~
$ echo $?
255

I get the same message from a DOS command shell when I cd to /cygwin/bin and 
execute ssh directly.

I've also attached the output of a cygcheck which did show a few issues I was 
not aware of and which I will work on 
correcting this weekend; but which shouldn't affect ssh's operations (as far as 
I am aware).



cygcheck.out
Description: Binary data
--
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

Re: SSH - Can't Login (3rd Post)

2010-10-26 Thread Brian Wilson
 On 10/26/2010 1:53 PM, Charles Smith wrote:
  I'm apparently having the same problem you are - when I run the ssh 
client, it gives me the usage output.  I discovered that if I go back to the 
previous version (5.5p1.2?), it works.  Every time I update with setup.exe, I 
have to go back and reset openssh to 5.5.  I figured I must be doing something 
really stupid, until a colleague complained to me that ssh didn't work - when 
I told him about the 5.5 version, that solved his problem.
  
  This has been going on for months now.  I do an internet search 
occasionally, but nothing comes up.  I'm actually quite puzzled.
 
 Have you tried to confirm that you don't have an alias, shell 
 function, or script named ssh that is masking the real ssh binary? 
  Something like that could be calling the real ssh with some 
 arguments that are invalid under the latest version.  What do you 
 get when you run the following:
 
 type -a ssh
 
 Have you tried installing a fresh copy of Cygwin to a new directory 
 to see if the problem recurs in that instance?  If the problem 
 happens in one but not the other when they should be otherwise 
 identical, a diff over the directories might track down the problem. 
  If the problem happens in both places, maybe you have some other 
 software installed on your system that is somehow interfering.
 

I have the same problem and have not been able to resolve the issue either.  I 
get the following from the type -a command.  Invoking either from the bash 
shell with a complete path still just displays the usage message and gives a 
return code of 255.  Everything else seems to be working fine.

Brian S. wil...@ncc-1701 ~
$ type -a ssh
ssh is /usr/bin/ssh
ssh is /bin/ssh

Brian S. Wilson

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



Re: diff issue

2010-09-30 Thread Brian Wilson
 Greetings, All!
 
 I have strange (to me) issue that I'm not entirely sure how to interpret.
 
 Let's say I have two versions of the same batch file:
 
 The old version from CVS:
 
  rem $Id: backup.bat,v 1.1 2007/07/17 01:53:30 Daemon Exp $
  rar a -ag--MM-DD_HH-MM -- MinerTimer @MinerTimer.list
 
 The new version I've imported to Subversion:
 
  @echo off
  rem $Id: backup.bat 10 2010-09-30 01:22:14Z anrdaemon $
  rar a -ag--MM-DD_HH-MM -- MinerTimer @MinerTimer.list
 
 When I'm comparing them with my usual macro
 diff -bdu -x CVS -x .svn -I \$Id.*\$ -I \$Revision.*\$ -I 
 \$Date.*\$ -I \$Author.*\$ --strip-trailing-cr -- '1/backup.bat' 
 'backup.bat'
 
 It telling me that $Id$ lines are differ.
 But when I remove the @echo off from second file, it telling me 
 that files are identical (the expected result).
 
 Having hard times dechiphering man diff, so if anyone can enlighten 
 me in simple words on the matter, I'd appreciate help greatly.
 
 -- 
 WBR,
  Andrey Repin 30.09.2010, 5:33
 
 Sorry for my terrible english...
 

Be sure the end of line characters are correct on the @echo line.  You 
should be able to do this with a cat -vTE command.  (sorry for my terrible 
Russian)

#1059;#1073;#1077;#1076;#1080;#1090;#1077;#1089;#1100;, 
#1095;#1090;#1086; #1082;#1086;#1085;#1077;#1094; 
#1089;#1090;#1088;#1086;#1082;#1080; 
#1089;#1080;#1084;#1074;#1086;#1083;#1099; 
#1087;#1088;#1072;#1074;#1080;#1083;#1100;#1085;#1086; #1085;#1072; 
@echo #1083;#1080;#1085;#1080;#1080;. #1042;#1099; 
#1076;#1086;#1083;#1078;#1085;#1099; #1073;#1099;#1090;#1100; 
#1074; #1089;#1086;#1089;#1090;#1086;#1103;#1085;#1080;#1080; 
#1089;#1076;#1077;#1083;#1072;#1090;#1100; #1101;#1090;#1086; #1089; 
#1087;#1086;#1084;#1086;#1097;#1100;#1102; cat -vTE 
#1082;#1086;#1084;#1072;#1085;#1076;#1099;. 
(#1048;#1079;#1074;#1080;#1085;#1080;#1090;#1077; #1079;#1072; 
#1084;#1086;#1081; #1091;#1078;#1072;#1089;#1085;#1099;#1081; 
#1088;#1091;#1089;#1089;#1082;#1080;#1081;)

Sincerely,

Brian S. Wilson

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



Re: use the list of files stored in a text file and process it

2010-09-30 Thread Brian Wilson

 I store a list of files in a text file (test.txt) on Windows XP.
 I want to use the list of files and process it (e.g. ls).
 What is the command to do that?
 I tried the following commands but to no avail.
 
 $ cat test.txt
 test.txt
 
 $ cat test.txt | xargs ls
 : No such file or directory
 
snip...

Try something like cat test.txt | xargs -i ls {} or cat test.txt | xargs -t 
ls I suspect the first one will work for you and the second one will show you 
the command line before running the command (to help you debug in future).

Sincerely,

Brian S. Wilson


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



Re: diff issue

2010-09-30 Thread Brian Wilson
 Let's say I have two versions of the same batch file:
 The old version from CVS:
 
  rem $Id: backup.bat,v 1.1 2007/07/17 01:53:30 Daemon Exp $
  rar a -ag--MM-DD_HH-MM -- MinerTimer @MinerTimer.list
 
 The new version I've imported to Subversion:
 
  @echo off
  rem $Id: backup.bat 10 2010-09-30 01:22:14Z anrdaemon $
  rar a -ag--MM-DD_HH-MM -- MinerTimer @MinerTimer.list
 
 When I'm comparing them with my usual macro
 diff -bdu -x CVS -x .svn -I \$Id.*\$ -I \$Revision.*\$ -I 
 \$Date.*\$ -I \$Author.*\$ --strip-trailing-cr -- '1/backup.bat' 
 'backup.bat'
 
 It telling me that $Id$ lines are differ.
 But when I remove the @echo off from second file, it telling me 
 that files are identical (the expected result).
 
 Having hard times dechiphering man diff, so if anyone can enlighten 
 me in simple words on the matter, I'd appreciate help greatly.
 
 Be sure the end of line characters are correct on the @echo line.  You 
 should be able to do this with a cat -vTE command.
 
 They are correct for windows batch fine (CRLF) and consistent for both
 files.  However, changing line endings didn't changed the end result. I'm 
 leaning
 towards diff specifics in treatment of ignored lines in scope of actually
 changed lines.
 
 :) If my English was the same as your Russian, accept my deepest apology.

Your English is fine.  I used Google translate to try and make my response 
easier for you.  I guess that didn't happen, so 
the fault is mine.

Try changing the @echo line to something else and see if you still get the 
same results.  Also try removing some of the -I 
cases and see if that makes a difference in the results.  This could lead you 
to the answer if one of the patterns is causing 
the problem.  Lastly do you need to use the -x PATtern exclusion options?  
You are already specifying the two files to diff 
so you shouldn't need these options.

I'm not sure what the -- argument is used for (before the file names) though. 
 I would also try naming the directory in the 
1/backup.bat argument something other than 1.

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



Re: distro apache2 will not start

2010-09-17 Thread Brian Wilson
  The apache2 package is orphaned for this long period of time already.
  Maybe it's time to pull it from the distro, unless somebody would
  like to take over maintainership.
 
 Apache2 is too important to lose from the distro, so:
 

I agree.  I've been using the Apache2 binaries to run servers on laptops and 
desktop machines under Cygwin and I would hate to loose it in the distribution. 
 
It has allowed me to try out changes for larger NIX servers without having to 
worry about repercussions during product tests or production runs.

While I was not able to get the svn modules working under apache2, I believe 
this is because I've been having trouble running the rebase commands on my 
systems.  I wish I knew of a user group in my area that could help newbies 
understand what they were missing or doing wrong when they have problems 
installing or setting up Apache2.


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



Re: Problem with subversion-apache2

2010-08-06 Thread Brian Wilson
Is this the right board for rebase issues?  Should I be looking somewhere else 
to determine which gcc and other tools I need.

Sincerely,

Brian S. Wilson
-- Original Message ---
From: Brian Wilson wil...@ds.net
To: cygwin@cygwin.com
Sent: Sat, 31 Jul 2010 09:03:21 -0400
Subject: Re: Problem with subversion-apache2

 I have similar problems with httpd2 as well as other occasional heap 
 space errors trying to start the bash shell.  I'm not a power user 
 of Cygwin; but I do read the User Guides and other web sites for 
 help/advise.  What I've set up I really like and I find this is 
 great for testing shell and Perl scripts.
 
 I am running the latest Cygwin version (1.7.5 I think) on a Windows 
 XP Pro system with SP3 and the latest patches.  I ran cygcheck and 
 noted it says I don't have gcc, ld, or a few other compiler related 
 packages.  I don't use my cygwin for compiling much so I've never 
 installed them.  Shouldn't these be part of the dependency list for 
 the rebase package if they are required?Do I need to download 
 more packages (even though I just reinstalled rebase)?  I've 
 attached the cygcheck output file to help with the analysis.
 
 I also note cygcheck says I have ZoneAlarm, which is incorrect.  I 
 believe it is detecting McAfee Total Protection and mis- identifying 
 it.  I know McAfee is on the BLODA list; but I had shut down all 
 file scanning before running rebaseall.  Do I need to turn something 
 more off?
 
 I opened an Explorer window and located C:/cygwin/bin/ash.exe and 
 double clicked.  I tried to run the rebaseall command and got the 
 following.  What did I do wrong?  Any advise would be appreciated.
 
 $ /bin/ps -eaf
  UID PIDPPID TTY STIME COMMAND
 Brian S.   15996   1 con  08:26:57 /usr/bin/ash
 Brian S.   12880   15996 con  08:32:06 /usr/bin/ps
 $ /bin/rebaseall
 ReBaseImage (/usr/bin/cyggcc_s-1.dll) failed with last error = 6
 
 Sincerely,
 
 Brian S. Wilson
 ===
 Home: (678) 376-9258   Cell: (678) 232-9357 wil...@ds.net
 ===
 
 -- Original Message ---
 From: Larry Hall \(Cygwin\) reply-to-list-only...@cygwin.com
 To: cygwin@cygwin.com
 Sent: Thu, 29 Jul 2010 17:53:46 -0400
 Subject: Re: Problem with subversion-apache2
 
  On 7/29/2010 5:48 PM, Dragos Toader wrote:
   The problem has to do with package
   subversion-apache 2 1.6.12-2
  
   My apache2 daemon crashes when I try to start it
   after adding
   LoadModule authz_svn_module lib/apache2/mod_authz_svn.so
   to
   /etc/apache2/httpd.conf
  
   /var/log/apache2/error_log reports
   7424725 [main] httpd2 1000 C:\cygwin\usr\sbin\httpd2.exe: *** fatal
   error - unable to remap \\?\C:\cygwin\lib\apache2\mod_authz_svn.so to
   same address as parent: 0xC7 != 0xF1
  
  This is caused by one of two things:
  
  1. rebase problem - Install the rebase package, read the readme in
  /usr/share/doc/Cygwin, and follow the instructions there to run
  rebaseall.
  
  2. http://cygwin.com/acronyms/#BLODA
  
  I'd try 1 first.
  
  -- 
  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?
  
  --
  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
 --- End of Original Message ---
--- End of Original Message ---


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



Re: Problem with subversion-apache2

2010-08-06 Thread Brian Wilson
Yep, I made sure to shut down all cygwin applications I am aware of that were 
running which were shown in the Windows Services.  Unfortunately I don't know 
what the errorno 6 means.

Sincerely,

Brian S. Wilson
-- Original Message ---
From: Larry Hall \(Cygwin\) reply-to-list-only...@cygwin.com
To: cygwin@cygwin.com
Sent: Fri, 06 Aug 2010 16:40:08 -0400
Subject: Re: Problem with subversion-apache2

 http://cygwin.com/acronyms/#TOFU  Yuck!  Reformatted.
 http://cygwin.com/acronyms/#PCYMTNQREAIYR.  Thanks.
 
 On 8/6/2010 3:25 PM, Brian Wilson wrote:
 On Sat, 31 Jul 2010 09:03:21, Brian Wilson wrote:
 On Thu, 29 Jul 2010 17:53:46, Larry Hall wrote:
  On 7/29/2010 5:48 PM, Dragos Toader wrote:
  The problem has to do with package
  subversion-apache 2 1.6.12-2
 
  My apache2 daemon crashes when I try to start it
  after adding
  LoadModule authz_svn_module lib/apache2/mod_authz_svn.so
  to
  /etc/apache2/httpd.conf
 
  /var/log/apache2/error_log reports
  7424725 [main] httpd2 1000 C:\cygwin\usr\sbin\httpd2.exe: *** fatal
  error - unable to remap \\?\C:\cygwin\lib\apache2\mod_authz_svn.so to
  same address as parent: 0xC7 != 0xF1
 
  This is caused by one of two things:
 
  1. rebase problem - Install the rebase package, read the readme in
  /usr/share/doc/Cygwin, and follow the instructions there to run
  rebaseall.
 
  2.http://cygwin.com/acronyms/#BLODA
 
  I'd try 1 first.
  I have similar problems with httpd2 as well as other occasional heap
  space errors trying to start the bash shell.  I'm not a power user
  of Cygwin; but I do read the User Guides and other web sites for
  help/advise.  What I've set up I really like and I find this is
  great for testing shell and Perl scripts.
 
  I am running the latest Cygwin version (1.7.5 I think) on a Windows
  XP Pro system with SP3 and the latest patches.  I ran cygcheck and
  noted it says I don't have gcc, ld, or a few other compiler related
  packages.  I don't use my cygwin for compiling much so I've never
  installed them.  Shouldn't these be part of the dependency list for
  the rebase package if they are required?Do I need to download
  more packages (even though I just reinstalled rebase)?  I've
  attached the cygcheck output file to help with the analysis.
 
  I also note cygcheck says I have ZoneAlarm, which is incorrect.  I
  believe it is detecting McAfee Total Protection and mis- identifying
  it.  I know McAfee is on the BLODA list; but I had shut down all
  file scanning before running rebaseall.  Do I need to turn something
  more off?
 
  I opened an Explorer window and located C:/cygwin/bin/ash.exe and
  double clicked.  I tried to run the rebaseall command and got the
  following.  What did I do wrong?  Any advise would be appreciated.
 
  $ /bin/ps -eaf
UID PIDPPID TTY STIME COMMAND
  Brian S.   15996   1 con  08:26:57 /usr/bin/ash
  Brian S.   12880   15996 con  08:32:06 /usr/bin/ps
  $ /bin/rebaseall
  ReBaseImage (/usr/bin/cyggcc_s-1.dll) failed with last error = 6
 
  Is this the right board for rebase issues?  Should I be looking somewhere
  else to determine which gcc and other tools I need.
 
 Sounds like you still have other Cygwin processes running.  Did you read
 the README?
 
 -- 
 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?
 
 --
 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
--- End of Original Message ---

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



Re: Incomplete downloads reported across several mirrors

2010-06-26 Thread Brian Wilson
By any chance, when you start a Cygwin shell do you occasionally get errors 
like 4 [main] bash 15592 C:\cygwin\bin\bash.exe: *** fatal error - couldn't 
allocate heap, Win32 error 487, base 0x6D, top 0x74, reserve_size 
454656, allocsize 458752, page_const 4096?  This is an error I've run into 
several times and it often causes problems with setup updates.

The best advise I can offer is to try opening 20 or 30 shells at a time, 
several times, then close the windows until you don't get a lot of these 
errors.  Then, quickly, run the setup script again.  It doesn't hurt to keep 
opening and closing a few shell windows while the setup is running.  You can 
also try the solution in the thread 1.7.1-1 Install freeze of Cygwin post 
install.sh which is a little drastic; but sometimes rebooting will reduce the 
frequency of this error occuring.

This error has been reported on several threads previously, however I've never 
seen a good solution.

Sincerely,

Brian S. Wilson
===
Home: (678) 376-9258   Cell: (678) 232-9357 wil...@ds.net
===
-- Original Message ---
From: Gregg Levine gregg.drw...@gmail.com
To: cygwin@cygwin.com
Sent: Sat, 26 Jun 2010 04:03:20 -0400
Subject: Re: Incomplete downloads reported across several mirrors

 On Fri, Jun 25, 2010 at 3:27 PM, Dan Platt  wrote:
   cygwin.somos at xoxy.net writes:
 
 
  I might suggest someone checking if their hard drive happens to be
  full or nearly so.
 
 
 
  I'm having the same problem since Tuesday - plenty of disk space for it.
 
 
  --
  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
 
 
 Hello!
 Well folks its now 4AM EDT on the Saturday since this problem has
 started. My update routines all ended up the same way. However it
 seems the program did indeed succeed in retrieving everything after
 all.
 
 The question as to why it is happening still remains.
 
 -
 Gregg C Levine gregg.drw...@gmail.com
 This signature fought the Time Wars, time and again.
 
 --
 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
--- End of Original Message ---


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



Re: cygwin.com website

2010-03-20 Thread Brian Wilson
Wait a minute...  This new web page looks crisp and professional.  The 
information is easily seen and well laid out.  How will anyone know this
is a volunteer software community supported project?

Thank you for the redesign.  I think it looks great (my attempt at dark humor
not withstanding).  This has been needed for a while and I approve whole 
heartedly.

I did notice some of the links do not appear to work (mailing lists).  You 
might want to check this before permanently implementing.

Sincerely,

Brian S. Wilson
 From: Brent Kerr c...@codecamel.com
 To: cygwin cygwin@cygwin.com
 Sent: Fri, 19 Mar 2010 21:46:57 +0800
 Subject: cygwin.com website

 Hey,

 I've whipped up a web template for cygwin.com if you'd like to use it
 - http://cygwin.codecamel.com/ - (it's what I do). Only the homepage
 and community page are up there at the moment, but let me know if you
 want the rest and I'll put it together.

 Cheers,
 Brent

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

  
  
  --- End of Original Message ---
 
 
--- End of Original Message ---


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



Re: Windows 7

2010-02-01 Thread Brian Wilson
I stand (actually I'm sitting) corrected. :)

The reason I deleted the .sh script was because it would never run to 
completion on subsequent installs.  I also forgot to add that I went though 
and selected reinstall for all my packages to avoid the problem you pointed 
out.  It took a while, but everything is working for me. 

Sincerely,

Brian S. Wilson
===
Home: (678) 376-9258   Cell: (678) 232-9357 wil...@ds.net
===

-- Original Message ---
From: Larry Hall (Cygwin) reply-to-list-only...@cygwin.com
To: cygwin@cygwin.com
Sent: Sun, 31 Jan 2010 20:13:03 -0500
Subject: Re: Windows 7

 On 01/29/2010 08:45 PM, Brian Wilson wrote:
  I had a similar problem upgrading on XP.  I think my issue was related to 
a
  heap space allocation issue which prevents the shell from running during 
the
  installation.  I found that failed installations left shell processes 
running,
  but not doing anything useful.
 
  Check the documentation as I believe there is a fix for the heap space 
issue.
  In my case, I killed these useless shells and that allowed the Cygwin bash
  shell to start up with out heap space errors.  I cleaned out the
  /etc/postinstall directory by removing any shell scripts (rm *.sh) and
  rerunning the setup.  Cygwin installed okay for me after that.
 
 There's no reason to remove postinstall scripts and, in fact, very 
 good reason to not do so - your installation could be incomplete.  
 If things are working for you and you have no complaints, there's no 
 reason to revisit this issue but in case others reading this thread 
 thought this would be a good thing to try, I wanted something on 
 record that would recommend against it.
 
 -- 
 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?
 
 --
 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
--- End of Original Message ---

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



Re: Windows 7

2010-01-29 Thread Brian Wilson
I had a similar problem upgrading on XP.  I think my issue was related to a 
heap space allocation issue which prevents the shell from running during the 
installation.  I found that failed installations left shell processes running, 
but not doing anything useful.  

Check the documentation as I believe there is a fix for the heap space issue.  
In my case, I killed these useless shells and that allowed the Cygwin bash 
shell to start up with out heap space errors.  I cleaned out the 
/etc/postinstall directory by removing any shell scripts (rm *.sh) and 
rerunning the setup.  Cygwin installed okay for me after that.

Hope this helps.

Sincerely,

Brian S. Wilson
-- Original Message ---
From: Gregg Levine gregg.drw...@gmail.com
To: cygwin@cygwin.com
Sent: Thu, 28 Jan 2010 12:50:53 -0500
Subject: Re: Windows 7

 On Thu, Jan 28, 2010 at 12:49 PM, Dave Korn 
 dave.korn.cyg...@ wrote:
  On 28/01/2010 06:28, Hirokazu Miura wrote:
  I am having problems in installing cygwin on a HP Pavilion 64bits 
platform.
 
   HP tend to ship their boxes with a ton of irritating and semi-useless 
stuff
  preinstalled.  Check if anything you have on the box is listed on BLODA:
 
  http://cygwin.com/faq/faq.using.html#faq.using.bloda
 
     cheers,
       DaveK
 
 Hello!
 I agree!
 This Dell Inspirion 1545 arrived wearing a heck of a lot of useless
 items, including their chosen Anti-virus programs.
 
 I strongly suggest you go through that list of items on the FAQ, and
 see if anything on your system matches it.
 
 Following it, then simply choose the steps that work for you. The one
 Eliot suggests in fact is how I normally proceed in point of fact.
 
 -
 Gregg C Levine gregg.drw...@gmail.com
 This signature was once found posting rude messages in English in 
 the Moscow subway.
 
 --
 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
--- End of Original Message ---


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



Re: Cygwin on FLOSS Weekly

2010-01-20 Thread Brian Wilson
I think it would be a great idea and might interest someone in joining the 
esteemed support team.  That would be a nice bonus.

Sincerely,

Brian S. Wilson
===
Home: (678) 376-9258   Cell: (678) 232-9357 wil...@ds.net
===

-- Original Message ---
From: Andrew Schulman schulman.and...@epamail.epa.gov
To: cygwin@cygwin.com
Sent: Wed, 20 Jan 2010 11:49:58 -0500
Subject: Re: Cygwin on FLOSS Weekly

  A 55 min Skype interview live! Indeed frightening.
  Almost like an unprepared conference talk.
 
 Surely our esteemed project leaders have all of the knowledge they'd 
 need to answer questions about Cygwin for 55 minutes.  But whether 
 they'd want to do so is of course up to them.
 
 --
 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
--- End of Original Message ---


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



RE: Can't set variables in a while loop that is passed to the rest of the script.

2010-01-15 Thread Brian Wilson
The pipe is what spawns the sub shell.  In Unix the last process runs in your 
current shell.  In Linux the first process of the pipe runs in the current 
shell.  The difference is that when the while statement (which is run in the 
sub shell) finishes the sub shell dies and any variable changes are lost.  In 
Unix the variables remain in the current shell.

Sincerely,

Brian S. Wilson
===
Home: (678) 376-9258   Cell: (678) 232-9357 wil...@ds.net
===

-- Original Message ---
From: Damo, David david.d...@cibc.com
To: Damo, David david.d...@cibc.com, cygwin@cygwin.com
cygwin@cygwin.com
Sent: Thu, 14 Jan 2010 18:23:28 -0500
Subject: RE: Can't set variables in a while loop that is passed to the rest  
of the script.

 Hi,
 
 I have fixed the problem. It seems in cygwin it spawns a subshell 
 even under bash. I used a for loop instead and everything worked nicely.
 
 for line in `sed 's/\$/^/g' $propfile`
 do
   nvpair=$(echo $line | awk -F= '{print $1,$2}')
   set -- $nvpair
   if [ ! $1 =   ]; then
   eval $1=\$2\
   fi
 done
 
 -Original Message-
 From: Damo, David 
 Sent: Thursday, January 14, 2010 5:40 PM
 To: 'cygwin@cygwin.com'
 Subject: Can't set variables in a while loop that is passed to the 
 rest of the script.
 
 Hi,
 
 I had a script that worked on UNIX, but on Cygwin it does not work. 
 When I set a variable in a while loop I can't use it after the loop. 
 However, this worked in UNIX. Any ideas why? All variables set after 
 the done command are blank, but can be seen in the while loop.
 
 propfile=${SCRIPT_HOME}/${propfilename}
 sed 's/\$/^/g' $propfile | while read line
 do
   export david=Hello
   nvpair=$(echo $line | awk -F= '{print $1,$2}')
   set -- $nvpair
   if [ ! $1 =   ]; then
   eval $1=\$2\
   fi
 done
 
 echo $david
 
 echo Setting siteminder_home
 echo $siteminder_home
 
 Thanks,
 
 David
 
 --
 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
--- End of Original Message ---


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



Re: setup 1.7.1 hangs on 000-cygwin-post-install.sh

2009-12-30 Thread Brian Wilson
I had the same problem and have written up the detailed solution on my own 
problem thread; but will share it again here.  It looks like the issue is the 
shell is not starting (heap space error) so the installation won't complete 
it's last steps (which require running shell scripts).  Don't know why.

Basically boot in Safe Mode with Networking and run setup then select 
reinstall on all the base files.  For me this got me to the point where I 
could get basic Cygwin working again and I could get a command shell running 
(sometimes).  While this didn't eliminate the heap space error, I was able to 
manage it's impact for the time being.

You might also want to run the cygcheck -s -v -r  cygcheck.out command from 
the C:/cygwin/bin is a DOS or shell window and attach the cygcheck.out file to 
your email.  It can help with the diagnosis.

Sincerely,

Brian S. Wilson
===
Home: (678) 376-9258   Cell: (678) 232-9357 wil...@ds.net
===


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



Re: 1.7.1-1 Install freeze of Cygwin post install.sh

2009-12-28 Thread Brian Wilson
I've always installed to the default locations, and I removed everything from 
the default C:\cygwin\ folder so I would have a clean install.  I also cleaned 
the registry of everything I could find and used a registry cleaner tool 
(Advanced System Care One) to try and get everything I couldn't find.

Sorry for the minimal information.  I have no idea of what is significant and 
what is not.  I've attached the cygcheck.out file as you suggested.  I ran the 
command directly from the c:\cygwin\bin\ directory.  I looked over the file 
for anything obvious and didn't see much.

I did notice that the system says I have ZoneAlarm as a personal fire wall; 
but I don't and never have used ZoneAlarm.  I have used McAfee products and 
currently use their Security Center.

There is a warning about multiple cygwin1.dlls in my path.  I've run a windows 
search (including system and hidden folders) against the whole C:\ drive and 
found C:\cygwin\bin\cygwin1.dll was the only result returned.

I also did a search from C:\ (including hidden and system folders) looking for 
cygwin  There were some files in C:\Tools\Installed with names like 
ftp%3a%2f%2fftp.gtlib.gatech.edu%2fpub%2fcygwin%2f and I found a folder, 
C:\Tools\Installed\ftp%3a%2f%2fftp.gtlib.gatech.edu%2fpub%2fcygwin%2f\release\
cygwin, that contains the file cygwin-1.7.1-1.tar.bz2.  I assume this is a 
temporary location used while an installation is in progress.

Please let me know if you see something more that I'm missing.  I don't see 
anything that would explain the *** fatal error - couldn't 
 allocate heap, error, or the other errors, from the log file.

Sincerely,

Brian S. Wilson
===
Home: (678) 376-9258   Cell: (678) 232-9357 wil...@ds.net
===
 
 Just as a wild guess, given the minimal information above, and given 
 the handful of other problems reported with this - you may have two versions
 of Cygwin installed on your system.  One would be installed in a
 standard location and another could be in windows\system32 or in a
 third-party location like cwrsync or in some other cygwin repackager.
 
 See: http://cygwin.com/problems.html .  Run the cygcheck command
 suggested there and inspect the output for clues.  Also look in your
 windows directory and along your PATH for other copies of cygwin1.dll
 and any other Cygwin DLLs.
 
 cgf
 
 --
 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
--- End of Original Message ---


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



Re: 1.7.1-1 Install freeze of Cygwin post install.sh

2009-12-28 Thread Brian Wilson
Okay, here is the cygcheck.out file I forgot to attach in my earlier email.

While I was able to get the two laptop machines to update to 1.7 earlier 
today, I'm still not able to get my desktop system at home to upgrade.  I'm 
still getting the Couldn't allocate heap error message.

Sincerely,

Brian S. Wilson
===
Home: (678) 376-9258   Cell: (678) 232-9357 wil...@ds.net
===

-- Original Message ---
From: Christopher Faylor cgf-use-the-mailinglist-ple...@cygwin.com
To: cygwin@cygwin.com
Sent: Mon, 28 Dec 2009 11:26:49 -0500
Subject: Re: 1.7.1-1 Install freeze of Cygwin post install.sh

 On Mon, Dec 28, 2009 at 08:18:25AM -0500, Brian Wilson wrote:
 There is a warning about multiple cygwin1.dlls in my path.  I've run a 
windows 
 search (including system and hidden folders) against the whole C:\ drive 
and 
 found C:\cygwin\bin\cygwin1.dll was the only result returned.
 
 There is a warning...?  The warning should have told you where to 
 find the other cygwin1.dl.
 
 I also did a search from C:\ (including hidden and system folders) looking 
for 
 cygwin  There were some files in C:\Tools\Installed with names like 
 ftp%3a%2f%2fftp.gtlib.gatech.edu%2fpub%2fcygwin%2f and I found a folder, 
 
C:\Tools\Installed\ftp%3a%2f%2fftp.gtlib.gatech.edu%2fpub%2fcygwin%2f\release
\
 cygwin, that contains the file cygwin-1.7.1-1.tar.bz2.  I assume this is a 
 temporary location used while an installation is in progress.
 
 If these files are in c:\tools\installed it is because you chose that
 location when running setup.exe.
 
 cgf
 
 --
 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
--- End of Original Message ---



cygcheck.out
Description: Binary data
--
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

1.7.1-1 Install freeze of Cygwin post install.sh

2009-12-27 Thread Brian Wilson
I'm running a Dell XPS (single core 3GHz processor) with WinXP SP3 with latest 
patches.  My system has 4GB memory installed and 20GB free disk space 
available.

I had 1.5 installed and working well.  I tried to upgrade to 1.7 and received 
many errors and could not complete the installation because the installation 
appeared to stop working.  I rebooted several times and retried the update 
each time with no success.  I manually removed all cygwin files and cleaned 
the registry.  I tried downloading the setup and reinstalling the base 1.7 
release.  Everything goes find until I get to the /etc/postinstall/000-cygwin-
post-install.sh step and the progress bars stop showing any progress (i.e. 
appear to stop working).

I went to c:\cygwin\var\log\setup.log.postinstallXa01348 and looked at this 
file.  It contains:

  5 [main] bash 508 C:\cygwin\bin\bash.exe: *** fatal error - couldn't 
allocate heap, Win32 error 487, base 0x6D, top 0x73, reserve_size 
389120, allocsize 393216, page_const 4096
  5 [main] bash 2216 child_info::sync: wait failed, pid 508, Win32 error 0
909 [main] bash 2216 fork: child -1 - died waiting for longjmp before 
initialization, retry 0, exit code 0x100, errno 11

I have no choice but to cancel the install and retry; but it never completes 
and always fails at the same point.  Does anyone know what this means and how 
to fix the problem?  If it's something stupid I've done; please point out the 
issue.
Sincerely,

Brian S. Wilson
===

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