tyrnov пишет:You have selected a non-threaded MPM but USE=threads is enabled
Тут вроде понятно.
Закоментил APACHE2_MPMS="prefork"' >> /etc/make.conf
Настоятельно просим вас при общении соблюдать Правила форума и законы РФ. Наша тематика вне политики, поэтому воздержитесь от обсуждения ситуации на Украине и связанных с ней событий, независимо от того, какую сторону вы поддерживаете.
Также напоминаем, что наш форум находится в доменной зоне .ru, физически расположен на российских серверах и мы соблюдаем действующее законодательство России. Любые сообщения о политике будут удаляться.
Linux Forum → Gentoo Linux → Обновление apache и php
tyrnov пишет:You have selected a non-threaded MPM but USE=threads is enabled
Тут вроде понятно.
Закоментил APACHE2_MPMS="prefork"' >> /etc/make.conf
Добавил
...надо бы пересобрать всё, что выведет
equery -qC d php/etc/init.d/apache2 start
* Caching service dependencies ... [ ok ]
* apache2 has detected an error in your setup:
apache2: Syntax error on line 76 of /etc/apache2/httpd.conf: Cannot load /usr/lib64/apache2/modules/mod_cgi.so into server: /usr/lib64/apache2/modules/mod_cgi.so: cannot open shared object file: No such file or directory
* ERROR: apache2 failed to startСтало после того как пересобрал апач
equery -qC d php
dev-db/phpmyadmin-3.5.0
net-analyzer/zabbix-1.8.11-r1
virtual/httpd-php-5.4Пересобрать эти 3 пакета?
virtual/httpd-php-5.4
Тоже бы надо замаскировать.
Закоментил APACHE2_MPMS="prefork"' >> /etc/make.conf
Я бы глобальный (в make.conf) threads убрал.
Cannot load /usr/lib64/apache2/modules/mod_cgi.so into server:
eselect php set cgi 1eselect php set cgi 1
!!! Error: Bad target
exitingeselect php list cgi
(none found)А в dev-lang/php:5.3 флаг cgi включен?
emerge -av apache
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
* IMPORTANT: 2 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
These are the packages that would be merged, in order:
Calculating dependencies -Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads' -Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads' |Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'... done!
[ebuild R ] www-servers/apache-2.4.1-r2 USE="ssl threads -debug -doc -ldap (-selinux) -static -suexec" APACHE2_MODULES="actions alias asis auth_basic auth_digest authn_alias authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cern_meta charset_lite dav dav_fs dav_lock dbd deflate dir disk_cache dumpio env expires ext_filter file_cache filter headers ident imagemap include info log_config log_forensic logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http rewrite setenvif speling status unique_id userdir usertrack version vhost_alias -cgi -cgid -proxy_scgi -reqtimeout -substitute" APACHE2_MPMS="-event -itk -peruser -prefork -worker" 0 kB
Total: 1 package (1 reinstall), Size of downloads: 0 kB
Would you like to merge these packages? [Yes/No][quote=Lupo Alberto]А в [i]dev-lang/php:5.3[/i] флаг [b]cgi[/b] включен?[/quote]
[ebuild R ] dev-lang/php-5.3.10-r2 USE="apache2 bcmath berkdb bzip2 cli crypt ctype curl exif fileinfo filter gd gdbm hash iconv ipv6 json mysql nls pdo phar posix readline session simplexml sockets ssl threads tokenizer truetype unicode xml xmlrpc zlib -calendar -cdb -cgi -cjk -curlwrappers -debug -doc -embed -enchant -firebird -flatfile -fpm (-frontbase) -ftp -gmp -imap -inifile -intl -iodbc -kerberos -kolab -ldap -ldap-sasl -libedit -mhash -mssql -mysqli -mysqlnd -oci8-instant-client -odbc -pcntl -pic -postgres -qdbm -recode -sharedmem -snmp -soap -spell -sqlite -sqlite3 -suhosin (-sybase-ct) -sysvipc -tidy -wddx -xmlreader -xmlwriter -xpm -xsl -zip" 0 kB
Total: 1 package (1 reinstall), Size of downloads: 0 kB[ebuild NS ] dev-lang/php-5.3.10 [5.4.1_rc1] USE="apache2 bcmath berkdb bzip2 cli crypt ctype curl exif fileinfo filter gd gdbm hash iconv ipv6 json mysql nls pdo phar posix readline session simplexml sockets ssl threads tokenizer truetype unicode xml xmlrpc zlib -calendar -cdb -cgi -cjk -curlwrappers -debug -doc -embed -enchant -firebird -flatfile -fpm (-frontbase) -ftp -gmp -imap -inifile -intl -iodbc -kerberos -kolab -ldap -ldap-sasl -libedit -mhash -mssql -mysqli -mysqlnd -oci8-instant-client -odbc -pcntl -pic -postgres -qdbm -recode -sharedmem -snmp -soap -spell -sqlite -sqlite3 -suhosin (-sybase-ct) -sysvipc -tidy -wddx -xmlreader -xmlwriter -xpm -xsl -zip" 11,441 kB
cgi флаг у тебя выключен, включи в /etc/portage/package.use
'APACHE2_MODULES': '-threads'
Так это же USE-флаг.
Наверное из-за
auth_digest: Username/password authentication using MD5 digests. изначально ошибка была
Тут смотри Apache2/APACHE2 MODULES
tyrnov пишет:'APACHE2_MODULES': '-threads'
Так это же USE-флаг.
Это да уже исправил сначала не подумал просто
cgi флаг у тебя выключен, включи в /etc/portage/package.use
Уже пересобирается
Наверное из-за
auth_digest: Username/password authentication using MD5 digests.изначально ошибка была
Тут смотри Apache2/APACHE2 MODULES
auth_digest убрал
Так же ругается на строку с пользователем
/etc/init.d/apache2 start
* apache2 has detected an error in your setup:
AH00526: Syntax error on line 154 of /etc/apache2/httpd.conf:
Invalid command 'User', perhaps misspelled or defined by a module not included in the server configuration
* ERROR: apache2 failed to starteselect php list cgi
[1] php5.3 *
nixgame chipset # eselect php list apache
!!! Error: Please chose one of the following modules: cli apache2 fpm cgi
exitingeselect php list apache2
[1] php5.3 *
[2] php5.4auth_digest убрал
Так наоборот его включить надо, в первом посте у тебя он выключен.
tyrnov пишет:auth_digest убрал
Так наоборот его включить надо, в первом посте у тебя он выключен.
сейчас попробуем
ы. Все auth включи ... или по одному.
Startup errors:
Invalid command 'User', perhaps misspelled or defined by a module not included in the server configuration - load module mod_unixd
Invalid command 'Require', perhaps misspelled or defined by a module not included in the server configuration, or Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration - load module mod_access_compat, or update configuration to 2.4 authorization directives.
Ignoring deprecated use of DefaultType in line NN of /path/to/httpd.conf - remove DefaultType and replace with other configuration settings.
Errors serving requests:
configuration error: couldn't check user: /path - load module mod_authn_core.
Внизу смотри - http://httpd.apache.org/docs/2.4/upgrading.html
Да нашел, но туговато с английским. Патч чтоли какой то надо наложить?
tyrnov, установка тестовой версии apache обязательна? Возможно, проще остаться www-servers/apache-2.2.22.
https://bugs.gentoo.org/show_bug.cgi?id=410607
Да нашел, но туговато с английским. Патч чтоли какой то надо наложить?
Там же написано про твою ошибку
load module mod_unixd - тебе нужно загрузить модуль mod_unixd
Вообще что касается веб-серверов, пхп итд, не советую ставить самое новое (особенно в продакшн), лучше -1 версия, выйдет следующая - тогда и обновляться, и то не факт, у меня в облуживании нигде бет нету, ядер 3-их вообще нет... 
Кстати zabbix на nginx прекрасно работает.
Linux Forum → Gentoo Linux → Обновление apache и php
Форум работает на PunBB, при поддержке Informer Technologies, Inc