public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: Stuck with incomplete Cygwin installation
@ 2017-02-10 21:27 Daniel Friedman
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Friedman @ 2017-02-10 21:27 UTC (permalink / raw)
  To: cygwin

Marco,

Thanks VERY much for explaining I have a BLODA interference issue and
suggesting I try using safe mode--I did, and now I have a complete
Cygwin installation. I still have to work on the "fork: retry:
Resource temporarily unavailable" issue, which I may not be able to
resolve, but you've enable overcoming my primary hurdle.

(Related: Besides using msconfig.exe to enter safe mode on Windows 10,
one can also hold down the shift key while clicking on Windows menu >
Power > Restart...which will prompt for potentially using safe mode.
The big difference between these approaches is that the msconfig.exe
approach applies until you change it again in that application, while
the shift-key method applies only for the next restart. In my case, my
limited admin privileges rely on a Windows service that doesn't run in
safe mode...so I had to have someone with higher admin rights change
the setting in the msconfig.exe app. So I've learned the shift-key
method is probably safer for me :) )

Again, thank you very much, Marco!

--Daniel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Stuck with incomplete Cygwin installation
  2017-02-09  7:44 Daniel Friedman
@ 2017-02-09  9:13 ` Marco Atzeri
  0 siblings, 0 replies; 3+ messages in thread
From: Marco Atzeri @ 2017-02-09  9:13 UTC (permalink / raw)
  To: cygwin

On 09/02/2017 08:44, Daniel Friedman wrote:
> Quick summary: I'm stuck being unable to achieve a working Cygwin
> installation on a machine that formerly had one.

> attempts always yield errors of the following kind (the numbers, other
> than "errno 11", vary):
> --- begin typical error message ---
> 1152878 [main] sh 304 fork: child 27120 - died waiting for dll loading, errno 11
> ./base-files-mketc.sh: fork: retry: Resource temporarily unavailable
> --- end typical error message ---

this does not look a fork issue due to rebase (colliding address)
it looks BLODA interference.
Specially if you try to install only base category the
collision risk is almost nothing

> Additionally, running setup after attempting to run these scripts
> manually causes not only the scripts to again fail when invoked by
> setup.exe, but the 0p_000_autorebase.dash script also fails, with exit
> code 2.

as before...

> * Re-downloaded the setup program.
>
> Some more details:
> * Windows 10 machine
> * Cygwin setup.exe version 2.877 (64 bit)
> * I've attached /var/log/setup.log.full from my most recent
> installation attempt, in case it might help.
> * I have extensive but somewhat limited administrator rights on this
> Windows machine; in particular, I can't suspend or disable the
> anti-virus software. However, I've never before had a related problem
> with Cygwin--not on this machine I've had since August 2016, and not
> on any other machine with same limited admin rights I've had over the
> past 7+ years. This all strongly suggests to me (IMHO) the anti-virus
> software, and my limited admin rights, are not interfering with the
> Cygwin installation.

unfortunately Antiviruses evolve and not always for the better.
On my side Symantec has worsened a lot in the last months, while be
reasonable for years.

It could also be some other applications like device drivers or
security communication packages.

Anything in this list or similar
https://cygwin.com/faq/faq.html#faq.using.bloda

that you have around ?
Bank security packages are the latest trendy BLODA's.

> After hours of searching the web and attempting multiple
> reinstallations, I'm sorry to lean on the community for help, but I'm
> really at wits end. I'm willing to try new ideas, and appreciate any
> suggestions.
>
> Thanks very much in advance,
> --Daniel
>

I do not know if works on W10, it worked on my W7 64 bit,
but you can try with "msconfig.exe" to reboot  in "Safe boot"
with "Network" and just install base category.
This should disable almost every services including the AV

If installation works than you know that a BLODA is around,
but catching it will take a bit more.

Regards
Marco





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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Stuck with incomplete Cygwin installation
@ 2017-02-09  7:44 Daniel Friedman
  2017-02-09  9:13 ` Marco Atzeri
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Friedman @ 2017-02-09  7:44 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 4616 bytes --]

Quick summary: I'm stuck being unable to achieve a working Cygwin
installation on a machine that formerly had one.

I recently tried to update Cygwin packages using setup, and developed
the "bash: fork: retry: Resource temporarily unavailable" issue which
many online posts indicate  can be cured with a "rebaseall" procedure.
That procedure didn't work for me, so I've uninstalled/reinstalled
Cygwin multiple times, and  can't achieve a complete  Cygwin
installation. I now face the following issues after running setup:
* As part of the postinstall routine operated by the setup program,
the base-files-mketc.sh and base-files-profile.sh postinstall scripts
both exit abnormally (error code 254 for each).
* While /home is generated by setup, a home directory for me within
/home does not get created.
* /etc/skel also does not get created.
* Upon accessing a bash shell environment by opening a Cygwin terminal
(mintty) using the desktop shortcut created by the setup program, I
see the PATH variable does not include any directory within the Cygwin
installation. Specifically, my Cygwin installation is rooted at
C:\cygwin64 and  PATH does not include any directory rooted at
/cygdrive/c/cygwin64 (such as /cygdrive/c/cygwin64/bin).

I''ve tried the following multiple times to address these issues, with
the same unsuccessful outcomes as described above:
* Removed Cygwin per
https://cygwin.com/faq/faq.html#faq.setup.uninstall-all. (I've saved
my home directory from the last successful Cygwin installation, but
haven't copied any files from it to the new installations.) Note: At
least since attempting reinstallation, if I close all Cygwin terminal
windows, I do not see any Cygwin-related processes running in the
Windows Task Manager.
* Reinstalled Cygwin as administrator, as well as tried using setup's
--noadmin and --disable-buggy-antivirus command-line options.
* Used different Cygwin download sites (selected within the setup
program). I didn't expect this would help, but tried anyway.
* Installed only default packages (and the packages they depend on).
* Speculating it might help, I tried installing the cygrunsrv package
despite setup indicating it's not needed by default. Indeed, this
approach didn't help. Further: While cygrunsrv files do get installed
on the disk (e.g. /usr/sbin/cygserver.exs exists) there's no evidence
a related service is being installed in a way Windows
recognizes--there's nothing Cygwin-related listed by Windows'
application for managing services, services.msc.
* '/usr/bin/rebaseall -v' -- the  command appears to run successfully,
but re-running setup afterward does not address the issues noted
above, and the two postinstall scripts fail again when setup runs
them.
* '/usr/bin/rebase-trigger full' -- same effect, upon running setup,
as described in previous line.
* Used Windows facility to delete read-only permission on my
installation directory (C:\cygwin64) and for subdirectories nested
within it...and re-ran setup afterward.
* Attempted to manually run the base-files-mketc.sh and
base-files-profile.sh postinstall scripts from the command line. These
attempts always yield errors of the following kind (the numbers, other
than "errno 11", vary):
--- begin typical error message ---
1152878 [main] sh 304 fork: child 27120 - died waiting for dll loading, errno 11
./base-files-mketc.sh: fork: retry: Resource temporarily unavailable
--- end typical error message ---
Additionally, running setup after attempting to run these scripts
manually causes not only the scripts to again fail when invoked by
setup.exe, but the 0p_000_autorebase.dash script also fails, with exit
code 2.
* Re-downloaded the setup program.

Some more details:
* Windows 10 machine
* Cygwin setup.exe version 2.877 (64 bit)
* I've attached /var/log/setup.log.full from my most recent
installation attempt, in case it might help.
* I have extensive but somewhat limited administrator rights on this
Windows machine; in particular, I can't suspend or disable the
anti-virus software. However, I've never before had a related problem
with Cygwin--not on this machine I've had since August 2016, and not
on any other machine with same limited admin rights I've had over the
past 7+ years. This all strongly suggests to me (IMHO) the anti-virus
software, and my limited admin rights, are not interfering with the
Cygwin installation.

After hours of searching the web and attempting multiple
reinstallations, I'm sorry to lean on the community for help, but I'm
really at wits end. I'm willing to try new ideas, and appreciate any
suggestions.

Thanks very much in advance,
--Daniel

[-- Attachment #2: setup.log.full --]
[-- Type: application/octet-stream, Size: 2849 bytes --]

2017/02/09 01:36:38 Starting cygwin install, version 2.877
2017/02/09 01:36:39 User has backup/restore rights
2017/02/09 01:36:39 Current Directory: C:\CygwinPackages
2017/02/09 01:36:39 Could not open service McShield for query, start and stop. McAfee may not be installed, or we don't have access.
2017/02/09 01:36:41 source: network install
2017/02/09 01:36:42 root: C:\cygwin64 system
2017/02/09 01:36:43 Selected local directory: C:\CygwinPackages
2017/02/09 01:36:44 net: Direct
Loaded cached mirror list
get_url_to_membuf http://cygwin.com/mirrors.lst
getUrlToStream http://cygwin.com/mirrors.lst
2017/02/09 01:36:45 site: http://cygwin.mirror.constant.com/
get_url_to_membuf http://cygwin.mirror.constant.com/x86_64/setup.xz.sig
getUrlToStream http://cygwin.mirror.constant.com/x86_64/setup.xz.sig
get_url_to_membuf http://cygwin.mirror.constant.com/x86_64/setup.xz
getUrlToStream http://cygwin.mirror.constant.com/x86_64/setup.xz
compress_xz::bid_xz: success: 48
compress_xz::bid_xz: success: 48
INSTALLED.DB version 3
.ini setup_version is 2.877, our setup_version is 2.877
2017/02/09 01:36:49 Changing gid back to original
Visited: 70 nodes out of 9043 while creating dependency order.
Dependency order of packages: base-cygwin cygwin dash _autorebase libiconv2 libintl8 alternatives libattr1 libgmp10 tzdata libgcc1 libstdc++6 terminfo libncursesw10 libreadline7 tzcode coreutils bash findutils sed base-files libbz2_1 bzip2 libffi6 libp11-kit0 libtasn1_6 p11-kit p11-kit-trust ca-certificates libpopt-common libpopt0 cygutils libsigsegv2 diffutils editrights zlib0 file libmpfr4 gawk libargp getent libpcre1 grep groff gzip hostname info ipc-utils less libuuid1 libblkid1 libgdbm4 libiconv liblzma5 libopenssl100 libpipeline1 libsmartcols1 libssp0 login util-linux man-db mintty ncurses openssl rebase run xz tar vim-minimal which 
2017/02/09 01:36:49 running: C:\cygwin64\bin\dash.exe "/etc/postinstall/0p_000_autorebase.dash"
2017/02/09 01:36:50 abnormal exit: exit code=2
2017/02/09 01:36:50 running: C:\cygwin64\bin\dash.exe "/etc/postinstall/0p_update-info-dir.dash"
2017/02/09 01:36:51 running: C:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/base-files-mketc.sh"
2017/02/09 01:37:07 abnormal exit: exit code=254
2017/02/09 01:37:07 running: C:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/base-files-profile.sh"
2017/02/09 01:37:22 abnormal exit: exit code=254
2017/02/09 01:37:22 running: C:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/zp_man-db.sh"
2017/02/09 01:37:22 Changing gid to Administrators
Program directory for program link: C:\ProgramData\Microsoft\Windows\Start Menu\Programs
Desktop directory for desktop link: C:\Users\Public\Desktop
2017/02/09 01:39:33 note: Nothing needed to be installed
2017/02/09 01:39:33 Ending cygwin install

[-- Attachment #3: Type: text/plain, Size: 219 bytes --]


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-02-10 21:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-10 21:27 Stuck with incomplete Cygwin installation Daniel Friedman
  -- strict thread matches above, loose matches on Subject: below --
2017-02-09  7:44 Daniel Friedman
2017-02-09  9:13 ` Marco Atzeri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).