LINUX.ORG.RU

Установка mpm-worker

 ,


0

1

Всем привет. При установке mpm-worker, активируется mpm-event. Кто в курсе к чему бы это?? Вывод команд на чистой системе прилагается.

root@web-test1:~#
root@web-test1:~# apt-get install apache2-mpm-worker
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
apache2 apache2-bin apache2-data apache2-utils libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap liblua5.1-0 ssl-cert
Suggested packages:
apache2-doc apache2-suexec-pristine apache2-suexec-custom openssl-blacklist
The following NEW packages will be installed:
apache2 apache2-bin apache2-data apache2-mpm-worker apache2-utils libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap liblua5.1-0 ssl-cert
0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,943 kB of archives.
After this operation, 6,665 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ftp.ua.debian.org/debian/ jessie/main libapr1 amd64 1.5.1-3 [95.3 kB]
Get:2 http://ftp.ua.debian.org/debian/ jessie/main libaprutil1 amd64 1.5.4-1 [86.2 kB]
Get:3 http://ftp.ua.debian.org/debian/ jessie/main libaprutil1-dbd-sqlite3 amd64 1.5.4-1 [19.1 kB]
Get:4 http://ftp.ua.debian.org/debian/ jessie/main libaprutil1-ldap amd64 1.5.4-1 [17.2 kB]
Get:5 http://ftp.ua.debian.org/debian/ jessie/main liblua5.1-0 amd64 5.1.5-7.1 [108 kB]
Get:6 http://ftp.ua.debian.org/debian/ jessie/main apache2-bin amd64 2.4.10-10+deb8u7 [1,030 kB]
Get:7 http://ftp.ua.debian.org/debian/ jessie/main apache2-utils amd64 2.4.10-10+deb8u7 [195 kB]
Get:8 http://ftp.ua.debian.org/debian/ jessie/main apache2-data all 2.4.10-10+deb8u7 [163 kB]
Get:9 http://ftp.ua.debian.org/debian/ jessie/main apache2 amd64 2.4.10-10+deb8u7 [208 kB]
Get:10 http://ftp.ua.debian.org/debian/ jessie/main ssl-cert all 1.0.35 [20.9 kB]
Get:11 http://ftp.ua.debian.org/debian/ jessie/main apache2-mpm-worker amd64 2.4.10-10+deb8u7 [1,500 B]
Fetched 1,943 kB in 1s (1,807 kB/s)
Preconfiguring packages ...
Selecting previously unselected package libapr1:amd64.
(Reading database ... 29921 files and directories currently installed.)
Preparing to unpack .../libapr1_1.5.1-3_amd64.deb ...
Unpacking libapr1:amd64 (1.5.1-3) ...
Selecting previously unselected package libaprutil1:amd64.
Preparing to unpack .../libaprutil1_1.5.4-1_amd64.deb ...
Unpacking libaprutil1:amd64 (1.5.4-1) ...
Selecting previously unselected package libaprutil1-dbd-sqlite3:amd64.
Preparing to unpack .../libaprutil1-dbd-sqlite3_1.5.4-1_amd64.deb ...
Unpacking libaprutil1-dbd-sqlite3:amd64 (1.5.4-1) ...
Selecting previously unselected package libaprutil1-ldap:amd64.
Preparing to unpack .../libaprutil1-ldap_1.5.4-1_amd64.deb ...
Unpacking libaprutil1-ldap:amd64 (1.5.4-1) ...
Selecting previously unselected package liblua5.1-0:amd64.
Preparing to unpack .../liblua5.1-0_5.1.5-7.1_amd64.deb ...
Unpacking liblua5.1-0:amd64 (5.1.5-7.1) ...
Selecting previously unselected package apache2-bin.
Preparing to unpack .../apache2-bin_2.4.10-10+deb8u7_amd64.deb ...
Unpacking apache2-bin (2.4.10-10+deb8u7) ...
Selecting previously unselected package apache2-utils.
Preparing to unpack .../apache2-utils_2.4.10-10+deb8u7_amd64.deb ...
Unpacking apache2-utils (2.4.10-10+deb8u7) ...
Selecting previously unselected package apache2-data.
Preparing to unpack .../apache2-data_2.4.10-10+deb8u7_all.deb ...
Unpacking apache2-data (2.4.10-10+deb8u7) ...
Selecting previously unselected package apache2.
Preparing to unpack .../apache2_2.4.10-10+deb8u7_amd64.deb ...
Unpacking apache2 (2.4.10-10+deb8u7) ...
Selecting previously unselected package ssl-cert.
Preparing to unpack .../ssl-cert_1.0.35_all.deb ...
Unpacking ssl-cert (1.0.35) ...
Selecting previously unselected package apache2-mpm-worker.
Preparing to unpack .../apache2-mpm-worker_2.4.10-10+deb8u7_amd64.deb ...
Unpacking apache2-mpm-worker (2.4.10-10+deb8u7) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for systemd (215-17+deb8u6) ...
Setting up libapr1:amd64 (1.5.1-3) ...
Setting up libaprutil1:amd64 (1.5.4-1) ...
Setting up libaprutil1-dbd-sqlite3:amd64 (1.5.4-1) ...
Setting up libaprutil1-ldap:amd64 (1.5.4-1) ...
Setting up liblua5.1-0:amd64 (5.1.5-7.1) ...
Setting up apache2-bin (2.4.10-10+deb8u7) ...
Setting up apache2-utils (2.4.10-10+deb8u7) ...
Setting up apache2-data (2.4.10-10+deb8u7) ...
Setting up apache2 (2.4.10-10+deb8u7) ...
Enabling module mpm_event.
Enabling module authz_core.
Enabling module authz_host.
Enabling module authn_core.
Enabling module auth_basic.
Enabling module access_compat.
Enabling module authn_file.
Enabling module authz_user.
Enabling module alias.
Enabling module dir.
Enabling module autoindex.
Enabling module env.
Enabling module mime.
Enabling module negotiation.
Enabling module setenvif.
Enabling module filter.
Enabling module deflate.
Enabling module status.
Enabling conf charset.
Enabling conf localized-error-pages.
Enabling conf other-vhosts-access-log.
Enabling conf security.
Enabling conf serve-cgi-bin.
Enabling site 000-default.
Setting up ssl-cert (1.0.35) ...
Setting up apache2-mpm-worker (2.4.10-10+deb8u7) ...
Processing triggers for libc-bin (2.19-18+deb8u7) ...
Processing triggers for systemd (215-17+deb8u6) ...
root@web-test1:~#
root@web-test1:~#
root@web-test1:~#
root@web-test1:~# cd /etc/apache2/
conf-available/ conf-enabled/ mods-available/ mods-enabled/ sites-available/ sites-enabled/
root@web-test1:~# cd /etc/apache2/mods-enabled/
root@web-test1:/etc/apache2/mods-enabled# ls
access_compat.load auth_basic.load authz_core.load autoindex.conf deflate.load env.load mime.load negotiation.conf setenvif.load
alias.conf authn_core.load authz_host.load autoindex.load dir.conf filter.load mpm_event.conf negotiation.load status.conf
alias.load authn_file.load authz_user.load deflate.conf dir.load mime.conf mpm_event.load setenvif.conf status.load
root@web-test1:/etc/apache2/mods-enabled# cd ../mods-available/
root@web-test1:/etc/apache2/mods-available# ls
access_compat.load authz_dbd.load dav_fs.load ident.load mpm_event.load proxy_http.load slotmem_shm.load
actions.conf authz_dbm.load dav.load include.load mpm_prefork.conf proxy.load socache_dbm.load
actions.load authz_groupfile.load dav_lock.load info.conf mpm_prefork.load proxy_scgi.load socache_memcache.load
alias.conf authz_host.load dbd.load info.load mpm_worker.conf proxy_wstunnel.load socache_shmcb.load
alias.load authz_owner.load deflate.conf lbmethod_bybusyness.load mpm_worker.load ratelimit.load speling.load
allowmethods.load authz_user.load deflate.load lbmethod_byrequests.load negotiation.conf reflector.load ssl.conf
asis.load autoindex.conf dialup.load lbmethod_bytraffic.load negotiation.load remoteip.load ssl.load
auth_basic.load autoindex.load dir.conf lbmethod_heartbeat.load proxy_ajp.load reqtimeout.conf status.conf
auth_digest.load buffer.load dir.load ldap.conf proxy_balancer.conf reqtimeout.load status.load
auth_form.load cache_disk.conf dump_io.load ldap.load proxy_balancer.load request.load substitute.load
authn_anon.load cache_disk.load echo.load log_debug.load proxy.conf rewrite.load suexec.load
authn_core.load cache.load env.load log_forensic.load proxy_connect.load sed.load unique_id.load
authn_dbd.load cache_socache.load expires.load lua.load proxy_express.load session_cookie.load userdir.conf
authn_dbm.load cgid.conf ext_filter.load macro.load proxy_fcgi.load session_crypto.load userdir.load
authn_file.load cgid.load file_cache.load mime.conf proxy_fdpass.load session_dbd.load usertrack.load
authn_socache.load cgi.load filter.load mime.load proxy_ftp.conf session.load vhost_alias.load
authnz_fcgi.load charset_lite.load headers.load mime_magic.conf proxy_ftp.load setenvif.conf xml2enc.load
authnz_ldap.load data.load heartbeat.load mime_magic.load proxy_html.conf setenvif.load
authz_core.load dav_fs.conf heartmonitor.load mpm_event.conf proxy_html.load slotmem_plain.load
root@web-test1:/etc/apache2/mods-available# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 8.7 (jessie)
Release: 8.7
Codename: jessie
root@web-test1:/etc/apache2/mods-available# apache2ctl -M 2>&1 | grep mpm
mpm_event_module (shared)
root@web-test1:/etc/apache2/mods-available#


apt-get install apache2-mpm-worker

С дебианом все-таки нельзя связываться, можно каких-нибудь мозговых паразитов подцепить, или химическую зависимость очень нехорошую.

thesis ★★★★★
()
Ответ на: комментарий от thesis

По сабжу: httpd конфигурируется правкой текстовых файлов, а не вызовом абракадабры, сочиненной людьми с NIH-синдромом в терминальной стадии, и не командами пакетного менеджера.

thesis ★★★★★
()

При установке mpm-worker, активируется mpm-event. Кто в курсе к чему бы это??

Так решили властелины дебиана. Слушайся и повинуйся!

bread
()

apache2 apache2-bin apache2-data apache2-utils

Красотища! Зато самая большая пакетная база во вселенной.

bread
()
Ответ на: комментарий от bread

Опустили бедного Дебиана.)) Может тут был какой-то скрытый смысл... По факту event лучше worker. Кстати если ставить apache2-mpm-event то таки активируется event..

arro
() автор топика
Ответ на: комментарий от thesis

Это все понятно, но меня заинтересовал сам факт такого поведения системы... Это было очень странно для меня.

arro
() автор топика
Ответ на: комментарий от bread

Ладно ребят, спс. Я так понял это какая-то глубинно-идеологичная диверсия разработчиков )).

arro
() автор топика
Ответ на: комментарий от Harald
bash-4.2$ grep ^Include /etc/httpd/conf/httpd.conf
Include conf.modules.d/*.conf
IncludeOptional conf.d/*.conf
thesis ★★★★★
()
Ответ на: комментарий от arro

Да может и не диверсия, просто лень в дебиановских симлинках ковыряться.

thesis ★★★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.