[OpenIndiana-discuss] [HEADS UP] Apache 2.4 is 64-bit-only now
Predrag Zečević - Technical Support Analyst
predrag.zecevic at 2e-systems.com
Mon Mar 4 09:50:25 UTC 2019
On 03/04/19 10:44, Alexander Pyhalov via openindiana-discuss wrote:
> Hi.
> How is HTTPD defined in /usr/apache2/2.4/bin/apachectl ?
> What is it size ? Should be 3596.
>
> pkg verify apache-24 ?
>
Sorry,
it was probably some change made log time ago (which I have forgot
about), causing failure.
I just removed my configuration (/etc/apache2/2.4) and did "pkg fix
apache-24"
:; grep ^HTTPD /usr/apache2/2.4/bin/apachectl
HTTPD='/usr/apache2/2.4/bin/httpd'
:; /usr/bin/ls -la /usr/apache2/2.4/bin/apachectl
-r-xr-xr-x 1 root bin 3596 Jan 10 2016
/usr/apache2/2.4/bin/apachectl
Now, apache is started. I need to re-apply my configuration.
Thanks (once more, my apologies).
Regards.
> С уважением,
> Александр Пыхалов,
> программист отдела телекоммуникационной инфраструктуры
> управления информационно-коммуникационной инфраструктуры ЮФУ
>
>
> ________________________________________
> От: Predrag Zečević - Technical Support Analyst <predrag.zecevic at 2e-systems.com>
> Отправлено: 4 марта 2019 г. 12:29:53
> Кому: openindiana-discuss at openindiana.org
> Тема: Re: [OpenIndiana-discuss] [HEADS UP] Apache 2.4 is 64-bit-only now
>
> On 03/01/19 16:30, Alexander Pyhalov via openindiana-discuss wrote:
>> Hi.
>>
>> With merge of PR #4800 Apache 2.4 has become 64-bit-only.
>> This is a big breaking change, because we’ve reworked Apache directory layout and configuration to facilitate IPS switch to Python 3.5.
>> Python 3.5 is 64-bit-only, and we had an unpleasant choice either rewrite depot and sysrepo configuration to always use 64-bit Apache version or make Apache 2.4 64-bit-only.
>> Also to avoid ugliness which was necessary to allow users transparently switch from 32-bit or 64-bit version with existing configs to new 64-bit only version and possible incompatibilities, we decided to break current Apache 2.4 installations on upgrade, so that administrators could immediately see the issue.
>>
>> Now you know, your apache server is broken. What should you do?
>>
>> - Don’t panic.
>> - Read apache24(1m).
>> - If you’ve changed /etc/apache2/2.4/httpd.conf, /etc/apache2/2.4/httpd.conf.new will contain new version necessary for updated Apache2.4 to work correctly. So, merge two files manually, preserving your local changes. As you can see, /etc/apache2/2.4/conf.d/modules-*.load files have gone, and you have to include LoadModule directives either in /etc/apache2/2.4/conf.d/*.conf files or in /etc/apache2/2.4/httpd.conf directly
>> - mpm_event module is used by default (if you don’t overwrite it in svc:/network/http:apache24 instance httpd/MPM property). So, fix your configuration files to avoid relying on IfModule prefork.c.
>> - 64bit is not set now, so fix configuration files relying on it
>>
>> Happy updating!
>>
>> Best regards,
>> Alexander Pyhalov,
>> system administrator of Southern Federal University IT department
>>
>
> Hi AlP,
>
> I have ATM (after /hoipster was upgraded this morning):
> :; svcprop svc:/network/http:apache24 | grep ^httpd
> httpd/stability astring Evolving
> httpd/startup_options astring ""
> httpd/server_type astring worker
> httpd/MPM astring event
> httpd/value_authorization astring solaris.smf.value.apache
>
> And my apache does not start:
> :; tail -6 /var/svc/log/network-http:apache24.log
> [ Mar 4 08:52:53 Enabled. ]
> [ Mar 4 08:53:01 Executing start method ("/lib/svc/method/http-apache24
> start"). ]
> Apache version is 2.4
> /usr/apache2/2.4/bin/apachectl[87]: /usr/apache2/2.4/bin/httpd.worker:
> not found [No such file or directory]
> Server failed to start. Check the error log (defaults to
> /var/apache2/2.4/logs/error_log) for more information, if any.
> [ Mar 4 08:53:01 Method "start" exited with status 95. ]
>
> And indeed:
> :; ls -al /usr/apache2/2.4/bin/httpd.worker
> ls: cannot access '/usr/apache2/2.4/bin/httpd.worker': No such file or
> directory
>
> :; ls -al /lib/svc/method/http-apache24
> -r-xr-xr-x 1 root bin 2,4K Mar 4 08:47 /lib/svc/method/http-apache24
>
> (so method script tries to start no-existing binary...)
>
> FYI: I was using worker model for last couple of years...
>
> With best regards.
> Predrag Zečević
>
>>
>> _______________________________________________
>> openindiana-discuss mailing list
>> openindiana-discuss at openindiana.org
>> https://openindiana.org/mailman/listinfo/openindiana-discuss
>>
>
> --
> Predrag Zečević
> Technical Support Analyst
> 2e Systems GmbH
>
> tel: +49 - 6196 - 95058 - 15
> mob: +49 - 174 - 3109288
> fax: +49 - 6196 - 95058 - 94
> e-mail: predrag.zecevic at 2e-systems.com
>
> headquarter: 2e Systems GmbH, Koenigsteiner Str. 87, 65812 Bad Soden am
> Taunus, Germany
> registration: Amtsgericht Koenigstein (Germany), HRB 7303
> managing director: Phil Douglas
>
> http://www.2e-systems.com/ - Making your business fly!
>
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss
>
--
Predrag Zečević
Technical Support Analyst
2e Systems GmbH
tel: +49 - 6196 - 95058 - 15
mob: +49 - 174 - 3109288
fax: +49 - 6196 - 95058 - 94
e-mail: predrag.zecevic at 2e-systems.com
headquarter: 2e Systems GmbH, Koenigsteiner Str. 87, 65812 Bad Soden am
Taunus, Germany
registration: Amtsgericht Koenigstein (Germany), HRB 7303
managing director: Phil Douglas
http://www.2e-systems.com/ - Making your business fly!
More information about the openindiana-discuss
mailing list