Re: Apache Fork Errors - Found on Windows Server 2019

2021-10-19 Thread OwN-3m-All via Cygwin
I just tried the new packages (using the previous build method, with no
circular dependency), and it appears that everything is working properly
again.

Thank you!

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


Re: Apache Fork Errors - Found on Windows Server 2019

2021-10-19 Thread Ken Brown via Cygwin

On 10/18/2021 9:43 PM, OwN-3m-All via Cygwin wrote:

I upgraded both libharfbuzz0 and libfreetype6 to the latest version again,
and the issues are back.

I tested these previous versions for both, and they work:

libharfbuzz0 2.7.4-1 and 2.8.1-1 work
libfreetype6 2.10.4-1 and 2.10.4-2 work

The latest versions of these libs need to be reverted or properly fixed.


The new packages (using the previous build method, with no circular dependency) 
are now available.  Please test.


Ken

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


Re: Apache Fork Errors - Found on Windows Server 2019

2021-10-18 Thread OwN-3m-All via Cygwin
I upgraded both libharfbuzz0 and libfreetype6 to the latest version again,
and the issues are back.

I tested these previous versions for both, and they work:

libharfbuzz0 2.7.4-1 and 2.8.1-1 work
libfreetype6 2.10.4-1 and 2.10.4-2 work

The latest versions of these libs need to be reverted or properly fixed.

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


Re: Apache Fork Errors - Found on Windows Server 2019

2021-10-18 Thread Ken Brown via Cygwin

On 10/18/2021 4:43 PM, OwN-3m-All via Cygwin wrote:

Since those are the two DLLs that are causing a problem for you, maybe

that

circular dependency doesn't work well on Cygwin for some reason.  Please

try

downgrading to the previous versions of harfbuzz and freetype2 and see if

that

fixes the problem.


That did fix the problem!  I downgraded both and restarted, and now apache
and php works again.  


Just to double check, could you upgrade harfbuzz and freetype2 again and see if 
the problem comes back?  Make sure that there are no Cygwin processes running 
and that the _autorebase postinstall script completes successfully.  (You can 
check /var/log/setup.log.full for rebase messages.)



Can that change be reverted or fixed so that it
doesn't happen on future installs?


Yes, I'll revert that change if you can confirm as above that this really is the 
problem.


Ken

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


Re: Apache Fork Errors - Found on Windows Server 2019

2021-10-18 Thread OwN-3m-All via Cygwin
> Since those are the two DLLs that are causing a problem for you, maybe
that
> circular dependency doesn't work well on Cygwin for some reason.  Please
try
> downgrading to the previous versions of harfbuzz and freetype2 and see if
that
> fixes the problem.

That did fix the problem!  I downgraded both and restarted, and now apache
and php works again.  Can that change be reverted or fixed so that it
doesn't happen on future installs?

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


Re: Apache Fork Errors - Found on Windows Server 2019

2021-10-17 Thread Brian Inglis

On 2021-10-17 09:54, Ken Brown via Cygwin wrote:

On 10/16/2021 9:49 PM, OwN-3m-All via Cygwin wrote:

Hopefully I can strace at some point soon and get back to you with the
results.

I have multiple confirmed reports from other people that this no longer
works though.  And again, I tried it on three different fresh installs of
different Windows operating systems (with no bloatware or BLODA), and all
of them had the same issue.


I have one other thought.  There was a recent packaging change in 
harfbuzz and freetype2 that introduced a circular dependency between the 
two:


   https://cygwin.com/pipermail/cygwin/2021-September/249316.html
   https://cygwin.com/pipermail/cygwin/2021-September/249317.html

Since those are the two DLLs that are causing a problem for you, maybe 
that circular dependency doesn't work well on Cygwin for some reason.  
Please try downgrading to the previous versions of harfbuzz and 
freetype2 and see if that fixes the problem.


Is /etc/postinstall/0p_000_autorebase.dash rebase completing 
successfully after the new installs?


Maybe check and/or attach the cygwin install log /var/log/setup.log.full 
for dependency, install, or postinstall errors, and run


$ rebase -is > /var/log/rebase-is.log

on one of those systems and attach the log.

Is there a patch, update, or GP enabling ASLR on all processes?

--
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in binary units and prefixes, physical quantities in SI.]

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


Re: Apache Fork Errors - Found on Windows Server 2019

2021-10-17 Thread Ken Brown via Cygwin

On 10/16/2021 9:49 PM, OwN-3m-All via Cygwin wrote:

Hopefully I can strace at some point soon and get back to you with the
results.

I have multiple confirmed reports from other people that this no longer
works though.  And again, I tried it on three different fresh installs of
different Windows operating systems (with no bloatware or BLODA), and all
of them had the same issue.


I have one other thought.  There was a recent packaging change in harfbuzz and 
freetype2 that introduced a circular dependency between the two:


  https://cygwin.com/pipermail/cygwin/2021-September/249316.html
  https://cygwin.com/pipermail/cygwin/2021-September/249317.html

Since those are the two DLLs that are causing a problem for you, maybe that 
circular dependency doesn't work well on Cygwin for some reason.  Please try 
downgrading to the previous versions of harfbuzz and freetype2 and see if that 
fixes the problem.


Ken

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


Re: Apache Fork Errors - Found on Windows Server 2019

2021-10-17 Thread Andrey Repin
Greetings, OwN-3m-All!

> I can't seem to get apache via cygwin to work on Windows Server 2019.

My question is tangential to Cygwin: why can't you run native Apache with
native PHP? What Cygwin specific is in your needs?

> Any idea why this is happening or how to fix it?

cygcheck  may provide a clue.


-- 
With best regards,
Andrey Repin
Sunday, October 17, 2021 12:39:14

Sorry for my terrible english...


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


Re: Apache Fork Errors - Found on Windows Server 2019

2021-10-16 Thread OwN-3m-All via Cygwin
Hopefully I can strace at some point soon and get back to you with the
results.

I have multiple confirmed reports from other people that this no longer
works though.  And again, I tried it on three different fresh installs of
different Windows operating systems (with no bloatware or BLODA), and all
of them had the same issue.

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


Re: Apache Fork Errors - Found on Windows Server 2019

2021-10-15 Thread Ken Brown via Cygwin

On 10/15/2021 4:04 PM, OwN-3m-All via Cygwin wrote:

Downgrading (choosing lower versions) httpd and httpd-mod_php7 didn't
help.  Same issue.  It appears to be something cygwin specific and not
package related?  I don't know...


Running the httpd command under strace might provide a clue.  See if you see any 
unexpected DLLs being loaded.


Ken

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


Re: Apache Fork Errors - Found on Windows Server 2019

2021-10-15 Thread OwN-3m-All via Cygwin
Downgrading (choosing lower versions) httpd and httpd-mod_php7 didn't
help.  Same issue.  It appears to be something cygwin specific and not
package related?  I don't know...

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


Re: Apache Fork Errors - Found on Windows Server 2019

2021-10-15 Thread OwN-3m-All via Cygwin
I checked, and I'm not running anything listed here:

https://cygwin.com/faq/faq.html#faq.using.bloda

I even disabled Windows Defender to see if that would make a difference,
but it didn't.

Results in a fresh install of Windows 10 Pro N 21H1 19043.928 are similar:

  1 [main] httpd 1879 child_info_fork::abort:
\??\C:\OGP64\bin\cygharfbuzz-0.dll: Loaded to different address:
parent(0x3FAF6) != child(0x60)
[Fri Oct 15 12:24:06.688016 2021] [mpm_prefork:error] [pid 1825]
(11)Resource temporarily unavailable: AH00159: fork: Unable to fork new
process
[Fri Oct 15 12:24:16.681209 2021] [mpm_prefork:notice] [pid 1825] AH00163:
Apache/2.4.39 (Unix) PHP/7.3.7 configured -- resuming normal operations
[Fri Oct 15 12:24:16.681308 2021] [core:notice] [pid 1825] AH00094: Command
line: '/usr/sbin/httpd -D NO_DETACH'
  1 [main] httpd 1830 child_info_fork::abort:
\??\C:\OGP64\bin\cygfreetype-6.dll: Loaded to different address:
parent(0x3FB5B) != child(0x8D)
[Fri Oct 15 12:24:19.369852 2021] [mpm_prefork:error] [pid 1825]
(11)Resource temporarily unavailable: AH00159: fork: Unable to fork new
process
[Fri Oct 15 12:24:29.392225 2021] [mpm_prefork:notice] [pid 1825] AH00169:
caught SIGTERM, shutting down
[Fri Oct 15 12:27:09.478958 2021] [mpm_prefork:error] [pid 1869]
(11)Resource temporarily unavailable: AH00159: fork: Unable to fork new
process
[Fri Oct 15 12:27:24.024483 2021] [mpm_prefork:notice] [pid 1869] AH00163:
Apache/2.4.39 (Unix) PHP/7.3.7 configured -- resuming normal operations
[Fri Oct 15 12:27:24.024548 2021] [core:notice] [pid 1869] AH00094: Command
line: '/usr/sbin/httpd -D NO_DETACH'
  0 [main] httpd 1909 child_info_fork::abort:
\??\C:\OGP64\bin\cygfreetype-6.dll: Loaded to different address:
parent(0x3FB5B) != child(0x60)
[Fri Oct 15 12:27:25.835937 2021] [mpm_prefork:error] [pid 1869]
(11)Resource temporarily unavailable: AH00159: fork: Unable to fork new
process
  0 [main] httpd 1914 child_info_fork::abort:
\??\C:\OGP64\bin\cygharfbuzz-0.dll: Loaded to different address:
parent(0x3FAF6) != child(0x60)
[Fri Oct 15 12:27:42.549492 2021] [mpm_prefork:error] [pid 1869]
(11)Resource temporarily unavailable: AH00159: fork: Unable to fork new
process
  1 [main] httpd 1922 child_info_fork::abort:
\??\C:\OGP64\bin\cygfreetype-6.dll: Loaded to different address:
parent(0x3FB5B) != child(0x8D)
[Fri Oct 15 12:27:57.590949 2021] [mpm_prefork:error] [pid 1869]
(11)Resource temporarily unavailable: AH00159: fork: Unable to fork new
process
  1 [main] httpd 1923 child_info_fork::abort:
\??\C:\OGP64\bin\cygharfbuzz-0.dll: Loaded to different address:
parent(0x3FAF6) != child(0x60)
[Fri Oct 15 12:28:12.382243 2021] [mpm_prefork:error] [pid 1869]
(11)Resource temporarily unavailable: AH00159: fork: Unable to fork new
process
  0 [main] httpd 1924 child_info_fork::abort:
\??\C:\OGP64\bin\cygfreetype-6.dll: Loaded to different address:
parent(0x3FB5B) != child(0x60)
[Fri Oct 15 12:28:24.538917 2021] [mpm_prefork:error] [pid 1869]
(11)Resource temporarily unavailable: AH00159: fork: Unable to fork new
process
  0 [main] httpd 1925 child_info_fork::abort:
\??\C:\OGP64\bin\cygharfbuzz-0.dll: Loaded to different address:
parent(0x3FAF6) != child(0x60)
[Fri Oct 15 12:28:35.535065 2021] [mpm_prefork:error] [pid 1869]
(11)Resource temporarily unavailable: AH00159: fork: Unable to fork new
process
  0 [main] httpd 1926 child_info_fork::abort:
\??\C:\OGP64\bin\cygfreetype-6.dll: Loaded to different address:
parent(0x3FB5B) != child(0xB5)
[Fri Oct 15 12:28:45.287653 2021] [mpm_prefork:error] [pid 1869]
(11)Resource temporarily unavailable: AH00159: fork: Unable to fork new
process
  0 [main] httpd 1927 child_info_fork::abort:
\??\C:\OGP64\bin\cygharfbuzz-0.dll: Loaded to different address:
parent(0x3FAF6) != child(0xB6)
[Fri Oct 15 12:28:54.918119 2021] [mpm_prefork:error] [pid 1869]
(11)Resource temporarily unavailable: AH00159: fork: Unable to fork new
process
  1 [main] httpd 1928 child_info_fork::abort:
\??\C:\OGP64\bin\cygfreetype-6.dll: Loaded to different address:
parent(0x3FB5B) != child(0x60)
[Fri Oct 15 12:29:02.690342 2021] [mpm_prefork:error] [pid 1869]
(11)Resource temporarily unavailable: AH00159: fork: Unable to fork new
process
  0 [main] httpd 1929 child_info_fork::abort:
\??\C:\OGP64\bin\cygharfbuzz-0.dll: Loaded to different address:
parent(0x3FAF6) != child(0xB7)
[Fri Oct 15 12:29:09.653496 2021] [mpm_prefork:error] [pid 1869]
(11)Resource temporarily unavailable: AH00159: fork: Unable to fork new
process
  0 [main] httpd 1930 child_info_fork::abort:
\??\C:\OGP64\bin\cygfreetype-6.dll: Loaded to different address:
parent(0x3FB5B) != child(0x9A)
[Fri Oct 15 12:29:15.852168 2021] [mpm_prefork:error] [pid 1869]
(11)Resource temporarily unavailable: AH00159: fork: Unable to fork new
process
  0 [main] httpd 1931 child_info_fork::abort:

Re: Apache Fork Errors - Found on Windows Server 2019

2021-10-15 Thread OwN-3m-All via Cygwin
> I suggest you disable whatever BLODA

Such as?  This is a fresh install of Windows Server 2019 with no additional
apps installed.

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


Re: Apache Fork Errors - Found on Windows Server 2019

2021-10-15 Thread Achim Gratz
OwN-3m-All via Cygwin writes:
[…]
> \??\C:\OGP64\bin\cygharfbuzz-0.dll: Loaded to different address:
> parent(0x3FE6C) != child(0x60)
> [Thu Oct 14 20:35:18.358045 2021] [mpm_prefork:error] [pid 89] (11)Resource
> temporarily unavailable: AH00159: fork: Unable to fork new process
>   0 [main] httpd 153 child_info_fork::abort:
> \??\C:\OGP64\bin\cygfreetype-6.dll: Loaded to different address:
> parent(0x3FF1B) != child(0x60)
> [Thu Oct 14 20:35:28.557723 2021] [mpm_prefork:error] [pid 89] (11)Resource
> temporarily unavailable: AH00159: fork: Unable to fork new process
>
> I issued the "rebase-trigger fullrebase" command and ran the cygwin setup
> for it to rebase.  I rebooted the server, and that didn't make a difference.
>
> Any idea why this is happening or how to fix it?

Notice how _all_ images are mapped to the same (extremely low) address
even though they seem to be rebased properly as evidenced by their
address in the parent process.  I suggest you disable whatever BLODA
thinks it's a good idea to inject itself into Cygwin processes.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptations for KORG EX-800 and Poly-800MkII V0.9:
http://Synth.Stromeko.net/Downloads.html#KorgSDada

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


Re: Apache Fork Errors - Found on Windows Server 2019

2021-10-15 Thread OwN-3m-All via Cygwin
> Apache had/has two run modes, pre-forking and threaded.  It appears
you're running it in pre-forking mode.  Try running it in threaded mode.
This might be controlled by httpd.conf or some other Apache config file.

That is doable, but changing it makes it so that PHP no longer works.

To make that change, you just comment out the mpm_prefork.so line and
uncomment the mpm_worker.so line to change the mode in httpd.conf:

#LoadModule mpm_prefork_module modules/mod_mpm_prefork.so
LoadModule mpm_worker_module modules/mod_mpm_worker.so

But then, PHP no longer works, so that doesn't really help in this
situation, as I must have PHP working.  I believe the pre-forking mode used
to work previously.  I'm trying to test this in Windows 7 and 10 to confirm.

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


Re: Apache Fork Errors - Found on Windows Server 2019

2021-10-14 Thread Mark Geisert

Hi,

OwN-3m-All via Cygwin wrote:

Hi All,

I can't seem to get apache via cygwin to work on Windows Server 2019.

Here is my error log:

   0 [main] httpd 1360 child_info_fork::abort:
\??\C:\OGP64\bin\cygharfbuzz-0.dll: Loaded to different address:
parent(0x3FAF6) != child(0xCD)
[Thu Oct 14 20:21:24.306514 2021] [mpm_prefork:error] [pid 3203]
(11)Resource temporarily unavailable: AH00159: fork: Unable to fork new
process
[Thu Oct 14 20:21:32.643467 2021] [mpm_prefork:notice] [pid 3203] AH00163:
Apache/2.4.39 (Unix) PHP/7.3.7 configured -- resuming normal operations
[Thu Oct 14 20:21:32.643698 2021] [core:notice] [pid 3203] AH00094: Command
line: '/usr/sbin/httpd -D NO_DETACH'
[Thu Oct 14 20:21:32.644325 2021] [mpm_prefork:notice] [pid 3203] AH00169:
caught SIGTERM, shutting down

[etc etc etc]


I issued the "rebase-trigger fullrebase" command and ran the cygwin setup
for it to rebase.  I rebooted the server, and that didn't make a difference.


Makes sense to have tried that; thanks for reporting outcome.


Any idea why this is happening or how to fix it?


Been a long time since I've run Apache and that wasn't even on Cygwin, but...
Apache had/has two run modes, pre-forking and threaded.  It appears you're running 
it in pre-forking mode.  Try running it in threaded mode.  This might be 
controlled by httpd.conf or some other Apache config file.


If somebody else on the list is successfully running Apache on Cygwin, maybe they 
can chime in on which mode they're using.

HTH,

..mark

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